1204575be1b722d2a5585ad2e2cfaa0133e52f6b
[platform/upstream/glibc.git] / ChangeLog
1 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
2
3         * resolv/res_init.c (__res_vinit): Improve comments about nserv
4         and nservall.
5
6 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
7
8         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
9         Clean up check_pf allocation pattern. addresses
10         * string/tester.c (test_memset): Suppress warning for gcc 4.9
11
12 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13
14         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
15         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
16         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
17         * nptl/pthread_exit.c (__pthread_exit): Likewise.
18         * nptl/pthread_join.c (pthread_join): Likewise.
19         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
20         * sysdeps/posix/waitid.c (__waitid): Likewise.
21         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
22         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
23         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
24         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
25         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
26         Likewise.
27         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
28         (__libc_pread64): Likewise.
29         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
30         (__libc_pwrite): Likewise.
31         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
32         (__libc_pwrite64): Likewsie.
33         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
34         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
35         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
36         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
37         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
38         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
39         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
40         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
41         Likewise.
42         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
43         (__libc_pread64): Likewise.
44         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
45         Likewise.
46         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
47         (__libc_pwrite64): Likewise.
48         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
49         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
50         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
51         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
52         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
53         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
54         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
55         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
56         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
57         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
58         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
59         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
60         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
61         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
62         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
63         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
64         Likewise.
65
66 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
67
68         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
69         (CFLAGS-test-double.c): Likewise.
70         (CFLAGS-test-ldouble.c): Likewise.
71         (CPPFLAGS-test-ifloat.c): Likewise.
72         (CPPFLAGS-test-idouble.c): Likewise.
73         (CPPFLAGS-test-ildoubl.c): Likewise.
74         (CFLAGS-test-test-fenv.c): Remove variable.
75         (CFLAGS-test-misc.c): Likewise.
76
77 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
78
79         [BZ #17797]
80         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
81         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
82         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
83         CLOCKS_PER_SEC == 1000000.
84         * time/clocktest.c (main): Replace %ld with %jd and cast to
85         intmax_t.
86
87 2015-01-05  Roland McGrath  <roland@hack.frob.com>
88
89         * sysdeps/generic/unwind-resume.h: New file.
90         * sysdeps/gnu/unwind-resume.c: Include it.
91         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
92         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
93         argument list.
94         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
95         global rather than static.
96         (_Unwind_Resume): Update user.
97         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
98         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
99         rather than static.  Add __attribute__ ((cold)).
100         (_Unwind_Resume, __gcc_personality_v0): Update callers.
101         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
102         * sysdeps/arm/arm-unwind-resume.S: New file.
103         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
104         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
105         * sysdeps/arm/Makefile [$(subdir) = csu]
106         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
107         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
108         Add rt-arm-unwind-resume.
109         [$(subdir) = nptl]
110         (libpthread-sysdep_routines, libpthread-shared-only-routines):
111         Add pt-arm-unwind-resume.
112         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
113         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
114
115 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
116
117         [BZ #17748]
118         * include/fenv.h (__feholdexcept): Declare.  Use
119         libm_hidden_proto.
120         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
121         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
122         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
123         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
124         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
125         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
126         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
127         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
128         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
129         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
130         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
131         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
132         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
133         (feholdexcept): Likewise.
134         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
135         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
136         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
137         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
138         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
139         __feholdexcept instead of feholdexcept.
140         (default_libc_feholdexcept_setround): Likewise.
141
142 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
143
144         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
145         to avoid using stl/str to align destination.
146
147 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
148
149         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
150
151 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
152
153         [BZ #17796]
154         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
155         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
156         Define as weak alias not strong alias.
157
158 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
159
160         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
161         bltzal with addiupc.
162         (RTLD_START): Ditto.
163
164 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
165
166         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
167         for __vdso_* functions in declarations.
168         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
169         definitions.
170         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
171         INTERNAL_VSYSCALL): Use struct return types to check for error.
172
173         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
174         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
175         function with cast from llround().
176         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
177         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
178         Define.
179
180 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
181
182         [BZ #17793]
183         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
184         Define as weak alias not strong alias.
185
186         [BZ #17635]
187         * ctype/ctype-c99.c: New file.  isblank implementation moved from
188         ...
189         * ctype/ctype-extn.c: ... here.
190         (__isblank_l): Move to ...
191         * ctype/ctype-c99_l.c: ... here.  New file.
192         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
193         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
194         Remove variable.
195         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
196         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
197         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
198         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
199         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
200
201         [BZ #17777]
202         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
203         (posix_fadvise64): Define as weak alias not strong alias.
204         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
205         (posix_fallocate64): Likewise.
206         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
207         Remove variable.
208         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
209         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
210         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
211         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
212         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
213
214 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
215
216         [BZ #16191]
217         * NEWS: Mention bug fix.
218         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
219         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
220         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
221         (HOST_STACK_END_ADDR): Likewise.
222
223 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
224
225         [BZ #17748]
226         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
227         * math/fegetround.c (fegetround): Rename to __fegetround and
228         define as weak alias of __fegetround.  Use libm_hidden_weak.
229         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
230         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
231         * sysdeps/arm/fegetround.c (fegetround): Likewise.
232         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
233         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
234         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
235         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
236         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
237         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
238         Undefine after rather than before function definition; use
239         parentheses around function name in definition.
240         (__fegetround): Also undefine macro after function definition.
241         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
242         __fegetround and define as weak alias of __fegetround.  Use
243         libm_hidden_weak.  Do not undefine as macro.
244         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
245         Likewise.
246         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
247         __fegetround and define as weak alias of __fegetround.  Use
248         libm_hidden_weak.
249         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
250         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
251         * sysdeps/tile/math_private.h (__fegetround): New inline function.
252         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
253         __fegetround and define as weak alias of __fegetround.  Use
254         libm_hidden_weak.
255         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
256         __fegetround instead of fegetround.
257
258         [BZ #17782]
259         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
260         Condition macro definition on [__USE_MISC].
261
262         [BZ #17781]
263         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
264         (struct sigaction): Change type of sa_flags field to int.
265
266         [BZ #17780]
267         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
268         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
269         __glibc_reserved0.
270
271         * nptl/version.c (banner): Use single year in copyright notice.
272
273         * NEWS: Update copyright dates.
274         * catgets/gencat.c (print_version): Likewise.
275         * csu/version.c (banner): Likewise.
276         * debug/catchsegv.sh: Likewise.
277         * debug/pcprofiledump.c (print_version): Likewise.
278         * debug/xtrace.sh (do_version): Likewise.
279         * elf/ldconfig.c (print_version): Likewise.
280         * elf/ldd.bash.in: Likewise.
281         * elf/pldd.c (print_version): Likewise.
282         * elf/sotruss.sh: Likewise.
283         * elf/sprof.c (print_version): Likewise.
284         * iconv/iconv_prog.c (print_version): Likewise.
285         * iconv/iconvconfig.c (print_version): Likewise.
286         * locale/programs/locale.c (print_version): Likewise.
287         * locale/programs/localedef.c (print_version): Likewise.
288         * login/programs/pt_chown.c (print_version): Likewise.
289         * malloc/memusage.sh (do_version): Likewise.
290         * malloc/memusagestat.c (print_version): Likewise.
291         * malloc/mtrace.pl: Likewise.
292         * manual/libc.texinfo: Likewise.
293         * nptl/version.c (banner): Likewise.
294         * nscd/nscd.c (print_version): Likewise.
295         * nss/getent.c (print_version): Likewise.
296         * nss/makedb.c (print_version): Likewise.
297         * posix/getconf.c (main): Likewise.
298         * scripts/test-installation.pl: Likewise.
299         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
300
301 2015-01-02  Will Newton  <will.newton@linaro.org>
302
303         * sysdeps/arm/armv7/configure: Removed.
304         * sysdeps/arm/armv7/configure.ac: Likewise.
305
306 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
307
308         * All files with FSF copyright notices: Update copyright dates
309         using scripts/update-copyrights.
310         * intl/plural.c: Regenerated.
311         * locale/programs/charmap-kw.h: Likewise.
312         * locale/programs/locfile-kw.h: Likewise.
313
314 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
315
316         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
317
318 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
319
320         [BZ #17748]
321         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
322         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
323         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
324         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
325         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
326         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
327         define as weak alias of __fegetenv.  Use libm_hidden_weak.
328         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
329         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
330         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
331         define as weak alias of __fegetenv.  Use libm_hidden_weak.
332         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
333         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
334         define as weak alias of __fegetenv.  Use libm_hidden_weak.
335         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
336         libm_hidden_def.
337         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
338         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
339         Likewise.
340         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
341         define as weak alias of __fegetenv.  Use libm_hidden_weak.
342         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
343         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
344         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
345         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
346         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
347         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
348         __fegetenv instead of fegetenv.
349         (libc_feholdsetround_noex_ctx): Likewise.
350
351 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
352
353         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
354         (Elf_MIPS_ABIFlags_v0): New structure.
355         (EF_MIPS_FP64): Define.
356         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
357         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
358         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
359         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
360         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
361         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
362         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
363         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
364         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
365         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
366         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
367         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
368         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
369         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
370         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
371         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
372         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
373         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
374         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
375         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
376         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
377         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
378         field.
379         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
380         EF_MIPS_FP64.
381         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
382         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
383         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
384         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
385         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
386         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
387         * sysdeps/mips/tst-abi-interlink.c: Likewise.
388         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
389         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
390         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
391         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
392         record the current FP ABI extension.
393         (mips-mode-switch): Define to show if kernel headers support mode
394         switching.
395         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
396         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
397         supported SYSV ABI version to 3.
398         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
399         feature.
400
401 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
402             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
403
404         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
405         path.
406         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
407
408 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
409
410         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
411         __fegetround and redefine to call __fegetround.  Remove condition
412         on [!__NO_MATH_INLINES].
413         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
414         function.
415         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
416         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
417         Remove macro.
418         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
419         instead of <fenv_libc.h>.
420         (__llrintl): Call fegetround instead of __fegetround.
421         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
422         instead of <fenv_libc.h>.
423         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
424         (__lrintl): Call fegetround instead of __fegetround.
425         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
426         instead of <fenv_libc.h>.
427         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
428         (__rintl): Call fegetround instead of __fegetround.
429
430 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
431
432         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
433         arrays.
434
435 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
436
437         [BZ #17775]
438         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
439         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
440         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
441
442 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
443
444         * sysdeps/i386/tls-macros.h: Include <features.h>.
445         (TLS_LE): Use non-PIC version for GCC >= 5.0.
446         (TLS_IE): Likewise.
447         (TLS_LD): Likewise.
448         (TLS_GD): Likewise.
449         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
450         define for GCC >= 5.0.
451
452 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
453
454         * math/test-fenv.c (test_single_exception, set_single_exc,
455         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
456         feexcp_mask_test, feenable_test, fe_single_test): Add
457         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
458         case where they are not used.
459         * math/libm-test.inc: Likewise.
460         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
461         unused in the absence of FP rounding/exception support.
462         * stdio-common/tst-printf-round.c: Likewise.
463         * stdlib/tst-strtod-round.c: Likewise.
464         * stdlib/tst-strtod-underflow.c: Likewise.
465
466 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
467
468         [BZ #17723]
469         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
470         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
471         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
472         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
473         libm_hidden_weak.
474         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
475         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
476         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
477         libm_hidden_def.
478         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
479         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
480         libm_hidden_weak.
481         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
482         Likewise.
483         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
484         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
485         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
486         libm_hidden_weak.
487         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
488         libm_hidden_def.
489         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
490         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
491         (__feraiseexcept): Likewise.
492         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
493         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
494         libm_hidden_weak.
495         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
496         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
497         libm_hidden_def.
498         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
499         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
500         Use libm_hidden_def.
501         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
502         libm_hidden_def.
503         (feraiseexcept): Define as weak not strong alias.  Use
504         libm_hidden_weak.
505         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
506         New inline function.  Factored out of ...
507         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
508         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
509         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
510         feraiseexcept.
511         * math/w_acos.c (__acos): Likewise.
512         * math/w_asin.c (__asin): Likewise.
513         * math/w_ilogb.c (__ilogb): Likewise.
514         * math/w_j0.c (y0): Likewise.
515         * math/w_j1.c (y1): Likewise.
516         * math/w_jn.c (yn): Likewise.
517         * math/w_log.c (__log): Likewise.
518         * math/w_log10.c (__log10): Likewise.
519         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
520         * sysdeps/aarch64/fpu/math_private.h
521         (libc_feupdateenv_test_aarch64): Likewise.
522         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
523         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
524         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
525         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
526         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
527         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
528         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
529         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
530         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
531         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
532
533 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
534
535         [BZ #17732]
536         * io/test-utime.c (main): Replace %ld with %jd and cast to
537         intmax_t.
538         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
539         * nptl/tst-mutex5.c: Include <stdint.h>.
540         (do_test): Replace %ld with %jd and cast to intmax_t.
541         * posix/tst-regex.c (run_test): Likewise.
542         (run_test_backwards): Likewise.
543         * rt/tst-clock.c: Include <stdint.h>.
544         (clock_test): Replace %ld with %jd and cast to intmax_t.
545         * rt/tst-cpuclock1.c: Include <stdint.h>.
546         (do_test): Replace %lu with %ju and cast to uintmax_t.
547         * rt/tst-cpuclock2.c: Include <stdint.h>.
548         (do_test): Replace %lu with %ju and cast to uintmax_t.
549         * rt/tst-mqueue1.c: Include <stdint.h>.
550         (check_attrs): Replace %ld with %jd and cast to intmax_t.
551         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
552         intmax_t.
553         * rt/tst-mqueue4.c (do_test): Likewise.
554         * rt/tst-timer4.c: Include <stdint.h>.
555         (check_ts): Replace %ld with %jd and cast to intmax_t.
556         (do_test): Likewise.
557         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
558         and cast to intmax_t.
559         * sysdeps/pthread/tst-timer.c (main): Likewise.
560         * time/clocktest.c (main): Likewise.
561         * time/tst-posixtz.c (do_test): Likewise.
562         * timezone/tst-timezone.c (main): Likewise.
563
564 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
565             H.J. Lu  <hongjiu.lu@intel.com>
566
567         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
568         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
569         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
570         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
571         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
572         version if bit_Fast_Unaligned_Load is set.
573         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
574         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
575         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
576         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
577         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
578         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
579         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
580         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
581         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
582         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
583         to 4.
584         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
585         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
586         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
587         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
588
589 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
590
591         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
592         instead of #if to avoid a Wundef warning.
593         * stdlib/tst-limits.c (do_test): Likewise.
594
595         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
596         parallel other exception macros.
597         (fegetenv): Convert from macro to extern inline so that it applies
598         retroactively to inline functions already seen by the compiler.
599         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
600
601         * posix/Makefile (before-compile): Use $(objpfx) for
602         posix-conf-vars-def.h.
603
604 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
605
606         * posix/getconf.c (main): Use size_t for type of I.
607         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
608         NSPEC.
609
610         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
611         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
612         * posix/posix-envs.def: Likewise.
613         * sysdeps/posix/sysconf.c: Likewise.
614         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
615         (specs): Remove array.
616         * scripts/gen-posix-conf-vars.awk: Support generation of specs
617         array.
618
619         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
620         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
621         (__sysconf): Use CONF_IS_* macros.
622
623         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
624         ($(objpfx)posix-conf-vars-def.h): New target.
625         * posix/posix-conf-vars.list: New file.
626         * posix/posix-conf-vars.h: New file.
627         * posix/confstr.c: Include posix-conf-vars.h.
628         (confstr): Use CONF_IS_* macros.
629         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
630         CONF_IS_* macros.
631         * scripts/gen-posix-conf-vars.awk: New file.
632
633 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
634
635         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
636         fegetround): Add no-op macros to avoid linknamespace issues.
637
638         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
639         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
640
641         * sysdeps/unix/sysv/linux/tile/sysdep.h
642         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
643         assembly-specific section to avoid a redefinition warning.
644
645         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
646         long before casting to pointer to avoid a cast warning.
647
648 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
649
650         * sysdeps/tile/tilegx/Implies: New file.
651
652 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
653
654         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
655
656 2014-12-23  Florian Weimer  <fweimer@redhat.com>
657
658         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
659
660 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
661
662         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
663         not define.
664         * sysdeps/unix/sysv/linux/utimes.c: Do not include
665         <kernel-features.h>.
666         (__utimes) [__NR_utimes]: Make code unconditional.
667         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
668         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
669         (__ASSUME_UTIMES): Do not undefine.
670         * sysdeps/unix/sysv/linux/tile/kernel-features.h
671         (__ASSUME_UTIMES): Likewise.
672         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
673         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
674         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
675         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
676
677 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
678
679         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
680
681 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
682
683         [BZ #17747]
684         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
685         alias to weak alias for j0l, y0l.
686         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
687         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
688
689         [BZ #17746]
690         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
691         conversion.
692
693 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
694
695         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
696         to zero if not already defined.
697
698 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
699
700         [BZ #17724]
701         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
702         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
703         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
704         (char *) casts added.
705         * sysdeps/ieee754/k_standardf.c: New file.
706         * sysdeps/ieee754/k_standardl.c: Likewise.
707         * math/Makefile (libm-support): Remove k_standard.
708         (libm-calls): Add k_standard.
709
710 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
711
712         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
713         Optimize to avoid an unnecessary FPCR read.
714
715 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
716
717         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
718         Optimize to reduce FPCR/FPSR accesses.
719
720 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
721
722         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
723         Call libc_fetestexcept_aarch64.
724
725 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
726
727         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
728         Call libc_fesetround_aarch64.
729
730 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
731
732         [BZ #17733]
733         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
734         (__bind): Do not define as weak alias.
735         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
736         define.
737         (__getsockname): Do not define as weak alias.
738
739 2014-12-22  Will Newton  <will.newton@linaro.org>
740
741         * manual/install.texi: Document that we require bison 2.7
742         or above.
743         * INSTALL: Regenerate.
744         * configure.ac: Use AC_CHECK_PROG_VER instead of
745         AC_PATH_PROG when checking for bison and check for
746         version 2.7 or above.
747         * configure: Regenerate.
748
749 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
750
751         [BZ #17745]
752         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
753         * sysdeps/tile/ffsll.c (ffsll): To here.
754
755         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
756
757 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
758
759         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
760         if not defined.
761         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
762         definition.
763         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
764         hidden ___tls_get_addr.
765         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
766         hidden __tls_get_addr.
767         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
768         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
769         Likewise.
770
771 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
772
773         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
774         _dl_init call.
775
776 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
777
778         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
779         from "call _dl_init@PLT".
780         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
781
782 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
783
784         * manual/search.texi: (Array Sort Function): Clarify stable sorting
785         guarantees.
786
787 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
788
789         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
790
791 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
792
793         [BZ #17744]
794         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
795         strnlen.
796
797 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
798
799         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
800         of multu on MIPSr6.
801         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
802         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
803         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
804         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
805         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
806
807 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
808
809         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
810         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
811         (PTR_SUBU): Use subu for mips32r6/mips64r6.
812         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
813         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
814         mips32r6/mips64r6.
815         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
816
817 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
818
819         * string/strncat.c (STRNCAT): Simplify implementation.
820
821 2014-12-19  David S. Miller  <davem@davemloft.net>
822
823         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
824         access the quad as both a long double and as a series of 4 words.
825
826         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
827         link_map->l_info array access.
828
829 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
830
831         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
832
833         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
834         * math/atest-exp2.c (TIMEOUT): Likewise.
835         * math/atest-sincos.c (TIMEOUT): Likewise.
836
837 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
838
839         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
840         -Wno-error with -fno-builtin-lround.
841
842 2014-12-19  Torvald Riegel  <triegel@redhat.com>
843
844         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
845         Contains futex constants and functions moved over from ...
846         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
847         <lowlevellock-futex.h>.
848         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
849         (lll_timedwait_tid): Add comments and parentheses around macro
850         arguments.
851
852 2014-12-19  Torvald Riegel  <triegel@redhat.com>
853
854         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
855         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
856         (__lll_private_flag): Remove.
857         (lll_futex_wait): Likewise.
858         (lll_futex_timed_wait): Likewise.
859         (lll_futex_wake): Likewise.
860         (lll_futex_requeue): Likewise.
861         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
862         (__lll_timedwait_tid): Spell out argument names.
863         (lll_timedwait_tid): Add comments and parentheses around macro
864         arguments.
865         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
866         LLL_SHARED and LLL_PRIVATE usable from assembly code.
867
868 2014-12-19  Torvald Riegel  <triegel@redhat.com>
869
870         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
871         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
872         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
873         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
874         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
875         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
876         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
877         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
878         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
879         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
880         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
881         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
882         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
883         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
884         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
885         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
886         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
887         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
888         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
889
890 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
891
892         * sysdeps/x86_64/x32/Makefile: New file.
893
894 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
895
896         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
897         1L with (mp_limb_t) 1.
898
899 2014-12-17  Roland McGrath  <roland@hack.frob.com>
900
901         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
902         * nptl/libc_pthread_init.c: ... here.
903         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
904         * nptl/register-atfork.c: ... here.
905
906         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
907         Use pthread_sigmask rather than INTERNAL_SYSCALL.
908         Use assert_perror to check its return value.
909         (__gai_create_helper_thread): Likewise.
910
911         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
912
913         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
914
915 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
916
917         [BZ #17725]
918         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
919         __profil_counter.
920         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
921         Likewise.
922         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
923         Likewise.
924         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
925         Likewise.
926         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
927         (profil_counter): Likewise.
928         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
929         (profil_counter): Likewise.
930         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
931         Likewise.
932         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
933         Likewise.
934         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
935         (profil_counter): Likewise.
936         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
937         Likewise.
938         [!__profil_counter] (profil_counter): Define as weak alias of
939         __profil_counter.
940         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
941         (profil_counter): Rename to __profil_counter.
942         [!__profil_counter] (profil_counter): Define as weak alias of
943         __profil_counter.
944         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
945         (profil_counter): Rename to __profil_counter.
946         [!__profil_counter] (profil_counter): Define as weak alias of
947         __profil_counter.
948         * sysdeps/posix/profil.c: Update comment referring to
949         profil_counter.
950         (__profil): Use __profil_counter instead of profil_counter.
951         * sysdeps/posix/sprofil.c (profil_counter): Rename to
952         __profil_counter.  Use __profil_counter_ushort and
953         __profil_counter_uint in definitions.
954         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
955         instead of profil_counter_uint and profil_counter_ushort.
956
957         [BZ #17722]
958         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
959         define as weak alias of __inet_makeaddr.
960         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
961         as weak alias of __inet_addr.
962         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
963         as weak alias of __inet_pton.  Use libc_hidden_weak.
964         * include/arpa/inet.h (__inet_pton): Declare.  Use
965         libc_hidden_proto.
966         (inet_makeaddr): Don't use libc_hidden_proto.
967         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
968         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
969         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
970         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
971         Remove variable.
972         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
973         (test-xfail-POSIX/time.h/linknamespace): Likewise.
974
975 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
976
977         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
978
979 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
980
981         * stdio-common/bug-vfprintf-nargs.c (do_test):
982         Cast value to intptr_t to avoid format warning
983         for usage with PRIdPTR printing macro.
984
985 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
986
987         * libio/tst-widetext.c (do_test):
988         Use format type %td instead of %Zd for ptrdiff_t
989         in order to avoid format warning.
990
991 2014-12-17  Andreas Schwab  <schwab@suse.de>
992
993         * nscd/mem.c (gc): Add size_t cast to match printf format.
994
995 2014-12-16  Roland McGrath  <roland@hack.frob.com>
996
997         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
998         (init): Apply PTR_MANGLE to pointers before storing them.
999         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
1000         before using them.
1001
1002 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
1003
1004         [BZ #17719]
1005         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
1006         define as weak alias of __memrchr.
1007         (__memrchr): Do not define as strong alias of memrchr.
1008         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
1009         Remove variable.
1010         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
1011         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
1012         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
1013
1014         [BZ #17717]
1015         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
1016         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
1017         (if_indextoname): Rename to __if_indextoname and define as weak
1018         alias of __if_indextoname.  Use libc_hidden_weak.
1019         (if_freenameindex): Rename to __if_freenameindex and define as
1020         weak alias of __if_freenameindex.
1021         (if_nameindex): Rename to __if_nameindex and define as weak alias
1022         of __if_nameindex.
1023         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
1024         __if_nametoindex and define as weak alias of __if_nametoindex.
1025         Use libc_hidden_weak.
1026         (if_freenameindex): Rename to __if_freenameindex and define as
1027         weak alias of __if_freenameindex.
1028         (if_nameindex): Rename to __if_nameindex and define as weak alias
1029         of __if_nameindex.
1030         (if_indextoname): Rename to __if_indextoname and define as weak
1031         alias of __if_indextoname.  Use libc_hidden_weak.
1032         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
1033         __if_nametoindex and define as weak alias of __if_nametoindex.
1034         Use libc_hidden_weak.
1035         (if_freenameindex): Rename to __if_freenameindex and define as
1036         weak alias of __if_freenameindex.  Use libc_hidden_weak.
1037         (if_nameindex_netlink): Use __if_freenameindex instead of
1038         if_freenameindex.
1039         (if_nameindex): Rename to __if_nameindex and define as weak alias
1040         of __if_nameindex.  Use libc_hidden_weak.
1041         (if_indextoname): Rename to __if_indextoname and define as weak
1042         alias of __if_indextoname.  Use libc_hidden_weak.
1043         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
1044         libc_hidden_proto.
1045         [!_ISOMAC] (__if_freenameindex): Likewise.
1046         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
1047         if_nametoindex.
1048         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
1049         variable.
1050         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
1051         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
1052         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
1053         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
1054         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
1055         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
1056         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
1057
1058         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
1059         Remove variable.
1060         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
1061         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
1062
1063 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
1064
1065         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
1066         subscript above bounds'
1067
1068         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
1069         bounds.
1070
1071 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
1072
1073         * libio/tst-fopenloc.c: Use test-skeleton.c.
1074
1075         * stdlib/tst-bsearch.c: Use test-skeleton.c.
1076         (entry): Rename to ITEM.
1077         (do_test, comp): Adjust.
1078
1079         * stdio-common/tst-fseek.c: Use test-skeleton.c.
1080
1081 2014-12-16  Torvald Riegel  <triegel@redhat.com>
1082
1083         * string/tester.c: Include <libc-internal.h>.
1084         (test_memset): Ignore -Wmemset-transposed-args.
1085
1086 2014-12-16  Torvald Riegel  <triegel@redhat.com>
1087
1088         * misc/tst-mntent2.c (do_test): Fix warning.
1089
1090 2014-12-16  Torvald Riegel  <triegel@redhat.com>
1091
1092         * elf/tst-unique4lib.cc(a): Mark as used.
1093
1094 2014-12-16  Florian Weimer  <fweimer@redhat.com>
1095
1096         [BZ #17630]
1097         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
1098         names.
1099
1100 2014-12-16  Allan McRae  <allan@archlinux.org>
1101
1102         * stdio-common/Makefile (tests): Re-add bug26.
1103
1104 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
1105
1106         [BZ #17657]
1107         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
1108         static array.
1109
1110 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
1111
1112         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
1113         (__lll_lock_wait): Likewise.
1114         (__lll_timedlock_wait): Likewise.
1115         (__lll_timedwait_tid): Likewise.
1116         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
1117         (__lll_robust_timedlock_wait): Likewise.
1118         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
1119         (lll_cond_trylock): Likewise.
1120         (__lll_lock): Likewise.
1121         (__lll_robust_lock): Likewise.
1122         (__lll_cond_lock): Likewise.
1123         (lll_robust_cond_lock): Likewise.
1124         (__lll_timedlock): Likewise.
1125         (__lll_robust_timedlock): Likewise.
1126         (__lll_unlock): Likewise.
1127         (__lll_robust_unlock): Likewise.
1128         (lll_wait_tid): Likewise.
1129         (lll_timedwait_tid): Likewise.
1130
1131 2014-12-15  Torvald Riegel  <triegel@redhat.com>
1132
1133         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
1134
1135 2014-12-15  Torvald Riegel  <triegel@redhat.com>
1136
1137         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
1138
1139 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
1140
1141         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
1142         * stdio-common/tst-sprintf.c: Likewise.
1143
1144 2014-12-15  Torvald Riegel  <triegel@redhat.com>
1145
1146         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
1147
1148 2014-12-15  Jeff Law  <law@redhat.com>
1149
1150         [BZ #16617]
1151         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
1152         on the heap.  (CVE-2012-3406)
1153         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
1154         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
1155         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
1156
1157 2014-12-15  Will Newton  <will.newton@linaro.org>
1158
1159         * manual/install.texi: Bump required version of texinfo
1160         to 4.7 from 4.5.
1161         * INSTALL: Regenerated.
1162         * configure.ac: Check for makeinfo version 4.7 and above.
1163         * configure: Regenerated.
1164
1165 2014-12-12  Roland McGrath  <roland@hack.frob.com>
1166
1167         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
1168         PREFIX, string constant to insert between directory and name.
1169         * sysdeps/posix/shm_open.c: Update caller.
1170         * sysdeps/posix/shm_unlink.c: Likewise.
1171         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
1172         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
1173         (SEM_SHM_PREFIX): New macro.
1174         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
1175         [$(have-thread-library) = no].
1176         * nptl/Makefile (libpthread-routines): Add shm-directory.
1177         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
1178         * sysdeps/nptl/shm-directory.h: New file.
1179         * sysdeps/posix/shm-directory.c
1180         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
1181         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
1182         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
1183         INTERNAL_SYSCALL.
1184         (__where_is_shmfs): Function removed.
1185         (mountpoint, defaultmount, defaultdir, __namedsem_once):
1186         Variables removed.
1187         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
1188         Use SHM_GET_NAME.
1189         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
1190
1191         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
1192         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
1193         unconditional for use inside libpthread.
1194         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
1195
1196 2014-12-12  Roland McGrath  <roland@hack.frob.com>
1197
1198         * nptl/pthread_getaffinity.c: New file.
1199         * nptl/pthread_setaffinity.c: New file.
1200         * nptl/pthread_getname.c: New file.
1201         * nptl/pthread_setname.c: New file.
1202
1203         * nptl/pthread_create.c (START_THREAD_DEFN)
1204         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
1205
1206 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
1207             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1208
1209         * resolv/res_send.c (send_vc): Disable warning resplen may
1210         be used uninitialized.
1211
1212 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
1213
1214         * nptl/tst-mutex6.c
1215         (ATTR_NULL): New define checks ATTR against NULL.
1216         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
1217         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
1218
1219 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
1220
1221         [BZ #17581]
1222         * malloc/hooks.c
1223         (mem2mem_check): Revert my previous change.
1224         (malloc_check_get_size): Revert my previous change.
1225         (mem2chunk_check): Revert my previous change.
1226
1227 2014-12-11  Roland McGrath  <roland@hack.frob.com>
1228
1229         * sysdeps/posix/shm-directory.c: New file.
1230         * sysdeps/posix/shm-directory.h: New file.
1231         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
1232         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
1233         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
1234         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
1235         Transmute EPERM to EACCES.
1236         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
1237         from ...
1238         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
1239         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
1240
1241 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1242
1243         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
1244         pointer and cast to uintptr_t.
1245         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
1246         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
1247         Add cast to avoid warning.
1248         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
1249
1250 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
1251
1252         * nptl/semaphore.h: Move to ...
1253         * sysdeps/pthread/semaphore.h: ... here.
1254         * Makefile (installed-headers): Change nptl/semaphore.h to
1255         sysdeps/pthread/semaphore.h.
1256
1257 2014-12-11  Roland McGrath  <roland@hack.frob.com>
1258
1259         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
1260         generated error format strings.
1261
1262         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
1263         -Wformat-extra-args warnings for scanf formats.
1264         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
1265         test of zero-length format (duh).
1266         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
1267         corner-case scanf format test.
1268         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
1269         generated fprintf format string.
1270         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
1271         corner-case sprintf format tests.
1272         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
1273         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
1274         -Wformat-extra-args warnings throughout.
1275         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
1276         (CFLAGS-scanf4.c): Likewise.
1277         (CFLAGS-scanf7.c): Likewise.
1278         (CFLAGS-tst-sprintf.c): Likewise.
1279         (CFLAGS-tst-printf.c): Likewise.
1280         (CFLAGS-tst-printfsz.c): Likewise.
1281
1282 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
1283
1284         * include/cpio.h: New file.
1285         * include/fmtmsg.h: Likewise.
1286
1287         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
1288         corresponding format argument to size_t.
1289         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
1290         arguments.
1291         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
1292         corresponding format argument to size_t.
1293         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
1294         arguments.
1295         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
1296         corresponding format argument to size_t.
1297         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
1298         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
1299         (CFLAGS-tst-mbswcs2.c): Likewise.
1300         (CFLAGS-tst-mbswcs3.c): Likewise.
1301         (CFLAGS-tst-mbswcs4.c): Likewise.
1302         (CFLAGS-tst-mbswcs5.c): Likewise.
1303         (CFLAGS-tst-trans.c): Likewise
1304
1305 2014-12-11  Roland McGrath  <roland@hack.frob.com>
1306
1307         * posix/regexbug1.c (main): Use "%s" format with regerror results,
1308         rather than assuming they won't contain any '%'s.
1309
1310 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
1311
1312         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
1313         inhibit_loop_to_libcall to avoid recursive calls.
1314         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
1315         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
1316
1317 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
1318
1319         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
1320         prototype.
1321
1322 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
1323
1324         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
1325         integer value instead of boolean.
1326
1327 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
1328
1329         * malloc/malloc.c: Fix powerof2 check.
1330
1331 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
1332
1333         * locale/programs/locfile.h (maybe_swap_uint32):
1334         Remove inline and add unused attribute.
1335
1336 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
1337
1338         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
1339         Truncating assembler expression to a .long expression.
1340
1341 2014-12-11  Andreas Schwab  <schwab@suse.de>
1342
1343         * elf/rtld.c (struct map_args): Constify str member.
1344         (do_preload): Constify fname argument.
1345
1346 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1347
1348         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
1349         constants definition.
1350
1351 2014-12-11  Andreas Schwab  <schwab@suse.de>
1352
1353         [BZ #16657]
1354         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
1355         FORCE_ELISION instead of DO_ELISION.
1356         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
1357         Remove.
1358         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
1359         Likewise.
1360
1361         * iconvdata/gconv-modules: Remove duplicate entry.
1362
1363 2014-12-11  Will Newton  <will.newton@linaro.org>
1364
1365         Merge gettext 0.19.3 into intl/.
1366
1367         This involves a number of cosmetic changes to comments
1368         and ANSI function definitions and prototypes throughout
1369         all the files. The gettext copyright header is used but
1370         with the date ranges taken from the glibc copy.
1371
1372         * NEWS: Add gettext merge to 2.21.
1373         * intl/bindtextdom.c: Switch to gettext copyright.
1374         Use ANSI definitions and prototypes.
1375         Use gl_* locking primitives rather than __libc_* ones.
1376         Use __builtin_expect rather than __glibc_likely/unlikely.
1377         * intl/dcgettext.c: Switch to gettext copyright.
1378         Use ANSI definitions and prototypes.
1379         * intl/dcigettext.c: Switch to gettext copyright.
1380         Use ANSI definitions and prototypes.
1381         (INTDIV0_RAISES_SIGFPE): New define.
1382         Use gl_* locking primitives rather than __libc_* ones.
1383         Include eval-plural.h instead of plural-eval.c.
1384         Use __builtin_expect rather than __glibc_likely/unlikely.
1385         * intl/dcngettext.c: Switch to gettext copyright.
1386         Use ANSI definitions and prototypes.
1387         * intl/dgettext.c: Likewise.
1388         * intl/dngettext.c: Likewise.
1389         * intl/plural-eval.c: Renamed to...
1390         * intl/eval-plural.h: ...this.
1391         * intl/explodename.c: Switch to gettext copyright.
1392         Use ANSI definitions and prototypes.
1393         (_nl_explode_name): Use strchr instead of __rawmemchr.
1394         * intl/finddomain.c: Switch to gettext copyright.
1395         Use ANSI definitions and prototypes.
1396         Use gl_* locking primitives rather than __libc_* ones.
1397         (_nl_find_domain): Use malloc rather than alloca for
1398         allocation of temporary locale name.
1399         * intl/gettext.c: Switch to gettext copyright.
1400         Use ANSI definitions and prototypes.
1401         * intl/gettextP.h: Switch to gettext copyright.
1402         Use ANSI definitions and prototypes.
1403         Use gl_* locking primitives rather than __libc_* ones.
1404         * intl/gmo.h: Switch to gettext copyright.
1405         (struct sysdep_string): Move struct segment_pair outside of
1406         struct definition.
1407         * intl/hash-string.c: Use ANSI definitions and prototypes.
1408         * intl/hash-string.h: Switch to gettext copyright.
1409         Use ANSI definitions and prototypes.
1410         * intl/l10nflist.c: Switch to gettext copyright.
1411         Use ANSI definitions and prototypes.
1412         (_nl_normalize_codeset): Avoid integer overflow.
1413         * intl/loadinfo.h: Switch to gettext copyright.
1414         Use ANSI definitions and prototypes.
1415         (LIBINTL_DLL_EXPORTED): New define.
1416         (PATH_SEPARATOR): New define.
1417         * intl/loadmsgcat.c: Switch to gettext copyright.
1418         * intl/localealias.c: Switch to gettext copyright.
1419         Use ANSI definitions and prototypes.
1420         (_nl_expand_alias): Use PATH_SEPARATOR.
1421         * intl/ngettext.c: Switch to gettext copyright.
1422         Use ANSI definitions and prototypes.
1423         * intl/plural-exp.c: Likewise.
1424         * intl/plural-exp.h: Switch to gettext copyright.
1425         Use ANSI definitions and prototypes.
1426         (struct expression): Move definition of enum operator outside
1427         of struct definition.
1428         * intl/plural.c: Regenerate.
1429         * intl/plural.y: Switch to gettext copyright.
1430         Use ANSI definitions and prototypes.
1431         Port to bison 3.0.
1432         * intl/textdomain.c: Switch to gettext copyright.
1433         Use ANSI definitions and prototypes.
1434         Use gl_* locking primitives rather than __libc_* ones.
1435
1436 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
1437
1438         * debug/warning-nop.c: Add used atrribute.
1439
1440 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
1441
1442         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
1443
1444         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
1445         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
1446         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
1447
1448 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
1449             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1450
1451         [BZ #17634]
1452         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
1453         Undefine after defining function.  Define as weak alias of
1454         __wcschr.  Use libc_hidden_weak.
1455         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
1456         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
1457         (libc_hidden_def): Also define __GI___wcschr alias.
1458         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
1459         __wcschr and define as weak alias of __wcschr.
1460         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
1461         __wcschr.
1462         [!WCSCHR] (DEFAULT_WCSCHR): Define.
1463         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
1464         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
1465         libc_hidden_weak.  Do not use libc_hidden_def.
1466         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
1467         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
1468         __GI___wcschr alias.
1469         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
1470         [IS_IN (libc)] (wcschr): Define as macro expanding to
1471         __redirect_wcschr.
1472         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
1473         [IS_IN (libc)] (__wcschr_power6): Likewise.
1474         [IS_IN (libc)] (__wcschr_power7): Likewise.
1475         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
1476         instead of wcschr.
1477         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
1478         __libc_wcschr.
1479         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
1480         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
1481         __wcschr and define as weak alias of __wcschr.  Use
1482         libc_hidden_builtin_def.
1483         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
1484         as weak alias of __wcschr.  Use libc_hidden_weak.
1485         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
1486         wcschr.
1487         * time/era.c (_nl_init_era_entries): Likewise.
1488         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
1489         variable.
1490         (test-xfail-XPG3/time.h/linknamespace): Likewise.
1491         (test-xfail-XPG4/time.h/linknamespace): Likewise.
1492
1493 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
1494
1495         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
1496         format for long int variable.
1497
1498 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
1499
1500         [BZ #10672]
1501         * manual/search.texi: (Array Sort Function): Remove claim how to make
1502         qsort stable.
1503
1504 2014-12-10  Andreas Schwab  <schwab@suse.de>
1505
1506         [BZ #12847]
1507         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
1508         user-controlled locks.
1509
1510 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
1511
1512         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
1513         register.
1514
1515 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
1516
1517         * configure.ac (--disable-werror): New configure option.
1518         (enable_werror): New AC_SUBST.
1519         * configure: Regenerated.
1520         * config.make.in (enable-werror): New variable.
1521         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
1522         -Wno-error=undef.
1523         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
1524         * manual/install.texi (Configuring and compiling): Document
1525         --disable-werror.
1526         * INSTALL: Regenerated.
1527         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
1528         (CFLAGS-tst-chk2.c): Likewise.
1529         (CFLAGS-tst-chk3.c): Likewise.
1530         (CFLAGS-tst-chk4.cc): Likewise.
1531         (CFLAGS-tst-chk5.cc): Likewise.
1532         (CFLAGS-tst-chk6.cc): Likewise.
1533         (CFLAGS-tst-lfschk1.c): Likewise.
1534         (CFLAGS-tst-lfschk2.c): Likewise.
1535         (CFLAGS-tst-lfschk3.c): Likewise.
1536         (CFLAGS-tst-lfschk4.cc): Likewise.
1537         (CFLAGS-tst-lfschk5.cc): Likewise.
1538         (CFLAGS-tst-lfschk6.cc): Likewise.
1539
1540         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
1541         (main): Disable -Wdeprecated-declarations around calls to
1542         register_printf_function.
1543
1544         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
1545         (do_test): Disable -Wdiv-by-zero around some calls to
1546         fwrite_unlocked and fread_unlocked.
1547
1548         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
1549         (DIAG_POP_NEEDS_COMMENT): Likewise.
1550         (_DIAG_STR1): Likewise.
1551         (_DIAG_STR): Likewise.
1552         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
1553         * stdio-common/bug21.c: Include <libc-internal.h>.
1554         (do_test): Disable -Wformat around call to sscanf.
1555         * stdio-common/scanf14.c: Include <libc-internal.h>.
1556         (main): Disable -Wformat around some calls to scanf functions.
1557
1558 2014-12-09  Torvald Riegel  <triegel@redhat.com>
1559
1560         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
1561
1562 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1563
1564         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
1565         stack variable alignment.
1566
1567 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
1568
1569         [BZ #17682]
1570         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
1571         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
1572         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
1573         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
1574         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
1575         __getrlimit instead of getrlimit.
1576         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
1577         __gettimeofday instead of gettimeofday.
1578         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
1579         Likewise.
1580         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
1581         Likewise.
1582         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
1583         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
1584         Remove variable.
1585         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
1586         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
1587
1588 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1589
1590         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
1591         for wide-character tests.
1592
1593 2014-12-04  Roland McGrath  <roland@hack.frob.com>
1594
1595         * io/openat64.c: #include <libc-internal.h>
1596         (__openat64): Prototypify.  Use ignore_value on MODE.
1597         * io/openat.c: Likewise.
1598         * misc/reboot.c: #include <libc-internal.h>
1599         (reboot): Prototypify.  Use ignore_value on HOWTO.
1600         * misc/ptrace.c: #include <libc-internal.h>
1601         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
1602
1603 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
1604
1605         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
1606         XPG4, UNIX98 and XOPEN2K.
1607         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
1608         Remove variable.
1609         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
1610
1611 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
1612
1613         * libio/fileops.c: Use ISO C style for function definitions.
1614         * libio/iofopen.c: Likewise.
1615         * libio/wfileops.c: Likewise.
1616
1617         [BZ #17653]
1618         * libio/fileops.c (_IO_new_file_underflow): Unset cached
1619         offset on EOF.
1620         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
1621         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
1622         (fgets_func): Function pointer to fgets and fgetws.
1623         (do_ftell_test): Add test to verify ftell value after read
1624         EOF.
1625         (do_test): Set fgets_func.
1626
1627         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
1628         O_TRUNC flag for w and w+ modes.
1629         (do_rewind_test): Likewise.
1630         (do_ftell_test): Likewise.
1631         (do_write_test): Likewise.
1632
1633         [BZ #17647]
1634         * libio/fileops.c (do_ftell): Seek only when there are
1635         unflushed writes.
1636         * libio/wfileops.c (do_ftell_wide): Likewise.
1637         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
1638         test case.
1639         (do_one_test): Call it.
1640
1641 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
1642
1643         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
1644         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
1645         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
1646         Remove variable.
1647         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
1648         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
1649         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
1650
1651 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
1652
1653         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
1654         Remove variable.
1655         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
1656
1657         [BZ #17668]
1658         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
1659         as weak alias of __getifaddrs.  Use libc_hidden_weak.
1660         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
1661         __freeifaddrs.  Use libc_hidden_weak.
1662         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
1663         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
1664         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
1665         __freeifaddrs.  Use libc_hidden_weak.
1666         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
1667         __getifaddrs and define as weak alias of __getifaddrs.  Use
1668         libc_hidden_weak.
1669         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
1670         __freeifaddrs.  Use libc_hidden_weak.
1671         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
1672         Remove variable.
1673         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
1674         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
1675
1676 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
1677
1678         [BZ #17601]
1679         * sysdeps/mips/start.S (__start): Use indirect jump to call
1680         __libc_start_main.
1681
1682 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
1683
1684         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
1685
1686         * nptl/tst-mutex1.c: Include <stdbool.h>.
1687         [!ATTR] (ATTR_NULL): New macro.
1688         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
1689         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
1690         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
1691
1692         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
1693         to char *.
1694
1695         [BZ #17665]
1696         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
1697         Change conditional to [__USE_MISC].
1698
1699         [BZ #17664]
1700         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
1701         fgets_unlocked.
1702         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
1703         __fgets_unlocked.
1704         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
1705         fgets_unlocked.
1706         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
1707         Remove variable.
1708         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
1709         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
1710         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
1711         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
1712         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
1713         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
1714         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
1715         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
1716         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
1717
1718         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
1719
1720 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1721
1722         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1723         Remove strpbrk objects.
1724         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1725         (__libc_ifunc_impl_list): Remove strpbrk implementation.
1726         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
1727         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
1728         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
1729         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
1730
1731         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1732         Remove strcspn objects.
1733         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1734         (__libc_ifunc_impl_list): Remove strcspn implementation.
1735         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
1736         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
1737         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
1738         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
1739
1740         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1741         Remove strspn objetcs.
1742         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1743         (__libc_ifunc_impl_list): Remove strspn implementation.
1744         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
1745         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
1746         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
1747         * sysdeps/powerpc/powerpc64/strspn.S: New file.
1748
1749 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
1750
1751         [BZ #17581]
1752         * malloc/hooks.c
1753         (mem2mem_check): Add a terminator to the chain of checking blocks.
1754         (malloc_check_get_size): Use it here.
1755         (mem2chunk_check): Ditto.
1756
1757 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1758
1759         * sysdeps/powerpc/powerpc64/strtok.S: New file.
1760         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
1761
1762 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
1763
1764         * bits/ioctl-types.h: Indent preprocessor directives correctly.
1765
1766         * nptl/nptl-init.c: Include libc-internal.h.
1767         (__pthread_initialize_minimal_internal): Use ROUND_UP.
1768
1769         * elf/ldconfig.c (search_dir): Expand comment.
1770
1771 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
1772
1773         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
1774         variable.
1775         (linknamespace-symlist-stdlibs-tests): Likewise.
1776         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
1777         instead of $(objpfx)symlist-stdlibs.
1778         (linknamespace-libs-isoc): New variable.
1779         (linknamespace-libs): Use $(linknamespace-libs-isoc).
1780         (linknamespace-libs-ISO): New variable.
1781         (linknamespace-libs-ISO99): Likewise.
1782         (linknamespace-libs-ISO11): Likewise.
1783         (linknamespace-libs-XPG3): Likewise.
1784         (linknamespace-libs-XPG4): Likewise.
1785         (linknamespace-libs-POSIX): Likewise.
1786         (linknamespace-libs-UNIX98): Likewise.
1787         (linknamespace-libs-XOPEN2K): Likewise.
1788         (linknamespace-libs-POSIX2008): Likewise.
1789         (linknamespace-libs-XOPEN2K8): Likewise.
1790         ($(objpfx)symlist-stdlibs): Replace by
1791         $(linknamespace-symlist-stdlibs-tests).  Use
1792         $(linknamespace-libs-$*) as set of libraries.
1793         ($(linknamespace-header-tests)): Update dependencies.  Use
1794         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
1795         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
1796         * conform/linknamespace.pl: Remove comment about considering
1797         definitions of symbols from irrelevant libraries.
1798
1799 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
1800
1801         [BZ #13862]
1802         * elf/dl-tls.c: Include <atomic.h>.
1803         (oom): Remove #ifdef SHARED/#endif.
1804         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
1805         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
1806         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
1807         big enough.
1808         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
1809         * nptl/Makefile (tests): Add tst-stack4.
1810         (modules-names): Add tst-stack4mod.
1811         ($(objpfx)tst-stack4): New.
1812         (tst-stack4mod.sos): Likewise.
1813         ($(objpfx)tst-stack4.out): Likewise.
1814         ($(tst-stack4mod.sos)): Likewise.
1815         (clean): Likewise.
1816         * nptl/tst-stack4.c: New file.
1817         * nptl/tst-stack4mod.c: Likewise.
1818
1819 2014-11-27  J. Brown  <jb999@gmx.de>
1820
1821         * sysdeps/x86/bits/string.h: Add recent CPUs.
1822
1823 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
1824
1825         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
1826         sigblock.
1827
1828         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
1829         feof.
1830
1831         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
1832         variable.
1833
1834 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
1835
1836         * nscd/connections.c: Include libc-internal.h because of macro
1837         usage ignore_value.
1838
1839 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
1840
1841         * string/bits/string3.h (__warn_memset_zero_len): Don't
1842         declare for gcc newer than 5.0.
1843         (memset): Don't test for zero-length __LEN for gcc newer than
1844         5.0.
1845
1846 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
1847
1848         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
1849         size_t for %zu format.
1850
1851         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
1852         difference, not %ju.
1853
1854 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
1855
1856         * include/libc-internal.h (ignore_value): New macro.
1857         * nscd/connections.c (restart): Wrap calls to setuid and setgid
1858         with ignore_value.
1859
1860         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
1861         definition.
1862
1863         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
1864         pthread_cleanup_push to void *.
1865
1866         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
1867         Undefine.
1868
1869         [BZ #16619]
1870         [BZ #16740]
1871         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
1872         instead of 1L << 52.
1873
1874         * libio/bug-rewind.c (do_test): Check fwscanf return values.
1875         * libio/bug-rewind2.c (do_test): Likewise.
1876
1877         * debug/test-stpcpy_chk-ifunc.c: Remove file.
1878         * debug/test-strcpy_chk-ifunc.c: Likewise.
1879         * wcsmbs/test-wcschr-ifunc.c: Likewise.
1880         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
1881         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
1882         * wcsmbs/test-wcslen-ifunc.c: Likewise.
1883         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
1884         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
1885         * Rules [$(multi-arch) = no] (tests): Do not filter out
1886         $(tests-ifunc).
1887         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
1888         * debug/Makefile (tests-ifunc): Remove variable.
1889         (tests): Do not add $(tests-ifunc).
1890         * wcsmbs/Makefile (tests-ifunc): Remove variable.
1891         (tests): Do not add $(tests-ifunc).
1892         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
1893         [TEST_IFUNC]: Remove conditionals.
1894         * string/test-string.h (TEST_IFUNC): Remove macro.
1895         [TEST_IFUNC]: Remove conditionals.
1896
1897         * string/test-strchr.c [!WIDE] (L): New macro.
1898         [WIDE] (L): Likewise.
1899         (check1): Use CHAR instead of char.  Use L on string and character
1900         constants.
1901
1902 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
1903
1904         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
1905         tests.
1906         * sysdeps/powerpc/bits/atomic.h
1907         (__arch_atomic_exchange_and_add_32_acq): Add definition.
1908         (__arch_atomic_exchange_and_add_32_rel): Likewise.
1909         (atomic_exchange_and_add_acq): Likewise.
1910         (atomic_exchange_and_add_rel): Likewise.
1911         * sysdeps/powerpc/powerpc32/bits/atomic.h
1912         (__arch_atomic_exchange_and_add_64_acq): Add definition.
1913         (__arch_atomic_exchange_and_add_64_rel): Likewise.
1914         * sysdeps/powerpc/powerpc64/bits/atomic.h
1915         (__arch_atomic_exchange_and_add_64_acq): Add definition.
1916         (__arch_atomic_exchange_and_add_64_rel): Likewise.
1917
1918 2014-11-26  Torvald Riegel  <triegel@redhat.com>
1919
1920         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
1921         Change synchronization of __sched_fifo_min_prio and
1922         __sched_fifo_max_prio.
1923         * nptl/pthread_mutexattr_getprioceiling.c
1924         (pthread_mutexattr_getprioceiling): Likewise.
1925         * nptl/pthread_mutexattr_setprioceiling.c
1926         (pthread_mutexattr_setprioceiling): Likewise.
1927         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
1928         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
1929         Likewise.
1930
1931 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
1932
1933         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
1934         void.
1935
1936 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
1937
1938         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
1939         third argument const.
1940
1941 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
1942
1943         fnmatch: work around GCC compiler warning bug with uninit var
1944         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
1945         This works around a bug with x86-64 GCC 4.9.2 and earlier
1946         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
1947         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
1948         used uninitialized in this function [-Wmaybe-uninitialized]".
1949
1950 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
1951
1952         * posix/bug-regex31.c (main): Return RES not 0.
1953
1954 2014-11-25  Anton Blanchard <anton@samba.org>
1955
1956         * sysdeps/powerpc/bits/atomic.h
1957         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
1958
1959 2014-11-24  Sterling Augustine  <saugustine@google.com>
1960
1961         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
1962
1963 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
1964
1965         [BZ #17608]
1966         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
1967
1968 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
1969
1970         [BZ #17633]
1971         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
1972         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
1973         variable.
1974         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
1975         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
1976
1977 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
1978
1979         * string/strncpy.c (strncpy): Improve performance by using memset.
1980
1981 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
1982
1983         * string/strcpy.c (strcpy):
1984         Improve performance by using strlen and memcpy.
1985
1986 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
1987
1988         * string/strcoll_l.c (get_next_seq): __always_inline.
1989         * string/strcoll_l.c (do_compare): __always_inline.
1990
1991 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1992
1993         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
1994         defined.
1995         * include/mqueue.h: Likewise.
1996         * include/stdlib.h: Likewise.
1997
1998         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
1999         (get_null_defines): Adjust.
2000         * sunrpc/Makefile: Adjust comment.
2001         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
2002         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
2003         (CFLAGS-interp.c): Likewise.
2004         (CFLAGS-ldconfig.c): Likewise.
2005         (CPPFLAGS-.os): Likewise.
2006         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
2007         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
2008         * extra-modules.mk (extra-modules.mk): Likewise.
2009         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
2010         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
2011         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
2012         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
2013         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
2014         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
2015         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
2016         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
2017         * iconvdata/Makefile (CPPFLAGS): Likewise.
2018         (cpp-srcs-left): Add libof for all iconvdata routines.
2019         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
2020         * include/assert.h: Likewise.
2021         * include/ctype.h: Likewise.
2022         * include/errno.h: Likewise.
2023         * include/libc-symbols.h: Likewise.
2024         * include/math.h: Likewise.
2025         * include/netdb.h: Likewise.
2026         * include/resolv.h: Likewise.
2027         * include/stdio.h: Likewise.
2028         * include/stdlib.h: Likewise.
2029         * include/string.h: Likewise.
2030         * include/sys/stat.h: Likewise.
2031         * include/wctype.h: Likewise.
2032         * intl/l10nflist.c: Likewise.
2033         * libidn/idn-stub.c: Likewise.
2034         * libio/libioP.h: Likewise.
2035         * nptl/libc_multiple_threads.c: Likewise.
2036         * nptl/pthreadP.h: Likewise.
2037         * posix/regex_internal.h: Likewise.
2038         * resolv/res_hconf.c: Likewise.
2039         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
2040         * sysdeps/arm/memmove.S: Likewise.
2041         * sysdeps/arm/sysdep.h: Likewise.
2042         * sysdeps/generic/_itoa.h: Likewise.
2043         * sysdeps/generic/symbol-hacks.h: Likewise.
2044         * sysdeps/gnu/errlist.awk: Likewise.
2045         * sysdeps/gnu/errlist.c: Likewise.
2046         * sysdeps/i386/i586/memcpy.S: Likewise.
2047         * sysdeps/i386/i586/memset.S: Likewise.
2048         * sysdeps/i386/i686/memcpy.S: Likewise.
2049         * sysdeps/i386/i686/memmove.S: Likewise.
2050         * sysdeps/i386/i686/mempcpy.S: Likewise.
2051         * sysdeps/i386/i686/memset.S: Likewise.
2052         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
2053         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
2054         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
2055         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
2056         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
2057         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
2058         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
2059         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
2060         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
2061         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
2062         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2063         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2064         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2065         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2066         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2067         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2068         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
2069         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
2070         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
2071         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
2072         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
2073         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
2074         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
2075         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
2076         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
2077         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
2078         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
2079         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
2080         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
2081         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
2082         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
2083         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
2084         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
2085         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2086         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
2087         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
2088         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
2089         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
2090         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
2091         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
2092         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
2093         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
2094         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
2095         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
2096         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
2097         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
2098         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
2099         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
2100         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
2101         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
2102         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
2103         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
2104         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
2105         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
2106         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
2107         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
2108         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
2109         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
2110         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
2111         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
2112         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
2113         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
2114         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
2115         * sysdeps/nptl/bits/libc-lock.h: Likewise.
2116         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
2117         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
2118         * sysdeps/posix/closedir.c: Likewise.
2119         * sysdeps/posix/opendir.c: Likewise.
2120         * sysdeps/posix/readdir.c: Likewise.
2121         * sysdeps/posix/rewinddir.c: Likewise.
2122         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
2123         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
2124         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
2125         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2126         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
2127         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
2128         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
2129         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
2130         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
2131         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
2132         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
2133         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
2134         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
2135         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
2136         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
2137         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
2138         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
2139         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
2140         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
2141         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
2142         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
2143         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
2144         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
2145         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
2146         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
2147         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
2148         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
2149         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
2150         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
2151         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
2152         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
2153         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
2154         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
2155         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
2156         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
2157         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
2158         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
2159         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
2160         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
2161         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
2162         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
2163         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
2164         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
2165         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
2166         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
2167         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
2168         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
2169         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
2170         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
2171         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
2172         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
2173         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
2174         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
2175         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
2176         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
2177         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
2178         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
2179         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
2180         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
2181         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
2182         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
2183         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
2184         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
2185         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
2186         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
2187         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
2188         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
2189         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
2190         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
2191         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
2192         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
2193         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
2194         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
2195         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
2196         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
2197         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
2198         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
2199         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
2200         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
2201         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
2202         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
2203         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
2204         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
2205         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
2206         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
2207         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
2208         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
2209         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
2210         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
2211         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
2212         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
2213         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
2214         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
2215         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
2216         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2217         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
2218         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
2219         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2220         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
2221         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
2222         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2223         * sysdeps/unix/alpha/sysdep.S: Likewise.
2224         * sysdeps/unix/alpha/sysdep.h: Likewise.
2225         * sysdeps/unix/make-syscalls.sh: Likewise.
2226         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
2227         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2228         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
2229         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
2230         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
2231         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
2232         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
2233         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2234         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
2235         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
2236         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2237         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
2238         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2239         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
2240         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
2241         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
2242         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2243         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
2244         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
2245         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
2246         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
2247         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2248         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
2249         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
2250         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
2251         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
2252         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2253         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
2254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
2255         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
2256         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2257         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
2258         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
2259         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2260         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
2261         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
2262         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
2263         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2264         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
2265         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
2266         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2267         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
2268         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2269         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
2270         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2271         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
2272         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2273         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2274         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
2275         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2276         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2277         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
2278         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2279         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
2280         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
2281         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2282         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
2283         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2284         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
2285         * sysdeps/x86_64/memcpy.S: Likewise.
2286         * sysdeps/x86_64/memmove.c: Likewise.
2287         * sysdeps/x86_64/memset.S: Likewise.
2288         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
2289         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
2290         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
2291         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
2292         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
2293         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
2294         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
2295         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
2296         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2297         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2298         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2299         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2300         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
2301         * sysdeps/x86_64/multiarch/memset.S: Likewise.
2302         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2303         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
2304         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
2305         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
2306         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
2307         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
2308         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
2309         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2310         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
2311         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
2312         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
2313         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
2314         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2315         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
2316         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
2317         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
2318         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
2319         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
2320         * sysdeps/x86_64/strcmp.S: Likewise.
2321
2322         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
2323
2324         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
2325         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
2326         * elf/rtld-Rules: Likewise.
2327         * elf/setup-vdso.h: Likewise.
2328         * include/assert.h: Likewise.
2329         * include/bits/stdlib-float.h: Likewise.
2330         * include/errno.h: Likewise.
2331         * include/sys/stat.h: Likewise.
2332         * include/unistd.h: Likewise.
2333         * sysdeps/aarch64/setjmp.S: Likewise.
2334         * sysdeps/alpha/setjmp.S: Likewise.
2335         * sysdeps/arm/__longjmp.S: Likewise.
2336         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
2337         * sysdeps/arm/setjmp.S: Likewise.
2338         * sysdeps/arm/sysdep.h: Likewise.
2339         * sysdeps/generic/_itoa.h: Likewise.
2340         * sysdeps/generic/dl-sysdep.h: Likewise.
2341         * sysdeps/generic/ldsodefs.h: Likewise.
2342         * sysdeps/i386/dl-tls.h: Likewise.
2343         * sysdeps/i386/setjmp.S: Likewise.
2344         * sysdeps/m68k/setjmp.c: Likewise.
2345         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
2346         * sysdeps/mach/hurd/opendir.c: Likewise.
2347         * sysdeps/posix/getcwd.c: Likewise.
2348         * sysdeps/posix/opendir.c: Likewise.
2349         * sysdeps/posix/profil.c: Likewise.
2350         * sysdeps/powerpc/dl-procinfo.h: Likewise.
2351         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
2352         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
2353         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
2354         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2355         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
2356         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
2357         * sysdeps/s390/dl-tls.h: Likewise.
2358         * sysdeps/s390/s390-32/setjmp.S: Likewise.
2359         * sysdeps/s390/s390-64/setjmp.S: Likewise.
2360         * sysdeps/sh/sh3/setjmp.S: Likewise.
2361         * sysdeps/sh/sh4/setjmp.S: Likewise.
2362         * sysdeps/unix/alpha/sysdep.h: Likewise.
2363         * sysdeps/unix/arm/sysdep.S: Likewise.
2364         * sysdeps/unix/i386/sysdep.S: Likewise.
2365         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2366         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
2367         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2368         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2369         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2370         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
2371         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
2372         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2373         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
2374         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
2375         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
2376         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2377         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
2379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2380         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2381         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2382         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2383         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2384         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2385         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2386         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2387         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2388         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2389         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2390         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2391         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2392         * sysdeps/unix/x86_64/sysdep.S: Likewise.
2393         * sysdeps/x86_64/setjmp.S: Likewise.
2394
2395         * include/math.h: Use IS_IN instead of IS_IN_libm.
2396         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
2397         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
2398         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
2399         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
2400         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
2401         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
2402         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
2403         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
2404         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2405         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
2406         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
2407         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
2408         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
2409         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
2410         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
2411         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
2412         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
2413         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
2414         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
2415         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
2416         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
2417         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
2418         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
2419         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
2420         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
2421         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
2422         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
2423         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
2424         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
2425         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
2426         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
2427         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
2428         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
2429         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
2430         Likewise.
2431         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
2432         Likewise.
2433         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
2434         Likewise.
2435         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
2436         Likewise.
2437         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
2438         Likewise.
2439         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
2440         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
2441         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
2442         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
2443         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
2444         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
2445         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
2446         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
2447         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
2448         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
2449         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
2450         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
2451         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
2452         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
2453         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
2454         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
2455         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
2456         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
2457         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
2458         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
2459         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
2460         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
2461         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
2462         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
2463         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
2464         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
2465         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
2466
2467         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
2468         * nptl/pthreadP.h: Likewise.
2469         * nptl_db/structs.def: Likewise.
2470         * sysdeps/arm/sysdep.h: Likewise.
2471         * sysdeps/nptl/bits/libc-lock.h: Likewise.
2472         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
2473         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
2474         * sysdeps/unix/alpha/sysdep.h: Likewise.
2475         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
2476         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2477         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
2478         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
2479         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
2480         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
2481         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2482         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
2483         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2484         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
2485         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
2486         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
2487         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
2488         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
2489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
2490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
2491         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
2492         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
2493         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
2494         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
2495         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
2496         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
2497         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2498         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
2499         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
2500         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
2501
2502         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
2503         * nptl/pthreadP.h: Likewise.
2504         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
2505         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
2506         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
2507         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
2508         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
2509         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
2510         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2511         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
2512         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
2513         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
2514         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
2515         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
2516         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
2517         Likewise.
2518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
2519         Likewise.
2520         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
2521         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
2522         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
2523         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
2524         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
2525         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
2526         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
2527         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
2528
2529         * dlfcn/dladdr.c: Use IS_IN.
2530         * dlfcn/dladdr1.c: Likewise.
2531         * dlfcn/dlclose.c: Likewise.
2532         * dlfcn/dlerror.c: Likewise.
2533         * dlfcn/dlinfo.c: Likewise.
2534         * dlfcn/dlmopen.c: Likewise.
2535         * dlfcn/dlopen.c: Likewise.
2536         * dlfcn/dlsym.c: Likewise.
2537         * dlfcn/dlvsym.c: Likewise.
2538
2539         * include/ifaddrs.h: Use IS_IN.
2540         * inet/check_pf.c: Likewise.
2541         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2542         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
2543
2544         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
2545         IS_IN_ldconfig.
2546         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
2547         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
2548
2549         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
2550         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
2551         IS_IN (libc).
2552
2553         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
2554
2555         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
2556         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
2557         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
2558         * include/libc-symbols.h (IS_IN_LIB): New macro.
2559         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
2560         * include/netdb.h: Likewise.
2561         * include/stap-probe.h: Remove all uses of IN_LIB.
2562
2563         * Makeconfig (module-cppflags-real): Define MODULE_NAME
2564         instead of IN_MODULE.
2565         * include/libc-symbols.h (IN_MODULE): Define using
2566         MODULE_NAME.
2567         (PASTE_NAME, PASTE_NAME1): New macros.
2568         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
2569         of IN_LIB.
2570         (STAP_PROBE_ASM): Likewise.
2571
2572 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2573
2574         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
2575         __mach_init in dlopened libc.
2576
2577 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
2578
2579         * sysdeps/arm/preconfigure.ac: Delete EABI check.
2580         * sysdeps/arm/preconfigure: Regenerate.
2581
2582 2014-11-21  Roland McGrath  <roland@hack.frob.com>
2583
2584         * nptl/pthread_create.c (__pthread_create_2_1): Set
2585         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
2586         when copying values from IATTR into PD.
2587
2588 2014-11-21  Will Newton  <will.newton@linaro.org>
2589             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
2590
2591         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
2592         Refactor inline-asm.  Also add comment.
2593
2594         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
2595         ElfW macro instead of hardcoded Elf64 types.
2596         (la_aarch64_gnu_pltenter): Likewise.
2597         * sysdeps/aarch64/dl-machine.h
2598         (elf_machine_runtime_setup): Use ElfW(Addr).
2599
2600         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
2601         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
2602         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
2603         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
2604         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
2605         (R_AARCH64_TLS_DTPMOD64): Rename to ..
2606         (R_AARCH64_TLS_DTPMOD): This.
2607         (R_AARCH64_TLS_DTPREL64): Rename to ...
2608         (R_AARCH64_TLS_DTPREL): This.
2609         (R_AARCH64_TLS_TPREL64): Rename to ...
2610         (R_AARCH64_TLS_TPREL): This.
2611         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
2612         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
2613         R_AARCH64_TLS_TPREL64.
2614         (elf_machine_rela): Likewise.
2615
2616 2014-11-21  Torvald Riegel  <triegel@redhat.com>
2617
2618         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
2619         by setting it to 0.  64b atomics are not supported currently.
2620
2621 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
2622
2623         [BZ #16469]
2624         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
2625         search domain names.
2626
2627 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
2628
2629         [BZ #16469]
2630         * NEWS: Update.
2631         * resolv/res_query.c (__libc_res_nquerydomain): Retain
2632         trailing dot.
2633         * posix/tst-getaddrinfo5.c: New.
2634         * posix/Makefile (tests): Add it.
2635
2636 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
2637
2638         [BZ #14498]
2639         * NEWS: Fixed.
2640         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
2641         after parsing line but before break_if_match.
2642         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
2643         if there is a protocol mismatch.
2644
2645 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
2646
2647         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
2648         because the potential race is on the user-supplied stream.
2649
2650 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
2651
2652         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
2653         string literal if not passed a buffer.
2654         * manual/job.texi (ctermid): Update reasoning, note deviation
2655         from posix, suggest mtasurace when not passed a buffer, for
2656         future non-preliminary safety notes.
2657
2658 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
2659
2660         * manual/users.texi (cuserid): Fix MT-Safety note for the case
2661         of not passing it a buffer.
2662         Reported by Peng Haitao.
2663
2664 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
2665
2666         * manual/Makefile ($(objpfx)stamp-summary): Require
2667         check-safety.sh to pass.
2668         * manual/check-safety.sh: Wish for verification that every
2669         @deftypefn and @deftypefun is followed by a @safety remark.
2670
2671 2014-11-20  Roland McGrath  <roland@hack.frob.com>
2672
2673         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
2674
2675         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
2676         PTHREAD_CANCEL_ASYNCHRONOUS.
2677         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
2678         send SIGCANCEL.
2679
2680         * nptl/default-sched.h: New file.
2681         * sysdeps/unix/sysv/linux/default-sched.h: New file.
2682         * nptl/pthread_create.c: Include it.
2683         (__pthread_create_2_1): Use collect_default_sched instead of making
2684         Linux syscalls here directly.
2685
2686 2014-11-20  Torvald Riegel  <triegel@redhat.com>
2687
2688         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
2689         __pthread_once): Use C11 atomics.
2690
2691 2014-11-20  Torvald Riegel  <triegel@redhat.com>
2692
2693         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
2694
2695 2014-11-20  Torvald Riegel  <triegel@redhat.com>
2696
2697         * include/atomic.h (__atomic_link_error, __atomic_check_size,
2698         atomic_thread_fence_acquire, atomic_thread_fence_release,
2699         atomic_thread_fence_seq_cst, atomic_load_relaxed,
2700         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
2701         atomic_compare_exchange_weak_relaxed,
2702         atomic_compare_exchange_weak_acquire,
2703         atomic_compare_exchange_weak_release,
2704         atomic_exchange_acquire, atomic_exchange_release,
2705         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
2706         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
2707         atomic_fetch_and_acquire,
2708         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
2709
2710 2014-11-20  Torvald Riegel  <triegel@redhat.com>
2711
2712         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
2713         USE_ATOMIC_COMPILER_BUILTINS): Define.
2714         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
2715         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2716         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
2717         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2718         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
2719         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2720         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
2721         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2722         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
2723         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2724         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
2725         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2726         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
2727         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2728         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
2729         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2730         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
2731         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2732         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
2733         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2734         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
2735         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2736         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
2737         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2738         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
2739         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2740         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
2741         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2742         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
2743         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2744         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
2745         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2746         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
2747         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2748         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
2749         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2750         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
2751         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2752         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
2753         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2754
2755 2014-11-19  Roland McGrath  <roland@hack.frob.com>
2756
2757         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
2758         the sched_priority value here.  It was already checked when the user
2759         called pthread_attr_setschedparam.
2760
2761         * nptl/tst-bad-schedattr.c: New file.
2762         * nptl/Makefile (tests): Add it.
2763
2764 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
2765             Florian Weimer  <fweimer@redhat.com>
2766             Joseph Myers  <joseph@codesourcery.com>
2767             Adam Conrad  <adconrad@0c3.net>
2768             Andreas Schwab  <schwab@suse.de>
2769             Brooks  <bmoses@google.com>
2770
2771         [BZ #17625]
2772         * wordexp-test.c (__dso_handle): Add prototype.
2773         (__register_atfork): Likewise.
2774         (__app_register_atfork): New function.
2775         (registered_forks): New global.
2776         (register_fork): New function.
2777         (test_case): Add 3 new tests for WRDE_CMDSUB.
2778         (main): Call __app_register_atfork.
2779         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
2780         fork count is non-zero fail the test.
2781         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
2782         is set.
2783         (parse_dollars): Remove check for WRDE_NOCMD.
2784         (parse_dquote): Likewise.
2785
2786 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
2787
2788         * Makeconfig (built-modules): List non-library modules to be
2789         built.
2790         (module-cppflags): Include libc-modules.h for
2791         everything except shlib-versions.v.i.
2792         (CPPFLAGS): Use it.
2793         (before-compile): Add libc-modules.h.
2794         ($(common-objpfx)libc-modules.h,
2795         $(common-objpfx)libc-modules.stmp): New targets.
2796         (common-generated): Add libc-modules.h and libc-modules.stmp.
2797         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
2798         * include/libc-symbols.h: Don't include libc-modules.h.
2799         * include/libc-modules.h: Remove file.
2800         * scripts/gen-libc-modules.awk: New script to generate
2801         libc-modules.h.
2802         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
2803         Depend on libc-modules.stmp.
2804
2805         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
2806
2807         * Makeconfig (in-module): Get value of libof set for the
2808         translation unit.
2809         (CPPFLAGS): Use $(in-module).
2810         * Makerules: Don't suffix routine names for nonlib.
2811         * include/libc-modules.h: New file.
2812         * include/libc-symbols.h: Include libc-modules.h
2813         (IS_IN): New macro to replace IS_IN_* macros.
2814         * elf/Makefile: Set libof-* for each routine.
2815         * elf/rtld-Rules: Likewise.
2816         * extra-modules.mk: Likewise.
2817         * iconv/Makefile: Likewise.
2818         * iconvdata/Makefile: Likewise.
2819         * locale/Makefile: Likewise.
2820         * malloc/Makefile: Likewise.
2821         * nss/Makefile: Likewise.
2822         * sysdeps/gnu/Makefile: Likewise.
2823         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
2824         * sysdeps/unix/sysv/linux/Makefile: Likewise.
2825         * sysdeps/s390/s390-64/Makefile: Likewise.
2826         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
2827         CPPFLAGS for nscd instead of nonlib.
2828
2829 2014-11-18  Roland McGrath  <roland@hack.frob.com>
2830
2831         * nptl/createthread.c: New file.
2832
2833         * nptl/createthread.c: Moved ...
2834         * sysdeps/unix/sysv/linux/createthread.c: ... here.
2835
2836         * nptl/createthread.c: Add proper top-line comment.
2837         (do_clone): Folded into ...
2838         (create_thread): ... here.  Take new arguments STOPPED_START and
2839         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
2840         increment __nptl_threads, do event-reporting logic, do
2841         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
2842         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
2843         resource cleanup if sched_setaffinity or sched_setscheduler fails,
2844         just send SIGCANCEL.
2845         * nptl/pthread_create.c: Forward-declare create_thread before
2846         including createthread.c.
2847         (start_thread): Use new macro START_THREAD_DEFN to replace defining
2848         declaration, and new macro START_THREAD_SELF to replace argument.
2849         Remove return statement.
2850         (report_thread_creation): New function.
2851         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
2852         synchronization logic, and __nptl_nthreads increment here, around
2853         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
2854         PD->parent_cancelhandling here, before create_thread.  When
2855         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
2856         __deallocate_stack, and ENOMEM translation here.
2857
2858 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
2859
2860         [BZ #17616]
2861         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
2862         (mptwo): Rename to __mptwo.
2863         (__inv): Use __mptwo instead of mptwo.
2864         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
2865         (mptwo): Rename to __mptwo.
2866         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
2867         of mpone and __mptwo instead of mptwo.
2868         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
2869         instead of mpone.
2870         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
2871         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
2872         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
2873         of mpone and __mptwo instead of mptwo.
2874         (__mpranred): Use __mpone instead of mpone.
2875         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
2876         variable.
2877         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
2878         (test-xfail-ISO99/math.h/linknamespace): Likewise.
2879         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
2880         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
2881         (test-xfail-ISO11/math.h/linknamespace): Likewise.
2882         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
2883         (test-xfail-XPG3/math.h/linknamespace): Likewise.
2884         (test-xfail-XPG4/math.h/linknamespace): Likewise.
2885         (test-xfail-POSIX/math.h/linknamespace): Likewise.
2886         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
2887         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
2888         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
2889         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
2890         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
2891         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
2892         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
2893         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
2894         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
2895         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
2896
2897 2014-11-18  Tom de Vries  <tom@codesoucery.com>
2898
2899         * manual/signal.texi (Primitives Interrupted by Signals): In section,
2900         replace BSD Handler xref with BSD Signal Handling.
2901
2902 2014-11-17  Richard Henderson  <rth@redhat.com>
2903
2904         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
2905         (_FP_PACK_RAW_2): Remove.
2906         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
2907         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
2908         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
2909         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
2910         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
2911         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
2912         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
2913         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
2914         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
2915         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
2916         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
2917         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
2918         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
2919         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
2920         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
2921         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
2922
2923 2014-11-14  Roland McGrath  <roland@hack.frob.com>
2924
2925         * signal/signal.h [__USE_MISC]
2926         (struct sigvec): Remove type.
2927         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
2928         (sigvec): Remove declaration.
2929         * sysdeps/posix/sigvec.c: Moved ...
2930         * signal/sigvec.c: ... here, replacing old file.
2931         (struct sigvec): New type, copied from old signal.h definition.
2932         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
2933         (__sigvec): Convert definition to prototype.
2934         (sigvec): Replace weak_alias with compat_symbol.
2935         * signal/Versions (libc: GLIBC_2.21): New version set.
2936         * include/signal.h: Remove __sigvec declaration.
2937         * sysdeps/unix/bsd/sigvec.c: Remove file.
2938         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
2939         * manual/signal.texi (BSD Handler): Remove subsection.
2940         Move siginterrupt up to ...
2941         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
2942         (Blocking in BSD): Fold subsection into its parent.
2943         * NEWS: Mention sigvec removal.
2944
2945 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
2946
2947         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
2948         (DLA_FMS): Make definition conditional only on [__FMA4__].
2949         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
2950         definition.
2951
2952         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
2953         Make definition conditional only on [PROF].
2954         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
2955         definition.
2956         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
2957         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
2958
2959         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
2960         !__GNUC__].
2961         * include/signal.h (__sigpause): Move declaration above call to
2962         libc_hidden_proto.
2963         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
2964         variable.
2965         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
2966         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
2967
2968 2014-11-14  David S. Miller  <davem@davemloft.net>
2969
2970         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
2971         Define before including <string/memcpy.c> and <string/mempcpy.c>.
2972
2973 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
2974
2975         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
2976         * configure: Regenerated.
2977         * manual/install.texi (Tools for Compilation): Document a
2978         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
2979         compiler verified to work.
2980         * INSTALL: Regenerated.
2981
2982         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
2983         redeclare with asm name.
2984         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
2985         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
2986         including <string.h>.
2987         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2988         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
2989         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2990         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
2991         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2992         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
2993         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2994
2995 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
2996
2997         * stdlib/strtol.c (__strtol): Use prototype definition.
2998
2999         [BZ #17594]
3000         * stdlib/strtol.c (SYM__): New macro.
3001         (SYM__1): Likewise.
3002         (__strtol): Likewise.
3003         (strtol): Rename to __strtol and define as weak alias of
3004         __strtol.  Use libc_hidden_weak.
3005
3006 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
3007
3008         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
3009         Use numbered labels in inline assembly.
3010
3011 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
3012
3013         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
3014         Add setjmp LIBC_PROBE.
3015         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
3016         Likewise.
3017         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
3018         Add longjmp, longjmp_target LIBC_PROBE.
3019         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
3020         Likewise.
3021
3022 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
3023
3024         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
3025         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
3026         to get rid of unused variable warning.
3027
3028 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
3029
3030         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
3031         Check for unwind_backtrace ==  NULL only in SHARED case.
3032         (__backchain_backtrace): Compile only in SHARED case.
3033         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
3034         Likewise.
3035         (__backchain_backtrace): Declare as static.
3036
3037 2014-11-12  Roland McGrath  <roland@hack.frob.com>
3038
3039         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
3040         (__libc_multiple_threads_ptr): Variable moved ...
3041         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
3042
3043 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
3044
3045         * conform/GlibcConform.pm: New file.
3046         * conform/conformtest.pl: Use GlibcConform module.
3047         * conform/linknamespace.pl: New file.
3048         * conform/list-header-symbols.pl: Likewise.
3049         * conform/Makefile (linknamespace-symlists-base): New variable.
3050         (linknamespace-symlists-tests): Likewise.
3051         (linknamespace-header-base): Likewise.
3052         (linknamespace-header-tests): Likewise.
3053         (tests-special): Add new tests.
3054         ($(linknamespace-symlists-tests)): New rule.
3055         (linknamespace-libs): New variable.
3056         ($(objpfx)symlist-stdlibs): New rule.
3057         ($(linknamespace-header-tests)): Likewise.
3058         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
3059         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
3060         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
3061         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
3062         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
3063         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
3064         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
3065         (test-xfail-ISO/math.h/linknamespace): Likewise.
3066         (test-xfail-ISO/signal.h/linknamespace): Likewise.
3067         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
3068         (test-xfail-ISO/time.h/linknamespace): Likewise.
3069         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
3070         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
3071         (test-xfail-ISO99/math.h/linknamespace): Likewise.
3072         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
3073         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
3074         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
3075         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
3076         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
3077         (test-xfail-ISO11/math.h/linknamespace): Likewise.
3078         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
3079         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
3080         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
3081         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
3082         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
3083         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
3084         (test-xfail-XPG3/math.h/linknamespace): Likewise.
3085         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
3086         (test-xfail-XPG3/search.h/linknamespace): Likewise.
3087         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
3088         (test-xfail-XPG3/time.h/linknamespace): Likewise.
3089         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
3090         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
3091         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
3092         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
3093         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
3094         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
3095         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
3096         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
3097         (test-xfail-XPG4/math.h/linknamespace): Likewise.
3098         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
3099         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
3100         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
3101         (test-xfail-XPG4/search.h/linknamespace): Likewise.
3102         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
3103         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
3104         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
3105         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
3106         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
3107         (test-xfail-XPG4/time.h/linknamespace): Likewise.
3108         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
3109         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
3110         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
3111         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
3112         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
3113         (test-xfail-POSIX/math.h/linknamespace): Likewise.
3114         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
3115         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
3116         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
3117         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
3118         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
3119         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
3120         (test-xfail-POSIX/time.h/linknamespace): Likewise.
3121         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
3122         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
3123         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
3124         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
3125         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
3126         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
3127         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
3128         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
3129         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
3130         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
3131         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
3132         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
3133         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
3134         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
3135         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
3136         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
3137         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
3138         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
3139         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
3140         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
3141         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
3142         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
3143         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
3144         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
3145         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
3146         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
3147         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
3148         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
3149         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
3150         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
3151         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
3152         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
3153         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
3154         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
3155         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
3156         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
3157         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
3158         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
3159         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
3160         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
3161         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
3162         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
3163         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
3164         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
3165         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
3166         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
3167         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
3168         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
3169         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
3170         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
3171         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
3172         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
3173         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
3174         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
3175         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
3176         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
3177         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
3178         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
3179         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
3180         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
3181         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
3182         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
3183         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
3184         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
3185         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
3186         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
3187         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
3188         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
3189         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
3190         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
3191         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
3192         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
3193         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
3194         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
3195         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
3196         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
3197         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
3198         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
3199         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
3200         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
3201         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
3202         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
3203         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
3204         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
3205         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
3206         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
3207         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
3208         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
3209         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
3210         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
3211         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
3212         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
3213         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
3214         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
3215         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
3216         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
3217         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
3218         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
3219
3220         [BZ #17589]
3221         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
3222         of fgets_unlocked.
3223
3224         [BZ #17585]
3225         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
3226         (memmem): Rename to __memmem and define as weak alias of
3227         __memmem.  Use libc_hidden_weak.
3228         (__memmem): Use libc_hidden_def.
3229         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
3230         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
3231         memmem.
3232
3233         [BZ #17582]
3234         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
3235         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
3236         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
3237         and define as weak alias of __fgets_unlocked.  Use
3238         libc_hidden_weak.
3239         (__fgets_unlocked): Use libc_hidden_def.
3240         * include/stdio.h (__fgets_unlocked): Declare.  Use
3241         libc_hidden_proto.
3242         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
3243         __fgets_unlocked instead of fgets_unlocked.
3244         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
3245         (GET_NPROCS_CONF_PARSER): Likewise.
3246         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
3247         (GET_NPROCS_CONF_PARSER): Likewise.
3248
3249         [BZ #17574]
3250         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
3251         weak alias of __wmemset.  Use libc_hidden_weak.
3252         (__wmemset): Use libc_hidden_def.
3253         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
3254         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
3255         of wmemset.
3256
3257         [BZ #17573]
3258         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
3259         with asm name __mempcpy.
3260         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
3261
3262         [BZ #17572]
3263         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
3264         and define as weak alias of __rawmemchr.
3265         (__rawmemchr): Do not define as strong alias of rawmemchr.
3266
3267         [BZ #17571]
3268         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
3269         alias of __qsort_r.
3270         (qsort): Call __qsort_r instead of qsort_r.
3271         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
3272         (__qsort_r): Declare.  Call libc_hidden_proto.
3273         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
3274         instead of qsort_r.
3275         * nscd/gai.c (__qsort_r): Define to qsort_r.
3276         * posix/tst-rfc3484.c (__qsort_r): Likewise.
3277         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
3278         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
3279
3280         [BZ #17570]
3281         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
3282         define as weak alias of __malloc_info.
3283
3284         [BZ #17584]
3285         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
3286         as weak alias of __rewinddir.  Don't use libc_hidden_def.
3287         (__rewinddir): Use libc_hidden_def.
3288         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
3289         as weak alias of __rewinddir.  Don't use libc_hidden_def.
3290         (__rewinddir): Use libc_hidden_def.
3291         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
3292         weak alias of __rewinddir.  Don't use libc_hidden_def.
3293         (__rewinddir): Use libc_hidden_def.
3294         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
3295         (__rewinddir): Use libc_hidden_proto.
3296         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
3297         rewinddir.
3298         (__getcwd): Use __rewinddir instead of rewinddir.
3299
3300         [BZ #17583]
3301         * libio/fileno.c (fileno): Rename to __fileno and define as weak
3302         alias of __fileno.  Use libc_hidden_weak.
3303         (__fileno): Use libc_hidden_def.
3304         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
3305         * libio/ftello.c (ftello): Rename to __ftello and define as weak
3306         alias of __ftello.
3307         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
3308         __ftello.
3309         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
3310         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
3311         libc_hidden_def.
3312         (fread_unlocked): Don't use libc_hidden_ver.
3313         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
3314         and define as weak alias of __fread_unlocked.  Don't use
3315         libc_hidden_def.
3316         (__fread_unlocked): Use libc_hidden_def.
3317         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
3318         (ftello): Don't use libc_hidden_proto.
3319         (__ftello): Declare.  Use libc_hidden_proto.
3320         (fread_unlocked): Don't use libc_hidden_proto.
3321         (__fread_unlocked): Declare.  Use libc_hidden_proto.
3322         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
3323         and __ftello instead of fileno, fread_unlocked and ftello.
3324
3325 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
3326
3327         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
3328         GOT12.
3329         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
3330         Likewise.
3331         (_dl_start_user): Likewise.
3332         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
3333
3334 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
3335             Siddhesh Poyarekar  <siddhesh@redhat.com>
3336
3337         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
3338         Move argv and envp down instead of moving argc up.
3339         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
3340
3341 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
3342
3343         [BZ #17506]
3344         * test-skeleton.c (main): Return successful if one of
3345         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
3346         * string/tst-strcoll-overflow.c: Define expected status.
3347
3348 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
3349
3350         [BZ #17475]
3351         * locale/iso-639.def: Define Bhili and Tulu language codes.
3352
3353 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
3354
3355         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
3356
3357 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
3358
3359         [BZ #17555]
3360         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
3361
3362 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
3363
3364         * configure.ac: Updated check of minimal required version to
3365         2.22.
3366         * manual/install.texi (Tools for Compilation): Updated version
3367         number.
3368         * configure: Regenerated.
3369         * INSTALL: Likewise.
3370
3371 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
3372
3373         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
3374         __tls_get_addr.
3375
3376 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
3377
3378         * include/sys/wait.h (__libc_waitpid): Remove declaration.
3379         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
3380         (__waitpid): Don't define as alias.  Use libc_hidden_def not
3381         libc_hidden_weak.
3382         (waitpid): Define as alias of __waitpid.
3383         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
3384         __waitpid.
3385         (__waitpid): Don't define as alias.  Use libc_hidden_def not
3386         libc_hidden_weak.
3387         (waitpid): Define as alias of __waitpid.
3388         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
3389         __libc_waitpid alias.
3390         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
3391         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
3392         Likewise.
3393         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
3394         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
3395         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
3396         alias.
3397         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
3398         __waitpid.
3399         (__waitpid): Don't define as alias.  Use libc_hidden_def not
3400         libc_hidden_weak.
3401         (waitpid): Define as alias of __waitpid.
3402
3403 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
3404
3405         * manual/llio.texi: Add comment that write safety has been
3406         fixed in Linux.
3407
3408         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
3409         (localplt-build-dso): Add elf/ld.so.
3410         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
3411         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
3412         and free for ld.so.
3413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
3414         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
3415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
3416         Likewise.
3417         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
3418         Likewise.
3419         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
3420         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
3421         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
3422         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
3423         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
3424         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
3425         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
3426         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
3427         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
3428         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
3429         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
3430
3431 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
3432
3433         [BZ #14132]
3434         * include/libc-symbols.h (INTUSE): Remove macro.
3435         (INTDEF): Likewise.
3436         (INTVARDEF): Likewise.
3437         (_INTVARDEF): Likewise.
3438         (INTDEF2): Likewise.
3439         (INTVARDEF2): Likewise.
3440         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
3441         rtld_hidden_def instead of INTVARDEF.
3442         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
3443         (_dl_starting_up_internal): Remove declaration.
3444         (_dl_starting_up): Use rtld_hidden_proto.
3445         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
3446         declaration.
3447         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
3448         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
3449         _dl_starting_up.
3450         * elf/dl-writev.h (_dl_writev): Likewise.
3451         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
3452         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
3453         _dl_starting_up_internal.
3454
3455 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3456
3457         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
3458         test-skeleton.c.
3459
3460 2014-11-05  Will Newton  <will.newton@linaro.org>
3461
3462         * benchtests/Makefile: (bench-malloc): Add malloc thread
3463         scalability benchmark.
3464         * benchtests/bench-malloc-threads.c: New file.
3465
3466 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
3467
3468         * sysdeps/aarch64/strchrnul.S: New file.
3469
3470 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3471
3472         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
3473         definition.
3474         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
3475         Likwise.
3476         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
3477         Likewise.
3478         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
3479         Likewise.
3480         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
3481         Likewise.
3482         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
3483         Likewise.
3484
3485 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
3486
3487         * catgets/test-gencat.c: Use test-skeleton.c.
3488         * catgets/tst-catgets.c: Likewise.
3489         * csu/tst-empty.c: Likewise.
3490         * elf/tst-audit2.c: Likewise.
3491         * elf/tst-global1.c: Likewise.
3492         * elf/tst-pathopt.c: Likewise.
3493         * elf/tst-piemod1.c: Likewise.
3494         * elf/tst-tls10.c: Likewise.
3495         * elf/tst-tls11.c: Likewise.
3496         * elf/tst-tls12.c: Likewise.
3497         * gnulib/tst-gcc.c: Likewise.
3498         * iconvdata/tst-e2big.c: Likewise.
3499         * iconvdata/tst-loading.c: Likewise.
3500         * iconv/tst-iconv1.c: Likewise.
3501         * iconv/tst-iconv2.c: Likewise.
3502         * inet/test-inet6_opt.c: Likewise.
3503         * inet/tst-gethnm.c: Likewise.
3504         * inet/tst-network.c: Likewise.
3505         * inet/tst-ntoa.c: Likewise.
3506         * intl/tst-codeset.c: Likewise.
3507         * intl/tst-gettext2.c: Likewise.
3508         * intl/tst-gettext3.c: Likewise.
3509         * intl/tst-ngettext.c: Likewise.
3510         * intl/tst-translit.c: Likewise.
3511         * io/test-stat.c: Likewise.
3512         * libio/test-fmemopen.c: Likewise.
3513         * libio/tst-freopen.c: Likewise.
3514         * libio/tst-sscanf.c: Likewise.
3515         * libio/tst-ungetwc1.c: Likewise.
3516         * libio/tst-ungetwc2.c: Likewise.
3517         * libio/tst-widetext.c: Likewise.
3518         * localedata/tst-ctype.c: Likewise.
3519         * localedata/tst-digits.c: Likewise.
3520         * localedata/tst-leaks.c: Likewise.
3521         * localedata/tst-mbswcs1.c: Likewise.
3522         * localedata/tst-mbswcs2.c: Likewise.
3523         * localedata/tst-mbswcs3.c: Likewise.
3524         * localedata/tst-mbswcs4.c: Likewise.
3525         * localedata/tst-mbswcs5.c: Likewise.
3526         * localedata/tst-setlocale.c: Likewise.
3527         * localedata/tst-trans.c: Likewise.
3528         * localedata/tst-wctype.c: Likewise.
3529         * localedata/tst-xlocale1.c: Likewise.
3530         * login/tst-grantpt.c: Likewise.
3531         * malloc/tst-calloc.c: Likewise.
3532         * malloc/tst-malloc.c: Likewise.
3533         * malloc/tst-mallocstate.c: Likewise.
3534         * malloc/tst-mcheck.c: Likewise.
3535         * malloc/tst-mtrace.c: Likewise.
3536         * malloc/tst-obstack.c: Likewise.
3537         * math/atest-exp2.c: Likewise.
3538         * math/atest-exp.c: Likewise.
3539         * math/atest-sincos.c: Likewise.
3540         * math/test-matherr.c: Likewise.
3541         * math/test-misc.c: Likewise.
3542         * math/test-powl.c: Likewise.
3543         * math/tst-definitions.c: Likewise.
3544         * misc/tst-dirname.c: Likewise.
3545         * misc/tst-efgcvt.c: Likewise.
3546         * misc/tst-fdset.c: Likewise.
3547         * misc/tst-hsearch.c: Likewise.
3548         * misc/tst-mntent2.c: Likewise.
3549         * nptl/tst-sem7.c: Likewise.
3550         * nptl/tst-sem8.c: Likewise.
3551         * nptl/tst-sem9.c: Likewise.
3552         * nss/test-netdb.c: Likewise.
3553         * posix/tst-fnmatch.c: Likewise.
3554         * posix/tst-getlogin.c: Likewise.
3555         * posix/tst-gnuglob.c: Likewise.
3556         * posix/tst-mmap.c: Likewise.
3557         * pwd/tst-getpw.c: Likewise.
3558         * resolv/tst-inet_ntop.c: Likewise.
3559         * rt/tst-timer.c: Likewise.
3560         * stdio-common/test-fseek.c: Likewise.
3561         * stdio-common/test-popen.c: Likewise.
3562         * stdio-common/test-vfprintf.c: Likewise.
3563         * stdio-common/tst-cookie.c: Likewise.
3564         * stdio-common/tst-fileno.c: Likewise.
3565         * stdio-common/tst-gets.c: Likewise.
3566         * stdio-common/tst-obprintf.c: Likewise.
3567         * stdio-common/tst-perror.c: Likewise.
3568         * stdio-common/tst-sprintf2.c: Likewise.
3569         * stdio-common/tst-sprintf3.c: Likewise.
3570         * stdio-common/tst-sprintf.c: Likewise.
3571         * stdio-common/tst-swprintf.c: Likewise.
3572         * stdio-common/tst-tmpnam.c: Likewise.
3573         * stdio-common/tst-unbputc.c: Likewise.
3574         * stdio-common/tst-wc-printf.c: Likewise.
3575         * stdlib/tst-environ.c: Likewise.
3576         * stdlib/tst-fmtmsg.c: Likewise.
3577         * stdlib/tst-limits.c: Likewise.
3578         * stdlib/tst-rand48-2.c: Likewise.
3579         * stdlib/tst-rand48.c: Likewise.
3580         * stdlib/tst-random2.c: Likewise.
3581         * stdlib/tst-random.c: Likewise.
3582         * stdlib/tst-strtol.c: Likewise.
3583         * stdlib/tst-strtoll.c: Likewise.
3584         * stdlib/tst-tls-atexit.c: Likewise.
3585         * stdlib/tst-xpg-basename.c: Likewise.
3586         * string/test-ffs.c: Likewise.
3587         * string/tst-bswap.c: Likewise.
3588         * string/tst-inlcall.c: Likewise.
3589         * string/tst-strtok.c: Likewise.
3590         * string/tst-strxfrm.c: Likewise.
3591         * sysdeps/x86_64/tst-audit10.c: Likewise.
3592         * sysdeps/x86_64/tst-audit3.c: Likewise.
3593         * sysdeps/x86_64/tst-audit4.c: Likewise.
3594         * sysdeps/x86_64/tst-audit5.c: Likewise.
3595         * time/tst-ftime_l.c: Likewise.
3596         * time/tst-getdate.c: Likewise.
3597         * time/tst-mktime3.c: Likewise.
3598         * time/tst-mktime.c: Likewise.
3599         * time/tst-posixtz.c: Likewise.
3600         * time/tst-strptime2.c: Likewise.
3601         * time/tst-strptime3.c: Likewise.
3602         * wcsmbs/tst-btowc.c: Likewise.
3603         * wcsmbs/tst-mbrtowc.c: Likewise.
3604         * wcsmbs/tst-mbsrtowcs.c: Likewise.
3605         * wcsmbs/tst-wchar-h.c: Likewise.
3606         * wcsmbs/tst-wcpncpy.c: Likewise.
3607         * wcsmbs/tst-wcrtomb.c: Likewise.
3608         * wcsmbs/tst-wcsnlen.c: Likewise.
3609         * wcsmbs/tst-wcstof.c: Likewise.
3610
3611 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
3612
3613         [BZ #14132]
3614         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
3615         INTDEF.
3616         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
3617         declaration.
3618         (_dl_mcount): Use rtld_hidden_proto.
3619         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
3620         _dl_mcount.
3621         * elf/rtld.c (_rtld_global_ro): Likewise.
3622
3623         [BZ #14132]
3624         * elf/dl-init.c (_dl_init): Don't use INTDEF.
3625         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
3626         of _dl_init_internal.
3627         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
3628         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
3629         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
3630         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
3631         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
3632         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
3633         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
3634         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
3635         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
3636         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
3637         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
3638         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
3639         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
3640         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
3641         * sysdeps/tile/dl-start.S (_start): Likewise.
3642         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
3643         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
3644
3645         [BZ #14132]
3646         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
3647         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
3648         (rtld_progname): Make macro definition unconditional.
3649         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
3650         INTDEF.
3651         (dlmopen_doit): Do not use INTUSE with _dl_argv.
3652         (dl_main): Likewise.
3653         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
3654         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
3655         instead of _dl_argv_internal.
3656         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
3657         __GI__dl_argv instead of INTUSE(_dl_argv).
3658         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
3659         __GI__dl_argv instead of _dl_argv_internal.
3660
3661         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
3662         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
3663         macro.
3664         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
3665         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
3666         New macro.
3667         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
3668         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
3669         macro.
3670         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
3671         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
3672
3673 2014-11-04  Andreas Schwab  <schwab@suse.de>
3674
3675         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
3676
3677 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3678
3679         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
3680         mtvsrd instruction in binary form.
3681
3682 2014-11-03  Andreas Schwab  <schwab@suse.de>
3683
3684         [BZ #17522]
3685         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
3686         for less than MB_LEN_MAX use a local buffer of that size.
3687         * libio/tst-fputws.c: New file.
3688         * libio/Makefile (tests): Add tst-fputws.
3689
3690 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
3691
3692         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
3693         the size of the fpu_fr.fpu_dregs[] array.
3694
3695 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
3696
3697         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
3698         (__nanosleep): Do not define as alias.
3699         (nanosleep): Define as alias of __nanosleep.
3700         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
3701         __libc_nanosleep name.
3702
3703 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
3704
3705         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
3706         install.texi in comment.
3707
3708 2014-10-31  Torvald Riegel  <triegel@redhat.com>
3709
3710         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
3711         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
3712         ... add here and use lwsync or sync ...
3713         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
3714         ... and add here using lwsync.
3715
3716 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
3717
3718         * elf/dl-machine-reject-phdr.h: New file.
3719         * elf/dl-load.c: #include that.
3720         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
3721         if that returned true.
3722
3723 2014-10-31  Roland McGrath  <roland@hack.frob.com>
3724
3725         [BZ #17496]
3726         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
3727         gen-as-const-headers chunk.  Add a big scare comment after the last
3728         safe place to touch before-compile.
3729
3730 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
3731
3732         * manual/install.texi (Tools for Compilation): Update autoconf
3733         version requirements.
3734         * INSTALL: Regenerated.
3735
3736         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
3737         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
3738         (__libc_pselect): Likewise.
3739
3740         [BZ #14138]
3741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
3742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
3743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
3744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
3745
3746 2014-10-31  Torvald Riegel  <triegel@redhat.com>
3747
3748         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
3749         correct barrier instruction.
3750         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
3751         Likewise.
3752         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
3753         Likewise.
3754
3755 2014-10-30  Roland McGrath  <roland@hack.frob.com>
3756
3757         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
3758         after defining inlines.  Instead, just use parens to defeat macro
3759         expansion of __isctype in its declaration.
3760
3761 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
3762
3763         * include/sys/uio.h (__libc_readv): Remove declaration.
3764         (__libc_writev): Likewise.
3765         * misc/readv.c (__libc_readv): Rename to __readv.
3766         (__readv): Do not define as alias.
3767         (readv): Define as alias of __readv.
3768         * misc/writev.c (__libc_writev): Rename to __writev.
3769         (__writev): Do not define as alias.
3770         (writev): Define as alias of __writev.
3771         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
3772         (__readv): Do not define as alias.
3773         (readv): Define unconditionally as alias of __readv.
3774         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
3775         (__writev): Do not define as alias.
3776         (writev): Define unconditionally as alias of __writev.
3777         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
3778         name.
3779         (writev): Do not define __libc_writev name.
3780
3781 2014-10-30  Roland McGrath  <roland@hack.frob.com>
3782
3783         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
3784         (convert_charseq): New function, broken out of ...
3785         (use_from_charmap): ... here.  Call it.
3786         (use_to_charmap): Use convert_charseq and free instead of duplicating
3787         its code with a variable-length stack struct.
3788
3789 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
3790
3791         * include/fcntl.h (__libc_creat): Remove declaration.
3792         * io/creat.c (__libc_creat): Rename to creat.
3793         (creat): Do not define as alias.
3794         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
3795         of creat instead of __libc_creat.
3796         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
3797         to creat.
3798         (creat): Do not define as alias.
3799         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
3800         __libc_creat.
3801         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
3802         __libc_creat name.
3803         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
3804         Likewise.
3805
3806 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
3807
3808         * manual/llio.texi: Add comments discussing why write() may be
3809         considered MT-unsafe on Linux.
3810
3811 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
3812
3813         * dl-load.c (local_strdup): Remove.
3814         (expand_dynamic_string_token): Use __strdup.
3815         (decompose_rpath): Likewise.
3816         (_dl_map_object): Likewise.
3817
3818 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
3819
3820         [BZ #14132]
3821         * sysdeps/generic/unwind-dw2-fde.c
3822         (__register_frame_info_bases_internal): Do not declare.
3823         (__register_frame_info_table_bases_internal): Likewise.
3824         (__deregister_frame_info_bases_internal): Likewise.
3825         (__register_frame_info_bases): Declare and use hidden_proto before
3826         definition.  Use hidden_def instead of INTDEF.
3827         (__register_frame_info_table_bases): Likewise.
3828         (__deregister_frame_info_bases): Likewise.
3829         (__register_frame_info): Do not use INTUSE.
3830         (__register_frame): Likewise.
3831         (__register_frame_info_table): Likewise.
3832         (__register_frame_table): Likewise.
3833         (__deregister_frame_info): Likewise.
3834         (__deregister_frame): Likewise.
3835
3836 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
3837
3838         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3839         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
3840         not undefine.
3841         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
3842         Likewise.
3843         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
3844         Likewise.
3845
3846 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
3847
3848         [BZ #14138]
3849         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
3850         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
3851         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
3852         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
3853         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
3854         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
3855         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
3856         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
3857         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
3858         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
3859         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
3860         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
3861         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
3862         syscall.
3863         (setfsuid): Likewise.
3864         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
3865         (setfsuid): Likewise.
3866         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
3867         (setfsuid): Likewise.
3868         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
3869         Likewise.
3870         (setfsuid): Likewise.
3871         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
3872         (setfsuid): Likewise.
3873         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
3874         Likewise.
3875         (setfsuid): Likewise.
3876
3877 2014-10-27  Andreas Schwab  <schwab@suse.de>
3878
3879         [BZ #17501]
3880         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
3881         check for Slow_SSE4_2 feature bit.
3882         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
3883         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
3884         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
3885         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
3886
3887 2014-10-24  Roland McGrath  <roland@hack.frob.com>
3888
3889         * configure.ac: Validate compiler version with a empirical test of
3890         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
3891         $CC -v output.
3892         * configure: Regenerated.
3893
3894         * inet/htons.c (htons): Prototypify.
3895         * inet/htonl.c (htonl): Likewise.
3896
3897 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3898
3899         * string/strncat.c (strncat): Improve performance by using strlen.
3900
3901 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3902
3903         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
3904
3905 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3906
3907         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
3908         Call libc_fetestexcept_aarch64.
3909
3910 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3911
3912         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
3913         Call libc_feholdexcept_aarch64.
3914
3915 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3916
3917         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
3918         Call get_rounding_mode.
3919
3920 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3921
3922         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
3923         Simplify logic.
3924
3925 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3926
3927         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
3928         Simplify logic.
3929
3930 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
3931
3932         [BZ #14138]
3933         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
3934         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
3935         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
3936         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
3937         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
3938         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
3939         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
3940         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
3941         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
3942         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
3943         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
3944         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
3945         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
3946         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
3947         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
3948         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
3949         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
3950         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
3951         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
3952         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
3953         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
3954         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
3955         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
3956         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
3957         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
3958         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
3959         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
3960         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
3961         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
3962         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
3963         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
3964         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
3965         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
3966         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
3967         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
3968         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
3969         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
3970         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
3971         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
3972         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
3973         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
3974         syscall.
3975         (geteuid): Likewise.
3976         (getgid): Likewise.
3977         (getuid): Likewise.
3978         (getresgid): Likewise.
3979         (getresuid): Likewise.
3980         (getgroups): Likewise.
3981         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
3982         (geteuid): Likewise.
3983         (getgid): Likewise.
3984         (getuid): Likewise.
3985         (getresgid): Likewise.
3986         (getresuid): Likewise.
3987         (getgroups): Likewise.
3988         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
3989         (geteuid): Likewise.
3990         (getgid): Likewise.
3991         (getuid): Likewise.
3992         (getresgid): Likewise.
3993         (getresuid): Likewise.
3994         (getgroups): Likewise.
3995         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
3996         Likewise.
3997         (geteuid): Likewise.
3998         (getgid): Likewise.
3999         (getuid): Likewise.
4000         (getresgid): Likewise.
4001         (getresuid): Likewise.
4002         (getgroups): Likewise.
4003         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
4004         (geteuid): Likewise.
4005         (getgid): Likewise.
4006         (getuid): Likewise.
4007         (getresgid): Likewise.
4008         (getresuid): Likewise.
4009         (getgroups): Likewise.
4010         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
4011         Likewise.
4012         (geteuid): Likewise.
4013         (getgid): Likewise.
4014         (getuid): Likewise.
4015         (getgroups): Likewise.
4016
4017         [BZ #14138]
4018         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
4019         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
4020         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
4021         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
4022         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
4023         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
4024         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
4025         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
4026         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
4027         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
4028         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
4029         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
4030         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
4031         __chown.
4032         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
4033         (lchown): Likewise.
4034         (fchown): Likewise.
4035         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
4036         Likewise.
4037         (lchown): Likewise.
4038         (fchown): Likewise.
4039         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
4040         (lchown): Likewise.
4041         (fchown): Likewise.
4042         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
4043         Likewise.
4044         (lchown): Likewise.
4045         (fchown): Likewise.
4046
4047 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
4048
4049         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
4050         Simplify logic.
4051
4052 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
4053
4054         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
4055         Cleanup logic.
4056
4057 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
4058
4059         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
4060         Remove unused include.
4061
4062 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
4063
4064         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
4065         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
4066         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
4067         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
4068
4069 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
4070             Helge Deller <deller@gmx.de>
4071
4072         [BZ #17508]
4073         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
4074         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
4075         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
4076
4077 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
4078
4079         [BZ #14132]
4080         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
4081         Remove macro definition.
4082         (__ashrdi3_v_glibc20): Likewise.
4083         (__lshrdi3_v_glibc20): Likewise.
4084         (__cmpdi2_v_glibc20): Likewise.
4085         (__ucmpdi2_v_glibc20): Likewise.
4086         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
4087         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
4088         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
4089         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
4090         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
4091         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
4092
4093 2014-10-22  Roland McGrath  <roland@hack.frob.com>
4094
4095         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
4096         old GNU extension [0] syntax.
4097         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
4098         alloca rather than an array member with variable length.
4099         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
4100         * nscd/nscd.c (invalidate_db): New function, broken out of ...
4101         (parse_opt): ... here.  Likewise use alloca there.
4102         Validate the -i argument before checking for rootness.
4103         (send_shutdown): New function, broken out of ...
4104         (parse_opt): ... here.
4105
4106 2014-10-22  Roland McGrath  <roland@hack.frob.com>
4107
4108         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
4109         macro to get at the _rt_local_ro field.
4110         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
4111         ([PIC] case) or _dl_hwcap ([!PIC] case).
4112         * sysdeps/arm/setjmp.S: Likewise.
4113
4114         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
4115         * sysdeps/arm/configure.ac: New check to define it.
4116         * sysdeps/arm/configure: Regenerated.
4117         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
4118         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
4119         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
4120         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
4121         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
4122         Use move/movt pair instead of a load.
4123         (LDST_GLOBAL): Macro removed.
4124         (LDR_GLOBAL): New macro replaces it.
4125         (LDR_HIDDEN): New macro.
4126         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
4127         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
4128
4129         * setjmp/tst-setjmp-static.c: New file.
4130         * setjmp/Makefile (tests): Add it.
4131         (tests-static): New variable.
4132
4133 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
4134
4135         [BZ #17485]
4136         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
4137
4138 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
4139
4140         [BZ #14132]
4141         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
4142
4143 2014-10-21  Roland McGrath  <roland@hack.frob.com>
4144
4145         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
4146
4147 2014-10-20  Roland McGrath  <roland@hack.frob.com>
4148
4149         * io/fts.c (dirent_not_directory): New function.
4150         (fts_build): Call it.
4151
4152 2014-10-20  Roland McGrath  <roland@hack.frob.com>
4153
4154         * nptl/version.c (__nptl_main): Use normal __write rather than
4155         INTERNAL_SYSCALL.
4156         (banner): Update copyright years.
4157
4158         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
4159         gettimeofday.
4160         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
4161         * nptl/pthread_cond_timedwait.c: Likewise.
4162         * nptl/pthread_mutex_timedlock.c: Likewise.
4163         * nptl/sem_timedwait.c: Likewise.
4164
4165         * sysdeps/nptl/bits/libc-lock.h
4166         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
4167         (__libc_lock_init_recursive): Return void, not 0.
4168         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
4169         (__libc_rwlock_init): Likewise.
4170         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
4171
4172 2014-10-20  Torvald Riegel  <triegel@redhat.com>
4173
4174         [BZ #15215]
4175         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
4176         (__pthread_once_slow): ... here.
4177         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
4178         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
4179
4180 2014-10-20  Torvald Riegel  <triegel@redhat.com>
4181
4182         [BZ #15215]
4183         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
4184         __PTHREAD_ONCE_FORK_GEN_INCR): New.
4185         * sysdeps/nptl/fork.c (__libc_fork): Use them.
4186         * nptl/pthread_once.c (__pthread_once): Likewise.
4187         Update comments.
4188
4189 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
4190
4191         [BZ #14138]
4192         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
4193         name.
4194         (writev): Use __libc_writev as strong name.
4195         * sysdeps/unix/sysv/linux/readv.c: Remove file.
4196         * sysdeps/unix/sysv/linux/writev.c: Likewise.
4197
4198 2014-10-17  Roland McGrath  <roland@hack.frob.com>
4199
4200         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
4201
4202         * sysdeps/i386/nptl/tls.h
4203         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
4204         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
4205         New macros.
4206         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
4207         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
4208         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
4209         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
4210         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
4211         Call CHECK_THREAD_SYSINFO instead of doing an assert.
4212
4213         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
4214         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
4215         on [__NR_futex].
4216         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
4217         broken out of ...
4218         (__pthread_mutex_init): ... here.  Call it.
4219         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
4220         Conditionalize PI cases on [__NR_futex].
4221         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
4222         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
4223         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
4224
4225         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
4226         conditional on [SIGSETXID].
4227         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
4228         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
4229         is defined.  Likewise for SIGSETXID.
4230         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
4231         Conditionalize definitions on [SIGSETXID].
4232         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
4233         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
4234         unblocking on [SIGCANCEL].
4235
4236         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
4237         [__NR_set_robust_list].
4238
4239 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
4240
4241         * string/strcoll_l.c (get_next_seq): Fix up formatting.
4242         (do_compare): Likewise.
4243
4244 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
4245
4246         [BZ #15884]
4247         * string/strcoll_l.c: Don't include stdio.h.
4248         (coll_seq): Remove members idxarr and rulearr.
4249         (get_next_seq_cached): Remove function.
4250         (get_next_seq): Likewise.
4251         (get_next_seq_nocache): Rename to get_next_seq.
4252         (do_compare): Remove function.
4253         (do_compare_nocache): Rename to do_compare.
4254         (STRCOLL): Remove weight and rules cache.
4255
4256 2014-10-16  Roland McGrath  <roland@hack.frob.com>
4257
4258         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
4259         * sysdeps/arm/sfp-machine.h: ... to here.
4260         * sysdeps/arm/Implies: Remove arm/soft-fp.
4261
4262 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
4263
4264         * conform/data/sys/utsname.h-data (*_t): Allow.
4265         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
4266         [POSIX] (WEXITED): Do not expect constant.
4267         [POSIX] (WSTOPPED): Likewise.
4268         [POSIX] (WNOHANG): Likewise.
4269         [POSIX] (WNOWAIT): Likewise.
4270         [POSIX] (siginfo_t): Do not expect type or elements.
4271         [POSIX] (pid_t): Do not expect type.
4272         [POSIX] (signal.h): Do not allow header.
4273         [POSIX] (sys/resource.h): Likewise.
4274         [POSIX] (si_*): Do not allow pattern.
4275         [POSIX] (W*): Likewise.
4276         [POSIX] (P_*): Likewise.
4277         [POSIX] (BUS_*): Likewise.
4278         [POSIX] (CLD_*): Likewise.
4279         [POSIX] (FPE_*): Likewise.
4280         [POSIX] (ILL_*): Likewise.
4281         [POSIX] (POLL_*): Likewise.
4282         [POSIX] (SEGV_*): Likewise.
4283         [POSIX] (SI_*): Likewise.
4284         [POSIX] (TRAP_*): Likewise.
4285         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
4286         variable.
4287
4288 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
4289
4290         [BZ #12926]
4291         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
4292         infinite loop when __recvmsg returns 0.
4293
4294 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
4295
4296         * CANCEL-FCT-WAIVE: Remove file.
4297         * CANCEL-FILE-WAIVE: Likewise.
4298
4299         [BZ #14132]
4300         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
4301         instead of INTVARDEF.
4302         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
4303         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
4304         rtld_hidden_data_def instead of INTVARDEF.
4305         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
4306         * elf/dl-deps.c (expand_dst): Likewise.
4307         * elf/dl-load.c (_dl_dst_count): Likewise.
4308         (_dl_dst_substitute): Likewise.
4309         (decompose_rpath): Likewise.
4310         (_dl_init_paths): Likewise.
4311         (open_path): Likewise.
4312         (_dl_map_object): Likewise.
4313         * elf/rtld.c (dl_main): Likewise.
4314         (process_dl_audit): Likewise.
4315         (process_envvars): Likewise.
4316         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
4317         Remove declaration.
4318         (__libc_enable_secure): Use rtld_hidden_proto.
4319
4320 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
4321
4322         * elf/dl-load.c
4323         (add_path): New function broken out of _dl_rtld_di_serinfo.
4324         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
4325
4326 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
4327
4328         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
4329         parentheses around macro arguments.
4330         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
4331         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
4332         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
4333         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
4334         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
4335         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
4336         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
4337         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
4338         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
4339         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
4340         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
4341         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
4342         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
4343         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
4344         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
4345         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
4346         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
4347         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
4348         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
4349         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
4350         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
4351         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
4352         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
4353         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
4354         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
4355         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
4356         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
4357         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
4358         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
4359         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
4360         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
4361         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
4362         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
4363         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
4364         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
4365         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
4366         Likewise.
4367         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
4368         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
4369         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
4370         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
4371         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
4372         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
4373         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
4374         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
4375         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
4376         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
4377         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
4378         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
4379         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
4380         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
4381         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
4382         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
4383         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
4384         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
4385         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
4386         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
4387         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
4388         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
4389         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
4390         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
4391         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
4392         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
4393         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
4394         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
4395         (_FP_FRAC_SRS_1): Likewise.
4396         (_FP_FRAC_CLZ_1): Likewise.
4397         (_FP_MUL_MEAT_1_imm): Likewise.
4398         (_FP_MUL_MEAT_1_wide): Likewise.
4399         (_FP_MUL_MEAT_1_hard): Likewise.
4400         (_FP_SQRT_MEAT_1): Likewise.
4401         (_FP_FRAC_ASSEMBLE_1): Likewise.
4402         (_FP_FRAC_DISASSEMBLE_1): Likewise.
4403         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
4404         (__FP_CLZ_2): Likewise.
4405         (_FP_MUL_MEAT_2_wide): Likewise.
4406         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
4407         (_FP_MUL_MEAT_2_gmp): Likewise.
4408         (_FP_MUL_MEAT_2_120_240_double): Likewise.
4409         (_FP_SQRT_MEAT_2): Likewise.
4410         (_FP_FRAC_ASSEMBLE_2): Likewise.
4411         (_FP_FRAC_DISASSEMBLE_2): Likewise.
4412         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
4413         (_FP_FRAC_CLZ_4): Likewise.
4414         (_FP_MUL_MEAT_4_wide): Likewise.
4415         (_FP_MUL_MEAT_4_gmp): Likewise.
4416         (_FP_SQRT_MEAT_4): Likewise.
4417         (_FP_FRAC_ASSEMBLE_4): Likewise.
4418         (_FP_FRAC_DISASSEMBLE_4): Likewise.
4419         * soft-fp/op-common.h (_FP_CMP): Likewise.
4420         (_FP_CMP_EQ): Likewise.
4421         (_FP_CMP_UNORD): Likewise.
4422         (_FP_TO_INT): Likewise.
4423         (_FP_FROM_INT): Likewise.
4424         [!__FP_CLZ] (__FP_CLZ): Likewise.
4425         (_FP_DIV_HELP_imm): Likewise.
4426         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
4427         Likewise.
4428         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
4429         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
4430         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
4431         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
4432         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
4433         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
4434         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
4435         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
4436         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
4437         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
4438         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
4439         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
4440         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
4441         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
4442         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
4443         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
4444         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
4445         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
4446         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
4447         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
4448         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
4449         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
4450         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
4451         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
4452         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
4453         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
4454         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
4455         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
4456         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
4457         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
4458         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
4459         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
4460         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
4461         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
4462         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
4463         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
4464         (FP_UNPACK_RAW_SP): Likewise.
4465         (FP_PACK_RAW_S): Likewise.
4466         (FP_PACK_RAW_SP): Likewise.
4467         (FP_UNPACK_S): Likewise.
4468         (FP_UNPACK_SP): Likewise.
4469         (FP_UNPACK_SEMIRAW_S): Likewise.
4470         (FP_UNPACK_SEMIRAW_SP): Likewise.
4471         (FP_PACK_S): Likewise.
4472         (FP_PACK_SP): Likewise.
4473         (FP_PACK_SEMIRAW_S): Likewise.
4474         (FP_PACK_SEMIRAW_SP): Likewise.
4475         (_FP_SQRT_MEAT_S): Likewise.
4476         (FP_CMP_S): Likewise.
4477         (FP_CMP_EQ_S): Likewise.
4478         (FP_CMP_UNORD_S): Likewise.
4479         (FP_TO_INT_S): Likewise.
4480         (FP_FROM_INT_S): Likewise.
4481
4482         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
4483
4484         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
4485         (FP_EX_INVALID_IMZ): Likewise.
4486         (FP_EX_INVALID_IMZ_FMA): Likewise.
4487         (FP_EX_INVALID_ISI): Likewise.
4488         (FP_EX_INVALID_ZDZ): Likewise.
4489         (FP_EX_INVALID_IDI): Likewise.
4490         (FP_EX_INVALID_SQRT): Likewise.
4491         (FP_EX_INVALID_CVI): Likewise.
4492         (FP_EX_INVALID_VC): Likewise.
4493         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
4494         "invalid" exceptions.
4495         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
4496         (_FP_ADD_INTERNAL): Likewise.
4497         (_FP_MUL): Likewise.
4498         (_FP_FMA): Likewise.
4499         (_FP_DIV): Likewise.
4500         (_FP_CMP_CHECK_NAN): Likewise.
4501         (_FP_SQRT): Likewise.
4502         (_FP_TO_INT): Likewise.
4503         (FP_EXTEND): Likewise.
4504
4505 2014-10-09  Allan McRae  <allan@archlinux.org>
4506
4507         * po/fr.po: Update French translation from translation project.
4508
4509 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
4510
4511         [BZ #14132]
4512         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
4513         of INTDEF.
4514         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
4515         (__cxa_atexit): Use libc_hidden_proto.
4516         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
4517
4518         [BZ #14132]
4519         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
4520         declaration.
4521         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
4522         [!_ISOMAC] (__iswspace_l_internal): Likewise.
4523         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
4524         [!_ISOMAC] (__iswctype_internal): Likewise.
4525         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
4526         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
4527         alias.
4528         (fcntl): Remove __fcntl_internal alias.
4529         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
4530         __connect_internal alias.
4531         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
4532         Likewise.
4533
4534         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
4535         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
4536         FP_DENORM_ZERO.
4537         (_FP_CHECK_FLUSH_ZERO): New macro.
4538         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
4539         (_FP_CMP): Likewise.
4540         (_FP_CMP_EQ): Likewise.
4541         (_FP_TO_INT): Do not set inexact for subnormal arguments if
4542         FP_DENORM_ZERO.
4543         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
4544         (FP_TRUNC): Likewise.
4545
4546         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
4547         treated as invalid conversion, not as normal exponent.
4548
4549         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
4550         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
4551         (_FP_CMP_EQ): Likewise.
4552         (_FP_CMP_UNORD): Likewise.
4553         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
4554         (FP_CMP_EQ_D): Likewise.
4555         (FP_CMP_UNORD_D): Likewise.
4556         * soft-fp/extended.h (FP_CMP_E): Likewise.
4557         (FP_CMP_EQ_E): Likewise.
4558         (FP_CMP_UNORD_E): Likewise.
4559         * soft-fp/quad.h (FP_CMP_Q): Likewise.
4560         (FP_CMP_EQ_Q): Likewise.
4561         (FP_CMP_UNORD_Q): Likewise.
4562         * soft-fp/single.h (FP_CMP_S): Likewise.
4563         (FP_CMP_EQ_S): Likewise.
4564         (FP_CMP_UNORD_S): Likewise.
4565         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
4566         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
4567         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
4568         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
4569         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
4570         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
4571         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
4572         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
4573         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
4574         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
4575         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
4576         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
4577         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
4578         to FP_CMP_Q.
4579         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
4580         FP_CMP_Q.
4581         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
4582         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
4583         FP_CMP_EQ_Q.
4584         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
4585         FP_CMP_Q.
4586         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
4587         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
4588         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
4589         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
4590         FP_CMP_EQ_Q.
4591         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
4592         FP_CMP_Q.
4593         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
4594         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
4595         FP_CMP_EQ_Q.
4596         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
4597         FP_CMP_Q.
4598         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
4599         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
4600         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
4601         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
4602         FP_CMP_EQ_Q.
4603
4604         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
4605         a subnormal result, set the underflow exception if trapping on
4606         underflow is enabled.
4607         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
4608         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
4609         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
4610         redefine to 0.
4611         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
4612         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
4613         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
4614         * soft-fp/extendxftf2.c (__extendxftf2): Use
4615         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
4616
4617         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
4618         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
4619         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4620         FP_HANDLE_EXCEPTIONS.
4621         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
4622         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4623         FP_HANDLE_EXCEPTIONS.
4624         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
4625         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4626         FP_HANDLE_EXCEPTIONS.
4627         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
4628         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4629         FP_HANDLE_EXCEPTIONS.
4630
4631 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
4632
4633         [BZ #14132]
4634         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
4635         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
4636         use INTUSE.
4637         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
4638         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
4639         Remove alias.
4640         (__adjtimex): Define using libc_hidden_ver.
4641         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
4642         Remove declaration.
4643         (ntp_gettime): Call __adjtimex directly.
4644         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
4645         Remove declaration.
4646         (ntp_gettimex): Call __adjtimex directly.
4647         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
4648         __adjtimex_internal alias.
4649
4650 2014-10-08  Roland McGrath  <roland@hack.frob.com>
4651
4652         [BZ #17460]
4653         * nscd/nscd.c (more_help): Rewrite list of tables collection
4654         using xstrdup and asprintf.
4655
4656         * nscd/nscd_conf.c: Remove local xstrdup declaration.
4657
4658 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
4659             Roland McGrath  <roland@hack.frob.com>
4660
4661         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
4662         (do_lookup_unique): ... local function 'enter' here; update callers.
4663
4664 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
4665
4666         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
4667         compat_symbol calls on [SHARED].
4668         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
4669         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
4670         Remove.
4671         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4672         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
4673         (oldsetrlimit): Remove.
4674         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
4676         (lchown): New syscall entry.
4677         (oldsetrlimit): Remove.
4678         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4679         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
4680         (oldsetrlimit): Remove.
4681         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4682
4683         [BZ #14138]
4684         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
4685         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
4686         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
4687         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
4688         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
4689         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
4690         (fchown): Likewise.
4691         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
4692         (fchown): Likewise.
4693         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
4694         Likewise.
4695
4696 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4697
4698         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
4699         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
4700         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
4701         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
4702         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
4703         Likewise.
4704         (__old_sem_post): Likewise.
4705
4706 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
4707
4708         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
4709         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
4710         HAVE_CLOCK_GETTIME_VSYSCALL macros.
4711         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
4712         Use INLINE_VSYSCALL macro.
4713         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
4714         __vdso_clock_gettime.
4715         * sysdeps/unix/sysv/linux/tile/init-first.c
4716         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
4717         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
4718         __vdso_clock_gettime.
4719
4720         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
4721         to set up frame more cleanly.
4722
4723         * sysdeps/tile/memcmp.c: New file.
4724
4725         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
4726
4727         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
4728         * sysdeps/tile/tilegx/strcasestr.c: New file.
4729         * sysdeps/tile/tilegx/strnlen.c: New file.
4730         * sysdeps/tile/tilegx/strstr.c: New file.
4731
4732         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
4733
4734 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
4735
4736         * nptl/tst-setuid3.c: Write errors to stdout.
4737
4738 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
4739
4740         * elf/dl-deps.c
4741         (preload): New functions broken out of _dl_map_object_deps.
4742         (_dl_map_object_deps):  Remove a nested function. Update call sites.
4743
4744 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
4745
4746         [BZ #14138]
4747         * sysdeps/unix/sysv/linux/execve.c: Remove file.
4748         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
4749
4750 2014-10-01  Steve Ellcey  <sellcey@mips.com>
4751
4752         * sysdeps/mips/strcmp.S: New.
4753
4754 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
4755
4756         [BZ #14138]
4757         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
4758         (linkat): Likewise.
4759         (mkdirat): Likewise.
4760         (readlinkat): Likewise.
4761         (renameat): Likewise.
4762         (symlinkat): Likewise.
4763         (unlinkat): Likewise.
4764         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
4765         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
4766         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
4767         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
4768         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
4769         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
4770         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
4771
4772 2014-09-30  Will Newton  <will.newton@linaro.org>
4773
4774         * math/math.h: Define long double math functions if
4775         _LIBC_TEST is defined.
4776         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
4777
4778         * localedata/Makefile: Move assignment to tests-special
4779         into an ifdef testing run-built-tests.
4780         * timezone/Makefile: Likewise.
4781
4782 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
4783
4784         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
4785         with $(BASH) not $(SHELL).
4786
4787 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
4788             Matthew LeGendre  <legendre1@llnl.gov>
4789
4790         [BZ #17411]
4791         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
4792         l_reloc_result.
4793
4794 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
4795
4796         * stdio-common/printf_fp.c
4797         (hack_digit): New function, broken out of ...
4798         (__printf_fp): ... local function here.  Update call sites.
4799         hack_digit now takes an additional parameter that is a pointer
4800         to a struct of the referenced locals.  Those locals moved inside
4801         the struct and references updated.
4802
4803 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
4804
4805         * aclocal.m4: Require autoconf 2.69.
4806         * configure: Regenerated.
4807         * sysdeps/aarch64/configure: Likewise.
4808         * sysdeps/alpha/configure: Likewise.
4809         * sysdeps/arm/armv7/configure: Likewise.
4810         * sysdeps/arm/configure: Likewise.
4811         * sysdeps/ia64/configure: Likewise.
4812         * sysdeps/mach/configure: Likewise.
4813         * sysdeps/mips/configure: Likewise.
4814         * sysdeps/s390/configure: Likewise.
4815         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
4816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
4817
4818         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
4819         file.
4820         * sysdeps/ia64/configure.ac: Likewise.
4821
4822 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
4823
4824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
4825         specify symbol version for ld.so.  Do not include entry for
4826         libpthread.
4827         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
4828         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
4829         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
4830
4831         [BZ #14171]
4832         * Makeconfig [$(build-shared) = yes]
4833         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
4834         makefiles.
4835         [$(build-shared) = yes && $(soversions.mk-done) = t]
4836         ($(common-objpfx)gnu/lib-names.h): Remove rule.
4837         [$(build-shared) = yes && $(soversions.mk-done) = t]
4838         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
4839         to Makerules.
4840         [$(build-shared) = yes && $(soversions.mk-done) = t]
4841         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
4842         here.
4843         [$(build-shared) = yes && $(soversions.mk-done) = t]
4844         (common-generated): Don't append gnu/lib-names.h and
4845         gnu/lib-names.stmp here.
4846         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
4847         (lib-names-h-abi): New variable.
4848         [$(build-shared) = yes && $(soversions.mk-done) = t]
4849         (lib-names-stmp-abi): Likewise.
4850         [$(build-shared) = yes && $(soversions.mk-done) = t &&
4851         abi-variants] (before-compile): Append
4852         $(common-objpfx)$(lib-names-h-abi).
4853         [$(build-shared) = yes && $(soversions.mk-done) = t &&
4854         abi-variants] (common-generated): Append gnu/lib-names.h.
4855         [$(build-shared) = yes && $(soversions.mk-done) = t &&
4856         abi-variants] (install-others-nosubdir): Depend on
4857         $(inst_includedir)/$(lib-names-h-abi).
4858         [$(build-shared) = yes && $(soversions.mk-done) = t &&
4859         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
4860         [$(build-shared) = yes && $(soversions.mk-done) = t]
4861         ($(common-objpfx)$(lib-names-h-abi)): New rule.
4862         [$(build-shared) = yes && $(soversions.mk-done) = t]
4863         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
4864         [$(build-shared) = yes && $(soversions.mk-done) = t]
4865         (common-generated): Append $(lib-names-h-abi) and
4866         $(lib-names-stmp-abi).
4867         * scripts/lib-names.awk: Do not handle multi being set.
4868         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
4869         Remove variable.
4870         (abi-lp64_be-ld-soname): Likewise.
4871         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
4872         Likewise.
4873         (abi-hard-ld-soname): Likewise.
4874         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
4875         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
4876         Remove variable.
4877         (abi-o32_hard-ld-soname): Likewise.
4878         (abi-o32_soft_2008-ld-soname): Likewise.
4879         (abi-o32_hard_2008-ld-soname): Likewise.
4880         (abi-n32_soft-ld-soname): Likewise.
4881         (abi-n32_hard-ld-soname): Likewise.
4882         (abi-n32_soft_2008-ld-soname): Likewise.
4883         (abi-n32_hard_2008-ld-soname): Likewise.
4884         (abi-n64_soft-ld-soname): Likewise.
4885         (abi-n64_hard-ld-soname): Likewise.
4886         (abi-n64_soft_2008-ld-soname): Likewise.
4887         (abi-n64_hard_2008-ld-soname): Likewise.
4888         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
4889         Likewise.
4890         (abi-64-v2-ld-soname): Likewise.
4891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
4892         ld.so entries.
4893         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
4894         variable.
4895         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
4896         entry.
4897         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
4898         variable.
4899         (abi-64-ld-soname): Likewise.
4900         (abi-x32-ld-soname): Likewise.
4901         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
4902         entry.
4903         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
4904
4905 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
4906
4907         [BZ #14138]
4908         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
4909         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
4910         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
4911         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
4912         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
4913         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
4914         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
4915         syscall entry for GLIBC_2.2 symbol version.
4916         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
4917         Likewise.
4918         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
4919         (setrlimit): Likewise.
4920         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
4921         Likewise.
4922
4923 2014-09-23  Will Newton  <will.newton@linaro.org>
4924
4925         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
4926         _LINUX_ARM_SYSDEP_H include guard too.
4927         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
4928         define.
4929
4930 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
4931
4932         * sysdeps/unix/sysv/linux/eventfd.c:
4933         Make first argument unsigned.
4934         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
4935         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
4936
4937 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
4938
4939         * socket/recvmmsg.c (recvmmsg): Drop const argument.
4940         * socket/sys/socket.h: Likewise
4941         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
4942
4943 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4944
4945         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
4946
4947 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
4948
4949         * time/tst-ftime.c: New test.
4950         * time/Makefile (tests): Add tst-ftime.
4951
4952 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
4953
4954         * soft-fp/extended.h: Fix comment formatting.
4955         * soft-fp/op-1.h: Likewise.
4956         * soft-fp/op-2.h: Likewise.
4957         * soft-fp/op-4.h: Likewise.
4958         * soft-fp/op-8.h: Likewise.
4959         * soft-fp/op-common.h: Likewise.
4960         * soft-fp/soft-fp.h: Likewise.
4961
4962         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
4963
4964 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
4965
4966         [BZ #6652]
4967         * Makeconfig (soversions-default-setname): Remove variable.
4968         ($(common-objpfx)soversions.i): Don't pass default_setname to
4969         soversions.awk.
4970         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
4971         oldest_abi to abi-versions.awk.
4972         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
4973         * config.make.in (oldest-abi): Remove variable.
4974         * configure.ac (--enable-oldest-abi): Remove configure option.
4975         * configure: Regenerated.
4976         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
4977         text.
4978         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
4979         * scripts/soversions.awk: Do not handle default_setname variable.
4980         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
4981         variable.
4982         * sysdeps/mach/hurd/configure: Regenerated.
4983         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
4984         variable.
4985         * sysdeps/unix/sysv/linux/configure: Regenerated.
4986
4987 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
4988
4989         * elf/Makefile (CFLAGS-interp.c): Remove.
4990         ($(elf-objpfx)runtime-linker.h): Generate header with linker
4991         path string.
4992         * elf/interp.c: Include generated runtime-linker.h
4993
4994         * Makerules (lib%.so): Don't include $(+interp) in
4995         prerequisites.
4996         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
4997         * dlfcn/eval.c: Remove file.
4998
4999         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
5000         macros.
5001
5002         [BZ #17266]
5003         * misc/sys/cdefs.h: Define __extern_always_inline for clang
5004         4.2 and newer.
5005
5006         [BZ #17370]
5007         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
5008
5009 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
5010             Jakub Jelinek  <jakub@redhat.com>
5011
5012         [BZ #17266]
5013         * libio/stdio.h: Check definition of __fortify_function
5014         instead of __extern_always_inline to include bits/stdio2.h.
5015         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
5016         check if __extern_always_inline is defined.
5017         [__USE_MISC || __USE_XOPEN]: Likewise.
5018         [__USE_ISOC99] Likewise.
5019         * misc/sys/cdefs.h (__fortify_function): Define only if
5020         __extern_always_inline is defined.
5021         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
5022         __extern_always_inline and __extern_inline only for g++-4.3
5023         and newer or a compatible gcc.
5024
5025 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
5026
5027         [BZ #17371]
5028         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
5029         last change to handle zero prefix length.
5030
5031 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
5032
5033         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
5034         _SC_REGEX_VERSION.
5035
5036         * posix/getconf.c (vars): Add _POSIX_IPV6 and
5037         _POSIX_RAW_SOCKETS.
5038
5039 2014-09-13  Allan McRae  <allan@archlinux.org>
5040
5041         * po/ru.po: Update Russian translation from translation project.
5042
5043 2014-09-12  Roland McGrath  <roland@hack.frob.com>
5044
5045         * locale/programs/locale.c (show_locale_vars): Inline local function
5046         into its sole call site.  Clean up some style nits.
5047         (print_item): New function, broken out of ...
5048         (show_info): ... local function here.  Clean up style nits.
5049
5050         * locale/programs/ld-ctype.c (set_one_default): New function, broken
5051         out of ...
5052         (set_class_defaults): ... local function set_default here.
5053         Define set_default as a macro locally to pass constant parameters.
5054         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
5055         rather than a shared local.
5056
5057         * stdlib/rpmatch.c (try): New function, broken out of ...
5058         (rpmatch): ... local function here.  Also, prototypify definition.
5059
5060 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
5061
5062         * scripts/soversions.awk: Do not handle configuration names.
5063         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
5064         vendor and os variables to soversions.awk.
5065         * configure.ac: Do not modify gnu-* host_os.
5066         * configure: Regenerated
5067         * shlib-versions: Remove first column with configuration names.
5068         * nptl/shlib-versions: Likewise.
5069         * nptl_db/shlib-versions: Likewise.
5070         * sysdeps/hppa/shlib-versions: Likewise.
5071         * sysdeps/m68k/shlib-versions: Likewise.
5072         * sysdeps/mach/hurd/shlib-versions: Likewise.
5073         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
5074         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
5075         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
5076         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
5077         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
5078         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
5079         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
5080         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
5081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
5082         Likewise.
5083         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
5084         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
5085         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
5086         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
5087         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
5088         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
5089         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
5090         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
5091
5092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
5093         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
5094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
5095         Regenerated.
5096         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
5097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
5098         Condition symbol version definitions on [HAVE_ELFV2_ABI].
5099
5100         * shlib-versions: Remove OS-specific entries.  Moved to files in
5101         sysdeps.
5102         * sysdeps/mach/hurd/shlib-versions: New file.
5103         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
5104
5105         * nptl/shlib-versions: Remove architecture-specific entries.
5106         Moved to files in sysdeps.
5107         * shlib-versions: Likewise.
5108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
5109         file.
5110         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
5111         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
5112         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
5113         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
5114
5115         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
5116         (UDP_NO_CHECK6_RX): Likewise.
5117
5118 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
5119
5120         * sysdeps/posix/sysconf.c (__sysconf): Spell
5121         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
5122
5123 2014-08-12  Florian Weimer  <fweimer@redhat.com>
5124
5125         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
5126         loading.
5127         * iconv/Versions (__gconv_transliterate): Export for use from
5128         gconv modules.
5129         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
5130         (struct __gconv_trans_data, __gconv_trans_fct,
5131         __gconv_trans_context_fct, __gconv_trans_query_fct,
5132         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
5133         definitions.
5134         (struct __gconv_step_data): Remove __trans member.
5135         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
5136         longer hidden.  Remove unused trans_data argument.
5137         * iconv/gconv_int.h (struct trans_struct): Remove definition.
5138         (__gconv_translit_find): Remove declaration.
5139         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
5140         prototype.
5141         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
5142         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
5143         trans_data argument.  Add hidden definition.
5144         (__gconv_translit_find): Remove.
5145         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
5146         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
5147         * iconv/skeleton.c: Remove transliteration initialization.
5148         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
5149         __gconv_step_data initialization.
5150         * libio/iofwide.c (__libio_translit_): Remove.
5151         (_IO_fwide): Adjust struct __gconv_step_data initialization.
5152         * wcsmbs/btowc.c (__btowc): Likewise.
5153         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
5154         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
5155         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
5156         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
5157         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
5158         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
5159         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
5160         * wcsmbs/wctob.c (wctob): Likewise.
5161
5162 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
5163
5164         [BZ #16194]
5165         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
5166         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
5167         register usage.
5168         * sysdeps/x86/Makefile: Adjust.
5169
5170 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
5171             Roland McGrath  <roland@hack.frob.com>
5172
5173         * locale/weight.h: Add include guard.
5174         (findidx): Make static rather than auto; take new parameters
5175         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
5176         * locale/weightwc.h: Likewise.
5177         * posix/fnmatch_loop.c
5178         (FCT): Change type of EXTRA from int32_t to wint_t.
5179         Don't include either header inside the function.
5180         Call FINDIDX rather than findidx, and pass new arguments.
5181         #undef FINDIDX at the end of the file.
5182         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
5183         FINDIDX before including fnmatch_loop.c for the non-wide version.
5184         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
5185         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
5186         for the wide version.
5187         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
5188         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
5189         Pass new arguments to findidx.
5190         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
5191         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
5192         Don't #include it inside the function.  Pass new arguments to findidx.
5193         * posix/regex_internal.h
5194         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
5195         (re_string_elem_size_at): Don't #include it inside the function.
5196         Pass new arguments to findidx.
5197         * string/strcoll_l.c: #include WEIGHT_H at top level.
5198         (get_next_seq): Don't #include it inside the function.
5199         Pass new arguments to findidx.
5200         (get_next_seq_nocache): Likewise.
5201         * string/strxfrm_l.c: #include WEIGHT_H at top level.
5202         (STRXFRM): Don't #include it inside the function.
5203         Pass new arguments to findidx.
5204
5205 2014-09-11  Florian Weimer  <fweimer@redhat.com>
5206
5207         [BZ #17344]
5208         * malloc/malloc.c (unlink): Turn asserts into a call to
5209         malloc_printerr.
5210
5211 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
5212
5213         [BZ #17370]
5214         * libio/wfileops (do_ftell_wide): Free OUT.
5215
5216 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
5217
5218         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
5219
5220 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
5221
5222         [BZ #17363]
5223         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
5224         group if the current group is empty.
5225
5226 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5227
5228         * benchtests/bench-memset.c (test_main): Add more test from size
5229         from 32 to 512 bytes.
5230         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5231         Add POWER8 memset object.
5232         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5233         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
5234         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
5235         implementation.
5236         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
5237         Likewise.
5238         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
5239         multiarch POWER8 memset optimization.
5240         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
5241         POWER8 memset optimization.
5242
5243         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5244         Remove bzero multiarch objects.
5245         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
5246         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
5247         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
5248         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
5249         Remove define.
5250         [__bzero]: Redefine to specific name.
5251         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
5252         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
5253         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
5254         define.
5255         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5256         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
5257
5258 2014-09-10  Florian Weimer  <fweimer@redhat.com>
5259
5260         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
5261         warnings into errors.
5262
5263         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
5264         __cxa_thread_atexit_impl prototype.
5265
5266 2014-09-09  Steve Ellcey  <sellcey@mips.com>
5267
5268         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
5269         Fix capitalization of error message.
5270
5271 2014-09-09  Steve Ellcey  <sellcey@mips.com>
5272
5273         * sysdeps/mips/preconfigure: Modify ABI tests.
5274
5275 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
5276
5277         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
5278
5279 2014-09-07  Roland McGrath  <roland@hack.frob.com>
5280             Carlos O'Donell  <carlos@systemhalted.org>
5281
5282         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
5283         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
5284         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
5285         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
5286         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
5287         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
5288         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
5289         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
5290         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
5291         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
5292         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
5293         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
5294         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
5295         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
5296         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
5297         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
5298         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
5299         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
5300         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
5301         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
5302         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
5303         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
5304         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
5305         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
5306         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
5307         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
5308         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
5309         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
5310         Deconditionalize the code that was previously under [RESET_PID].
5311         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
5312         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
5313         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
5314         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
5315         include sysdep.h.
5316
5317 2014-09-08  Allan McRae  <allan@archlinux.org>
5318
5319         * version.h (RELEASE): Set to "development".
5320         (VERSION): Set to "2.20.90"
5321
5322 2014-09-07  Allan McRae  <allan@archlinux.org
5323
5324         * version.h (RELEASE): Set to "stable".
5325         (VERSION): Set to "2.20"
5326         * include/features.h (__GLIBC_MINOR__): Set to 20.
5327
5328         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
5329         Liebler.
5330
5331         * po/ko.po: Update Korean translation from translation project.
5332
5333 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
5334
5335         [BZ #17354]
5336         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
5337         macro for handling signed relocations.
5338
5339 2014-09-03  Florian Weimer  <fweimer@redhat.com>
5340
5341         [BZ #17325]
5342         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
5343         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
5344         assert.
5345         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
5346         * iconvdata/ibm935.c (BODY): Likewise.
5347         * iconvdata/ibm937.c (BODY): Likewise.
5348         * iconvdata/ibm939.c (BODY): Likewise.
5349         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
5350         assert.
5351         * iconvdata/Makefile (iconv-test.out): Pass module list to test
5352         script.
5353         * iconvdata/run-iconv-test.sh: New test loop for checking for
5354         decoder crashers.
5355
5356 2014-09-02  Khem Raj  <raj.khem@gmail.com>
5357
5358         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
5359         libm_hidden_ver.
5360
5361 2014-09-01  Allan McRae  <allan@archlinux.org>
5362
5363         * po/eo.po: Update Esperanto translation from translation project.
5364
5365         * po/ca.po: Update Catalan translation from translation project.
5366
5367 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5368
5369         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
5370         __proc_dostop call.
5371
5372 2014-08-27  Mark Wielaard  <mjw@redhat.com>
5373
5374         [BZ #17319]
5375         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
5376         to call set_thread_area instead of hand written asm.
5377         (__NR_set_thread_area): Removed define.
5378         (TLS_FLAG_WRITABLE): Likewise.
5379         (__ASSUME_SET_THREAD_AREA): Remove check.
5380         (TLS_EBX_ARG): Remove define.
5381         (TLS_LOAD_EBX): Likewise.
5382
5383 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5384
5385         Simplify atomicity of socket creation in bind.
5386
5387         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
5388         looking up the name after linking the file.
5389
5390 2014-08-27  Allan McRae  <allan@archlinux.org>
5391
5392         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
5393
5394 2014-08-26  Florian Weimer  <fweimer@redhat.com>
5395
5396         [BZ #17187]
5397         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
5398         trans_compare, open_translit, __gconv_translit_find):
5399         Remove module loading code.
5400
5401 2014-08-26  Allan McRae  <allan@archlinux.org>
5402
5403         * po/vi.po: Update Vietnamese translation from translation project.
5404
5405         * po/uk.po: Update Ukrainian translation from translation project.
5406
5407         * po/fr.po: Update French translation from translation project.
5408
5409         * po/ru.po: Update Russian translation from translation project.
5410
5411         * po/pl.po: Update Polish translation from translation project.
5412
5413         * po/cs.po: Update Czech translation from translation project.
5414
5415         * po/de.po: Update German translation from translation project.
5416
5417         * po/bg.po: Update Bulgarian translation from translation project.
5418
5419         * po/sv.po: Update Sweedish translation from translation project.
5420
5421         * po/nl.po: Update Dutch translation from translation project.
5422
5423         * po/es.po: Update Spanish translation from translation project.
5424
5425 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
5426
5427         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
5428
5429         * catgets/Makefile (CPPFLAGS-gencat): Remove.
5430         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
5431         (CPPFLAGS-iconvconfig): Likewise.
5432         * timezone/Makefile (CPPFLAGS-zic): Likewise.
5433
5434         * include/libc-symbols.h: Remove unnecessary check for
5435         NOT_IN_libc.
5436         * nptl/pthreadP.h: Likewise.
5437         * sysdeps/aarch64/setjmp.S: Likewise.
5438         * sysdeps/alpha/setjmp.S: Likewise.
5439         * sysdeps/arm/sysdep.h: Likewise.
5440         * sysdeps/i386/setjmp.S: Likewise.
5441         * sysdeps/m68k/setjmp.c: Likewise.
5442         * sysdeps/posix/getcwd.c: Likewise.
5443         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
5444         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
5445         * sysdeps/s390/s390-32/setjmp.S: Likewise.
5446         * sysdeps/s390/s390-64/setjmp.S: Likewise.
5447         * sysdeps/sh/sh3/setjmp.S: Likewise.
5448         * sysdeps/sh/sh4/setjmp.S: Likewise.
5449         * sysdeps/unix/alpha/sysdep.h: Likewise.
5450         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5451         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5452         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
5453         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
5455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5456         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5457         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5458         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5459         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5460         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5461         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5462         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5463         * sysdeps/x86_64/setjmp.S: Likewise.
5464
5465 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
5466
5467         [BZ #17263]
5468         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
5469         <stdint.h>.
5470         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
5471         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
5472
5473 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
5474
5475         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
5476
5477         [BZ #17262]
5478         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
5479         and __x86_64__ when disabling x87 inline functions.
5480
5481 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
5482
5483         [BZ #17259]
5484         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
5485         asm statement with __cpuid_count.
5486
5487 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
5488
5489         * configure.ac: Change __ehdr_start code to dereference the struct.
5490         Run readelf on the output to look for relocations.
5491         * configure: Regenerated.
5492
5493 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
5494
5495         [BZ #17261]
5496         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
5497         value to 0.
5498         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
5499
5500 2014-08-12  Roland McGrath  <roland@hack.frob.com>
5501
5502         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
5503
5504 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
5505
5506         [BZ #16892]
5507         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
5508         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
5509
5510 2014-08-12  Sean Anderson  <seanga2@gmail.com>
5511
5512         * malloc/malloc.c: Fix typo in comment.
5513
5514 2014-08-09  Allan McRae  <allan@archlinux.org>
5515
5516         * Regenerate libc.po.
5517
5518 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
5519
5520         * intl/tst-gettext2.sh: Check every lang file for creation.
5521
5522 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
5523
5524         * sysdeps/aarch64/fpu/math_private.h
5525         (libc_feholdsetround_noex_aarch64_ctx): New function.
5526
5527 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
5528
5529         * sysdeps/arm/armv6/strcpy.S (strcpy):
5530         Fix performance issue in misaligned cases.
5531
5532 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5533
5534         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
5535         Move definition from termios.h.
5536         (struct termio): Likewise.
5537         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5538         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
5539         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
5540         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
5541         Likewise.
5542         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
5543         Move definition to ioctl-types.h
5544         (struct termio): Likewise.
5545         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5546         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
5547         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
5548         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
5549         Likewise.
5550
5551 2014-08-05  Richard Henderson  <rth@redhat.com>
5552
5553         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
5554         exceptions.
5555         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
5556         Add fraiseexcpt.
5557         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
5558         Use __feraiseexcept.
5559         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
5560         Protect libm symbols with IS_IN_libm.
5561
5562         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
5563
5564 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
5565
5566         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
5567
5568 2014-08-04  Will Newton  <will.newton@linaro.org>
5569
5570         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
5571         file.
5572
5573 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
5574
5575         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
5576         variants for each function.
5577
5578 2014-08-04  Roland McGrath  <roland@hack.frob.com>
5579
5580         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
5581         appended ...
5582         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
5583         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
5584         appended ...
5585         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
5586         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
5587         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
5588         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
5589         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
5590         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
5591         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
5592         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
5593         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
5594         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
5595         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
5596         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
5597         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
5598         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
5599         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
5600         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
5601         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
5602         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
5603         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
5604         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
5605         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
5606         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
5607         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
5608         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
5609         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
5610         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
5611         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
5612         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
5613         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
5614         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
5615         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
5616         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
5617         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
5618         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
5619         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
5620         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
5621         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
5622         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
5623         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
5624         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
5625         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
5626         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
5627         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
5628         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
5629         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
5630         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
5631         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
5632         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
5633         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
5634         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
5635         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
5636         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
5637         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
5638         Update #include.
5639         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
5640         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
5641
5642 2014-08-04  Roland McGrath  <roland@hack.frob.com>
5643
5644         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
5645         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
5646         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
5647         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
5648         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
5649         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
5650
5651 2014-08-04  Roland McGrath  <roland@hack.frob.com>
5652
5653         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
5654         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
5655         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5656         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
5657
5658 2014-08-04  Roland McGrath  <roland@hack.frob.com>
5659
5660         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
5661         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
5662         (__libc_vfork): Define function under this name.
5663         (__vfork): Define as an alias.
5664         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
5665         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
5666
5667 2014-08-04  Roland McGrath  <roland@hack.frob.com>
5668
5669         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
5670         that was previously under [RESET_PID].
5671         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
5672
5673 2014-08-04  Andreas Schwab  <schwab@suse.de>
5674
5675         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
5676
5677 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
5678
5679         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
5680         (main): Likewise.
5681
5682 2014-08-01  Roland McGrath  <roland@hack.frob.com>
5683
5684         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
5685
5686 2014-08-01  Richard Henderon  <rth@redhat.com>
5687
5688         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
5689         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
5690         typo in exact zero test.
5691         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5692         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5693         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5694
5695 2014-08-01  Roland McGrath  <roland@hack.frob.com>
5696
5697         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
5698         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
5699         * sysdeps/arm/sysdep.h: ... here.
5700         [!__ASSEMBLER__]: Include <stdint.h>.
5701
5702 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
5703
5704         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
5705         (HAVE_WCTYPE_H): Likewise.
5706         (HAVE_ISWCTYPE): Likewise.
5707         (ENABLE_NLS): Likewise.
5708         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
5709         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
5710
5711         * posix/regex_internal.c: Check if DEBUG is defined and is
5712         set.
5713
5714         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
5715         (HAVE_MBSRTOWCS): Likewise.
5716         * posix/fnmatch.c: Include string.h unconditionally.
5717
5718 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
5719
5720         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
5721         reversal.
5722
5723 2014-07-31  Roland McGrath  <roland@hack.frob.com>
5724
5725         * sysdeps/generic/safe-fatal.h: New file.
5726         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
5727         * nptl/forward.c: Include it.
5728         (__pthread_unwind): Use __safe_fatal as default action, rather
5729         than a bogus use of INTERNAL_SYSCALL that could never work.
5730
5731         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
5732         * configure.ac (libc_cv_builtin_trap): New test.
5733         * configure: Regenerated.
5734         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
5735         (ABORT_INSTRUCTION): Define using __builtin_trap.
5736
5737         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
5738         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
5739         * sysdeps/nptl/nptl-signals.h: New file.
5740         * nptl/pthreadP.h: Include <nptl-signals.h>.
5741
5742 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
5743
5744         * sysdeps/s390/s390-64/utf16-utf32-z9.c
5745         (ONE_DIRECTION): Define.
5746         * sysdeps/s390/s390-64/utf8-utf16-z9.c
5747         (ONE_DIRECTION): Define.
5748         * sysdeps/s390/s390-64/utf8-utf32-z9.c
5749         (ONE_DIRECTION): Define.
5750
5751 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
5752
5753         * sysdeps/s390/Makefile: Delete file.
5754         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
5755         * sysdeps/s390/__longjmp.c: Delete file.
5756         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
5757         Remove fields __flags and __reserved.
5758         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
5759         and add versioning.
5760         * sysdeps/s390/rtld-__longjmp.c: Delete file.
5761         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
5762         * sysdeps/s390/rtld-setjmp.S: Likewise.
5763         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
5764         * sysdeps/s390/s390-32/__longjmp.c: ... here.
5765         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
5766         * sysdeps/s390/s390-32/setjmp.S: ... here.
5767         Add versioning.
5768         (__sigsetjmp): Remove setting __flags field.
5769         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
5770         * sysdeps/s390/s390-64/__longjmp.c: ... here.
5771         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
5772         * sysdeps/s390/s390-64/setjmp.S: ... here.
5773         Add versioning.
5774         (__sigsetjmp): Remove setting __flags field.
5775         * sysdeps/s390/setjmp.S: Delete file.
5776         * sysdeps/s390/sigjmp.c: Likewise.
5777         * sysdeps/s390/v1-longjmp.c: Likewise.
5778         * sysdeps/s390/v1-setjmp.h: Likewise.
5779         * sysdeps/s390/v1-sigjmp.c: Likewise.
5780         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
5781         Remove v1-longjmp_chk.
5782         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
5783         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
5784         Include debug/longjmp_chk.c and add versioning.
5785         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
5786         Include nptl/pt-longjmp.c and add versioning.
5787         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
5788         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
5789         Include __longjmp.c.
5790         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
5791         Move to ...
5792         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
5793         (__getcontext): Remove setting __flags field.
5794         Add versioning.
5795         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
5796         Don't restore upper high grps.
5797         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
5798         Likewise.
5799         (__swapcontext): Remove setting uc_flags field.
5800         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
5801         Delete file.
5802         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
5803         Include __longjmp.c.
5804         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
5805         Move to ...
5806         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
5807         (__getcontext): Remove setting __flags field.
5808         Add versioning.
5809         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
5810         (__swapcontext): Remove setting uc_flags field.
5811         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
5812         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
5813         Remove fields uc_high_gprs and __reserved.
5814         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
5815         New file with reverted content.
5816         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
5817         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
5818         Regenerated.
5819         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
5820         Regenerated.
5821
5822 2014-07-31  Andreas Schwab  <schwab@suse.de>
5823
5824         * config.h.in (HAVE_IFUNC): Define to 0.
5825         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
5826         definedness.
5827
5828 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
5829
5830         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5831         memmove-avx-unaligned, memcpy-avx-unaligned and
5832         mempcpy-avx-unaligned.
5833         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5834         Add tests for AVX memcpy functions.
5835         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
5836         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
5837         memcpy_chk.
5838         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
5839         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
5840         memmove_chk.
5841         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
5842         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
5843         mempcpy_chk.
5844         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
5845         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
5846         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
5847
5848 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5849
5850         [BZ #17213]
5851         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
5852         powerpc64le.
5853
5854 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
5855
5856         [BZ #16839]
5857         * manual/llio.texi: Add section about open file description locks.
5858         * manual/examples/ofdlocks.c: Example of open file description
5859         lock usage.
5860         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
5861         F_OFD_SETLK, and F_OFD_SETLKW.
5862
5863 2014-07-23  Allan McRae  <allan@archlinux.org>
5864
5865         * po/es.po: Update Spanish translation from translation project.
5866
5867 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
5868
5869         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
5870
5871 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
5872
5873         [BZ #17078]
5874         * sysdeps/arm/dl-machine.h (elf_machine_rela)
5875         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
5876         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
5877
5878 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
5879
5880         [BZ #17088]
5881         * math/fesetenv.c (__fesetenv)
5882         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
5883         * math/feupdateenv.c (__feupdateenv)
5884         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
5885
5886         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
5887         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
5888         (__ASSUME_SOCKETCALL): Do not define.
5889
5890         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
5891         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
5892         (__ASSUME_SOCKETCALL): Do not define.
5893         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
5894         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
5895         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5896         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
5897         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5898         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
5899         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5900         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5901
5902         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
5903         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
5904         (__ASSUME_SOCKETCALL): Do not define.
5905         (__ASSUME_IPC64): Define unconditionally.
5906         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
5907         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5908         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
5909         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5910         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
5911         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5912         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
5913         Likewise.
5914
5915         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
5916         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
5917         (__ASSUME_SOCKETCALL): Do not define.
5918         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
5919         (__ASSUME_FUTEX_LOCK_PI): Likewise.
5920         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5921         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
5922         (__ASSUME_REQUEUE_PI): Define unconditionally.
5923         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
5924         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
5925         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5926         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
5927         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5928         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5929
5930         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
5931         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
5932         (__ASSUME_SOCKETCALL): Do not define.
5933         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
5934         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5935         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5936         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
5937         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5938         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5939
5940         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
5941         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
5942         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5943         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
5944         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5945         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
5946         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5947         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
5948         (__ASSUME_GETCPU_SYSCALL): Likewise.
5949
5950         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
5951         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
5952         cases for individual architectures.
5953         * sysdeps/gnu/configure: Regenerated.
5954         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
5955         LIBC_SLIBDIR_RTLDDIR.
5956         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
5957         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
5958         LIBC_SLIBDIR_RTLDDIR.
5959         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
5960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
5961         LIBC_SLIBDIR_RTLDDIR.
5962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
5963         Regenerated.
5964         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
5965         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
5966         file.
5967         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
5968         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
5969         file.
5970         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
5971         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
5972         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
5973         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
5974
5975         * sysdeps/aarch64/shlib-versions: Move to ...
5976         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
5977         * sysdeps/alpha/shlib-versions: Move to ...
5978         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
5979         * sysdeps/arm/shlib-versions: Move to ...
5980         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
5981         * sysdeps/hppa/shlib-versions: Move all contents except for
5982         libgcc_s entry to ...
5983         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
5984         entry from ...
5985         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
5986         * sysdeps/ia64/shlib-versions: Move to ...
5987         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
5988         entry from ...
5989         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
5990         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
5991         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
5992         * sysdeps/microblaze/shlib-versions: Move to ...
5993         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
5994         * sysdeps/mips/shlib-versions: Move to ...
5995         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
5996         entry from ...
5997         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
5998         * sysdeps/tile/shlib-versions: Move to ...
5999         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
6000         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
6001         from ...
6002         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
6003         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
6004         entry from ...
6005         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
6006
6007 2014-07-17  Will Newton  <will.newton@linaro.org>
6008
6009         * sysdeps/arm/bits/atomic.h
6010         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
6011         (__arch_compare_and_exchange_bool_16_int): Likewise.
6012         (__arch_compare_and_exchange_bool_64_int): Likewise.
6013
6014         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
6015         into an #else block.
6016
6017 2014-07-16  Roland McGrath  <roland@hack.frob.com>
6018
6019         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
6020         just Linux configurations.  Test empirically that the compiler sets
6021         __ARM_EABI__, rather than using the tuple to decide.
6022         * sysdeps/arm/preconfigure: Regenerated.
6023         * sysdeps/unix/sysv/linux/arm/configure: File removed.
6024         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
6025         contents appended ...
6026         * sysdeps/arm/configure.ac: ... here.
6027         * sysdeps/arm/configure: Regenerated.
6028
6029 2014-07-15  Roland McGrath  <roland@hack.frob.com>
6030
6031         * nptl/pthread_kill.c: New file.
6032         * nptl/pthread_sigmask.c: New file.
6033         * nptl/pthread_sigqueue.c: New file.
6034
6035         * sysdeps/nptl/lowlevellock.h: New file.
6036         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
6037         * sysdeps/nptl/lowlevellock-futex.h: New file.
6038
6039         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
6040         Remove dead declarations.
6041
6042 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
6043
6044         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
6045         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
6046         config-cflags-avx2.
6047         * sysdeps/x86_64/configure.ac: Likewise.
6048         * sysdeps/i386/configure: Regenerated.
6049         * sysdeps/x86_64/configure: Likewise.
6050         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6051         memset-avx2 only if config-cflags-avx2 is yes.
6052         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6053         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
6054         defined.
6055         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
6056         only if HAVE_AVX2_SUPPORT is defined.
6057         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6058
6059 2014-07-14  Alan Modra  <amodra@gmail.com>
6060
6061         [BZ #17153]
6062         * elf/elf.h (DT_PPC64_NUM): Correct value.
6063         * NEWS: Add to fixed bug list.
6064
6065 2014-07-13  Jim Meyering  <meyering@fb.com>
6066
6067         [BZ 17150]
6068         regex: don't deref NULL upon heap allocation failure
6069         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
6070         failure in one more place.
6071         To trigger the segfault, configure grep -with-included-regex,
6072         build it, and run these commands:
6073         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
6074
6075 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
6076
6077         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
6078
6079 2014-07-11  Richard Henderson  <rth@redhat.com>
6080
6081         * sysdeps/aarch64/libm-test-ulps: Update.
6082
6083 2014-07-10  Florian Weimer  <fweimer@redhat.com>
6084
6085         [BZ #17135]
6086         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
6087         * nptl/allocatestack.c (__nptl_setxid_error): New function.
6088         (__nptl_setxid): Initialize error member.  Call
6089         __nptl_setxid_error.
6090         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
6091         * nptl/descr.h (struct xid_command): Add error member.
6092         * nptl/tst-setuid3.c: New file.
6093         * nptl/Makefile (tests): Add it.
6094
6095 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6096
6097         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
6098         New define.
6099         (__lll_trylock): Use __lll_base_trylock.
6100         (__lll_cond_trylock): Likewise.
6101
6102 2014-07-10  Roland McGrath  <roland@hack.frob.com>
6103
6104         * nptl/pthread_create.c (start_thread): Use atomic_or and
6105         lll_futex_wake directly rather than lll_robust_dead.
6106         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
6107         (lll_robust_dead): Macro removed.
6108         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
6109         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
6110         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
6111         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
6112         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
6113         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
6114         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
6115         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
6116         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
6117         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
6118         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
6119         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
6120         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
6121         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
6122         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6123
6124         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
6125         Use atomic_compare_and_exchange_val_acq directly rather than
6126         lll_robust_trylock.
6127         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
6128         (__lll_robust_trylock, lll_robust_trylock): Removed.
6129         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
6130         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
6131         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
6132         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
6133         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
6134         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
6135         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
6136         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
6137         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
6138         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
6139         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
6140         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
6141         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
6142         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6143
6144 2014-07-02  Florian Weimer  <fweimer@redhat.com>
6145
6146         * manual/locale.texi (Locale Names): New section documenting
6147         locale name syntax.  Adjust menu and node chaining accordingly.
6148         (Choosing Locale): Reference Locale Names, Locale Categories.
6149         Mention setting LC_ALL=C.  Reflect that name syntax is now
6150         documented.
6151         (Locale Categories): New section title.  Reference Locale Names.
6152         LC_ALL is an environment variable, but not a category.
6153         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
6154         description, now in Locale Name.  Reference that section.  Locale
6155         name syntax is now documented.
6156
6157 2014-07-02  Florian Weimer  <fweimer@redhat.com>
6158
6159         [BZ #17137]
6160         * locale/findlocale.c (name_present, valid_locale_name): New
6161         functions.
6162         (_nl_find_locale): Use the loc_name variable to store name
6163         candidates.  Call name_present and valid_locale_name to check and
6164         validate locale names.  Return an error if the locale is invalid.
6165
6166 2014-07-02  Florian Weimer  <fweimer@redhat.com>
6167
6168         * locale/setlocale.c (setlocale): Use strdup for allocating
6169         composite name copy.
6170
6171 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
6172
6173         Sync up with gnulib.
6174         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
6175         [!_LIBC && ENABLE_NLS]: Include gettext.h.
6176         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
6177         and _GL_ARG_NONNULL.
6178         [USE_UNLOCKED_IO]: Include unlocked-io.h.
6179         [!_LIBC]: Include code for Windows and Cygwin.
6180         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
6181         Include prototype for int strerror_r.
6182         [!_LIBC] (is_open): New function.
6183         (flush_stdout): New function.
6184         (print_errno_message): Use it.
6185         (error): Likewise.
6186         (error_at_line): Likewise.
6187         (error_tail) Add function attribute macros.  Use
6188         __builtin_expect.
6189
6190         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
6191
6192         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
6193
6194         * io/ftw.c: Include sys/param.h unconditionally.
6195
6196         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
6197
6198         [BZ #17125]
6199         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
6200         libc_freeres_ptr.
6201         (freecache): New function to free CACHE on exit.
6202
6203         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
6204         initialization.
6205
6206 2014-07-09  David S. Miller  <davem@davemloft.net>
6207
6208         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6209
6210         * sysdeps/sparc/nptl/internaltypes.h: Delete.
6211         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
6212         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
6213         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
6214         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
6215         * sysdeps/sparc/nptl/sem_init.c: Likewise.
6216         * sysdeps/sparc/nptl/sem_post.c: Likewise.
6217         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
6218         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
6219         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
6220         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
6221         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
6222         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
6223
6224 2014-07-09  Andreas Schwab  <schwab@suse.de>
6225
6226         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
6227         output.
6228         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
6229         (do_test): Likewise.
6230
6231         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6232
6233 2014-07-09  Will Newton  <will.newton@linaro.org>
6234
6235         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
6236         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
6237         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
6238         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
6239         * sysdeps/hppa/start.S (_start): Likewise.
6240
6241 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
6242
6243         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
6244
6245         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
6246         defined.
6247
6248 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
6249
6250         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
6251         after checking that it is non-NULL.
6252
6253         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
6254
6255 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6256
6257         * sysdeps/powerpc/memmove.c: Remove file.
6258         * sysdeps/powerpc/powerpc32/power4/memcopy.h
6259         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
6260         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
6261         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
6262         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
6263         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
6264         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
6265         string memmove instead of removed powerpc one.
6266
6267         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
6268         [weak_alias]: Fix compiler warning due trailing data.
6269         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
6270         [weak_alias]: Likewise.
6271         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
6272         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
6273
6274         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6275         (__libc_ifunc_impl_list): Add memmove functions.
6276
6277 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
6278
6279         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
6280         Remove code.
6281         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
6282         Likewise
6283         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
6284         Likewise
6285         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
6286         Likewise
6287         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
6288         Likewise
6289         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
6290         Likewise
6291         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
6292         Likewise
6293         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
6294         Likewise
6295         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
6296         Likewise
6297         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
6298         Likewise
6299         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
6300         Likewise
6301         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
6302         Likewise
6303         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
6304         Likewise
6305         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
6306         Likewise
6307         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
6308         Likewise
6309         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
6310         Likewise
6311         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
6312         Likewise
6313
6314 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6315
6316         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
6317         to avoid alignment traps in non-cacheable memory.
6318         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
6319
6320         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
6321         multiarch objects.
6322         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
6323         file: multiarch power7 memmove.
6324         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
6325         multiarch default memmove.
6326         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
6327         multiarch memove for powerpc32/power4.
6328
6329         * string/bcopy.c: Use full path to include memmove.c.
6330         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
6331         multiarch objects.
6332         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
6333         bcopy for powerpc64.
6334         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
6335         bcopy for powerpc64.
6336         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
6337         and memmove implementations.
6338         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
6339         optimized multiarch memmove for POWER7/powerpc64.
6340         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
6341         default multiarch memmove for powerpc64.
6342         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
6343         multiarch for powerpc64.
6344         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
6345         for POWER7/powerpc64.
6346         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
6347         memmove for POWER7/powerpc64.
6348
6349         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
6350         glibc default one.
6351
6352         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
6353         __ELF_NATIVE_CLASS equal to 64.
6354
6355 2014-07-07  Roland McGrath  <roland@hack.frob.com>
6356
6357         * sysdeps/nptl/lowlevellock.h: File removed.
6358
6359         * NEWS: NPTL is no longer an add-on!
6360         * nptl/internaltypes.h: Moved ...
6361         * sysdeps/nptl/internaltypes.h: ... here.
6362         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
6363         * sysdeps/nptl/fork.c: Likewise.
6364         * sysdeps/nptl/gai_misc.h: Likewise.
6365         * sysdeps/nptl/librt-cancellation.c: Likewise.
6366         * sysdeps/nptl/jmp-unwind.c: Likewise.
6367         * sysdeps/nptl/setxid.h: Likewise.
6368         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
6369         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
6370         * sysdeps/unix/sysv/linux/arm/Implies: New file.
6371         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
6372         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
6373         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
6374         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
6375         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
6376         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
6377         * sysdeps/unix/sysv/linux/mips/Implies: New file.
6378         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
6379         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
6380         * sysdeps/unix/sysv/linux/sh/Implies: New file.
6381         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
6382         * sysdeps/unix/sysv/linux/tile/Implies: New file.
6383         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
6384         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
6385         * nptl/Makeconfig: Moved ...
6386         * sysdeps/nptl/Makeconfig: ... here.
6387         * nptl/configure: File removed.
6388         * nptl/ANNOUNCE: File removed.
6389         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
6390         * sysdeps/unix/sysv/linux/configure: Regenerated.
6391
6392         * nptl/Makefile (routines): Add libc_pthread_init,
6393         libc_multiple_threads, register-atfork and unregister-atfork.
6394         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
6395         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
6396         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
6397         pthread-pi-defines.sym, structsem.sym.
6398         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
6399         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
6400         [$(subdir) = nptl] (tests): Add tst-setgetname.
6401         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
6402         * sysdeps/unix/sysv/linux/sigaction.c: Just include
6403         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
6404         [!LIBC_SIGACTION]: Remove aliases.
6405         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
6406         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
6407         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
6408         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
6409         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
6410         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
6411         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
6412         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
6413         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
6414         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
6415         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
6416         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
6417         __libc_allocate_rtsig_private.
6418         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
6419         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
6420         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
6421         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
6422         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
6423         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
6424         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
6425         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
6426         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
6427         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
6428         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
6429         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
6430         * nptl/internaltypes.h: ... here.
6431         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
6432         * sysdeps/nptl/jmp-unwind.c: ... here.
6433         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
6434         * nptl/libc-lowlevellock.c: ... here.
6435         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
6436         * nptl/libc_multiple_threads.c: ... here.
6437         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
6438         * nptl/libc_pthread_init.c: ... here.
6439         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
6440         * nptl/lowlevelbarrier.sym: ... here.
6441         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
6442         * nptl/lowlevelcond.sym: ... here.
6443         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
6444         * nptl/lowlevellock.c: ... here.
6445         * nptl/lowlevellock.h: Moved ...
6446         * sysdeps/nptl/lowlevellock.h: ... here.
6447         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
6448         * nptl/lowlevelrobustlock.c: ... here.
6449         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
6450         * nptl/lowlevelrobustlock.sym: ... here.
6451         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
6452         * nptl/lowlevelrwlock.sym: ... here.
6453         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
6454         * nptl/pt-fork.c: ... here.
6455         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
6456         * nptl/pthread-pi-defines.sym: ... here.
6457         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
6458         * nptl/pthread_attr_getaffinity.c: ... here.
6459         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
6460         * nptl/pthread_attr_setaffinity.c: ... here.
6461         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
6462         * nptl/pthread_mutex_cond_lock.c: ... here.
6463         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
6464         Update #include.
6465         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
6466         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
6467         * nptl/pthread_once.c: ... here, replacing old file.
6468         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
6469         * nptl/pthread_yield.c: ... here.
6470         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
6471         * nptl/register-atfork.c: ... here.
6472         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
6473         * nptl/sem_post.c: ... here.
6474         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
6475         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
6476         * nptl/sem_timedwait.c: ... here.
6477         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
6478         * nptl/sem_trywait.c: ... here.
6479         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
6480         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
6481         * nptl/sem_wait.c: ... here.
6482         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
6483         * nptl/structsem.sym: ... here.
6484         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
6485         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
6486         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
6487         * nptl/unregister-atfork.c: ... here.
6488         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
6489         * nptl/unwindbuf.sym: ... here.
6490         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
6491         * sysdeps/nptl/fork.c: ... here.
6492         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
6493         * sysdeps/nptl/fork.h: ... here.
6494         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
6495         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
6496         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
6497         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
6498         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
6499         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
6500         * sysdeps/unix/sysv/linux/getpid.c: ... here.
6501         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
6502         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
6503         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
6504         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
6505         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
6506         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
6507         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
6508         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
6509         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
6510         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
6511         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
6512         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
6513         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
6514         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
6515         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
6516         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
6517         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
6518         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
6519         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
6520         * sysdeps/unix/sysv/linux/raise.c: ... here.
6521         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
6522         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
6523         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
6524         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
6525         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
6526         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
6527         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
6528         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
6529         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
6530         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
6531         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
6532         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
6533         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
6534         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
6535         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
6536
6537 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
6538
6539         * sysdeps/generic/memcopy.h: Add comment for
6540         MEMCPY_OK_FOR_FWD_MEMMOVE.
6541
6542 2014-07-04  Will Newton  <will.newton@linaro.org>
6543
6544         * string/memchr.c: Merge from gnulib.
6545         [_LIBC]: Remove conditionals.
6546         (__ptr_t): Remove define.
6547         (LONG_MAX_32_BITS): Likewise.
6548         (LONG_MAX): Likewise.
6549         (MEMCHR): Use ANSI prototype and optimize algorithm.
6550
6551         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
6552
6553 2014-07-03  Roland McGrath  <roland@hack.frob.com>
6554
6555         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
6556         (lll_futex_timed_wait_bitset): Fix syscall argument count.
6557
6558         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
6559         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
6560         in a bare environment with no <stdlib.h> installed.
6561         * sysdeps/nptl/configure: Regenerated.
6562
6563         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
6564
6565         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
6566         AC_EGREP_CPP for kernel header checks, so they only succeed if
6567         including <linux/version.h> actually works right.
6568         * sysdeps/unix/sysv/linux/configure: Regenerated.
6569
6570         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
6571         value so it's not diagnosed as unused.
6572
6573         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
6574         thing) with "ifeq ($(subdir),rt)".
6575
6576 2014-07-03  Richard Henderson  <rth@redhat.com>
6577
6578         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
6579         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
6580         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
6581
6582         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
6583         (math_force_eval): New.
6584
6585         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
6586         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
6587
6588         * sysdeps/alpha/fpu/s_round.c: Remove file.
6589         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
6590
6591         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
6592         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
6593         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
6594         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
6595         (_dl_start, print_statistics): Likewise.
6596         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
6597         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
6598
6599         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6600         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6601         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6602         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6603         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
6604         (HP_SMALL_TIMING_AVAIL): Define.
6605         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6606         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
6607         (HP_SMALL_TIMING_AVAIL): Define.
6608         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6609         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6610
6611         * sysdeps/aarch64/hp-timing.h: New file.
6612
6613         * sysdeps/generic/hp-timing.h: Remove dead comment.
6614         * sysdeps/generic/hp-timing-common.h: New file.
6615         * sysdeps/alpha/hp-timing.h: Include it.
6616         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
6617         * sysdeps/i386/i686/hp-timing.h: Likewise.
6618         * sysdeps/ia64/hp-timing.h: Likewise.
6619         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
6620         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
6621         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
6622         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
6623         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
6624         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
6625         (hp_timing_t): New.
6626
6627         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
6628         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
6629         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
6630         * elf/rtld.c (_dl_start_final): Likewise.
6631         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
6632         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6633         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6634         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6635         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6636         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
6637         (HP_TIMING_DIFF_INIT): Remove.
6638         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6639         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
6640         (HP_TIMING_DIFF_INIT): Remove.
6641         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6642         * sysdeps/i386/i686/hp-timing.c: Remove file.
6643         * sysdeps/x86_64/hp-timing.c: Remove file.
6644         * sysdeps/ia64/hp-timing.c: Remove file.
6645         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
6646         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
6647         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
6648         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
6649
6650         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
6651         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
6652         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
6653         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
6654         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
6655         (HP_TIMING_ACCUM): Remove.
6656         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
6657         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
6658         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
6659
6660         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
6661         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
6662         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
6663         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
6664         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
6665         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
6666         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
6667         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
6668
6669         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
6670
6671 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
6672
6673         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
6674
6675 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
6676
6677         Sync up with gettext.
6678         * intl/loadmsgcat.c: Define O_BINARY if not defined.
6679         [_MSC_VER]: Include malloc.h
6680         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
6681         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
6682         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
6683         TEMP_FAILURE_RETRY.  Cast return of alloca.
6684         [!_LIBC] Call gl_rwlock_init.
6685         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
6686
6687 2014-07-02  Roland McGrath  <roland@hack.frob.com>
6688
6689         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
6690         before checking its value.
6691
6692 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
6693
6694         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
6695
6696         * debug/memcpy_chk.c: Don't include pagecopy.h.
6697         * debug/mempcpy_chk.c: Likewise.
6698         * string/memcpy.c: Likewise.
6699         * string/memmove.c: Likewise.
6700         * sysdeps/powerpc/memmove.c: Likewise.
6701         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
6702         definition of PAGE_COPY_FWD_MAYBE here...
6703         * sysdeps/generic/pagecopy.h: ... from here.
6704         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
6705
6706 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
6707             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6708
6709         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
6710         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
6711         optimizations.
6712         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6713         (__libc_ifunc_impl_list): Likewise.
6714         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
6715         multiarch strcat for PPC64.
6716         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
6717         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
6718
6719 2014-07-02  Roland McGrath  <roland@hack.frob.com>
6720
6721         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
6722
6723 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
6724
6725         * intl/loadmsgcat.c: Remove declaration of
6726         get_sysdep_segment_value.
6727         (get_sysdep_segment_value): Use ISO C style.
6728         (_nl_load_domain): Use ISO C style.  Get rid of redundant
6729         semicolon.  Fix typo and formatting in comment.
6730         (_nl_unload_domain): Use ISO C style.
6731
6732         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
6733
6734 2014-07-02  Will Newton  <will.newton@linaro.org>
6735
6736         * malloc/obstack.c: Merge from gnulib master.
6737         [HAVE_CONFIG_H]: Remove conditional code.
6738         [!_LIBC]: Include config.h.
6739         [!ELIDE_CODE]: Don't include inttypes.h, include
6740         stdint.h unconditionally.
6741         (print_and_abort): Mark as _Noreturn.
6742         (_obstack_allocated_p): Mark as __attribute_pure__.
6743         (obstack_free): Rename to __obstack_free.
6744         [!__attribute__]: Remove conditional code.
6745         * malloc/obstack.h: Merge from gnulib master.
6746         [__cplusplus]: Move conditional down.
6747         [!__attribute_pure__]: Define __attribute_pure__ here
6748         if it is not already defined.
6749         (_obstack_memory_used): Mark as __attribute_pure__.
6750         [!__obstack_free]: Define as obstack_free.
6751         [__GNUC__]: Remove check for ancient NeXT gcc.
6752
6753 2014-07-02  Will Newton  <will.newton@linaro.org>
6754             Paul Eggert  <eggert@cs.ucla.edu>
6755
6756         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
6757
6758 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
6759
6760         * resolv/gethnamaddr.c: Add comment warning that the file is
6761         not maintained.
6762
6763 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
6764
6765         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
6766         entries.
6767
6768         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
6769         entry for aio_cancel and aio_cancel64.
6770         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
6771         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
6772         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
6773         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
6774         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
6775         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
6776         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
6777         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
6778         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
6779         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
6780         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
6781         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
6782         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
6783
6784 2014-07-01  Roland McGrath  <roland@hack.frob.com>
6785
6786         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
6787         * nptl/pthread_mutex_lock.c: Likewise.
6788         * nptl/pthread_mutex_timedlock.c: Likewise.
6789         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
6790
6791 2014-07-01  Richard henderson  <rth@redhat.com>
6792
6793         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
6794         (__isnan, __isnanl): Remove.
6795         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
6796
6797         * sysdeps/alpha/fpu/libm-test-ulps: Update.
6798
6799 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
6800
6801         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6802
6803 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
6804
6805         * resolv/nss_dns/dns-host.c (getanswer_r)
6806         [MULTI_PTRS_ARE_ALIASES]: Remove code.
6807
6808 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
6809
6810         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6811         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
6812         undefine.
6813         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
6814         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
6815
6816 2014-07-01  Roland McGrath <roland@hack.frob.com>
6817
6818         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
6819         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
6820
6821         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
6822         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
6823
6824         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
6825         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
6826         ... here.
6827         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
6828         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
6829
6830         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
6831         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
6832         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
6833         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
6834
6835         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
6836         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
6837         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
6838         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
6839         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
6840         Moved ...
6841         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
6842         ... here.
6843         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
6844         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
6845         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
6846         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
6847         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
6848         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
6849         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
6850         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
6851         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
6852         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
6853         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
6854         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
6855         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
6856         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
6857         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
6858         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
6859         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
6860         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
6861         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
6862         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
6863         ... here.
6864         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
6865         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
6866         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
6867         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
6868         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
6869         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
6870         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
6871         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
6872
6873 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
6874
6875         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
6876         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
6877         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
6878         Add sysdep.
6879
6880 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6881
6882         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6883
6884 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
6885
6886         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
6887         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6888
6889         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6890
6891         * sysdeps/arm/libm-test-ulps: Regenerated.
6892
6893 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
6894             Roland McGrath <roland@hack.frob.com>
6895
6896         * test-skeleton.c (signal_handler): Kill the whole process group
6897         before killing the child individually.
6898         (main): Report any failure on `setpgid'.
6899
6900 2014-06-30  Roland McGrath  <roland@hack.frob.com>
6901
6902         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
6903         from _TLS_H to _ARM_NPTL_TLS_H.
6904         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
6905         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
6906
6907 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
6908
6909         [BZ #16539]
6910         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
6911         (__expm1l): Return argument unchanged when small but not
6912         subnormal.
6913
6914         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
6915         include macro name.
6916         (_FP_UNPACK_RAW_1_P): Likewise.
6917         (_FP_PACK_RAW_1): Likewise.
6918         (_FP_PACK_RAW_1_P): Likewise.
6919         (_FP_MUL_MEAT_1_wide): Likewise.
6920         (_FP_MUL_MEAT_DW_1_hard): Likewise.
6921         (_FP_MUL_MEAT_1_hard): Likewise.
6922         (_FP_DIV_MEAT_1_imm): Likewise.
6923         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
6924         (_FP_DIV_MEAT_1_udiv): Likewise.
6925         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
6926         (_FP_UNPACK_RAW_2): Likewise.
6927         (_FP_UNPACK_RAW_2_P): Likewise.
6928         (_FP_PACK_RAW_2): Likewise.
6929         (_FP_PACK_RAW_2_P): Likewise.
6930         (_FP_MUL_MEAT_DW_2_wide): Likewise.
6931         (_FP_MUL_MEAT_2_wide): Likewise.
6932         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
6933         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
6934         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
6935         (_FP_MUL_MEAT_2_gmp): Likewise.
6936         (_FP_DIV_MEAT_2_udiv): Likewise.
6937         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
6938         (_FP_FRAC_SRL_4): Likewise.
6939         (_FP_FRAC_SRST_4): Likewise.
6940         (_FP_FRAC_SRS_4): Likewise.
6941         (_FP_UNPACK_RAW_4): Likewise.
6942         (_FP_UNPACK_RAW_4_P): Likewise.
6943         (_FP_PACK_RAW_4): Likewise.
6944         (_FP_PACK_RAW_4_P): Likewise.
6945         (_FP_MUL_MEAT_DW_4_wide): Likewise.
6946         (_FP_MUL_MEAT_4_wide): Likewise.
6947         (_FP_MUL_MEAT_4_gmp): Likewise.
6948         (umul_ppppmnnn): Likewise.
6949         (_FP_DIV_MEAT_4_udiv): Likewise.
6950         (__FP_FRAC_ADD_4): Likewise.
6951         (__FP_FRAC_SUB_3): Likewise.
6952         (__FP_FRAC_SUB_4): Likewise.
6953         (__FP_FRAC_DEC_3): Likewise.
6954         (__FP_FRAC_DEC_4): Likewise.
6955         (__FP_FRAC_ADDI_4): Likewise.
6956         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
6957         (_FP_FRAC_SRL_8): Likewise.
6958         (_FP_FRAC_SRS_8): Likewise.
6959
6960         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
6961         include macro name.
6962         (FP_UNPACK_RAW_EP): Likewise.
6963         (FP_PACK_RAW_E): Likewise.
6964         (FP_PACK_RAW_EP): Likewise.
6965         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
6966         (_FP_ISSIGNAN): Likewise.
6967         (_FP_ADD_INTERNAL): Likewise.
6968         (_FP_FMA): Likewise.
6969         (_FP_CMP): Likewise.
6970         (_FP_SQRT): Likewise.
6971         (_FP_TO_INT): Likewise.
6972         (_FP_FROM_INT): Likewise.
6973         (FP_EXTEND): Likewise.
6974         (_FP_DIV_MEAT_N_loop): Likewise.
6975
6976 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
6977
6978         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
6979         throughout.
6980
6981 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
6982
6983         [BZ #17097]
6984         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
6985         result with correct sign in case of exponents that produce
6986         overflow except for X very close to 1.
6987
6988 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
6989
6990         mktime: merge #if/#ifdef usage from glibc
6991         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
6992         as that works with both Glibc's and Gnulib's style.
6993         See thread starting at Siddhesh Poyarekar's bug report at:
6994         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
6995
6996 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
6997
6998         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
6999         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
7000         * sysdeps/tile/tilegx/memmove.c: Remove file.
7001
7002 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
7003
7004         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
7005         abi-name definition.
7006         * scripts/soversions.awk: Do not handle or generate ABI lines.
7007         * shlib-versions: Remove ABI entries.
7008         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
7009         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
7010
7011 2014-06-27  Roland McGrath  <roland@hack.frob.com>
7012
7013         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
7014         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
7015         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
7016         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
7017         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
7018         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
7019         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
7020         Moved ...
7021         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
7022         ... here.
7023         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
7024         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
7025         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
7026         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
7027         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
7028         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
7029         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
7030         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
7031         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
7032         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
7033         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
7034         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
7035         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
7036         Moved ...
7037         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
7038         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
7039         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
7040         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
7041         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
7042         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
7043         Moved ...
7044         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
7045         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
7046         Moved ...
7047         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
7048         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
7049         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
7050         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
7051         Moved ...
7052         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
7053         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
7054         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
7055         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
7056         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
7057         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
7058         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
7059         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
7060         Moved ...
7061         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
7062         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
7063         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
7064         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
7065         Moved ...
7066         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
7067         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
7068         Moved ...
7069         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
7070         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
7071         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
7072         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
7073         Moved ...
7074         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
7075         ... here.
7076         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
7077         Identical file removed.
7078         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
7079         Moved ...
7080         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
7081         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
7082         Identical file removed.
7083         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
7084         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
7085         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
7086         Moved ...
7087         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
7088         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
7089         Identical file removed.
7090         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
7091         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
7092         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
7093         Identical file removed.
7094         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
7095         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
7096         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
7097         Identical file removed.
7098         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
7099         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
7100         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
7101         Identical file removed.
7102         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
7103         Moved ...
7104         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
7105         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
7106         Identical file removed.
7107         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
7108         Moved ...
7109         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
7110         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
7111         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
7112         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
7113         Identical file removed.
7114         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
7115         Moved ...
7116         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
7117         ... here.
7118         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
7119         Identical file removed.
7120         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
7121         Moved ...
7122         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
7123         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
7124         Identical file removed.
7125         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
7126         Moved ...
7127         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
7128         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
7129         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
7130         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
7131         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
7132         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
7133         Moved ...
7134         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
7135         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
7136         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
7137
7138         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
7139         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
7140         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
7141         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
7142         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
7143
7144 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
7145
7146         [BZ #17092]
7147         * nscd/nscd.c (monitor_child): Return exit status of child
7148         instead of return value from wait syscall.
7149
7150 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
7151
7152         * configure.ac (libc_commonpagesize): Remove variable.
7153         (libc_relro_required): Likewise.
7154         (libc_cv_z_relro): Remove configure test.
7155         * configure: Regenerated.
7156         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
7157         variable.
7158         (libc_relro_required): Likewise.
7159         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
7160         (libc_relro_required): Likewise.
7161         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
7162         (libc_relro_required): Likewise.
7163         * sysdeps/arm/preconfigure: Regenerated.
7164         * sysdeps/ia64/preconfigure: Remove file.
7165         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
7166         variable.
7167         (libc_relro_required): Likewise.
7168
7169         [BZ #16561]
7170         [BZ #16562]
7171         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
7172         (__ieee754_yn): Set FE_TONEAREST mode internally and then
7173         recompute overflowing results in original rounding mode.
7174         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
7175         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
7176         recompute overflowing results in original rounding mode.
7177         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
7178         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
7179         recompute overflowing results in original rounding mode.
7180         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
7181         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
7182         recompute overflowing results in original rounding mode.
7183         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
7184         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
7185         recompute overflowing results in original rounding mode.
7186         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
7187         (libc_feholdsetround_ctx): New macro.
7188         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
7189         * sysdeps/i386/fpu/libm-test-ulps: Update.
7190         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
7191
7192 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
7193
7194         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
7195         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
7196         corresponding .cpsetup call.
7197
7198 2014-06-26  Roland McGrath  <roland@hack.frob.com>
7199
7200         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
7201         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
7202         * sysdeps/arm/Makefile [$(subdir) = csu]
7203         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
7204         (static-only-routines): Add aeabi_read_tp here.
7205         (shared-only-routines): Add libc-aeabi_read_tp here.
7206         (CFLAGS-libc-start.c): Add -fexceptions here.
7207         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
7208         (sysdep_routines, static-only-routines, shared-only-routines):
7209         Don't add to these here.
7210         (CFLAGS-libc-start.c): Likewise.
7211
7212         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
7213         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
7214         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
7215         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
7216         * sysdeps/arm/Makefile [$(subdir) = rt]
7217         (librt-sysdep_routines, librt-shared-only-routines):
7218         Append rt-aeabi_unwind_cpp_pr1 here.
7219         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
7220         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
7221         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
7222         (libpthread-sysdep_routines, libpthread-shared-only-routines):
7223         Append nptl-aeabi_unwind_cpp_pr1 here.
7224         (tests): Filter out tst-cleanupx4 here.
7225         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
7226         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
7227         Don't do those here.
7228
7229 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
7230
7231         * scripts/list-sources.sh: Do not handle ports specially.
7232
7233 2014-06-26  Roland McGrath  <roland@hack.frob.com>
7234
7235         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
7236         * sysdeps/arm/feupdateenv.c: Likewise.
7237
7238         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
7239
7240 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
7241
7242         * manual/texinfo.tex: Update to version 2014-05-05.10 with
7243         trailing whitespace removed.
7244         * scripts/config.guess: Update to version 2014-03-23.
7245         * scripts/config.sub: Update to version 2014-05-01
7246         * scripts/install-sh: Update to version 2013-12-25.23.
7247         * scripts/move-if-change: Update from gnulib.
7248
7249 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
7250
7251         * debug/memmove_chk.c: Remove pagecopy.h include.
7252
7253 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
7254
7255         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
7256         identical to gnulib mktime.
7257
7258 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
7259
7260         * configure.ac: Do not test for machine being rs6000.  Do not test
7261         for powerpc*-*soft.
7262         * configure: Regenerated.
7263
7264         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
7265         test.
7266         * configure: Regenerated.
7267         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
7268         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
7269         Remove configure test.
7270         * sysdeps/arm/configure: Regenerated.
7271         * sysdeps/nptl/configure.ac: Do not check
7272         libc_cv_asm_cfi_directives.
7273         * sysdeps/nptl/configure: Regenerated.
7274         * sysdeps/x86_64/nptl/configure.ac: Remove file.
7275         * sysdeps/x86_64/nptl/configure: Remove generated file.
7276         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
7277         unconditional.
7278         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
7279
7280 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
7281
7282         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
7283         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
7284         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
7285         it is defined.
7286
7287         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
7288         instead of whether it is defined.
7289         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
7290         * sysdeps/hppa/dl-machine.h: Likewise.
7291         * sysdeps/ia64/dl-machine.h: Likewise.
7292         * sysdeps/m68k/dl-machine.h: Likewise.
7293         * sysdeps/microblaze/dl-machine.h: Likewise.
7294         * sysdeps/mips/dl-machine.: Likewise.
7295         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
7296         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
7297         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
7298         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
7299         * sysdeps/sh/dl-machine.h: Likewise.
7300         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7301         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7302         * sysdeps/tile/dl-machine.h: Likewise.
7303         * sysdeps/x86_64/dl-machine.h: Likewise.
7304
7305         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
7306         code.
7307         (verify_persistent_db): Likewise.
7308
7309 2014-06-26  Roland McGrath  <roland@hack.frob.com>
7310
7311         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
7312         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
7313         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
7314         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
7315         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
7316         Moved ...
7317         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
7318         ... here.
7319         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
7320         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
7321         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
7322         Identical file removed.
7323         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
7324         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
7325         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
7326         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
7327         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
7328         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
7329         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
7330         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
7331         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
7332         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
7333         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7334         Moved ...
7335         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
7336         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
7337         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
7338         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
7339         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
7340         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
7341         Moved ...
7342         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
7343         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
7344         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
7345         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
7346         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
7347         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
7348         Identical file removed.
7349         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
7350         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
7351         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
7352         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
7353         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
7354         Moved ...
7355         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
7356         ... here.
7357         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
7358         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
7359         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
7360         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
7361         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
7362         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
7363         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
7364         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
7365         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
7366         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
7367         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7368         Moved ...
7369         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
7370         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
7371         Moved ...
7372         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
7373         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
7374         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
7375         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
7376         Moved ...
7377         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
7378         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
7379         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
7380
7381         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
7382         folded into ...
7383         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
7384         * sysdeps/unix/sysv/linux/s390/Versions
7385         (libpthread: GLIBC_2.19): New version set.
7386         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
7387         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
7388         (librt: GLIBC_2.3.3): New version set.
7389         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
7390         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
7391         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
7392         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
7393         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
7394         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
7395         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
7396         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
7397         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
7398         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
7399         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
7400         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
7401         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
7402         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
7403         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
7404         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
7405         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
7406         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
7407         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
7408         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
7409         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
7410         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
7411         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
7412         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
7413         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
7414         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
7415         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
7416         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
7417         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
7418         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
7419         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
7420         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
7421         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
7422         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
7423         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
7424         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
7425         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
7426         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
7427         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
7428         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
7429         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
7430         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
7431         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
7432         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
7433         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
7434
7435         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
7436         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
7437         (__libc_vfork): Define the function under this name.
7438         [!NOT_IN_libc] (__vfork): Make this an alias.
7439         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
7440         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
7441         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
7442         (__libc_vfork): Define the function under this name.
7443         [!NOT_IN_libc] (__vfork): Make this an alias.
7444         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
7445         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
7446         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
7447         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
7448         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
7449         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
7450
7451         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
7452         code that was previously under [RESET_PID].
7453         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
7454         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
7455         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
7456
7457         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
7458         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
7459         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
7460         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
7461         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
7462         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
7463         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
7464         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
7465         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
7466         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
7467         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
7468         Moved ...
7469         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
7470         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
7471         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
7472         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
7473         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
7474         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
7475         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
7476         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
7477         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
7478         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
7479         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
7480         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
7481         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
7482         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
7483         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
7484         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
7485         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
7486         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
7487         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
7488         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
7489         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
7490         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
7491         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
7492         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
7493         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
7494         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
7495         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
7496         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
7497         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
7498
7499 2014-06-25  Roland McGrath  <roland@hack.frob.com>
7500
7501         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
7502         that was previously under [RESET_PID].
7503         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
7504
7505 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
7506
7507         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
7508         not undefine and redefine.
7509         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
7510         [O_CLOEXEC]: Make code unconditional.
7511         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
7512         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
7513         <kernel-features.h>.
7514         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
7515         conditional variable definition.
7516         (shm_open) [O_CLOEXEC]: Make code unconditional.
7517         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
7518         code.
7519
7520         * configure.ac (USE_REGPARMS): Don't define here.
7521         * configure: Regenerated.
7522         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
7523         * sysdeps/i386/configure: Regenerated.
7524
7525         * nptl/createthread.c: Don't include kernel-features.h.
7526         * nptl/pthread_cancel.c: Likewise.
7527         * nptl/pthread_condattr_setclock.c: Likewise.
7528         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
7529         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
7530         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
7531         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
7532         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
7533         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
7534         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
7535         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
7536         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
7537         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
7538         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
7539         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
7540         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
7541         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
7542         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
7543         * nscd/gai.c: Likewise.
7544         * nss/nss_db/db-open.c: Likewise.
7545         * sysdeps/generic/ldsodefs.h: Likewise.
7546         * sysdeps/sh/nptl/tls.h: Likewise.
7547         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
7548         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
7549         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
7550         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
7551         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
7552         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
7553         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
7554         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
7555         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
7556         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
7557         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
7558         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
7559         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
7560         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
7561         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
7562         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
7563         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
7564         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
7565         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
7566         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
7567         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
7568         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
7569         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
7570         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
7571         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
7572         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
7573         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
7574         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
7575         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
7576         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
7577         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
7578         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
7579         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
7580         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
7581         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
7582         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
7583         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
7584         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
7585         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
7586         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
7587         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
7588         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
7589         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
7590         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7591         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
7592         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
7593         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
7594         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
7595         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
7596         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
7597         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
7598         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
7599         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
7600         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
7601         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
7602         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
7603         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
7604         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
7605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
7606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
7607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
7608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
7609         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
7610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
7611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
7612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
7613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
7614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
7615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
7616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
7617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
7618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
7619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
7620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
7621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
7622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
7623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
7624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
7625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
7626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
7627         * sysdeps/unix/sysv/linux/pread.c: Likewise.
7628         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
7629         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
7630         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
7631         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
7632         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
7633         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
7634         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
7635         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
7636         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
7637         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
7638         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
7639         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
7640         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
7641         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
7642         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
7643         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
7644         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
7645         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
7646         * sysdeps/unix/sysv/linux/system.c: Likewise.
7647         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
7648         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
7649         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
7650         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
7651         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
7652         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
7653         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
7654
7655         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
7656         * configure: Regenerated.
7657         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
7658
7659         * configure.ac (base_machine): Do not set specially for particular
7660         machines here.
7661         * configure: Regenerated.
7662         * sysdeps/powerpc/preconfigure: Move machine and base_machine
7663         settings from configure.ac.
7664         * sysdeps/i386/preconfigure: New file.
7665         * sysdeps/s390/preconfigure: Likewise.
7666         * sysdeps/sh/preconfigure: Likewise.
7667         * sysdeps/sparc/preconfigure: Likewise.
7668
7669 2014-06-25  Roland McGrath  <roland@hack.frob.com>
7670
7671         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
7672         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
7673         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
7674         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
7675         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
7676         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
7677         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
7678         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
7679         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
7680         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
7681         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
7682         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
7683         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
7684         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
7685         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
7686         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
7687         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
7688         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
7689         * sysdeps/sparc/sparc64/Makefile: ... appended here.
7690
7691         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
7692         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
7693         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
7694         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
7695         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
7696         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
7697         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
7698         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
7699         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
7700         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
7701         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
7702         * sysdeps/sparc/sparc32/sem_post.c: ... here.
7703         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
7704         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
7705         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
7706         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
7707         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
7708         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
7709         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
7710         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
7711         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
7712         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
7713         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
7714         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
7715         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
7716         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
7717         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
7718         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
7719         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
7720         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
7721         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
7722         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
7723         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
7724         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
7725         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
7726         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
7727         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
7728         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
7729
7730         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
7731         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
7732         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
7733         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
7734         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
7735         Moved ...
7736         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
7737         ... here.
7738         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
7739         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
7740         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
7741         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
7742         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
7743         Moved ...
7744         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
7745         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
7746         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
7747         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
7748         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
7749         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
7750         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
7751         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7752         Moved ...
7753         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
7754         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
7755         Moved ...
7756         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
7757         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
7758         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
7759         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
7760         Moved ...
7761         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
7762         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
7763         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
7764         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
7765         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
7766         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
7767         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
7768         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
7769         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
7770         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
7771         Moved ...
7772         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
7773         ... here.
7774         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
7775         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
7776         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
7777         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
7778         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
7779         Moved ...
7780         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
7781         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
7782         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
7783         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
7784         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
7785         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
7786         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
7787         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7788         Moved ...
7789         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
7790         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
7791         Moved ...
7792         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
7793         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
7794         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
7795         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
7796         Moved ...
7797         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
7798         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
7799         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
7800         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
7801         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
7802
7803 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
7804
7805         * timezone/checktab.awk: Update from tzcode 2014e.
7806         * timezone/private.h: Likewise.
7807         * timezone/tzfile.h: Likewise.
7808         * timezone/zdump.c: Likewise.
7809         * timezone/zic.c: Likewise.
7810
7811         * sysdeps/unix/sysv/linux/kernel-features.h
7812         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
7813         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
7814         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
7815         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
7816         Remove conditional code.
7817
7818 2014-06-25  Will Newton  <will.newton@linaro.org>
7819
7820         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
7821         (_dl_arm_cap_flags): Add HWCAP2 values.
7822         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
7823         (_DL_HWCAP_COUNT): Increase to 37.
7824         (_DL_HWCAP_LAST): New define.
7825         (_DL_HWCAP2_LAST): New define.
7826         (_dl_procinfo): Add support for printing
7827         AT_HWCAP2 entries.
7828         (_dl_string_hwcap): Use _dl_hwcap_string.
7829
7830 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7831
7832         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7833
7834 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
7835
7836         * README: Do not mention ports directory.
7837
7838         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
7839         Remove macro.
7840         * sysdeps/unix/sysv/linux/futimes.c: Do not include
7841         <kernel-features.h>.
7842         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
7843         conditional variable definition.
7844         (__futimes): Update comment.
7845         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
7846         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
7847
7848         [BZ #16560]
7849         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
7850         arguments close to 0.
7851         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
7852         Likewise.
7853         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
7854         Likewise.
7855         * math/auto-libm-test-in: Add more tests of exp10.
7856         * math/auto-libm-test-out: Regenerated.
7857         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7858
7859         * sysdeps/unix/sysv/linux/kernel-features.h
7860         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
7861         * sysdeps/unix/sysv/linux/readv.c: Do not include
7862         <kernel-features.h>.
7863         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
7864         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
7865         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
7866         unconditional.
7867         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
7868         conditional code.
7869         * sysdeps/unix/sysv/linux/writev.c: Do not include
7870         <kernel-features.h>.
7871         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
7872         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
7873         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
7874         unconditional.
7875         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
7876         conditional code.
7877
7878 2014-06-25  Will Newton  <will.newton@linaro.org>
7879
7880         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
7881         comment changes throughout the file.  Remove checks
7882         for HAVE_*_H definitions that are not required.
7883         (__gen_tempname): Call abort if an unknown kind value is
7884         passed.
7885
7886 2014-06-25  Andreas Schwab  <schwab@suse.de>
7887
7888         [BZ #17086]
7889         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
7890         scalbln, scalblnf, scalblnl in libc.
7891
7892 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
7893
7894         [BZ #17086]
7895         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
7896         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
7897         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
7898
7899 2014-06-24  Roland McGrath  <roland@hack.frob.com>
7900
7901         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
7902         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
7903         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
7904         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
7905         Update #include.
7906         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
7907         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
7908         Update #include.
7909         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
7910         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
7911         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
7912         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
7913         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
7914         * sysdeps/x86/bits/pthreadtypes.h: ... here.
7915         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
7916         * sysdeps/x86/bits/semaphore.h: ... here.
7917         * sysdeps/x86/nptl/elide.h: Moved ...
7918         * sysdeps/x86/elide.h: ... here.
7919         * sysdeps/x86_64/nptl/Implies: File removed.
7920         * sysdeps/i386/nptl/Implies: File removed.
7921
7922 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
7923
7924         [BZ #16539]
7925         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
7926         return the argument for normal arguments with exponent below -64.
7927         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
7928         Likewise.
7929         * math/auto-libm-test-in: Add another test of expm1.
7930         * math/auto-libm-test-out: Regenerated.
7931
7932         [BZ #16287]
7933         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
7934         calling __erfcl for arguments at least 16.
7935         * math/auto-libm-test-in: Add more tests of erf.
7936         * math/auto-libm-test-out: Regenerated.
7937
7938         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
7939         individual architectures.
7940         * sysdeps/unix/sysv/linux/configure: Regenerated.
7941         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
7942         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
7943         * sysdeps/unix/sysv/linux/powerpc/configure.ac
7944         (ldd_rewrite_script): Define variable.
7945         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
7946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
7947         file.
7948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
7949         generated file.
7950         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
7951         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
7952         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
7953         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
7954         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
7955         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
7956         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
7957         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
7958
7959 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7960
7961         [BZ #17084]
7962         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
7963         Rename member __data.d to __data.__elision_data.
7964
7965 2014-06-24  Wilco  <wdijkstr@arm.com>
7966
7967         * NEWS: Add 16918 to fixed bug list.
7968
7969 2014-06-24  Wilco  <wdijkstr@arm.com>
7970
7971         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
7972
7973 2014-06-24  Wilco  <wdijkstr@arm.com>
7974
7975         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
7976         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
7977         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
7978         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
7979         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
7980         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
7981         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
7982         Use _FPU_MASK_RM.
7983
7984 2014-06-24  Wilco  <wdijkstr@arm.com>
7985
7986         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
7987
7988 2014-06-24  Wilco  <wdijkstr@arm.com>
7989
7990         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
7991         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
7992         * sysdeps/arm/fesetround.c (fesetround): Remove space.
7993         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
7994
7995 2014-06-24  Wilco  <wdijkstr@arm.com>
7996
7997         [BZ #16918]
7998         * sysdeps/arm/feupdateenv.c (feupdateenv):
7999         Rewrite to reduce FPSCR accesses and fix return value.
8000
8001 2014-06-24  Wilco  <wdijkstr@arm.com>
8002
8003         * sysdeps/arm/fclrexcpt.c (feclearexcept):
8004         Optimize to avoid unnecessary FPSCR writes.
8005         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
8006         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
8007         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
8008         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
8009
8010 2014-06-24  Wilco  <wdijkstr@arm.com>
8011
8012         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
8013         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
8014         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
8015         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
8016         Call libc_fetestexcept_vfp.
8017         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
8018         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
8019         __SOFTFP__ ifdef so that they can be built for softfp.
8020
8021 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
8022
8023         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
8024         argument type signed char.
8025
8026         * Makerules (check-abi): Dump diff of symlist if the test
8027         fails.
8028
8029 2014-06-23  Roland McGrath  <roland@hack.frob.com>
8030
8031         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
8032         using abort.
8033
8034         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
8035         Remove unused variable ST.
8036
8037 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
8038
8039         [BZ #16354]
8040         [BZ #17061]
8041         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
8042         small arguments before calling __expm1.
8043         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
8044         small arguments before calling __expm1f.
8045         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
8046         small arguments before calling __expm1l.
8047         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
8048         Likewise.
8049         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
8050         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
8051         spurious underflow for some cosh tests.
8052         * math/auto-libm-test-out: Regenerated.
8053         * sysdeps/i386/fpu/libm-test-ulps: Update.
8054
8055         [BZ #17050]
8056         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
8057         (__ieee754_y1): Set errno if return value overflows.
8058         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
8059         (__ieee754_y1f): Set errno if return value overflows.
8060         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
8061         (__ieee754_y1l): Set errno if return value overflows.
8062         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
8063         (__ieee754_y1l): Set errno if return value overflows.
8064         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
8065         * math/auto-libm-test-out: Regenerated.
8066
8067         * math/gen-auto-libm-tests.c: Document use of
8068         ignore-zero-inf-sign.
8069         (input_flag_type): Add value flag_ignore_zero_inf_sign.
8070         (input_flags): Add ignore-zero-inf-sign.
8071         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
8072         * math/gen-libm-test.pl (generate_testfile): Handle
8073         ignore-zero-inf-sign.
8074         * math/auto-libm-test-in: Mark some cpow tests with
8075         ignore-zero-inf-sign and some with xfail-rounding.
8076         * math/auto-libm-test-out: Regenerated.
8077         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
8078         * sysdeps/i386/fpu/libm-test-ulps: Update.
8079         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8080
8081         [BZ #16315]
8082         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
8083         overflowing or underflowing operations take place with sign of
8084         result.
8085         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8086         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
8087         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
8088         (__ieee754_pow): Recompute overflowing and underflowing results in
8089         original rounding mode.
8090         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
8091         (__powl_helper): Allow negative argument X and scale negated value
8092         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
8093         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
8094         overflowing or underflowing operations take place with sign of
8095         result.
8096         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
8097         Include <math.h>.
8098         * math/auto-libm-test-in: Add more tests of pow.
8099         * math/auto-libm-test-out: Regenerated.
8100         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
8101         (pow_tonearest_test_data): Remove.
8102         (pow_test_tonearest): Likewise.
8103         (pow_towardzero_test_data): Likewise.
8104         (pow_test_towardzero): Likewise.
8105         (pow_downward_test_data): Likewise.
8106         (pow_test_downward): Likewise.
8107         (pow_upward_test_data): Likewise.
8108         (pow_test_upward): Likewise.
8109         (main): Don't call removed functions.
8110         * sysdeps/i386/fpu/libm-test-ulps: Update.
8111         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8112
8113 2014-06-23  Roland McGrath  <roland@hack.frob.com>
8114
8115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
8116         Moved ...
8117         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
8118         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8119         Moved ...
8120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
8121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
8122         Moved ...
8123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
8124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
8125         Moved ...
8126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
8127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
8128         File removed.
8129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
8130         File removed.
8131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
8132         File removed.
8133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
8134         File removed.
8135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
8136         File removed.
8137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
8138         File removed.
8139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
8140         File removed.
8141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
8142         File removed.
8143         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
8144         File removed.
8145         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
8146         File removed.
8147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
8148         File removed.
8149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
8150         File removed.
8151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
8152         Moved ...
8153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
8154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
8155         Moved ...
8156         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
8157         ... here.
8158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
8159         Moved ...
8160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
8161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
8162         Moved ...
8163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
8164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
8165         Moved ...
8166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
8167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
8168         Moved ...
8169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
8170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
8171         Moved ...
8172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
8173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
8174         Moved ...
8175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
8176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
8177         Moved ...
8178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
8179         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
8180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
8181         ... here.
8182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
8183         Moved ...
8184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
8185         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
8186         Moved ...
8187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
8188         ... here.
8189         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
8190         Moved ...
8191         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8192         ... here.
8193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8194         Moved ...
8195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
8196         ... here.
8197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
8198         Moved ...
8199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
8200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
8201         Moved ...
8202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
8203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
8204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
8205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
8206         Moved ...
8207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
8208         ... here.
8209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
8210         Moved ...
8211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
8212         ... here.
8213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
8214         Moved ...
8215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
8216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
8217         Moved ...
8218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
8219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
8220         Moved ...
8221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
8222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8223         Moved ...
8224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
8225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
8226         Moved ...
8227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
8228         ... here.
8229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
8230         Moved ...
8231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
8232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
8233         Moved ...
8234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
8235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
8236         Moved ...
8237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
8238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
8239         Moved ...
8240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
8241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
8242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
8243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
8244         Moved ...
8245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
8246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
8247         Moved ...
8248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
8249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
8250         Moved ...
8251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
8252         ... here.
8253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8254         Moved ...
8255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
8256         ... here.
8257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
8258         Moved ...
8259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
8260         ... here.
8261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
8262         Moved ...
8263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
8264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
8265         Moved ...
8266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
8267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
8268         Moved ...
8269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
8270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
8271         Moved ...
8272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
8273         ... here.
8274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
8275         Moved ...
8276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
8277         ... here.
8278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
8279         Moved ...
8280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
8281         ... here.
8282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
8283         Moved ...
8284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
8285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
8286         Moved ...
8287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
8288
8289 2014-06-23  Will Newton  <will.newton@linaro.org>
8290             Wilco  <wdijkstr@arm.com>
8291
8292         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
8293         implementation.  Include get-rounding-mode.h.
8294         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
8295         [!libc_feholdsetround_noex_ctx]: Define
8296         libc_feholdsetround_noex_ctx.
8297         [!libc_feholdsetround_noexf_ctx]: Define
8298         libc_feholdsetround_noexf_ctx.
8299         [!libc_feholdsetround_noexl_ctx]: Define
8300         libc_feholdsetround_noexl_ctx.
8301         (libc_feholdsetround_ctx): New function.
8302         (libc_feresetround_ctx): New function.
8303         (libc_feholdsetround_noex_ctx): New function.
8304         (libc_feresetround_noex_ctx): New function.
8305
8306 2014-06-23  Roland McGrath  <roland@hack.frob.com>
8307
8308         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
8309         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
8310         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
8311         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
8312         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
8313         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
8314
8315         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
8316         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
8317         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
8318         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
8319         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
8320         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
8321         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
8322         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
8323         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
8324         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
8325         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
8326         Moved ...
8327         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
8328         ... here.
8329         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
8330         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
8331         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
8332         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
8333         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
8334         Moved ...
8335         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
8336         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
8337         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
8338         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
8339         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
8340         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
8341         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
8342         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
8343         Moved ...
8344         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
8345         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
8346         Moved ...
8347         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
8348         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
8349         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
8350         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
8351         Moved ...
8352         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
8353         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
8354         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
8355         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
8356         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
8357         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
8358         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
8359         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
8360         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
8361         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
8362         Moved ...
8363         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
8364         ... here.
8365         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
8366         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
8367         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
8368         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
8369         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
8370         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
8371         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
8372         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
8373         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
8374         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
8375         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
8376         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
8377         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
8378         Moved ...
8379         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
8380         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
8381         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
8382         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
8383         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
8384         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
8385         Moved ...
8386         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
8387         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
8388         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
8389         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
8390         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
8391
8392         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
8393         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
8394         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
8395         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
8396         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
8397         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
8398         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
8399         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
8400         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
8401         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
8402         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
8403         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
8404         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
8405         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
8406         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
8407         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
8408         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
8409         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
8410         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
8411         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
8412         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
8413         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
8414         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
8415         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
8416         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
8417         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
8418         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
8419         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
8420
8421 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
8422
8423         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
8424         (FALLOC_FL_COLLAPSE_RANGE): New macro.
8425         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
8426         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
8427         (IPV6_PMTUDISC_INTERFACE): Likewise.
8428         (IPV6_PMTUDISC_OMIT): Likewise.
8429
8430 2014-06-23  Andreas Schwab  <schwab@suse.de>
8431
8432         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
8433         Remove unused errout label.
8434
8435 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8436
8437         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
8438         macro: hardware supports Vector Crypto instructions.
8439
8440 2014-06-23  Will Newton  <will.newton@linaro.org>
8441
8442         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
8443         rather than __builtin_expect.
8444
8445         * elf/dl-lookup.c (undefined_msg): Remove variable.
8446         (_dl_lookup_symbol_x): Replace undefined_msg with string
8447         literal.
8448
8449         * elf/dl-lookup.c (do_lookup_unique): New function.
8450         (do_lookup_x): Move STB_GNU_UNIQUE handling code
8451         to a separate function.
8452
8453 2014-06-23  Andreas Schwab  <schwab@suse.de>
8454
8455         [BZ #17079]
8456         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
8457         before reading the next line.
8458
8459 2014-06-23  Will Newton  <will.newton@linaro.org>
8460
8461         * test-skeleton.c (signal_handler): Use printf and %m
8462         rather than perror.  Use printf rather than fprintf to
8463         stderr.  Use puts rather than fputs to stderr.
8464         (main): Likewise.
8465
8466 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
8467
8468         * nscd/nscd.c (thread_info_t): Remove typedef.
8469         (thread_info): Remove variable.
8470
8471 2014-06-21  Allan McRae  <allan@archlinux.org>
8472
8473         * NEWS: Mention CVE-2014-4043.
8474
8475 2014-06-20  Roland McGrath  <roland@hack.frob.com>
8476
8477         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
8478         * nptl/smp.h: ... here.
8479
8480         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
8481
8482         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
8483         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
8484         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
8485         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
8486
8487         * nptl/allocatestack.c: Include <stack-aliasing.h>.
8488         * nptl/stack-aliasing.h: New file.
8489         * sysdeps/i386/i686/stack-aliasing.h: New file.
8490         * sysdeps/i386/i686/nptl/Makefile: File removed.
8491         * sysdeps/x86_64/stack-aliasing.h: New file.
8492         * sysdeps/x86_64/nptl/Makefile
8493         (CFLAGS-pthread_create.c): Variable removed.
8494
8495         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
8496         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
8497         old file.
8498         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
8499         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
8500         old file.
8501
8502 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
8503
8504         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8505         (__ASSUME_SIGFRAME_V2): Remove macro.
8506         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
8507         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
8508         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
8509         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
8510         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
8511         Declare as function.  Remove conditional macro definitions.
8512         (__default_rt_sa_restorer): Likewise.
8513         (__default_sa_restorer_v1): Remove declaration.
8514         (__default_sa_restorer_v2): Likewise.
8515         (__default_rt_sa_restorer_v1): Likewise.
8516         (__default_rt_sa_restorer_v2): Likewise.
8517         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
8518         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
8519         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
8520
8521 2014-06-20  Roland McGrath  <roland@hack.frob.com>
8522
8523         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
8524         (libpthread-routines): Add sysdep.
8525         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
8526         * sysdeps/unix/sysv/linux/sparc/Versions
8527         (libpthread: GLIBC_2.3.3): New version set.
8528         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
8529         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
8530         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
8531         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
8532         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
8533         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
8534         Moved ...
8535         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
8536         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
8537         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
8538         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
8539         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
8540         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
8541         * sysdeps/sparc/nptl/sem_init.c: ... here.
8542         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
8543         * sysdeps/sparc/nptl/sem_post.c: ... here.
8544         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
8545         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
8546         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
8547         * sysdeps/sparc/nptl/sem_wait.c: ... here.
8548         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
8549         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
8550         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
8551         (libpthread-routines): Add cpu_relax.
8552         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
8553         File removed.
8554         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
8555         (librt: GLIBC_2.3.3): New version set.
8556         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
8557         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
8558         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
8559         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
8560         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
8561         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
8562         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
8563         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
8564         Moved ...
8565         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
8566         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
8567         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
8568         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
8569         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
8570         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
8571         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
8572         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
8573         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
8574         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
8575         Moved ...
8576         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
8577         Update #include.
8578         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
8579         Moved ...
8580         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
8581         Update #include.
8582         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
8583         Moved ...
8584         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
8585         Update #include.
8586         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
8587         Moved ...
8588         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
8589         Update #include.
8590         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
8591         Moved ...
8592         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
8593         Update #include.
8594         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
8595         Moved ...
8596         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
8597         Update #include.
8598         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
8599         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
8600         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
8601         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
8602         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
8603         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
8604         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
8605         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
8606         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
8607         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
8608         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
8609         Moved ...
8610         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
8611         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
8612         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
8613         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
8614         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
8615
8616 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
8617
8618         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
8619         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
8620         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
8621         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
8622         * nscd/nscd.c: Likewise.
8623         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
8624         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
8625         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
8626         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
8627
8628         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
8629         <kernel-features.h>.
8630         (init_mq_netlink): Remove conditional have_sock_cloexec
8631         definitions.  Remove code conditional on have_sock_cloexec < 0.
8632         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
8633         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
8634         * sysdeps/unix/sysv/linux/opensock.c: Do not include
8635         <kernel-features.h>.
8636         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
8637         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
8638
8639 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
8640
8641         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8642         Add tests for memset_chk and memset.
8643
8644         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
8645         with AVX2_Usable.
8646
8647 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
8648
8649         [BZ #16046]
8650         * elf/tst-dl-iter-static.c: New file.
8651         * elf/Makefile (tests-static): Add tst-dl-iter-static.
8652
8653         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
8654         error.
8655
8656 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
8657
8658         * sysdeps/unix/sysv/linux/kernel-features.h
8659         (__ASSUME_F_GETOWN_EX): Remove macro.
8660         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
8661         <kernel-features.h>.
8662         (miss_F_GETOWN_EX): Remove variable or macro.
8663         (do_fcntl): Do not check miss_F_GETOWN_EX.
8664         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
8665
8666         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
8667         Remove macro.
8668         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
8669         [!__ASSUME_AT_RANDOM]: Remove conditional code.
8670         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
8671
8672         * sysdeps/unix/sysv/linux/kernel-features.h
8673         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
8674         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
8675         [ADJ_OFFSET_SS_READ]: Make code unconditional.
8676         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
8677
8678 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
8679
8680         [BZ #17075]
8681         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
8682         Fix calculation of the symbol's value.
8683         * sysdeps/arm/tst-armtlsdescloc.c: New file.
8684         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
8685         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
8686         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
8687         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
8688         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
8689         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
8690         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
8691         (modules-names): Add `tst-armtlsdescmod',
8692         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
8693         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
8694         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
8695         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
8696         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
8697         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
8698         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
8699         ($(objpfx)tst-armtlsdescloc): New dependency.
8700         ($(objpfx)tst-armtlsdescextnow): Likewise.
8701         ($(objpfx)tst-armtlsdescextlazy): Likewise.
8702         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
8703         TLS scheme support.
8704         * sysdeps/arm/configure: Regenerate.
8705
8706 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
8707
8708         * include/fcntl.h (__atfct_seterrno): Remove prototype.
8709         (__atfct_seterrno_2): Likewise.
8710         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
8711         <kernel-features.h>.
8712         (__ASSUME_ATFCTS): Do not undefine and redefine.
8713         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
8714         (__have_atfcts): Remove conditional definition.
8715         (__fxstatat([__NR_fstatat64]: Make code unconditional.
8716         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
8717         unreachable if [__ASSUME_ATFCTS].
8718         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
8719         not undefine and redefine.
8720         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
8721         <kernel-features.h>.
8722         (faccessat) [__NR_faccessat]: Make code unconditional.
8723         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
8724         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
8725         <kernel-features.h>.
8726         (fchmodat) [__NR_fchmodat]: Make code unconditional.
8727         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
8728         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
8729         <kernel-features.h>.
8730         (fchownat) [__NR_fchownat]: Make code unconditional.
8731         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
8732         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
8733         <kernel-features.h>.
8734         (futimesat) [__NR_futimesat]: Make code unconditional.
8735         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
8736         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
8737         <kernel-features.h>.
8738         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
8739         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
8740         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
8741         <kernel-features.h>.
8742         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
8743         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
8744         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
8745         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
8746         <kernel-features.h>.
8747         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
8748         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
8749         * sysdeps/unix/sysv/linux/linkat.c: Do not include
8750         <kernel-features.h>.
8751         (linkat) [__NR_linkat]: Make code unconditional.
8752         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
8753         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
8754         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
8755         <kernel-features.h>.
8756         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
8757         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
8758         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
8759         <kernel-features.h>.
8760         (mkdirat) [__NR_mkdirat]: Make code unconditional.
8761         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
8762         * sysdeps/unix/sysv/linux/openat.c: Do not include
8763         <kernel-features.h>.
8764         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
8765         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
8766         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
8767         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
8768         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
8769         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
8770         <kernel-features.h>.
8771         (readlinkat) [__NR_readlinkat]: Make code unconditional.
8772         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
8773         result of INLINE_SYSCALL directly, not via int variable.
8774         * sysdeps/unix/sysv/linux/renameat.c: Do not include
8775         <kernel-features.h>.
8776         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
8777         (renameat) [__NR_renameat]: Make code unconditional.
8778         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
8779         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
8780         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
8781         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
8782         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
8783         (__ASSUME_ATFCTS): Do not undefine and redefine.
8784         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
8785         <kernel-features.h>.
8786         (symlinkat) [__NR_symlinkat]: Make code unconditional.
8787         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
8788         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
8789         <kernel-features.h>.
8790         (unlinkat) [__NR_unlinkat]: Make code unconditional.
8791         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
8792         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
8793         (__ASSUME_ATFCTS): Do not undefine and redefine.
8794         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
8795         <kernel-features.h>.
8796         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
8797         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
8798         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
8799         <kernel-features.h>.
8800         (__xmknodat) [__NR_mknodat]: Make code unconditional.
8801         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
8802
8803 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
8804
8805         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
8806
8807 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
8808
8809         [BZ #17069]
8810         * posix/regcomp.c (parse_reg_exp): Deallocate partially
8811         constructed tree before returning error.
8812         * posix/bug-regexp36.c: Expand test case.
8813
8814 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
8815
8816         [BZ #6803]
8817         * math/libm-test.inc (scalbln_test_date):
8818         Add errno expectations.
8819         * math/w_scalblnf.c: New File.
8820         Add wrapper which checks for setting errno to ERANGE.
8821         Add weak_alias for corresponding scalbln function.
8822         * math/w_scalbln.c: Likewise.
8823         * math/w_scalblnl.c: Likewise.
8824         * math/Makefile (libm-calls): Add w_scalbln.
8825         * sysdeps/ieee754/flt-32/s_scalblnf.c:
8826         Remove weak_alias for corresponding scalbln function.
8827         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8828         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
8829         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
8830         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8831         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
8832         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
8833         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
8834         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
8835         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
8836         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
8837         Remove long_double_symbol for scalblnl function in libm, libc.
8838         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
8839         Add wrapper which checks for setting errno to ERANGE.
8840         Add long_double_symbol for scalblnl function in libm, libc.
8841         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
8842         Remove long_double_symbol for scalblnl in libm.
8843         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
8844         Add wrapper which checks for setting errno to ERANGE.
8845         Add long_double_symbol for scalblnl function in libm.
8846         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
8847         Do not use wrapper because of own implementation.
8848
8849 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
8850
8851         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
8852         3 bytes for __pad1 for x32.
8853         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
8854
8855 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
8856             H.J. Lu  <hongjiu.lu@intel.com>
8857
8858         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
8859         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
8860         * sysdeps/x86_64/multiarch/memset.S: Likewise.
8861         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8862         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
8863
8864 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
8865
8866         [BZ #17069]
8867         * posix/regcomp.c (parse_expression): Deallocate partially
8868         constructed tree before returning error.
8869         * posix/Makefile.c (tests): Add bug-regex36.
8870         (generated): Add bug-regex36.mtrace.
8871         (tests-special): Add $(objpfx)bug-regex36-mem.out
8872         (bug-regex36-ENV): New variable.
8873         ($(objpfx)bug-regex36-mem.out): New rule.
8874         * posix/bug-regex36.c: New file.
8875
8876 2014-06-19  Will Newton  <will.newton@linaro.org>
8877
8878         * malloc/malloc.c (systrim): If extra is zero then return
8879         early.
8880
8881 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
8882
8883         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
8884
8885 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
8886
8887         * sysdeps/aarch64/strchr.S: New file.
8888
8889 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
8890
8891         [BZ #17022]
8892         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
8893         from arguments -2 or below.
8894         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
8895         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
8896
8897 2014-06-18  Andreas Schwab  <schwab@suse.de>
8898
8899         [BZ #17062]
8900         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
8901         of a bracket expr not to run off the end of the string.
8902         * posix/Makefile (tests): Add tst-fnmatch3.
8903         * posix/tst-fnmatch3.c: New file.
8904
8905 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
8906
8907         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
8908         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
8909         [$(cross-compiling) = no]: Likewise.
8910         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
8911         [$(cross-compiling) = no]: Likewise.
8912
8913 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8914
8915         [BZ #17031]
8916         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
8917         double, adjusted for any remainder from the high double.
8918         * math/libm-test.inc (nearbyint): Add tests.
8919         (rint): Likewise.
8920
8921 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8922
8923         * nptl/sysdeps/powerpc/Makefile: Moved ...
8924         * sysdeps/powerpc/nptl/Makefile: ... here.
8925         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
8926         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
8927         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
8928         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
8929         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
8930         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
8931         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
8932         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
8933         * nptl/sysdeps/powerpc/tls.h: Moved ...
8934         * sysdeps/powerpc/nptl/tls.h: ... here.
8935
8936 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
8937
8938         [BZ #16681]
8939         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
8940         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
8941         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
8942         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
8943         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
8944         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
8945         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
8946         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
8947         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
8948
8949 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
8950
8951         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
8952
8953 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
8954
8955         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
8956         defined operator.
8957
8958         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
8959         $TIMEOUTFACTOR.
8960
8961 2014-06-16  Florian Weimer  <fweimer@redhat.com>
8962
8963         [BZ #17058]
8964         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
8965         non-executed part of the test.
8966
8967 2014-06-16  Andreas Schwab  <schwab@suse.de>
8968
8969         * string/bits/string2.h (strdup, strndup): Update feature guard.
8970
8971 2014-06-14  David S. Miller  <davem@davemloft.net>
8972
8973         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8974
8975 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
8976
8977         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
8978         that was previously under [RESET_PID].
8979         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
8980
8981         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
8982         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
8983         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
8984         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8985         (__libc_vfork): New strong alias.
8986         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
8987
8988 2014-06-14 Andi Kleen  <ak@linux.intel.com>
8989
8990         * sysdeps/generic/elide.h: New file.
8991
8992 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
8993
8994         * Makefile (installed-headers): Adjust path of pthread.h header.
8995
8996 2014-06-13  Roland McGrath  <roland@hack.frob.com>
8997
8998         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
8999         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
9000         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
9001         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
9002
9003         * nptl/sysdeps/s390/Makefile: Moved ...
9004         * sysdeps/s390/nptl/Makefile: ... here.
9005         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
9006         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
9007         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
9008         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
9009         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
9010         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
9011         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
9012         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
9013         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
9014         * sysdeps/s390/nptl/pthreaddef.h: ... here.
9015         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
9016         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
9017         * nptl/sysdeps/s390/tls.h: Moved ...
9018         * sysdeps/s390/nptl/tls.h: ... here.
9019
9020         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
9021         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
9022
9023 2014-06-13  David S. Miller  <davem@davemloft.net>
9024
9025         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
9026         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
9027         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
9028         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
9029         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
9030         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
9031         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
9032         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
9033         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
9034         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
9035         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
9036         Remove RESET_PID cpp guards.
9037         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
9038         Remove RESET_PID cpp guards.
9039         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
9040
9041 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
9042
9043         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
9044         __sp to uintptr_t.
9045
9046 2014-06-13  Andi Kleen  <ak@linux.intel.com>
9047
9048         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
9049         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
9050         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
9051         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
9052         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
9053         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
9054         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
9055         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
9056         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
9057         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
9058         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
9059         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
9060         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
9061         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
9062         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
9063         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
9064         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
9065         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
9066         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
9067         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
9068
9069         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
9070         (pthread_rwlock_rdlock): Add elision.
9071         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
9072         (pthread_rwlock_wrlock): Add elision.
9073         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
9074         (pthread_rwlock_trywrlock): Add elision.
9075         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
9076         (pthread_rwlock_tryrdlock): Add elision.
9077         * nptl/pthread_rwlock_unlock.c: Include elide.h.
9078         (pthread_rwlock_tryrdlock): Add elision unlock.
9079         * nptl/sysdeps/pthread/pthread.h:
9080         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
9081         (PTHREAD_RWLOCK_INITIALIZER,
9082         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
9083         Handle new elision field.
9084         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
9085         * sysdeps/arm/nptl/bits/pthreadtypes.h
9086         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9087         * sysdeps/sh/nptl/bits/pthreadtypes.h
9088         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9089         * sysdeps/tile/nptl/bits/pthreadtypes.h
9090         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9091         * sysdeps/a/nptl/bits/pthreadtypes.h
9092         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9093         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
9094         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9095         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
9096         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9097         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
9098         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9099         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
9100         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9101         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
9102         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9103         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
9104         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9105         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
9106         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9107         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
9108         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9109         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
9110         (elision_init): Set try_xbegin to zero when no RTM.
9111         * sysdeps/x86/nptl/bits/pthreadtypes.h
9112         (pthread_rwlock_t): Change __pad1 to __rwelision.
9113         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9114
9115 2014-06-13  Andi Kleen  <ak@linux.intel.com>
9116
9117         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
9118         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
9119         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
9120         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
9121
9122 2014-06-13  Meador Inge  <meadori@codesourcery.com>
9123
9124         [BZ #16996]
9125         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
9126         that the cached result has been set before returning it.
9127
9128 2014-06-12  Roland McGrath  <roland@hack.frob.com>
9129
9130         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
9131         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
9132         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
9133         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
9134         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
9135         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
9136
9137         * nptl/sysdeps/sparc/Makefile: Moved ...
9138         * sysdeps/sparc/nptl/Makefile: ... here.
9139         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
9140         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
9141         * nptl/sysdeps/sparc/tls.h: Moved ...
9142         * sysdeps/sparc/nptl/tls.h: ... here.
9143         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
9144         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
9145         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
9146         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
9147         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
9148         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
9149         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
9150         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
9151         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
9152         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
9153         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
9154         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
9155         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
9156         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
9157         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
9158         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
9159         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
9160         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
9161         Update #include.
9162         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
9163         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
9164         Update #include.
9165         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
9166         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
9167         Update #include.
9168         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
9169         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
9170         Update #include.
9171
9172         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
9173
9174         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
9175         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
9176
9177         * sysdeps/pthread/posix-timer.h: Include <list.h>.
9178         (struct list_links): Type removed.
9179         (struct thread_node, struct timer_node): Replace struct list_links
9180         with struct list_head.
9181         (list_unlink_ip): Likewise.
9182         * sysdeps/pthread/timer_routines.c
9183         (timer_free_list, thread_free_list, thread_active_list): Likewise.
9184         (list_append, list_insbefore): Likewise.
9185         (list_init): Function removed.
9186         (thread_init, init_module): Use INIT_LIST_HEAD instead.
9187         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
9188         * sysdeps/pthread/Makefile: ... here, new file.
9189
9190         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
9191         * sysdeps/nptl/Implies: ... here.
9192         * sysdeps/unix/sysv/linux/Implies: Add nptl.
9193         * nptl/sysdeps/pthread/list.h: Moved ...
9194         * include/list.h: ... here.
9195         * nptl/sysdeps/pthread/createthread.c: Moved ...
9196         * nptl/createthread.c: ... here.
9197         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
9198         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
9199         * nptl/pt-longjmp.c: ... here.
9200         * nptl/sysdeps/pthread/Makefile: Moved ...
9201         * sysdeps/nptl/Makefile: ... here.
9202         * nptl/sysdeps/pthread/Subdirs: Moved ...
9203         * sysdeps/nptl/Subdirs: ... here.
9204         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
9205         * sysdeps/nptl/aio_misc.h: ... here.
9206         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
9207         * sysdeps/nptl/bits/libc-lock.h: ... here.
9208         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
9209         * sysdeps/nptl/bits/libc-lockP.h: ... here.
9210         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
9211         * sysdeps/nptl/bits/stdio-lock.h: ... here.
9212         * nptl/sysdeps/pthread/configure: Moved ...
9213         * sysdeps/nptl/configure: ... here.
9214         * nptl/sysdeps/pthread/configure.ac: Moved ...
9215         * sysdeps/nptl/configure.ac: ... here.
9216         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
9217         * sysdeps/nptl/gai_misc.h: ... here.
9218         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
9219         * sysdeps/nptl/librt-cancellation.c: ... here.
9220         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
9221         * sysdeps/nptl/malloc-machine.h: ... here.
9222         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
9223         * sysdeps/nptl/pthread-functions.h: ... here.
9224         * nptl/sysdeps/pthread/pthread.h: Moved ...
9225         * sysdeps/nptl/pthread.h: ... here.
9226         * nptl/sysdeps/pthread/setxid.h: Moved ...
9227         * sysdeps/nptl/setxid.h: ... here.
9228         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
9229         * sysdeps/nptl/sigfillset.c: ... here.
9230         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
9231         * sysdeps/nptl/tcb-offsets.h: ... here.
9232         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
9233         * sysdeps/nptl/tst-mqueue8x.c: ... here.
9234         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
9235         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
9236         * nptl/sysdeps/pthread/allocalim.h: Moved ...
9237         * sysdeps/pthread/allocalim.h: ... here.
9238         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
9239         * sysdeps/pthread/bits/sigthread.h: ... here.
9240         * nptl/sysdeps/pthread/flockfile.c: Moved ...
9241         * sysdeps/pthread/flockfile.c: ... here.
9242         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
9243         * sysdeps/pthread/ftrylockfile.c: ... here.
9244         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
9245         * sysdeps/pthread/funlockfile.c: ... here.
9246         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
9247         * sysdeps/pthread/posix-timer.h: ... here.
9248         * nptl/sysdeps/pthread/timer_create.c: Moved ...
9249         * sysdeps/pthread/timer_create.c: ... here.
9250         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
9251         * sysdeps/pthread/timer_delete.c: ... here.
9252         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
9253         * sysdeps/pthread/timer_getoverr.c: ... here.
9254         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
9255         * sysdeps/pthread/timer_gettime.c: ... here.
9256         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
9257         * sysdeps/pthread/timer_routines.c: ... here.
9258         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
9259         * sysdeps/pthread/timer_settime.c: ... here.
9260         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
9261         * sysdeps/pthread/tst-timer.c: ... here.
9262         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
9263         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
9264
9265         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
9266         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
9267
9268         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
9269         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
9270         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
9271         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
9272         Update #include target.
9273         * nptl/sysdeps/i386/i686/Makefile: Moved ...
9274         * sysdeps/i386/i686/nptl/Makefile: ... here.
9275         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
9276         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
9277         Update #include target.
9278         * nptl/sysdeps/i386/i686/tls.h: Moved ...
9279         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
9280         * nptl/sysdeps/i386/Makefile: Moved ...
9281         * sysdeps/i386/nptl/Makefile: ... here.
9282         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
9283         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
9284         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
9285         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
9286         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
9287         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
9288         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
9289         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
9290         * sysdeps/i386/nptl/pthreaddef.h: ... here.
9291         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
9292         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
9293         * nptl/sysdeps/i386/tls.h: Moved ...
9294         * sysdeps/i386/nptl/tls.h: ... here.
9295
9296         * sysdeps/sh/Makefile [$(subdir) = csu]
9297         (gen-as-const-headers): Add tcb-offsets.sym.
9298         * nptl/sysdeps/sh/Makefile: File removed.
9299         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
9300         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
9301         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
9302         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
9303         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
9304         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
9305         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
9306         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
9307         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
9308         * sysdeps/sh/nptl/pthreaddef.h: ... here.
9309         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
9310         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
9311         * nptl/sysdeps/sh/tls.h: Moved ...
9312         * sysdeps/sh/nptl/tls.h: ... here.
9313         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
9314         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
9315         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
9316         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
9317         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
9318         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
9319         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
9320         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
9321         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
9322         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
9323         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
9324         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
9325         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
9326         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
9327         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
9328         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
9329         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
9330         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
9331         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
9332         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
9333         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
9334         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
9335         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
9336         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
9337         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
9338         Moved ...
9339         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
9340         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
9341         Moved ...
9342         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
9343         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
9344         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
9345         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
9346         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
9347         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
9348         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
9349         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
9350         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
9351         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
9352         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
9353         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
9354         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
9355         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
9356         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
9357         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
9358         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
9359         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
9360         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
9361
9362 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
9363
9364         * posix/spawn_faction_addopen.c: Include string.h.
9365
9366 2014-06-11  Roland McGrath  <roland@hack.frob.com>
9367
9368         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
9369         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
9370         * nptl/sysdeps/x86_64/Makefile: Moved ...
9371         * sysdeps/x86_64/nptl/Makefile: ... here.
9372         * nptl/sysdeps/x86_64/configure: Moved ...
9373         * sysdeps/x86_64/nptl/configure: ... here.
9374         * nptl/sysdeps/x86_64/configure.ac: Moved ...
9375         * sysdeps/x86_64/nptl/configure.ac: ... here.
9376         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
9377         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
9378         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
9379         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
9380         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
9381         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
9382         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
9383         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
9384         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
9385         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
9386         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
9387         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
9388         * nptl/sysdeps/x86_64/tls.h: Moved ...
9389         * sysdeps/x86_64/nptl/tls.h: ... here.
9390         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
9391         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
9392         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
9393         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
9394
9395         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
9396
9397 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9398
9399         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9400
9401 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
9402
9403         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
9404         type.
9405         [POSIX] (off_t): Likewise.
9406         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
9407         [POSIX] (S_ISBLK): Require macro.
9408         [POSIX] (S_ISCHR): Likewise.
9409         [POSIX] (S_ISDIR): Likewise.
9410         [POSIX] (S_ISFIFO): Likewise.
9411         [POSIX] (S_ISREG): Likewise.
9412         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
9413         optional-macro.
9414         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
9415         type.
9416         [POSIX] (time_t): Likewise.
9417         [POSIX] (timer_t): Likewise.
9418
9419 2014-06-11  Florian Weimer  <fweimer@redhat.com>
9420
9421         [BZ #17048]
9422         * posix/spawn_int.h (struct __spawn_action): Make the path string
9423         non-const to support deallocation.
9424         * posix/spawn_faction_addopen.c
9425         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
9426         * posix/spawn_faction_destroy.c
9427         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
9428         path in all spawn_do_open actions.
9429         * posix/tst-spawn.c (do_test): Exercise the copy operation in
9430         posix_spawn_file_actions_addopen.
9431
9432 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
9433
9434         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
9435         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
9436         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
9437         conditional code always true.
9438         (__libc_vfork): New alias.
9439
9440 2014-06-11  Roland McGrath  <roland@hack.frob.com>
9441
9442         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9443         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
9444
9445         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
9446
9447         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9448         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
9449
9450         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
9451         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
9452
9453         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9454         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
9455
9456 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
9457
9458         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
9459         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
9460         multiarch strcmp for PPC64.
9461         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
9462         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
9463         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
9464         multiarch optimizations.
9465         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9466         (__libc_ifunc_impl_list): Likewise.
9467
9468 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
9469
9470         * benchtests/scripts/validate_benchout.py: New script.
9471         * benchtests/Makefile (bench-func): Call it.
9472         * benchtests/scripts/benchout.schema.json: New file.
9473
9474 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
9475
9476         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
9477         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
9478         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
9479         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
9480         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
9481         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
9482         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
9483         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
9484         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
9485         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
9486         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
9487         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
9488         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
9489         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
9490         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
9491         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
9492         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
9493         Moved ...
9494         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
9495         ... here.
9496         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
9497         Moved ...
9498         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
9499         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
9500         Moved ...
9501         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
9502         ... here.
9503         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
9504         Moved ...
9505         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
9506         ... here.
9507         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
9508         Moved ...
9509         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
9510         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
9511         Moved ...
9512         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
9513         ... here.
9514         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
9515         Moved ...
9516         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
9517         ... here.
9518         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
9519         Moved ...
9520         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
9521         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
9522         Moved ...
9523         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
9524         ... here.
9525         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
9526         Moved ...
9527         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
9528         ... here.
9529         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
9530         Moved ...
9531         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
9532         ... here.
9533         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
9534         Moved ...
9535         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
9536         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
9537         Moved ...
9538         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
9539         ... here.
9540         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
9541         Moved ...
9542         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
9543         ... here.
9544         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
9545         Moved ...
9546         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
9547         ... here.
9548         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
9549         Moved ...
9550         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
9551         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
9552         Moved ...
9553         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
9554         ... here.
9555         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
9556         Moved ...
9557         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
9558         ... here.
9559         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
9560         Moved ...
9561         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
9562         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
9563         Moved ...
9564         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
9565         ... here.
9566         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
9567         Moved ...
9568         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
9569         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
9570         Moved ...
9571         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
9572         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
9573         Moved ...
9574         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
9575         ... here.
9576         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
9577         Moved ...
9578         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
9579         ... here.
9580         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
9581         Moved ...
9582         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
9583         ... here.
9584         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
9585         Moved ...
9586         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
9587         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
9588         Moved ...
9589         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
9590         ... here.
9591         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
9592         Moved ...
9593         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
9594         ... here.
9595         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
9596         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
9597         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
9598         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
9599         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
9600         Moved ...
9601         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
9602         ... here.
9603         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
9604         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
9605         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
9606         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
9607         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
9608         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
9609         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
9610         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
9611         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
9612         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
9613         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
9614         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
9615         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
9616         Moved ...
9617         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
9618         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
9619         Moved ...
9620         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
9621         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
9622         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
9623         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
9624         Moved ...
9625         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
9626         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
9627         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
9628         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
9629         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
9630         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
9631         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
9632
9633 2014-06-10  Wilco  <wdijkstr@arm.com>
9634
9635         * math/test-fenv-return.c: New file.
9636         * math/Makefile: Add new test test-fenv-return.
9637
9638 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
9639
9640         [BZ #17042]
9641         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
9642         when x - 1 is zero.
9643         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
9644         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
9645         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
9646         0.0L for an argument of 1.0L.
9647         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
9648         Likewise.
9649         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
9650         value when x - 1 is zero.
9651         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
9652         * sysdeps/i386/fpu/libm-test-ulps: Update.
9653         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9654
9655 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
9656
9657         [BZ #15119]
9658         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
9659
9660 2014-06-09  Roland McGrath  <roland@hack.frob.com>
9661
9662         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
9663         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
9664
9665 2014-06-09  Roland McGrath  <roland@hack.frob.com>
9666
9667         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9668         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
9669
9670         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9671         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
9672
9673         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9674         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
9675
9676         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9677         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
9678
9679         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
9680         if not already defined.
9681         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
9682         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
9683         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
9684         (TLS_INIT_TP): Use it.
9685         (TLS_DEFINE_INIT_TP): New macro.
9686         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
9687
9688 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
9689
9690         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
9691         constant.
9692         [POSIX] (IXANY): Likewise.
9693         [POSIX] (OLCUC): Likewise.
9694         [POSIX || POSIX2008] (CBAUD): Do not allow.
9695         [POSIX || POSIX2008] (DEFECHO): Likewise.
9696         [POSIX || POSIX2008] (ECHOCTL): Likewise.
9697         [POSIX || POSIX2008] (ECHOKE): Likewise.
9698         [POSIX || POSIX2008] (ECHOPRT): Likewise.
9699         [POSIX || POSIX2008] (EXTA): Likewise.
9700         [POSIX || POSIX2008] (EXTB): Likewise.
9701         [POSIX || POSIX2008] (FLUSHO): Likewise.
9702         [POSIX || POSIX2008] (LOBLK): Likewise.
9703         [POSIX || POSIX2008] (PENDIN): Likewise.
9704         [POSIX || POSIX2008] (SWTCH): Likewise.
9705         [POSIX || POSIX2008] (VDISCARD): Likewise.
9706         [POSIX || POSIX2008] (VDSUSP): Likewise.
9707         [POSIX || POSIX2008] (VLNEXT): Likewise.
9708         [POSIX || POSIX2008] (VREPRINT): Likewise.
9709         [POSIX || POSIX2008] (VSTATUS): Likewise.
9710         [POSIX || POSIX2008] (VWERASE): Likewise.
9711         (B*): Change to B[0123456789]*.
9712         * conform/data/time.h-data [POSIX || UNIX98]
9713         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
9714         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
9715         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
9716         [POSIX] (tm_*): Do not allow.
9717
9718 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
9719
9720         * Makefile (install): Don't set LANGUAGE.
9721         * Makefile.in (install): Likewise.
9722         * assert/Makefile (test-assert-ENV): Remove variable.
9723         (test-assert-perr-ENV): Likewise.
9724         * elf/Makefile (neededtest4-ENV): Likewise.
9725         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
9726         [$(cross-compiling) = no]: Don't set LANGUAGE.
9727         * io/ftwtest-sh (LANG): Remove variable.
9728         * libio/Makefile (tst-widetext-ENV): Likewise.
9729         * manual/install.texi (Running make install): Don't refer to
9730         environment settings for make install.
9731         * INSTALL: Regenerated.
9732         * nptl/tst-tls6.sh: Don't set LANG.
9733         * posix/globtest.sh (LANG): Remove variable.
9734         * string/Makefile (tester-ENV): Likewise.
9735         (inl-tester-ENV): Likewise.
9736         (noinl-tester-ENV): Likewise.
9737         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
9738         [$(cross-compiling) = no]: Don't set LANGUAGE.
9739         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
9740         without explicit environment settings.
9741
9742 2014-06-06  Roland McGrath  <roland@hack.frob.com>
9743
9744         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
9745         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
9746         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
9747         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
9748
9749 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
9750
9751         * crypt/crypt-private.h [DOS]: Add some includes taken from the
9752         other files in the crypt directory.
9753         * crypt/crypt.c: Remove duplicate includes.
9754         * crypt/crypt-entry.c: Likewise.
9755         * crypt/crypt_util.c: Likewise.
9756
9757 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
9758
9759         * Makeconfig (run-program-env): New variable.
9760         (run-program-prefix-before-env): Likewise.
9761         (run-program-prefix-after-env): Likewise.
9762         (run-program-prefix): Define in terms of new variables.
9763         (built-program-cmd-before-env): New variable.
9764         (built-program-cmd-after-env): Likewise.
9765         (built-program-cmd): Define in terms of new variables.
9766         (test-program-prefix-before-env): New variable.
9767         (test-program-prefix-after-env): Likewise.
9768         (test-program-prefix): Define in terms of new variables.
9769         (test-program-cmd-before-env): New variable.
9770         (test-program-cmd-after-env): Likewise.
9771         (test-program-cmd): Define in terms of new variables.
9772         * Rules (make-test-out): Use $(run-program-env).
9773         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
9774         (help): Do not mention environment variables.  Mention
9775         --timeoutfactor option.
9776         (timeoutfactor): New variable.
9777         (blacklist_exports): Remove function.
9778         (exports): Remove variable.
9779         (command): Do not include ${exports}.
9780         * manual/install.texi (Configuring and compiling): Do not mention
9781         test wrappers preserving environment variables.  Mention that last
9782         assignment to a variable must take precedence.
9783         * INSTALL: Regenerated.
9784         * benchtests/Makefile (run-bench): Use $(run-program-env).
9785         * catgets/Makefile ($(objpfx)test1.cat): Use
9786         $(built-program-cmd-before-env), $(run-program-env) and
9787         $(built-program-cmd-after-env).
9788         ($(objpfx)test2.cat): Do not specify environment variables
9789         explicitly.
9790         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
9791         $(run-program-env) and $(built-program-cmd-after-env).
9792         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
9793         $(run-program-env) and $(test-program-cmd-after-env).
9794         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
9795         explicitly.
9796         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
9797         run_program_env and test_program_cmd_after_env arguments.
9798         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
9799         * elf/tst-pathopt.sh: Use run_program_env argument.
9800         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
9801         $(test-wrapper-env) and $(run-program-env).
9802         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
9803         run_program_env arguments.
9804         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
9805         * intl/Makefile ($(objpfx)tst-gettext.out): Use
9806         $(test-program-prefix-before-env), $(run-program-env) and
9807         $(test-program-prefix-after-env).
9808         ($(objpfx)tst-gettext2.out): Likewise.
9809         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
9810         run_program_env and test_program_prefix_after_env arguments.
9811         * intl/tst-gettext2.sh: Likewise.
9812         * intl/tst-gettext4.sh: Do not set environment variables
9813         explicitly.
9814         * intl/tst-gettext6.sh: Likewise.
9815         * intl/tst-translit.sh: Likewise.
9816         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
9817         $(test-program-prefix-before-env), $(run-program-env) and
9818         $(test-program-prefix-after-env).
9819         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
9820         run_program_env and test_program_prefix_after_env arguments.
9821         * math/Makefile (run-regen-ulps): Use $(run-program-env).
9822         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
9823         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
9824         explicitly with each use of ${test_wrapper_env}.
9825         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
9826         $(test-program-prefix-before-env), $(run-program-env) and
9827         $(test-program-prefix-after-env).
9828         * posix/tst-getconf.sh: Do not set environment variables
9829         explicitly.
9830         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
9831         run_program_env and test_program_prefix_after_env arguments.
9832         * stdio-common/tst-printf.sh: Do not set environment variables
9833         explicitly.
9834         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
9835         $(test-program-prefix-before-env), $(run-program-env) and
9836         $(test-program-prefix-after-env).
9837         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
9838         run_program_env and test_program_prefix_after_env arguments.
9839         Split $test calls into $test_pre and $test.
9840         * timezone/Makefile (build-testdata): Use
9841         $(built-program-cmd-before-env), $(run-program-env) and
9842         $(built-program-cmd-after-env).
9843
9844 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9845
9846         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
9847         strlen for non SHARED builds.
9848
9849 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
9850
9851         * nptl/allocatestack.c (check_list): Inlined function...
9852         (__reclaim_stacks): ... here.
9853
9854 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
9855
9856         [BZ #15698]
9857         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
9858         memory overrun.
9859
9860 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
9861
9862         * Rules (make-test-out): Include
9863         LOCPATH=$(common-objpfx)localedata in default environment.
9864         * debug/Makefile (tst-chk1-ENV): Remove variable.
9865         (tst-chk2-ENV): Likewise.
9866         (tst-chk3-ENV): Likewise.
9867         (tst-chk4-ENV): Likewise.
9868         (tst-chk5-ENV): Likewise.
9869         (tst-chk6-ENV): Likewise.
9870         (tst-lfschk1-ENV): Likewise.
9871         (tst-lfschk2-ENV): Likewise.
9872         (tst-lfschk3-ENV): Likewise.
9873         (tst-lfschk4-ENV): Likewise.
9874         (tst-lfschk5-ENV): Likewise.
9875         (tst-lfschk6-ENV): Likewise.
9876         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
9877         (tst-iconv7-ENV): Likewise.
9878         * intl/Makefile (LOCPATH-ENV): Likewise.
9879         (tst-codeset-ENV): Likewise.
9880         (tst-gettext3-ENV): Likewise.
9881         (tst-gettext5-ENV): Likewise.
9882         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
9883         (tst-fopenloc-ENV): Likewise.
9884         (tst-fgetws-ENV): Remove variable.
9885         (tst-ungetwc1-ENV): Likewise.
9886         (tst-ungetwc2-ENV): Likewise.
9887         (bug-ungetwc2-ENV): Likewise.
9888         (tst-swscanf-ENV): Likewise.
9889         (bug-ftell-ENV): Likewise.
9890         (tst-fgetwc-ENV): Likewise.
9891         (tst-fseek-ENV): Likewise.
9892         (tst-ftell-partial-wide-ENV): Likewise.
9893         (tst-ftell-active-handler-ENV): Likewise.
9894         (tst-ftell-append-ENV): Likewise.
9895         * posix/Makefile (tst-fnmatch-ENV): Likewise.
9896         (tst-regexloc-ENV): Likewise.
9897         (bug-regex1-ENV): Likewise.
9898         (tst-regex-ENV): Likewise.
9899         (tst-regex2-ENV): Likewise.
9900         (bug-regex5-ENV): Likewise.
9901         (bug-regex6-ENV): Likewise.
9902         (bug-regex17-ENV): Likewise.
9903         (bug-regex18-ENV): Likewise.
9904         (bug-regex19-ENV): Likewise.
9905         (bug-regex20-ENV): Likewise.
9906         (bug-regex22-ENV): Likewise.
9907         (bug-regex23-ENV): Likewise.
9908         (bug-regex25-ENV): Likewise.
9909         (bug-regex26-ENV): Likewise.
9910         (bug-regex30-ENV): Likewise.
9911         (bug-regex32-ENV): Likewise.
9912         (bug-regex33-ENV): Likewise.
9913         (bug-regex34-ENV): Likewise.
9914         (bug-regex35-ENV): Likewise.
9915         (tst-rxspencer-ENV): Likewise.
9916         (tst-rxspencer-no-utf8-ENV): Likewise.
9917         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
9918         (tst-sscanf-ENV): Likewise.
9919         (tst-swprintf-ENV): Likewise.
9920         (tst-swscanf-ENV): Likewise.
9921         (test-vfprintf-ENV): Likewise.
9922         (scanf13-ENV): Likewise.
9923         (bug14-ENV): Likewise.
9924         (tst-grouping-ENV): Likewise.
9925         * stdlib/Makefile (tst-strtod-ENV): Likewise.
9926         (tst-strtod3-ENV): Likewise.
9927         (tst-strtod4-ENV): Likewise.
9928         (tst-strtod5-ENV): Likewise.
9929         (testmb2-ENV): Likewise./
9930         * string/Makefile (tst-strxfrm-ENV): Likewise.
9931         (tst-strxfrm2-ENV): Likewise.
9932         (bug-strcoll1-ENV): Likewise.
9933         (test-strcasecmp-ENV): Likewise.
9934         (test-strncasecmp-ENV): Likewise.
9935         * time/Makefile (tst-strptime-ENV): Likewise.
9936         (tst-ftime_l-ENV): Likewise.
9937         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
9938         (tst-mbrtowc-ENV): Likewise.
9939         (tst-wcrtomb-ENV): Likewise.
9940         (tst-mbrtowc2-ENV): Likewise.
9941         (tst-c16c32-1-ENV): Likewise.
9942         (tst-mbsnrtowcs-ENV): Likewise.
9943
9944 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
9945
9946         * manual/resource.texi (How to get information about the memory
9947         subsystem?): Fix typo.
9948         Reported by Peon de la Parra Ivan <peon@keba.com>
9949
9950 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
9951
9952         [BZ #16882]
9953         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
9954         (pthread_spin_lock): Branch out of spin loop to proper location.
9955         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
9956         (pthread_spin_lock): Likewise.
9957
9958         * nptl/tst-spin4.c: New test.
9959         * nptl/Makefile (tests): Add tst-spin4.
9960
9961 2014-06-03  Andreas Schwab  <schwab@suse.de>
9962
9963         [BZ #15946]
9964         * resolv/res_send.c (send_dg): Reload file descriptor after
9965         calling reopen.
9966
9967 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
9968
9969         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9970
9971 2014-06-03  Richard Henderson  <rth@redhat.com>
9972
9973         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
9974         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
9975         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
9976         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
9977         in the SAVE_PID block.
9978         (__libc_vfork): New alias.
9979         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
9980
9981         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
9982         child in registers, not on the stack.  Remove RESET_PID conditionals.
9983         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
9984
9985 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
9986
9987         * sysdeps/aarch64/libm-test-ulps: Regenerate.
9988
9989 2014-06-03  Wilco  <wdijkstr@arm.com>
9990
9991         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
9992         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
9993         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
9994         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
9995         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
9996         Likewise.
9997
9998 2014-06-03  Wilco  <wdijkstr@arm.com>
9999
10000         * sysdeps/aarch64/fpu/math_private.h
10001         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
10002         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
10003         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
10004         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
10005         Fix declarations.
10006
10007 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
10008
10009         * crypt/crypt-private.h: Include ufc-crypt.h.
10010         (__b64_from_24bit): Declare extern.
10011         * crypt/crypt_util.c(__b64_from_24bit): New function.
10012         (b64t): New static const variable.
10013         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
10014         (b64t): Remove variable.
10015         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
10016         * crypt/sha256-crypt.c: Include crypt-private.h.
10017         (b64t): Remove variable.
10018         (__sha256_crypt_r): Remove b64_from_24bit and replace
10019         with __b64_from_24bit.
10020         * crypt/sha512-crypt.c: Likewise.
10021
10022 2014-06-02  Roland McGrath  <roland@hack.frob.com>
10023
10024         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
10025         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
10026         Label the code __libc_vfork rather than __vfork.
10027         [!NOT_IN_libc] (vfork): Define as weak alias.
10028         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
10029         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
10030         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
10031
10032 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
10033
10034         * malloc/malloc.c (malloc_info): Fix format specifier for
10035         n_mmaps.
10036
10037 2014-06-02  Wilco  <wdijkstr@arm.com>
10038
10039         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
10040         FPCR write.
10041
10042 2014-06-02  Wilco  <wdijkstr@arm.com>
10043
10044         [BZ #17009]
10045         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
10046         Rewrite to reduce FPCR/FPSR accesses.
10047
10048 2014-06-01  David S. Miller  <davem@davemloft.net>
10049
10050         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10051
10052 2014-05-31  David S. Miller  <davem@davemloft.net>
10053
10054         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
10055         to occur in round to nearest mode when |x| >= 2.0
10056
10057 2014-05-30  Richard Henderson  <rth@twiddle.net>
10058
10059         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
10060         (PSEUDO_RET_NOERRNO): Remove.
10061         (ret): Don't redefine.
10062         (ret_NOERRNO): Define in terms of ret.
10063         (ret_ERRVAL): Likewise.
10064
10065         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
10066         use of PSEUDO_RET; perform the error check directly.
10067
10068 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
10069
10070         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
10071         with __int128_t.
10072
10073 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
10074
10075         * malloc/malloc (malloc_info): Fix formatting.
10076
10077 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
10078             Roland McGrath  <roland@hack.frob.com>
10079
10080         * malloc/malloc (malloc_info): Also print mmapped statistics.
10081
10082 2014-05-30  Roland McGrath  <roland@hack.frob.com>
10083
10084         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
10085         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
10086
10087 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
10088
10089         * malloc/malloc.c (malloc_info): Inline mi_arena.
10090
10091 2014-05-29  Richard Henderson  <rth@twiddle.net>
10092
10093         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
10094         Remove comma before expanding ASM_ARGS_##nr.
10095         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
10096         Make _x0 a strict output; make _x8 a strict input; adjust expansion
10097         of ASM_ARGS_##nr.
10098         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
10099         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
10100         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
10101         (ASM_ARGS_1): Add leading comma.
10102
10103         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
10104         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
10105         to __errno_location.
10106         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
10107         Remove the expected plt for __errno_location.
10108
10109         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10110         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
10111         call to __read_tp.
10112
10113         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10114         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
10115         it and break it down.
10116         (DOCARGS_0, DOCARGS_1): Do nothing.
10117         (DOCARGS_2): Update to store into the new stack frame.
10118         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
10119         (UNDOCARGS_1): Update to restore from the new stack frame.
10120         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
10121         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
10122
10123         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10124         (SINGLE_THREAD_P): New parameter for result regno.
10125         (PSEUDO): Update to match; use cbz instead of beq.
10126
10127         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10128         Use ENTRY to define the _nocancel entry point.  Share the syscall
10129         and syscall error check paths with the cancel path.
10130         (PSEUDO_END): New.
10131
10132         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
10133         whitespace; tabs before and after asm mnemonics.
10134
10135 2014-05-29  Eric Wong  <normalperson@yhbt.net>
10136
10137         [BZ #15132]
10138         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10139         Call fstat64 or stat64 internally, depending on arguments passed.
10140         Replace stat buffer argument with file descriptor argument.
10141         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
10142         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
10143         Pass fd to __internal_statvfs instead of calling fstat64.
10144         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
10145         Pass fd to __internal_statvfs64 instead of calling fstat64.
10146         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
10147         Pass -1 to __internal_statvfs instead of calling stat64.
10148         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
10149         Pass -1 to __internal_statvfs64 instead of calling stat64.
10150
10151 2014-05-28  Roland McGrath  <roland@hack.frob.com>
10152
10153         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
10154         that was previously under [RESET_PID].
10155         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
10156
10157         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
10158         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
10159
10160 2014-05-27  Roland McGrath  <roland@hack.frob.com>
10161
10162         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
10163
10164         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
10165         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
10166
10167 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
10168
10169         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
10170
10171 2014-05-27  Andreas Schwab  <schwab@suse.de>
10172
10173         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
10174         TLS_INIT_TP macro.
10175         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
10176         * elf/rtld.c (init_tls, dl_main): Likewise.
10177         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
10178         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
10179         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
10180         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
10181         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
10182         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
10183         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
10184         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
10185         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
10186         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
10187         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
10188         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
10189         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
10190         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
10191         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
10192         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
10193         * sysdeps/generic/tls.h: Update description.
10194
10195 2014-05-27  Will Newton  <will.newton@linaro.org>
10196
10197         [BZ #16990]
10198         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
10199         and restore r2 rather than just restoring.
10200
10201 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
10202
10203         [BZ #16724]
10204         * libio/tst-ftell-append.c: New test case.
10205         * libio/Makefile (tests): Add test case.
10206         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
10207         append mode.
10208         * libio/wfileops.c (do_ftell_wide): Likewise.
10209
10210 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10211
10212         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10213
10214         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
10215         ...
10216         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
10217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
10218         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
10219         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
10220         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
10221         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
10222         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
10223         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
10224         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
10225         Moved ...
10226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
10227         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
10228         Moved ...
10229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
10230         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
10231         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
10232         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
10233         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
10234         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
10235         ...
10236         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
10237         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
10238         Moved ...
10239         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
10240         here.
10241         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
10242         ...
10243         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
10244         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
10245         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
10246
10247         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
10248         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
10249         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
10250         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
10251
10252         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
10253         merge into ...
10254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
10255         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
10256         ...
10257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
10258         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
10259         ...
10260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
10261         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
10262         Moved ...
10263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
10264         here.
10265         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
10266         Moved ...
10267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
10268         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
10269         Moved ...
10270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
10271
10272         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
10273         conditional [RESET_PID].
10274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
10275         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
10276         removed.
10277         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
10278         removed.
10279
10280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
10281         <tcb-offsets.h>.
10282         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10283         (__libc_vfork): New strong alias.
10284         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
10285         removed.
10286         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
10287         Removed.
10288
10289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
10290         <tcb-offsets.h>.
10291         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
10292         (__libc_vfork): New strong alias.
10293         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
10294         removed.
10295         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
10296         removed.
10297
10298 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
10299
10300         * malloc/malloc.c (mi_arena): New function.
10301         (malloc_info): Remove nested function mi_arena. Call non-nosted
10302         function mi_arena.
10303
10304 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10305
10306         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
10307         by insrwi.
10308         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
10309         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
10310         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
10311         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
10312         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
10313         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
10314         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
10315
10316 2014-05-26  Andreas Schwab  <schwab@suse.de>
10317
10318         [BZ #16984]
10319         * locale/programs/repertoire.c (repertoire_read): Add slash
10320         between I18NPATH element and file name.
10321         * locale/programs/locfile.c (locfile_read): Likewise.
10322
10323 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
10324
10325         * nptl/pthread_mutexattr_settype.c
10326         (__pthread_mutexattr_settype):
10327         Disable lock elision for PTHREAD_MUTEX_NORMAL.
10328
10329 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
10330
10331         * nptl/tst-mutex5 (do_test):
10332         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
10333
10334 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
10335
10336         * benchtests/README: Document 'init' directive.
10337         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
10338         BENCH_INIT.
10339         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
10340         (parse_file): Recognize 'init' directive.
10341
10342 2014-05-26  Kyle McMartin  <kyle@redhat.com>
10343
10344         [BZ #16796]
10345         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
10346         alignment of struct pthread.
10347
10348 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
10349
10350         [BZ #16878]
10351         * nscd/netgroupcache.c (addgetnetgrentX): Look for
10352         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
10353         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
10354         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
10355
10356 2014-05-25  Richard Henderson  <rth@twiddle.net>
10357
10358         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10359         (SINGLE_THREAD_P_PIC): Remove.
10360         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
10361         (SINGLE_THREAD_P_PIC): Remove.
10362
10363         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
10364         branch to syscall error ...
10365         (PSEUDO): ... here.
10366         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
10367         from __local_syscall_error to .Lsyscall_error.
10368         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
10369         (SYSCALL_ERROR): Update label name.
10370
10371         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10372         Do not use DOARGS/UNDOARGS.
10373         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
10374         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
10375         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
10376         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
10377         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
10378
10379         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
10380         block comment.
10381
10382         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
10383         define if !NOT_IN_libc.
10384         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
10385         define with non-default symbol versions.
10386
10387 2014-05-23  Richard Henderson  <rth@twiddle.net>
10388
10389         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
10390         (vfork, __vfork): Define via compat_symbol.
10391
10392         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
10393         [!HAVE_IFUNC] (vfork_compat): Remove.
10394         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
10395
10396 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
10397
10398         [BZ #16978]
10399         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
10400         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
10401         variable.
10402
10403 2014-05-23  Richard Henderson  <rth@twiddle.net>
10404
10405         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
10406         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
10407         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
10408         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
10409
10410         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
10411         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
10412         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
10413         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
10414         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
10415         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
10416         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
10417         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
10418         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
10419         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
10420         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
10421         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
10422         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
10423         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
10424         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
10425         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
10426         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
10427         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
10428         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
10429         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
10430         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
10431         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
10432         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
10433         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
10434         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
10435         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
10436         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
10437         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
10438         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
10439         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
10440         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
10441         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
10442         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
10443         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
10444         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
10445         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
10446         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
10447         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
10448         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
10449         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
10450         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
10451         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
10452         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
10453         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
10454         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
10455         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
10456         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
10457         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
10458         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
10459         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
10460         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
10461         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
10462         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
10463         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
10464         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
10465         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
10466
10467         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
10468         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
10469         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
10470         before exiting on error.
10471         (__libc_vfork): New strong alias.
10472         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
10473         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
10474
10475         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
10476         that was previously under [RESET_PID].
10477         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
10478
10479         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
10480
10481 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
10482
10483         [BZ #16977]
10484         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
10485         value when x - 1 is zero.
10486         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
10487         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
10488         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
10489         0.0L for an argument of 1.0L.
10490         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
10491         Likewise.
10492         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
10493         value when x - 1 is zero.
10494         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
10495         * sysdeps/i386/fpu/libm-test-ulps: Update.
10496         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10497
10498 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
10499
10500         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
10501         alphasort and versionsort.
10502
10503 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10504
10505         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
10506         macro.
10507         [copysignf]: Likewise.
10508
10509 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
10510
10511         * crypt/md5-crypt.c: Fix formatting.
10512
10513 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
10514
10515         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
10516         (b64_from_24bit): New function.
10517
10518 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10519
10520         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
10521         libc_hidden_builtin_def to ifunc.
10522         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
10523         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
10524
10525 2014-05-21  Roland McGrath  <roland@hack.frob.com>
10526
10527         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
10528         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
10529
10530 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
10531
10532         * nscd/Depend (linuxthreads): Remove.
10533         (nptl): Add.
10534         * resolv/Depend (linuxthreads): Remove.
10535         * rt/Depend (linuxthreads): Remove.
10536
10537         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
10538         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
10539         $(common-objpfx)elf/.
10540         (link-libc-before-gnulib): Likewise.
10541         (elfobjdir): Remove variable.
10542         * Makefile (install): Use $(elf-objpfx) instead of
10543         $(common-objpfx)elf/.
10544         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
10545         $(elfobjdir)/.
10546         (link-libc-deps): Likewise.
10547         ($(common-objpfx)libc.so): Likewise.
10548         ($(common-objpfx)linkobj/libc.so): Likewise.
10549         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
10550         instead of $(common-objpfx)elf/.
10551         (symbolic-link-list): Likewise.
10552         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
10553         [$(cross-compiling) = no]: Likewise.
10554         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
10555         $(elfobjdir)/.
10556         (static-gnulib-arch): Likewise.
10557         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
10558         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
10559         $(common-objpfx)elf/.
10560
10561 2014-05-21  Richard Henderson  <rth@redhat.com>
10562
10563         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10564         (SINGLE_THREAD_P): Use the correct width load.  Fold
10565         into the ldr offset.
10566
10567         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
10568         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
10569
10570 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
10571
10572         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
10573         (libgcc_s_resume): Use __attribute_used__.
10574         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
10575         Likewise.
10576
10577 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10578
10579         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
10580         optimization when used with float constants.
10581
10582         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10583
10584 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
10585
10586         [BZ #16915]
10587         * locale/nl_langinfo_l.c: Make direct reference to every
10588         _nl_current_CATEGORY symbol.
10589         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
10590         (tests-static): Add tst-langinfo-static.
10591         (tests-special): Add tst-langinfo-static.out.
10592         ($(objpfx)tst-langinfo.out): Redirect output.
10593         ($(objpfx)tst-langinfo-static.out): New.
10594         * localedata/tst-langinfo.sh: Send output to stdout.
10595         * localedata/tst-langinfo-static.c: New file.
10596
10597         [BZ #16965]
10598         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
10599         when the shift amount is modulo the limb size.
10600
10601 2014-05-20  Richard Henderson  <rth@redhat.com>
10602
10603         [BZ #16967]
10604         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
10605         Change type of sa_flags from unsigned int to int.
10606
10607         [BZ #16966]
10608         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
10609
10610         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
10611
10612 2014-05-20  Will Newton  <will.newton@linaro.org>
10613
10614         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10615         Test the return value of the system call in the nocancel case.
10616
10617 2014-05-20  Will Newton  <will.newton@linaro.org>
10618             Yvan Roux  <yvan.roux@linaro.org>
10619
10620         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
10621         #include of asm/ptrace.h.
10622         (PTRACE_GET_THREAD_AREA): Remove #undef.
10623         (PTRACE_GETHBPREGS): Likewise.
10624         (PTRACE_SETHBPREGS): Likewise.
10625         (struct user_regs_struct): New structure.
10626         (struct user_fpsimd_struct): New structure.
10627         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
10628         #include of asm/ptrace.h and second #include of sys/user.h.
10629         (PTRACE_GET_THREAD_AREA): Remove #undef.
10630         (PTRACE_GETHBPREGS): Likewise.
10631         (PTRACE_SETHBPREGS): Likewise.
10632         (ELF_NGREG): Use new struct user_regs_struct.
10633         (elf_fpregset_t): Use new struct user_fpsimd_struct.
10634
10635 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10636
10637         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
10638         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
10639
10640 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
10641
10642         [BZ #16958]
10643         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
10644         membar to avoid block loads/stores to overlap previous stores.
10645
10646 2014-05-17  Richard Henderson  <rth@redhat.com>
10647
10648         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
10649         Create the __##syscall_name##_nocancel entry point.
10650         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
10651         Remove; let the sysdep-cancel.h code create it.
10652
10653 2014-05-17  David S. Miller  <davem@davemloft.net>
10654
10655         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
10656         Protect with __USE_GNU.
10657         (TIOCSET_TEMPT): Likewise.
10658         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
10659         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
10660         these are already provided in bits/ioctl-types.h
10661
10662 2014-05-16  Roland McGrath  <roland@hack.frob.com>
10663
10664         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
10665         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
10666
10667         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
10668         Use wait4 regardless of [__NR_waitpid].
10669
10670 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
10671
10672         PR libgcc/60166
10673         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
10674         (_FP_NANSIGN_Q): Set the quiet bit.
10675
10676 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
10677
10678         * benchtests/Makefile
10679         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
10680         not $(common-objpfx)math/libm.so.
10681         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
10682         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
10683         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
10684         $(common-objpfx)dlfcn/libdl.so.
10685         ($(objpfx)tst-audit8): Depend on $(libm), not
10686         $(common-objpfx)math/libm.so.
10687         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
10688         not $(common-objpfx)dlfcn/libdl.so.
10689         * math/Makefile
10690         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
10691         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
10692         [$(build-shared) = yes].
10693         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
10694         $(common-objpfx)nptl/libpthread.so.
10695         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
10696         $(common-objpfx)math/libm.so$(libm.so-version) or
10697         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
10698         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
10699         $(common-objpfx)dlfcn/libdl.so.
10700         * setjmp/Makefile (link-libm): Remove variable.
10701         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
10702         * stdio-common/Makefile (link-libm): Remove variable.
10703         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
10704         * stdlib/Makefile (link-libm): Remove variable.
10705         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
10706         ($(objpfx)tst-strtod-round): Likewise.
10707         ($(objpfx)tst-tininess): Likewise.
10708         ($(objpfx)tst-strtod-underflow): Likewise.
10709         ($(objpfx)tst-strtod6): Likewise.
10710         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
10711         $(libdl), not $(common-objpfx)nptl/libpthread.so and
10712         $(common-objpfx)dlfcn/libdl.so.
10713
10714 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10715
10716         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
10717         BSD terminal modes definitions.
10718
10719 2014-05-16  Roland McGrath  <roland@hack.frob.com>
10720
10721         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
10722         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
10723
10724         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
10725         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
10726         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
10727         Don't do #include_next.
10728         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
10729         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
10730         Don't do #include_next.
10731         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
10732         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
10733         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
10734         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
10735
10736 2014-05-16  Allan McRae  <allan@archlinux.org>
10737
10738         * po/sv.po: Update Swedish translation from translation project.
10739
10740         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
10741         in sed expression.
10742
10743 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
10744
10745         [BZ #16917]
10746         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
10747         errno if the TIOCGPTN ioctl fails with an error different than
10748         EINVAL.
10749         * login/tst-ptsname.c: New file.
10750         * login/Makefile (tests): Add tst-ptsname.
10751
10752         [BZ #16943]
10753         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
10754         and prlimit64.
10755
10756 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
10757
10758         [BZ #16849]
10759         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
10760         herrno to return EAI_AGAIN.
10761
10762 2014-05-14  Roland McGrath  <roland@hack.frob.com>
10763
10764         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
10765         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
10766         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
10767         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
10768         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
10769         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
10770         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
10771         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
10772         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
10773         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
10774         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
10775         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
10776         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
10777         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
10778         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
10779         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
10780         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
10781         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
10782         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
10783         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
10784         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
10785         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
10786         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
10787         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
10788         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
10789         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
10790         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
10791         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
10792         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
10793         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
10794         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
10795         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
10796         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
10797         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
10798         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
10799         Moved ...
10800         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
10801         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
10802         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
10803         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
10804         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
10805         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
10806         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
10807         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
10808         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
10809         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
10810         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
10811         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
10812         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
10813         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
10814         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
10815         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
10816         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
10817         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
10818         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
10819         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
10820         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
10821         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
10822         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
10823         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
10824         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
10825         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
10826         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
10827         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
10828         Moved ...
10829         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
10830         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
10831         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
10832         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
10833         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
10834         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
10835         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
10836         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
10837         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
10838         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
10839         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
10840         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
10841         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
10842         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
10843         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
10844         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
10845         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
10846         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
10847         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
10848         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
10849         Moved ...
10850         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
10851         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
10852         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
10853
10854         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
10855         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
10856         (libpthread-sysdep_routines): Add elision-related stuff here instead.
10857         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
10858         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
10859         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
10860         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
10861         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
10862         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
10863         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
10864         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
10865         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
10866         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
10867         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
10868         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
10869         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
10870         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
10871         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
10872         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
10873         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
10874         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
10875         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
10876         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
10877         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
10878         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
10879         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
10880         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
10881         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
10882         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
10883         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
10884         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
10885
10886         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
10887         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
10888
10889         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
10890         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
10891         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
10892         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
10893         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
10894         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
10895         Moved ...
10896         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
10897         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
10898         Moved ...
10899         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
10900         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
10901         Moved ...
10902         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
10903         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
10904         Moved ...
10905         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
10906         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
10907         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
10908         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
10909         Moved ...
10910         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
10911         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
10912         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
10913         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
10914         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
10915         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
10916         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
10917         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
10918         Moved ...
10919         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
10920         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
10921         Moved ...
10922         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
10923         ... here.
10924         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
10925         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
10926         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
10927         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
10928         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
10929         Moved ...
10930         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
10931         ... here.
10932         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
10933         Moved ...
10934         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
10935         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
10936         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
10937         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
10938         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
10939         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
10940         Moved ...
10941         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
10942         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
10943         Moved ...
10944         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
10945         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
10946         Moved ...
10947         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
10948         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
10949         Moved ...
10950         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
10951         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
10952         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
10953         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
10954         Moved ...
10955         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
10956         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
10957         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
10958         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
10959         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
10960         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
10961         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
10962         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
10963         Moved ...
10964         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
10965         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
10966         Moved ...
10967         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
10968         ... here.
10969         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
10970         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
10971         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
10972         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
10973         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
10974         Moved ...
10975         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
10976         ... here.
10977         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
10978         Moved ...
10979         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
10980         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
10981         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
10982         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
10983         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
10984         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
10985         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
10986         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
10987         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
10988         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
10989         Moved ...
10990         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
10991         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
10992         Moved ...
10993         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
10994         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
10995         Moved ...
10996         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
10997         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
10998         Moved ...
10999         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
11000         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
11001         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
11002         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
11003         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
11004         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
11005         Moved ...
11006         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
11007         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
11008         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
11009         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
11010         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
11011         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
11012         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
11013         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
11014         Moved ...
11015         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
11016         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
11017         Moved ...
11018         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
11019         ... here.
11020         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
11021         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
11022         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
11023         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
11024         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
11025         Moved ...
11026         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
11027         ... here.
11028         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
11029         Moved ...
11030         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
11031         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
11032         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
11033         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
11034         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
11035         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
11036         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
11037         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
11038         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
11039         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
11040         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
11041
11042         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
11043         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
11044
11045         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
11046         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
11047
11048         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
11049         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
11050         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
11051         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
11052         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
11053         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
11054         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
11055         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
11056         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
11057         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
11058         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
11059         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
11060         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
11061         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
11062         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
11063         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
11064         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
11065         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
11066         Moved ...
11067         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
11068         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
11069         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
11070         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
11071         Moved ...
11072         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
11073         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
11074         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
11075         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
11076         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
11077         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
11078         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
11079         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
11080         Moved ...
11081         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
11082         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
11083         Moved ...
11084         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
11085         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
11086         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
11087         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
11088         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
11089         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
11090         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
11091         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
11092         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
11093         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
11094         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
11095         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
11096         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
11097         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
11098         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
11099         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
11100         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
11101
11102         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
11103         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
11104         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
11105         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
11106         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
11107
11108         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
11109         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
11110         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
11111         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
11112         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
11113         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
11114         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
11115         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
11116         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
11117         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
11118
11119         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
11120         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
11121
11122         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
11123         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
11124         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
11125         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
11126         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
11127         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
11128         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
11129         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
11130         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
11131         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
11132         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
11133         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
11134         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
11135         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
11136         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
11137         Update #include.
11138         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
11139         Likewise.
11140         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
11141         Likewise.
11142         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
11143         Likewise.
11144         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
11145         Likewise.
11146         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
11147         Likewise.
11148         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
11149         Likewise.
11150         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
11151         Likewise.
11152         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
11153         Likewise.
11154         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
11155         Likewise.
11156         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
11157         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
11158         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
11159         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
11160         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
11161         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
11162         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
11163         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
11164         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
11165         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
11166         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
11167         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
11168         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
11169         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
11170         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
11171
11172         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
11173         that was previously under [RESET_PID].
11174         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
11175         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
11176         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
11177
11178         * sysdeps/i386/nptl/Implies: New file.
11179         * sysdeps/x86_64/nptl/Implies: New file.
11180         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
11181         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
11182         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
11183         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
11184
11185         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
11186         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11187         (__libc_vfork): New strong alias.
11188         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
11189         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
11190
11191         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
11192         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11193         (__libc_vfork): New strong alias.
11194         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
11195         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
11196
11197         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
11198         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11199         (__libc_vfork): New strong alias.
11200         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
11201         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
11202         * nptl/pt-vfork.c: New file.
11203         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
11204         (libpthread: GLIBC_2.20): New version set (empty).
11205
11206 2014-05-14  Will Newton  <will.newton@linaro.org>
11207
11208         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
11209         rather than #if.
11210
11211 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
11212
11213         [BZ #16564]
11214         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
11215         arguments with exponent 65 or above.
11216         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
11217         arguments 0x1p113L or above.
11218         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
11219         to arguments 0x1p107L or above.
11220         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
11221         positive arguments with exponent 65 or above.
11222         * math/auto-libm-test-in: Add more tests of log1p.
11223         * math/auto-libm-test-out: Regenerated.
11224
11225         [BZ #16928]
11226         * math/s_cacos.c (__cacos): Ensure zero real part of result from
11227         non-finite arguments is +0.
11228         * math/s_cacosf.c (__cacosf): Likewise.
11229         * math/s_cacosl.c (__cacosl): Likewise.
11230         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
11231         * sysdeps/i386/fpu/libm-test-ulps: Update.
11232         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11233
11234         [BZ #16927]
11235         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
11236         value.
11237         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
11238         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
11239         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
11240         for explicit high bit of mantissa when testing for argument equal
11241         to 1.
11242         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
11243         * sysdeps/i386/fpu/libm-test-ulps: Update.
11244         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11245
11246         [BZ #16516]
11247         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
11248         (__erf): Scale by 16 instead of 8 in potentially underflowing
11249         case.  Ensure exception if result actually underflows.
11250         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
11251         (__erff): Scale by 16 instead of 8 in potentially underflowing
11252         case.  Ensure exception if result actually underflows.
11253         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
11254         (efx8): Remove variable.
11255         (__erfl): Scale by 16 instead of 8 in potentially underflowing
11256         case.  Ensure exception if result actually underflows.
11257         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
11258         (efx8): Remove variable.
11259         (__erfl): Scale by 16 instead of 8 in potentially underflowing
11260         case.  Ensure exception if result actually underflows.
11261         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
11262         (efx8): Remove variable.
11263         (__erfl): Scale by 16 instead of 8 in potentially underflowing
11264         case.  Ensure exception if result actually underflows.
11265         * math/auto-libm-test-in: Add more tests of erf.
11266         * math/auto-libm-test-out: Regenerated.
11267
11268 2014-05-14  Andreas Schwab  <schwab@suse.de>
11269
11270         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
11271         Remove code conditionalized on USE___THREAD.
11272
11273         * config.h.in (HAVE_PT_CHOWN): Define as 0.
11274         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
11275         not definedness.
11276
11277 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
11278
11279         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
11280         Define unconditionally.
11281         (__ASSUME_O_CLOEXEC): Likewise.
11282         (__ASSUME_SOCK_CLOEXEC): Likewise.
11283         (__ASSUME_IN_NONBLOCK): Likewise.
11284         (__ASSUME_PIPE2): Likewise.
11285         (__ASSUME_EVENTFD2): Likewise.
11286         (__ASSUME_SIGNALFD4): Likewise.
11287         (__ASSUME_DUP3): Likewise.
11288         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11289         (__ASSUME_DUP3): Do not define.
11290         (__ASSUME_EVENTFD2): Likewise.
11291         (__ASSUME_IN_NONBLOCK): Likewise.
11292         (__ASSUME_O_CLOEXEC): Likewise.
11293         (__ASSUME_PIPE2): Likewise.
11294         (__ASSUME_SIGNALFD4): Likewise.
11295         (__ASSUME_SOCK_CLOEXEC): Likewise.
11296         (__ASSUME_UTIMES): Undefine.
11297         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11298         (__ASSUME_UTIMES): Do not define.
11299         (__ASSUME_O_CLOEXEC): Likewise.
11300         (__ASSUME_SOCK_CLOEXEC): Likewise.
11301         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
11302         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
11303         0x020621].
11304         (__ASSUME_PIPE2): Likewise.
11305         (__ASSUME_EVENTFD2): Likewise.
11306         (__ASSUME_SIGNALFD4): Likewise.
11307         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
11308         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
11309         Do not define.
11310         (__ASSUME_EVENTFD2): Likewise.
11311         (__ASSUME_SIGNALFD4): Likewise.
11312         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
11313         (__ASSUME_32BITUIDS): Likewise.
11314         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
11315         (__ASSUME_IPC64): Likewise.
11316         (__ASSUME_ST_INO_64_BIT): Likewise.
11317         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
11318         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
11319         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11320         (__ASSUME_UTIMES): Do not define.
11321         (__ASSUME_PSELECT): Likewise.
11322         (__ASSUME_PPOLL): Likewise.
11323         (__ASSUME_O_CLOEXEC): Likewise.
11324         (__ASSUME_SOCK_CLOEXEC): Likewise.
11325         (__ASSUME_IN_NONBLOCK): Likewise.
11326         (__ASSUME_PIPE2): Likewise.
11327         (__ASSUME_EVENTFD2): Likewise.
11328         (__ASSUME_SIGNALFD4): Likewise.
11329         (__ASSUME_DUP3): Likewise.
11330         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11331         (__ASSUME_UTIMES): Likewise.
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/microblaze/kernel-features.h
11340         (__ASSUME_UTIMES): Likewise.
11341         (__ASSUME_O_CLOEXEC): Likewise.
11342         (__ASSUME_SOCK_CLOEXEC): Likewise.
11343         (__ASSUME_IN_NONBLOCK): Likewise.
11344         (__ASSUME_PIPE2): Likewise.
11345         (__ASSUME_EVENTFD2): Likewise.
11346         (__ASSUME_SIGNALFD4): Likewise.
11347         (__ASSUME_DUP3): Likewise.
11348         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
11349         Likewise.
11350         (__ASSUME_UTIMES): Likewise.
11351         (__ASSUME_EVENTFD2): Likewise.
11352         (__ASSUME_SIGNALFD4): Likewise.
11353         * sysdeps/unix/sysv/linux/tile/kernel-features.h
11354         (__ASSUME_O_CLOEXEC): Likewise.
11355         (__ASSUME_SOCK_CLOEXEC): Likewise.
11356         (__ASSUME_IN_NONBLOCK): Likewise.
11357         (__ASSUME_PIPE2): Likewise.
11358         (__ASSUME_EVENTFD2): Likewise.
11359         (__ASSUME_SIGNALFD4): Likewise.
11360         (__ASSUME_DUP3): Likewise.
11361         (__ASSUME_UTIMES): Undefine.
11362
11363         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
11364         feclearexcept.  Remove symbol versioning code.
11365         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
11366         symbol versioning code.
11367         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
11368         symbol versioning code.
11369         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
11370         feupdateenv.  Remove symbol versioning code.
11371         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
11372         fegetexceptflag.  Remove symbol versioning code.
11373         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
11374         fesetexceptflag.  Remove symbol versioning code.
11375         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
11376         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
11377         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
11378         (__posix_fadvise64_l32): Remove prototype.
11379         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
11380         code.
11381
11382 2014-05-13  Roland McGrath  <roland@hack.frob.com>
11383
11384         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
11385         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
11386         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
11387         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
11388
11389 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
11390
11391         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
11392         current working directory
11393
11394 2014-05-13  Roland McGrath  <roland@hack.frob.com>
11395
11396         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
11397         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
11398         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
11399         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
11400         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
11401         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
11402         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
11403         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
11404         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
11405         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
11406         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
11407         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
11408         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
11409         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
11410         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
11411         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
11412         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
11413         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
11414         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
11415         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
11416         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
11417         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
11418         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
11419         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
11420         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
11421         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
11422         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
11423         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
11424         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
11425         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
11426         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
11427         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
11428         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
11429         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
11430         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
11431         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
11432         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
11433         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
11434         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
11435         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
11436         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
11437         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
11438
11439         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
11440         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
11441
11442         * sysdeps/unix/sysv/linux/arm/Makefile
11443         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
11444         Add rt-aeabi_unwind_cpp_pr1.
11445         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
11446         Add nptl-aeabi_unwind_cpp_pr1.
11447         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
11448         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
11449         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
11450         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
11451         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
11452         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
11453
11454         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
11455         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
11456         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
11457         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
11458
11459         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
11460         Deconditionalize the code that was previously under [RESET_PID].
11461         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
11462
11463         * sysdeps/generic/exit-thread.h: New file.
11464         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
11465         * include/unistd.h (__exit_thread): Remove declaration.
11466         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
11467         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
11468         * csu/libc-start.c: Include <exit-thread.h>.
11469         (LIBC_START_MAIN): Pass no argument to __exit_thread.
11470         * nptl/pthread_create.c: Include <exit-thread.h>.
11471         (start_thread): Call __exit_thread in place of __exit_thread_inline.
11472         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
11473         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
11474         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
11475         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
11476         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
11477         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
11478         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
11479         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
11480         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
11481         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
11482         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
11483         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
11484         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
11485         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
11486         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
11487         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
11488
11489 2014-05-13  Andreas Schwab  <schwab@suse.de>
11490
11491         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
11492
11493 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
11494
11495         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
11496         (__ASSUME_UTIMES): Do not condition on kernel version.
11497         (__ASSUME_PSELECT): Define unconditionally.
11498         (__ASSUME_PPOLL): Likewise.
11499         (__ASSUME_ATFCTS): Likewise.
11500         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
11501         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
11502         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
11503         (__ASSUME_UTIMENSAT): Define unconditionally.
11504         (__ASSUME_PRIVATE_FUTEX): Likewise.
11505         (__ASSUME_FALLOCATE): Likewise.
11506         (__ASSUME_O_CLOEXEC): Likewise.
11507         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
11508         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
11509         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
11510         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
11511         (__ASSUME_IN_NONBLOCK): Likewise.
11512         (__ASSUME_PIPE2): Likewise.
11513         (__ASSUME_EVENTFD2): Likewise.
11514         (__ASSUME_SIGNALFD4): Likewise.
11515         (__ASSUME_DUP3): Likewise.
11516         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11517         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
11518         (__ASSUME_AT_RANDOM): Likewise.
11519         (__ASSUME_PREADV): Likewise.
11520         (__ASSUME_PWRITEV): Likewise.
11521         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
11522         (__ASSUME_F_GETOWN_EX): Define unconditionally.
11523         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
11524         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
11525         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
11526         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11527         (__ASSUME_O_CLOEXEC): Define unconditionally.
11528         (__ASSUME_PSELECT): Do not undefine conditionally.
11529         (__ASSUME_PPOLL): Likewise.
11530         (__ASSUME_ATFCTS): Likewise.
11531         (__ASSUME_SET_ROBUST_LIST): Likewise.
11532         (__ASSUME_UTIMENSAT): Likewise.
11533         (__ASSUME_FDATASYNC): Define unconditionally.
11534         * sysdeps/unix/sysv/linux/arm/kernel-features.h
11535         (__ASSUME_SIGFRAME_V2): Likewise.
11536         )__ASSUME_EVENTFD2): Likewise.
11537         (__ASSUME_SIGNALFD4): Likewise.
11538         (__ASSUME_PSELECT): Do not undefine conditionally.
11539         (__ASSUME_PPOLL): Likewise.
11540         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11541         (__ASSUME_PSELECT): Define unconditionally.
11542         (__ASSUME_PPOLL): Likewise.
11543         (__ASSUME_O_CLOEXEC): Likewise.
11544         (__ASSUME_SOCK_CLOEXEC): Likewise.
11545         (__ASSUME_IN_NONBLOCK): Likewise.
11546         (__ASSUME_PIPE2): Likewise.
11547         (__ASSUME_EVENTFD2): Likewise.
11548         (__ASSUME_SIGNALFD4): Likewise.
11549         (__ASSUME_DUP3): Likewise.
11550         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11551         (__ASSUME_O_CLOEXEC): Likewise.
11552         (__ASSUME_SOCK_CLOEXEC): Likewise.
11553         (__ASSUME_IN_NONBLOCK): Likewise.
11554         (__ASSUME_PIPE2): Likewise.
11555         (__ASSUME_EVENTFD2): Likewise.
11556         (__ASSUME_SIGNALFD4): Likewise.
11557         (__ASSUME_DUP3): Likewise.
11558         * sysdeps/unix/sysv/linux/mips/kernel-features.h
11559         (__ASSUME_EVENTFD2): Likewise.
11560         (__ASSUME_SIGNALFD4): Likewise.
11561         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11562
11563 2014-05-12  Andreas Schwab  <schwab@suse.de>
11564
11565         [BZ #16932]
11566         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
11567         (_nss_nis_gethostbyname4_r): Return error if item length is larger
11568         than maximum RPC packet size.
11569         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
11570         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
11571         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
11572         (_nss_nis_getservbyport_r): Likewise.
11573
11574 2014-05-12  Will Newton  <will.newton@linaro.org>
11575
11576         * malloc/Makefile (tests): Add tst-mallopt.
11577         * malloc/tst-mallopt.c: New file.
11578
11579 2014-05-09  Roland McGrath  <roland@hack.frob.com>
11580
11581         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
11582         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
11583
11584 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11585
11586         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
11587         (tst-tlsmod6.so): Likewise.
11588
11589 2014-05-09  Roland McGrath  <roland@hack.frob.com>
11590
11591         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
11592
11593 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
11594
11595         [BZ #16064]
11596         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
11597         and <dl-procinfo.h>.
11598         (__fegetenv): Save SSE state in envp->__eip if supported.
11599         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
11600         envp->__eip if supported.
11601         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
11602         and <dl-procinfo.h>.
11603         (__fesetenv): Always set __eip, __cs_selector, __opcode,
11604         __data_offset and __data_selector in environment to 0.  Set SSE
11605         state if supported.
11606         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
11607         test-fenv-sse.
11608         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
11609         -mfpmath=sse.
11610         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
11611
11612 2014-05-09  Will Newton  <will.newton@linaro.org>
11613
11614         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
11615         and libc_relro_required for ARM.
11616         * sysdeps/arm/preconfigure: Regenerate.
11617
11618 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
11619             Stefan Liebler  <stli@linux.vnet.ibm.com>
11620
11621         * config.make.in (enable-lock-elision): New Makefile variable.
11622         * configure.ac: Likewise.
11623         * configure: Regenerate.
11624         * sysdeps/s390/configure.ac:
11625         Add check for gcc transactions support.
11626         * sysdeps/s390/configure: Regenerate.
11627         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
11628         Build elision files if enabled.
11629         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
11630         Add lock elision support for s390.
11631         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
11632         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
11633         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
11634         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
11635         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
11636         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
11637         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
11638         Likewise.
11639         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
11640         Likewise.
11641         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
11642         Likewise.
11643         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
11644         Likewise.
11645         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
11646         (__lll_timedlock_elision, __lll_lock_elision)
11647         (__lll_unlock_elision, __lll_trylock_elision)
11648         (lll_timedlock_elision, lll_lock_elision)
11649         (lll_unlock_elision, lll_trylock_elision): Add.
11650         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
11651         (pthread_mutex_t): Add lock elision support for s390.
11652
11653 2014-05-14  Wilco  <wdijkstr@arm.com>
11654
11655         * sysdeps/arm/fclrexcpt.c: Cleanup.
11656         * sysdeps/arm/fedisblxcpt.c: Cleanup.
11657         * sysdeps/arm/feenablxcpt.c: Cleanup.
11658         * sysdeps/arm/fegetenv.c: Cleanup.
11659         * sysdeps/arm/fegetexcept.c: Cleanup.
11660         * sysdeps/arm/fegetround.c: Cleanup.
11661         * sysdeps/arm/feholdexcpt.c: Cleanup.
11662         * sysdeps/arm/fesetenv.c: Cleanup.
11663         * sysdeps/arm/fesetround.c: Cleanup.
11664         * sysdeps/arm/feupdateenv.c: Cleanup.
11665         * sysdeps/arm/fgetexcptflg.c: Cleanup.
11666         * sysdeps/arm/fraiseexcpt.c: Cleanup.
11667         * sysdeps/arm/fsetexcptflg.c: Cleanup.
11668         * sysdeps/arm/ftestexcept.c: Cleanup.
11669         * sysdeps/arm/get-rounding-mode.h: Cleanup.
11670         * sysdeps/arm/setfpucw.c: Cleanup.
11671
11672 2014-05-09  Will Newton  <will.newton@linaro.org>
11673
11674         * sysdeps/arm/armv7/strcmp.S: New file.
11675         * NEWS: Mention addition of ARMv7 optimized strcmp.
11676
11677 2014-05-08  Roland McGrath  <roland@hack.frob.com>
11678
11679         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
11680         look for %.ac rather than %.in.
11681
11682         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
11683         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
11684         * sysdeps/mach/hurd/configure: Regenerated.
11685         * sysdeps/unix/sysv/linux/configure: Regenerated.
11686
11687         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
11688
11689 2014-05-07  Steve Ellcey  <sellcey@mips.com>
11690
11691         [BZ# 16922]
11692         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
11693         (LONG_SUB): Ditto.
11694         (PTR_SUB): Ditto.
11695
11696 2014-05-07  Andreas Schwab  <schwab@suse.de>
11697
11698         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
11699         when skipping over non-matching result from nscd.
11700
11701 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
11702
11703         [BZ #16876]
11704         * nptl/sockperf.c (client): Check socket return value.
11705
11706         [BZ #16877]
11707         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
11708         nscd security class.
11709
11710 2014-05-06  Roland McGrath  <roland@hack.frob.com>
11711
11712         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
11713         * sysdeps/arm/unwind.h: ... here.
11714
11715 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
11716
11717         [BZ# 16916]
11718         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
11719         Define.
11720
11721 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
11722
11723         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
11724         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
11725         multiarch strncpy for PPC64.
11726         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
11727         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
11728         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
11729         multiarch optimizations.
11730         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11731         (__libc_ifunc_impl_list): Likewise.
11732         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
11733         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
11734         multiarch stpncpy for PPC64.
11735         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
11736         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
11737
11738 2014-05-06  Andreas Schwab  <schwab@suse.de>
11739
11740         [BZ #16912]
11741         * gmon/mcount.c (_MCOUNT_DECL): Use
11742         atomic_compare_and_exchange_bool_acq instead of
11743         catomic_compare_and_exchange_bool_acq.
11744
11745 2014-05-05  Roland McGrath  <roland@hack.frob.com>
11746
11747         * elf/Makefile (others, install-bin): Remove pldd.
11748         (pldd-modules): Variable removed.
11749         ($(objpfx)pldd): Target removed.
11750         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
11751         (others, install-bin): Append pldd here.
11752         ($(objpfx)pldd): New target.
11753
11754         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
11755         to 0, so the first #if test emitted later doesn't see it undefined.
11756         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
11757         * sysdeps/gnu/errlist.c: Regenerated.
11758
11759 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11760
11761         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
11762         [libc_hidden_builtin_def]: Define to empty value.
11763         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
11764         [libc_hidden_builtin_def]: Likewise.
11765         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
11766         [libc_hidden_builtin_def]: Likewise.
11767         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
11768         [libc_hidden_builtin_def]: Likewise.
11769         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
11770         __redirect_memcpy and define ifunc as default hidden symbol.
11771         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
11772         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
11773
11774 2014-05-04  Adam Conrad  <adconrad@0c3.net>
11775
11776         * locale/iso-4217.def: Reintroduce XDR currency.
11777
11778 2014-05-04  Allan McRae  <allan@archlinux.org>
11779
11780         * po/eo.po: Update Esperanto translation from translation project.
11781
11782 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
11783
11784         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
11785         and FEATURE_INDEX_MAX to 1.
11786         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
11787
11788 2014-05-01  Steve Ellcey  <sellcey@mips.com>
11789
11790         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
11791         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
11792         * iconvdata/big5.c (ONE_DIRECTION): Define.
11793         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
11794         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
11795         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
11796         * iconvdata/cp932.c (ONE_DIRECTION): Define.
11797         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
11798         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
11799         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
11800         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
11801         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
11802         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
11803         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
11804         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
11805         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
11806         * iconvdata/gbk.c (ONE_DIRECTION): Define.
11807         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
11808         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
11809         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
11810         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
11811         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
11812         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
11813         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
11814         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
11815         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
11816         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
11817         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
11818         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
11819         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
11820         * iconvdata/iso646.c (ONE_DIRECTION): Define.
11821         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
11822         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
11823         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
11824         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
11825         * iconvdata/johab.c (ONE_DIRECTION): Define.
11826         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
11827         * iconvdata/sjis.c (ONE_DIRECTION): Define.
11828         * iconvdata/t.61.c (ONE_DIRECTION): Define.
11829         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
11830         * iconvdata/tscii.c (ONE_DIRECTION): Define.
11831         * iconvdata/uhc.c (ONE_DIRECTION): Define.
11832         * iconvdata/unicode.c (ONE_DIRECTION): Define.
11833         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
11834         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
11835         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
11836
11837 2014-05-01  Roland McGrath  <roland@hack.frob.com>
11838
11839         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
11840         (_IO_JUMPS_OFFSET): Define to 0.
11841
11842         * nptl/sysdeps/pthread/bits/libc-lock.h
11843         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
11844         (__libc_lock_define_initialized_recursive): Always define using
11845         initializer.  Modern compilers treat uninitialized (implicit zero) and
11846         explicit zero initializers the same (i.e. put the datum in bss).
11847
11848 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
11849
11850         * nscd/nscd-client.h: Include <string.h>.
11851
11852 2014-05-01  David S. Miller  <davem@davemloft.net>
11853
11854         [BZ #16885]
11855         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
11856         multiple zero bytes exist at the end of a string.
11857         Reported by Aurelien Jarno <aurelien@aurel32.net>
11858
11859         * string/test-strcmp.c (check): Add explicit test for situations where
11860         there are multiple zero bytes after the first.
11861
11862 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
11863
11864         [BZ #16890]
11865         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
11866         when compiling wprintf.
11867         * stdio-common/tstdiomisc.c (t3): New function.
11868         (main): Call it.
11869
11870 2014-05-01  Steve Ellcey  <sellcey@mips.com>
11871
11872         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
11873         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
11874         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
11875         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
11876
11877 2014-05-01  Steve Ellcey  <sellcey@mips.com>
11878
11879         * stdlib/longlong.h: Updated from GCC.
11880
11881 2014-05-01  Will Newton  <will.newton@linaro.org>
11882             Bernard Ogden  <bernie.ogden@linaro.org>
11883
11884         * NEWS: Update fixed bug list.
11885
11886         [BZ #15119]
11887         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
11888
11889 2014-04-30  David S. Miller  <davem@davemloft.net>
11890
11891         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
11892         (libc_feholdexcept_setround_sparc_ctx): New function.
11893         (libc_fesetenv_sparc_ctx): Likewise.
11894         (libc_feupdateenv_sparc_ctx): Likewise.
11895         (libc_feholdsetround_sparc_ctx): Likewise.
11896         (libc_feholdexcept_setround_ctx): Define.
11897         (libc_feholdexcept_setroundf_ctx): Likewise.
11898         (libc_feholdexcept_setroundl_ctx): Likewise.
11899         (libc_fesetenv_ctx): Likewise.
11900         (libc_fesetenvf_ctx): Likewise.
11901         (libc_fesetenvl_ctx): Likewise.
11902         (libc_feupdateenv_ctx): Likewise.
11903         (libc_feupdateenvf_ctx): Likewise.
11904         (libc_feupdateenvl_ctx): Likewise.
11905         (libc_feresetround_ctx): Likewise.
11906         (libc_feresetroundf_ctx): Likewise.
11907         (libc_feresetroundl_ctx): Likewise.
11908         (libc_feholdsetround_ctx): Likewise.
11909         (libc_feholdsetroundf_ctx): Likewise.
11910         (libc_feholdsetroundl_ctx): Likewise.
11911
11912         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
11913         with __USE_GNU instead of XOPEN cpp guards.
11914
11915         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
11916         0.
11917
11918         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
11919         with XOPEN cpp guards.
11920
11921 2014-04-30  Julian Brown  <julian@codesourcery.com>
11922
11923         [BZ #16888]
11924         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
11925         handling.
11926
11927 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
11928
11929         [BZ #9894]
11930         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
11931         Change to 2.6.32.
11932         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
11933         * sysdeps/unix/sysv/linux/configure: Regenerated.
11934         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
11935         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
11936         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
11937         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
11938         * README: Update reference to required Linux kernel version.
11939         * manual/install.texi (Linux): Update reference to required Linux
11940         kernel headers version.
11941         * INSTALL: Regenerated.
11942
11943         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
11944         header inclusion.
11945         [POSIX] (limits.h): Likewise.
11946         [POSIX] (math.h): Likewise.
11947         [POSIX] (sys/wait.h): Likewise.
11948         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
11949         function.
11950         [POSIX] (stddef.h): Do not allow header inclusion.
11951
11952 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11953
11954         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
11955
11956 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
11957
11958         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
11959         Return immediately after lll_futex_wake.
11960
11961 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
11962
11963         [BZ #16791]
11964         * nscd/nscd-client.h (datahead_init_common): Initialize entire
11965         structure.
11966         (datahead_init_pos): Call datahead_init_common early.
11967         (datahead_init_neg): Likewise.
11968
11969         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
11970         datahead_init_neg): New functions.
11971         * nscd/aicache.c (addhstaiX): Use them.
11972         * nscd/grpcache.c (cache_addgr): Likewise.
11973         * nscd/hstcache.c (cache_addhst): Likewise.
11974         * nscd/initgrcache.c (addinitgroupsX): Likewise.
11975         * nscd/netgroupcache.c (do_notfound): Likewise.
11976         (addgetnetgrentX): Likewise.
11977         (addinnetgrX): Likewise.
11978         * nscd/pwdcache.c (cache_addpw): Likewise.
11979         * nscd/servicescache.c (cache_addserv): Likewise.
11980
11981 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
11982             Atsushi Onoe  <atsushi@onoe.org>
11983
11984         [BZ #14308]
11985         [BZ #12994]
11986         [BZ #13651]
11987         * resolv/res_query.c (__libc_res_nsearch): Return if at least
11988         one response is valid.
11989         * resolv/res_send.c (send_dg): Check for validity of other
11990         response if the current response is a referral.
11991
11992 2014-04-29  Steve Ellcey  <sellcey@mips.com>
11993
11994         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
11995
11996 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
11997
11998         [BZ #16823]
11999         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
12000         Always divide by positive zero when computing -Inf result.
12001         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
12002         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
12003
12004 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12005
12006         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
12007         FPSCR if value do not change.
12008         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
12009         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
12010         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
12011         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
12012         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
12013         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
12014         function.
12015
12016 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
12017
12018         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
12019         * sysdeps/unix/sysv/linux/hppa: Move directory from
12020         ports/systeps/unix/sysv/linux/hppa.
12021         * README: Update listing for hppa-*-linux-gnu.
12022
12023 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
12024
12025         [BZ #16754]
12026         * manual/stdio.texi (Hook functions): Fix types of stream hook
12027         functions.
12028         [BZ #16854]
12029         * socket/sys/socket.h: Fix typo in comment.
12030
12031 2014-04-28  Wilco  <wdijkstr@arm.com>
12032
12033         * sysdeps/arm/fenv_private.h: New file.
12034         * sysdeps/arm/math_private.h: New file.
12035         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
12036
12037 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
12038
12039         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
12040         with __int128_t.
12041         (La_x86_64_retval): Likewise.
12042
12043 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
12044
12045         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
12046         fpsr if value didn't change.
12047         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
12048         to fpcr if value didn't change.
12049         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
12050         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
12051         fpsr or fpcr if value didn't change.
12052         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
12053         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
12054         fpcr if value didn't change.
12055         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
12056         to fpsr if value didn't change.
12057
12058 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
12059
12060         * nptl/tst-sem3.c: Use test-skeleton.c
12061         (main): Rename to do_test.  Use return instead of
12062         exit.
12063         * nptl/tst-sem4.c: Use test-skeleton.c
12064         (main): Rename to do_test.
12065
12066 2014-04-22  David S. Miller  <davem@davemloft.net>
12067
12068         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
12069         (struct sigaction): New struct member __glibc_reserved0, change
12070         type of sa_flags to int.
12071
12072 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
12073
12074         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
12075         (COUNT_LEADING_ZEROS_0): Define for AArch64.
12076
12077 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
12078
12079         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
12080         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
12081
12082 2014-04-22  Will Newton  <will.newton@linaro.org>
12083             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
12084
12085         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
12086         (__longjmp): Add longjmp and longjmp_target SystemTap
12087         probes.
12088         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
12089         (__sigsetjmp): Add setjmp SystemTap probe.
12090
12091 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
12092
12093         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
12094         match manual order.
12095
12096 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12097
12098         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
12099
12100         * sysdeps/powerpc/fpu/fenv_private.h
12101         (libc_feholdexcept_setroundl_ctx): Define to
12102         libc_feholdexcept_setround_ppc_ctx.
12103         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
12104         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
12105         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
12106         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
12107
12108 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
12109
12110         * sysdeps/aarch64/math-tests.h: New file.
12111
12112 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
12113
12114         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
12115         New.
12116         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12117         Check and set bit_AVX2_Usable.
12118         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
12119         macro.
12120         (bit_AVX2): Likewise.
12121         (index_AVX2_Usable): Likewise.
12122         (CPUID_AVX2): Likewise.
12123         (HAS_AVX2): Likewise.
12124
12125 2014-04-17  Will Newton  <will.newton@linaro.org>
12126
12127         * manual/setjmp.texi (System V contexts): Add note that
12128         calling setcontext on a context created by a call to a
12129         signal handler is undefined.  Update text to note that
12130         setcontext from a signal handler is possible but not
12131         recommended.
12132
12133         [BZ #16629]
12134         * stdlib/tst-setcontext.c: Include signal.h.
12135         (main): Check that the signal stack before and
12136         after swapcontext is the same.
12137
12138         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
12139         Re-implement to restore registers in user code and avoid
12140         rt_sigreturn system call.
12141
12142 2014-04-17  Wilco  <wdijkstr@arm.com>
12143
12144         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
12145         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
12146         * math/test-fenv.c: Skip exception trap tests on targets which only
12147         support non-stop mode.
12148
12149 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
12150             Wilco Dijkstra  <wilco.dijkstra@arm.com>
12151
12152         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
12153         (libc_feholdsetround_aarch64_ctx)
12154         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
12155         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
12156         (libc_feresetround_ctx, libc_feresetroundf_ctx)
12157         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
12158         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
12159         (libc_feresetround_noexl_ctx): Define.
12160
12161 2014-04-16  Richard Henderson  <rth@redhat.com>
12162
12163         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
12164
12165         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
12166         unwind tables.
12167
12168         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
12169         const from the non-libc, non-ldso copy.
12170
12171         * sysdeps/alpha/libm-test-ulps: Regenerate.
12172
12173 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
12174             Wilco Dijkstra  <wilco.dijkstra@arm.com>
12175
12176         * sysdeps/aarch64/fpu/math_private.h: New file.
12177
12178 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
12179
12180         * sysdeps/aarch64/libm-test-ulps: Regenerate.
12181
12182 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
12183
12184         [BZ #16275]
12185         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
12186         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
12187         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
12188         Intel MPX bound registers before _dl_profile_fixup.
12189         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
12190         registers after _dl_profile_fixup.  Save and restore bound
12191         registers bnd0/bnd1 when calling _dl_call_pltexit.
12192         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
12193         (LR_BND_OFFSET): Likewise.
12194         (LRV_BND0_OFFSET): Likewise.
12195         (LRV_BND1_OFFSET): Likewise.
12196
12197 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12198
12199         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
12200         to...
12201         * sysdeps/mach/hurd/i386/tls.h: ... here.
12202         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
12203         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
12204         fields.
12205
12206 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12207
12208         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
12209
12210 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
12211
12212         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12213
12214 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
12215
12216         [BZ #14770]
12217         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
12218         * sysdeps/s390/configure: Regenerate.
12219
12220         [BZ #16824]
12221         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
12222         Set round-to-nearest internally to reduce error accumulation.
12223
12224 2014-04-16  Alan Modra  <amodra@gmail.com>
12225
12226         [BZ #16740]
12227         [BZ #16619]
12228         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
12229         * math/libm-test.inc (frexp_test_data): Add tests.
12230         * NEWS: Update fixed bug list.
12231
12232 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
12233
12234         * benchtests/Makefile: Depend on libraries in build directory.
12235         (bench-math): Separate out math tests.
12236         (bench-pthread): Separate out pthread tests.
12237         (bench): Include math and pthread tests.
12238
12239 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
12240
12241         [BZ #16831]
12242         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
12243         _dl_debug_initialize.
12244
12245         * configure.ac: Remove SELinux header check.
12246         * configure: Regenerate.
12247         * nscd/selinux.c (perms): Array of const char* to permission names.
12248         (nscd_request_avc_has_perm): Call security_deny_unknown to find
12249         default policy. Call string_to_security_class and string_to_av_perm to
12250         translate strings. Enforce default policy and call avs_has_perm with
12251         results of translated strings.
12252
12253 2014-04-13  David S. Miller  <davem@davemloft.net>
12254
12255         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12256
12257 2014-04-12  Allan McRae  <allan@archlinux.org>
12258
12259         [BZ #16838]
12260         * manual/string.texi (Collation Functions): Fix qsort argument
12261         order in example.
12262         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
12263
12264 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
12265
12266         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
12267         Make the test a no-op if there are no exceptions defined.
12268
12269 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
12270
12271         * elf/Makefile (tests): make tst-dlopen-aout conditional on
12272         enable-hardcoded-path-in-tests
12273
12274 2014-04-11  Will Newton  <will.newton@linaro.org>
12275
12276         * benchtests/Makefile (extra-objs): Add json-lib.o.
12277         (bench-func): Tidy up JSON output.
12278         * benchtests/bench-skeleton.c: Include json-lib.h.
12279         (main): Use JSON library functions to do output of
12280         benchmark results.
12281         * benchtests/bench-timing-type.c (main): Output the
12282         timing type simply, leaving formatting to the user.
12283         * benchtests/json-lib.c: New file.
12284         * benchtests/json-lib.h: Likewise.
12285
12286 2014-04-11  Torvald Riegel  <triegel@redhat.com>
12287
12288         [BZ #15215]
12289         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
12290         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
12291         memory barriers.  Add comments.
12292         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
12293         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
12294         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
12295         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
12296         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
12297         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
12298
12299 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
12300
12301         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
12302         * sysdeps/s390/s390-64/configure.ac: ... this ...
12303         * sysdeps/s390/configure.ac: ... to here.
12304         * sysdeps/s390/s390-32/configure: Delete file.
12305         * sysdeps/s390/s390-64/configure: Delete file.
12306         * sysdeps/s390/configure: Regenerate.
12307
12308 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
12309
12310         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
12311
12312 2014-04-11  Will Newton  <will.newton@linaro.org>
12313
12314         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
12315         to zero if it is not defined elsewhere.  (mtrim): Test
12316         the value of MALLOC_DEBUG with #if rather than #ifdef.
12317
12318 2014-04-10 Torvald Riegel  <triegel@redhat.com>
12319
12320         * benchtests/pthread_once-inputs: New file.
12321         * benchtests/pthread_once-source.c: New file.
12322         * benchtests/README: Update documentation.
12323
12324 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
12325             H.J. Lu  <hongjiu.lu@intel.com>
12326
12327         [BZ #16275]
12328         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
12329         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
12330         * sysdeps/x86_64/configure: Regenerated.
12331         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
12332         macro.
12333         (REGISTER_SAVE_RAX): Likewise.
12334         (REGISTER_SAVE_RCX): Likewise.
12335         (REGISTER_SAVE_RDX): Likewise.
12336         (REGISTER_SAVE_RSI): Likewise.
12337         (REGISTER_SAVE_RDI): Likewise.
12338         (REGISTER_SAVE_R8): Likewise.
12339         (REGISTER_SAVE_R9): Likewise.
12340         (REGISTER_SAVE_BND0): Likewise.
12341         (REGISTER_SAVE_BND1): Likewise.
12342         (REGISTER_SAVE_BND2): Likewise.
12343         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
12344         bound registers when calling _dl_fixup.
12345
12346 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12347
12348         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
12349         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
12350         of its definition.
12351         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
12352         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
12353         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
12354         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
12355         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
12356         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
12357         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
12358
12359 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
12360
12361         [BZ #15514]
12362         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
12363         pathconf(_PC_NAME_MAX).
12364
12365 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12366
12367         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
12368         Remove macro usage.
12369         (__PTHREAD_SPINS): Move definition to ...
12370         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
12371         (__PTHREAD_SPINS): ... here.
12372         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
12373         (__PTHREAD_SPIN): Likewise.
12374         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
12375         (__PTHREAD_SPIN): Likewise.
12376         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
12377         (__PTHREAD_SPIN): Likewise.
12378         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
12379         (__PTHREAD_SPIN): Likewise.
12380         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
12381         (__PTHREAD_SPIN): Likewise.
12382         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
12383         (__PTHREAD_SPIN): Likewise.
12384         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
12385         (__PTHREAD_SPIN): Likewise.
12386         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
12387         (__PTHREAD_SPIN): Likewise.
12388         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
12389         (__PTHREAD_SPIN): Likewise.
12390         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
12391         (__PTHREAD_SPIN): Likewise.
12392         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
12393         (__PTHREAD_SPIN): Likewise.
12394         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
12395         (__PTHREAD_SPIN): Likewise.
12396
12397         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
12398         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
12399         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
12400         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
12401         imply folder.
12402         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
12403         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
12404         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
12405         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
12406         correct imply path.
12407         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
12408         strlen symbol for non multi-arch builds.
12409         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
12410         missing hidden_def and weak_alias.
12411
12412 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
12413
12414         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
12415
12416 2014-04-07  Will Newton  <will.newton@linaro.org>
12417
12418         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
12419         and contents.  [!_LIBC] Remove #ifndef and contents.
12420         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
12421         * string/memccpy.c (__memccpy): Use ANSI prototype.
12422         * string/memfrob.c (memfrob): Likewise.
12423         * string/strcoll.c (STRCOLL): Likewise.
12424         * string/strlen.c (strlen): Likewise.
12425         * string/strtok.c (STRTOK): Likewise.
12426         * string/strcat.c: Remove unused #include of memcopy.h.
12427         (strcat): Use ANSI prototype.
12428         * string/strchr.c: Remove unused #include of memcopy.h.
12429         (strchr): Use ANSI prototype.
12430         * string/strcmp.c: Remove unused #include of memcopy.h.
12431         (strcmp): Use ANSI prototype.
12432         * string/strcpy.c: Remove unused #include of memcopy.h.
12433         (strcpy): Use ANSI prototype.
12434
12435 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12436
12437         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
12438         * config.make.in (config-extra-cppflags): Set it from
12439         libc_extra_cppflags.
12440         * configure.ac (libc_extra_cflags): Make it accumulate over
12441         configure fragments.
12442         (libc_extra_cppflags): New flag.
12443         * configure. Regenerate.
12444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
12445         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
12446         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
12447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
12448
12449         [BZ #16815]
12450         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
12451         result for FE_DOWNWARD rounding mode.
12452         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
12453         Likewise.
12454         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12455
12456 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
12457
12458         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
12459         in function argument name.
12460
12461 2014-04-03  David Svoboda  <svoboda@cert.org>
12462
12463         [BZ #5666]
12464         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
12465         explicitly.
12466
12467 2014-04-03  Roland McGrath  <roland@hack.frob.com>
12468
12469         * elf/dl-unmap-segments.h: New file.
12470         * sysdeps/generic/ldsodefs.h
12471         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
12472         * elf/dl-close.c: Include <dl-unmap-segments.h>.
12473         * elf/dl-fptr.c: Likewise.
12474         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
12475         * sysdeps/aarch64/tlsdesc.c: Likewise.
12476         * sysdeps/arm/tlsdesc.c: Likewise.
12477         * sysdeps/i386/tlsdesc.c: Likewise.
12478         * sysdeps/tile/dl-runtime.c: Likewise.
12479         * sysdeps/x86_64/tlsdesc.c: Likewise.
12480         * elf/dl-load.h: New file.
12481         * elf/dl-load.c: Include it.
12482         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
12483         Macros moved to dl-load.h.
12484         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
12485         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
12486         Use _dl_unmap_segments in place of __munmap.
12487         Break out segment-mapping loop into ...
12488         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
12489
12490 2014-04-03  Will Newton  <will.newton@linaro.org>
12491
12492         * elf/dl-lookup.c (do_lookup_x): Remove comment
12493         referring to nested function and move variable
12494         declarations down to before first use.
12495
12496 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
12497
12498         [BZ #16799]
12499         [BZ #16800]
12500         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
12501         with 0 numerator.
12502         * math/s_catanf.c (__catanf): Likewise.
12503         * math/s_catanh.c (__catanh): Likewise.
12504         * math/s_catanhf.c (__catanhf): Likewise.
12505         * math/s_catanhl.c (__catanhl): Likewise.
12506         * math/s_catanl.c (__catanl): Likewise.
12507         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
12508         by positive zero when computing -Inf result.
12509         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
12510         (catanh_test): Likewise.
12511         * sysdeps/i386/fpu/libm-test-ulps: Update.
12512         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12513
12514         [BZ #16789]
12515         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
12516         instead of using underflowing value in computing result.
12517         * math/s_clog10.c (__clog10): Likewise.
12518         * math/s_clog10f.c (__clog10f): Likewise.
12519         * math/s_clog10l.c (__clog10l): Likewise.
12520         * math/s_clogf.c (__clogf): Likewise.
12521         * math/s_clogl.c (__clogl): Likewise.
12522         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
12523         (clog10_test): Likewise.
12524         * sysdeps/i386/fpu/libm-test-ulps: Update.
12525         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12526
12527 2014-04-02  Alan Modra  <amodra@gmail.com>
12528
12529         [BZ #16739]
12530         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
12531         output when value is near a power of two.  Use int64_t for lx and
12532         remove casts.  Use decimal rather than hex exponent constants.
12533         Don't use long double multiplication when double will suffice.
12534         * math/libm-test.inc (nextafter_test_data): Add tests.
12535         * NEWS: Add 16739 and 16786 to bug list.
12536
12537         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
12538
12539         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
12540
12541 2014-04-01  Will Newton  <will.newton@linaro.org>
12542
12543         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
12544         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
12545
12546 2014-04-01  Florian Weimer  <fweimer@redhat.com>
12547
12548         [BZ #13347]
12549         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
12550         * nptl/tst-setuid2.c: New file.
12551         * nptl/Makefile (xtests): Add tst-setuid2.
12552
12553 2014-04-01  Alan Modra  <amodra@gmail.com>
12554
12555         [BZ #16786]
12556         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
12557
12558 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
12559
12560         [BZ #6803]
12561         [BZ #6804]
12562         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
12563         set errno as appropriate.
12564         * math/w_scalbf.c (__scalbf): Likewise.
12565         * math/w_scalbl.c (__scalbl): Likewise.
12566         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
12567         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
12568         * math/libm-test.inc (scalb_test_data): Add errno expectations.
12569         Add more NaN tests.
12570
12571         [BZ #16349]
12572         * math/w_atan2.c: Include <errno.h>.
12573         (__atan2): Set errno for result underflowing to zero.
12574         * math/w_atan2f.c: Include <errno.h>.
12575         (__atan2f): Set errno for result underflowing to zero.
12576         * math/w_atan2l.c: Include <errno.h>.
12577         (__atan2l): Set errno for result underflowing to zero.
12578         * math/auto-libm-test-in: Don't allow missing errno for some atan2
12579         tests.
12580         * math/auto-libm-test-out: Regenerated.
12581
12582 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12583
12584         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
12585         Encode instruction correctly in little endian.
12586         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
12587         Likewise.
12588         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
12589         Likewise.
12590         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
12591         Likewise.
12592         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
12593         Likewise.
12594
12595 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
12596
12597         [BZ #9894]
12598         * sysdeps/unix/sysv/linux/kernel-features.h
12599         [__sparc__ && !__arch64__ && !__sparc_v9__]
12600         (__ASSUME_SET_ROBUST_LIST): Do not define.
12601         [__sparc__ && !__arch64__ && !__sparc_v9__]
12602         (__ASSUME_FUTEX_LOCK_PI): Likewise.
12603         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
12604         Likewise.
12605         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12606         (__ASSUME_FUTEX_LOCK_PI): Undefine.
12607         (__ASSUME_REQUEUE_PI): Likewise.
12608         (__ASSUME_SET_ROBUST_LIST): Likewise.
12609         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12610         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
12611         Undefine.
12612         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12613         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
12614         Likewise.
12615         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
12616         Likewise.
12617         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
12618         Likewise.
12619         * sysdeps/unix/sysv/linux/mips/kernel-features.h
12620         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
12621         Undefine.
12622         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
12623         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
12624         Likewise.
12625
12626         [BZ #16648]
12627         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12628         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
12629         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
12630
12631 2014-03-31  Will Newton  <will.newton@linaro.org>
12632
12633         * benchtests/Makefile (bench): Add ffs and ffsll to list
12634         of tests.
12635         * benchtests/ffs-inputs: New file.
12636         * benchtests/ffsll-inputs: Likewise.
12637
12638 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
12639
12640         [BZ #16770]
12641         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
12642         too large before casting to int.
12643         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
12644         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
12645         * math/libm-test.inc (scalb_test_data): Add more tests.
12646
12647 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
12648
12649         * benchtests/Makefile (DETAILED_OPT): New make option.
12650         (bench-func): Run benchmark program with -d if DETAILED_OPT is
12651         set.
12652         * benchtests/bench-skeleton.c: Include stdbool.h.
12653         (main): Store and print timings per input.
12654         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
12655         member to each argument value.
12656         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
12657         (_print_arg_data): Initialize per-input timing to 0.
12658
12659         * benchtests/Makefile (timing-type): New binary.
12660         (bench-clean): Also remove bench-timing-type.
12661         (bench): New target for timing-type.
12662         (bench-func): Print output in JSON format.
12663         * benchtests/bench-skeleton.c (main): Print output in JSON
12664         format.
12665         * benchtests/bench-timing-type.c: New file.
12666         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
12667         (TIMING_PRINT_STATS): Remove.
12668         * benchtests/scripts/bench.py (_print_arg_data): Store variant
12669         name separately.
12670
12671         * benchtests/bench-modf.c: Remove.
12672         * benchtests/modf-inputs: New inputs file.
12673
12674 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
12675
12676         [BZ #16362]
12677         * math/s_clog10.c (M_PI_LOG10E): New macro.
12678         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
12679         imaginary parts are 0.
12680         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
12681         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
12682         imaginary parts are 0.
12683         * math/s_clog10l.c (M_PI_LOG10El): New macro.
12684         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
12685         imaginary parts are 0.
12686         * math/libm-test.inc (clog10_test_data): Update expected results
12687         for when real and imaginary parts are 0.
12688
12689 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
12690
12691         * elf/dl-load.c: Finish conversion of __builtin_expect into
12692         __glibc_{un}likely.
12693
12694 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
12695
12696         [BZ #16348]
12697         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
12698         1+x for argument with exponent below -67.
12699         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
12700         Likewise.
12701         * math/auto-libm-test-in: Add more tests of exp.
12702         * math/auto-libm-test-out: Regenerated.
12703
12704 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
12705
12706         [BZ #16759]
12707         * inet/getnetgrent_r.c (get_nonempty_val): New function.
12708         (nscd_getnetgrent): Use it.
12709
12710         [BZ #16760]
12711         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
12712         of stpcpy.
12713
12714 2014-03-27  Andi Kleen  <ak@linux.intel.com>
12715
12716         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
12717         (lll_robust_lock, lll_cond_lock, lll_timedlock)
12718         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
12719         (lll_robust_unlock): Remove out of line section. Use cfi
12720         intrinsics.
12721         (LLL_STUB_UNWIND_INFO*): Remove.
12722         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
12723         (lll_robust_lock, lll_cond_lock, lll_timedlock)
12724         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
12725         (lll_robust_unlock): Remove out of line section. Use cfi
12726         intrinsics.
12727         (LLL_STUB_UNWIND_INFO*): Remove.
12728
12729 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
12730
12731         [BZ #16758]
12732         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
12733         blank values.
12734
12735 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
12736
12737         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
12738
12739 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
12740
12741         [BZ #16198]
12742         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
12743         fnstenv.
12744         * math/test-fenv-preserve.c: New file.
12745         * math/Makefile (tests): Add test-fenv-preserve.
12746
12747 2014-03-26  Will Newton <will.newton@linaro.org>
12748
12749         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
12750
12751 2014-03-25  Roland McGrath  <roland@hack.frob.com>
12752
12753         * scripts/versionlist.awk: Partition the version sets and emit all
12754         GLIBC_* (sorted) before all others (sorted).
12755
12756 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
12757
12758         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
12759         GLIBC_2.2.5 version.
12760
12761 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12762
12763         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
12764         calls.
12765
12766         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
12767         previous change.
12768
12769         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12770
12771 2014-03-25  Andreas Schwab  <schwab@suse.de>
12772
12773         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
12774         label to be used after in6ailist is initialized.
12775
12776 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12777
12778         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
12779         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
12780
12781 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
12782
12783         [BZ #16357]
12784         [BZ #16599]
12785         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
12786         min_plus_half.
12787         (fp_formats): Update initializers.
12788         (init_fp_formats): Initialize new field.
12789         (output_for_one_input_case): Allow underflow for results up to
12790         min_plus_half.
12791         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
12792         * math/auto-libm-test-in: Don't mark some underflows from asin and
12793         atanh as spurious.
12794         * math/auto-libm-test-out: Regenerated.
12795         * sysdeps/i386/fpu/libm-test-ulps: Update.
12796         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12797
12798 2014-03-25  Andreas Schwab  <schwab@suse.de>
12799
12800         * libio/Makefile (tst-ftell-partial-wide-ENV)
12801         (tst-ftell-active-handler-ENV): Define.
12802
12803 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
12804
12805         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
12806
12807 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
12808
12809         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
12810
12811 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
12812
12813         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
12814         * sysdeps/x86_64/fpu/multiarch/e_exp.c
12815         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
12816
12817 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
12818
12819         [BZ #16634]
12820         * elf/dl-load.c (open_verify): Add mode parameter.
12821         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
12822         (open_path): Change from boolean 'secure' to complete flag 'mode'
12823         (_dl_map_object): Adjust.
12824         * elf/Makefile (tests): Add tst-dlopen-aout.
12825         * elf/tst-dlopen-aout.c: New test.
12826
12827 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
12828
12829         [BZ #16714]
12830         * sysdeps/unix/sysv/linux/s390/bits/stat.h
12831         (struct stat): Rename member pad0 to __glibc_reserved0.
12832
12833         [BZ #16712]
12834         * sysdeps/s390/s390-32/bits/wordsize.h
12835         (__WORDSIZE32_SIZE_ULONG): New define.
12836         * sysdeps/s390/s390-64/bits/wordsize.h
12837         (__WORDSIZE32_SIZE_ULONG): Likewise.
12838         * sysdeps/generic/stdint.h (SIZE_MAX):
12839         Define as UL if __WORDSIZE32_SIZE_ULONG.
12840
12841         [BZ #16713]
12842         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
12843         (__glibc_reserved0): New variable.
12844         (sa_flags): Change type to int.
12845
12846         * posix/Makefile (before-compile): Use += before-compile instead
12847         of a :=.
12848
12849         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
12850         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
12851
12852 2014-03-20  Andreas Schwab  <schwab@suse.de>
12853
12854         [BZ #16743]
12855         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
12856         non-matching result from nscd.
12857
12858 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
12859
12860         * scripts/bench.py: Moved to ...
12861         * benchtests/scripts/bench.py: ... here.
12862         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
12863
12864 2014-03-24  Andreas Schwab  <schwab@suse.de>
12865
12866         [BZ #16002]
12867         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
12868         alloca_account and account alloca use for struct in6ailist.
12869
12870 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
12871
12872         [BZ #16284]
12873         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
12874         rounding mode to recompute results that overflow to infinity or
12875         underflow to zero.
12876         * math/auto-libm-test-in: Don't mark tests as expected to fail for
12877         bug 16284.
12878         * math/auto-libm-test-out: Regenerated.
12879         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
12880         (ccosh_test): Likewise.
12881         (csin_test_data): Use plus_oflow.
12882         (csin_test): Use ALL_RM_TEST.
12883         (csinh_test_data): Use plus_oflow.
12884         (csinh_test): Use ALL_RM_TEST.
12885         * sysdeps/i386/fpu/libm-test-ulps: Update.
12886         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12887
12888 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
12889
12890         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
12891         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
12892         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
12893
12894         [BZ #16731]
12895         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
12896         when x - 1 is zero.
12897         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
12898         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
12899         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
12900         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
12901         argument is 1.
12902         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
12903         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
12904         zero.
12905         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
12906         * sysdeps/i386/fpu/libm-test-ulps: Update.
12907         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12908
12909 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12910
12911         * scripts/bench.pl: Remove file.
12912         * scripts/bench.py: New benchmark script.
12913         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
12914         * benchtests/README: Mention python dependency.
12915         * scripts/pylintrc: New file.
12916         * scripts/pylint: New file.
12917
12918         * bits/mathdef.h: Use #ifdef instead of #if.
12919         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
12920         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
12921         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
12922         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
12923         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
12924         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
12925
12926 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12927             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
12928
12929         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
12930         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
12931         and strpbrk-ppc64 objects.
12932         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12933         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
12934         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
12935         multiarch strpbrk for POWER7.
12936         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
12937         multiarch strpbrk for PPC64.
12938         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
12939         ifunc selector.
12940         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
12941         strpbrk for POWER7.
12942
12943 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
12944
12945         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
12946         (atan_test): Likewise.
12947         (atanh_test_data): Use NO_TEST_INLINE for two tests.
12948         (atanh_test): Use ALL_RM_TEST.
12949         (atan2_test_data): Likewise.
12950         (cabs_test): Likewise.
12951         (cacosh_test): Likewise.
12952         (carg_test): Likewise.
12953         (casin_test): Likewise.
12954         (casinh_test): Likewise.
12955         (cbrt_test): Likewise.
12956         (csqrt_test): Likewise.
12957         (erf_test): Likewise.
12958         (erfc_test): Likewise.
12959         (pow10_test): Likewise.
12960         (exp2_test): Likewise.
12961         (hypot_test): Likewise.
12962         (j0_test): Likewise.
12963         (j1_test): Likewise.
12964         (lgamma_test): Likewise.
12965         (gamma_test): Likewise.
12966         (sincos_test): Likewise.
12967         (tanh_test): Likewise.
12968         (y0_test): Likewise.
12969         (y1_test): Likewise.
12970         * sysdeps/i386/fpu/libm-test-ulps: Update.
12971         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12972
12973 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12974
12975         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
12976         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
12977         and strcspn-ppc64 objects.
12978         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12979         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
12980         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
12981         multiarch strcspn for POWER7.
12982         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
12983         multiarch strcspn for PPC64.
12984         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
12985         ifunc selector.
12986         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
12987         strcspn for POWER7.
12988
12989 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
12990
12991         * math/gen-libm-test.pl (generate_testfile): Expect only function
12992         name as argument to AUTO_TESTS_* and pass results for all rounding
12993         modes to parse_args.
12994         (parse_auto_input): Separate inputs of automatic tests from
12995         outputs before storing in %auto_tests.
12996         * math/libm-test.inc (acos_test_data): Update call to
12997         AUTO_TESTS_f_f.
12998         (acos_test): Use ALL_RM_TEST.
12999         (acos_tonearest_test_data): Remove.
13000         (acos_test_tonearest): Likewise.
13001         (acos_towardzero_test_data): Likewise.
13002         (acos_test_towardzero): Likewise.
13003         (acos_downward_test_data): Likewise.
13004         (acos_test_downward): Likewise.
13005         (acos_upward_test_data): Likewise.
13006         (acos_test_upward): Likewise.
13007         (acosh_test_data): Update call to AUTO_TESTS_f_f.
13008         (asin_test_data): Likewise.
13009         (asin_test): Use ALL_RM_TEST.
13010         (asin_tonearest_test_data): Remove.
13011         (asin_test_tonearest): Likewise.
13012         (asin_towardzero_test_data): Likewise.
13013         (asin_test_towardzero): Likewise.
13014         (asin_downward_test_data): Likewise.
13015         (asin_test_downward): Likewise.
13016         (asin_upward_test_data): Likewise.
13017         (asin_test_upward): Likewise.
13018         (asinh_test_data): Update call to AUTO_TESTS_f_f.
13019         (atan_test_data): Likewise.
13020         (atanh_test_data): Likewise.
13021         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
13022         (cabs_test_data): Update call to AUTO_TESTS_c_f.
13023         (carg_test_data): Likewise.
13024         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
13025         (ccos_test_data): Update call to AUTO_TESTS_c_c.
13026         (ccosh_test_data): Likewise.
13027         (cexp_test_data): Likewise.
13028         (clog_test_data): Likewise.
13029         (clog10_test_data): Likewise.
13030         (cos_test_data): Update call to AUTO_TESTS_f_f.
13031         (cos_test): Use ALL_RM_TEST.
13032         (cos_tonearest_test_data): Remove.
13033         (cos_test_tonearest): Likewise.
13034         (cos_towardzero_test_data): Likewise.
13035         (cos_test_towardzero): Likewise.
13036         (cos_downward_test_data): Likewise.
13037         (cos_test_downward): Likewise.
13038         (cos_upward_test_data): Likewise.
13039         (cos_test_upward): Likewise.
13040         (cosh_test_data): Update call to AUTO_TESTS_f_f.
13041         (cosh_test): Use ALL_RM_TEST.
13042         (cosh_tonearest_test_data): Remove.
13043         (cosh_test_tonearest): Likewise.
13044         (cosh_towardzero_test_data): Likewise.
13045         (cosh_test_towardzero): Likewise.
13046         (cosh_downward_test_data): Likewise.
13047         (cosh_test_downward): Likewise.
13048         (cosh_upward_test_data): Likewise.
13049         (cosh_test_upward): Likewise.
13050         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
13051         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
13052         (ctan_test_data): Likewise.
13053         (ctan_test): Use ALL_RM_TEST.
13054         (ctan_tonearest_test_data): Remove.
13055         (ctan_test_tonearest): Likewise.
13056         (ctan_towardzero_test_data): Likewise.
13057         (ctan_test_towardzero): Likewise.
13058         (ctan_downward_test_data): Likewise.
13059         (ctan_test_downward): Likewise.
13060         (ctan_upward_test_data): Likewise.
13061         (ctan_test_upward): Likewise.
13062         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
13063         (ctanh_test): Use ALL_RM_TEST.
13064         (ctanh_tonearest_test_data): Remove.
13065         (ctanh_test_tonearest): Likewise.
13066         (ctanh_towardzero_test_data): Likewise.
13067         (ctanh_test_towardzero): Likewise.
13068         (ctanh_downward_test_data): Likewise.
13069         (ctanh_test_downward): Likewise.
13070         (ctanh_upward_test_data): Likewise.
13071         (ctanh_test_upward): Likewise.
13072         (erf_test_data): Update call to AUTO_TESTS_f_f.
13073         (erfc_test_data): Likewise.
13074         (exp_test_data): Likewise.
13075         (exp_test): Use ALL_RM_TEST.
13076         (exp_tonearest_test_data): Remove.
13077         (exp_test_tonearest): Likewise.
13078         (exp_towardzero_test_data): Likewise.
13079         (exp_test_towardzero): Likewise.
13080         (exp_downward_test_data): Likewise.
13081         (exp_test_downward): Likewise.
13082         (exp_upward_test_data): Likewise.
13083         (exp_test_upward): Likewise.
13084         (exp10_test_data): Update call to AUTO_TESTS_f_f.
13085         (exp10_test): Use ALL_RM_TEST.
13086         (exp10_tonearest_test_data): Remove.
13087         (exp10_test_tonearest): Likewise.
13088         (exp10_towardzero_test_data): Likewise.
13089         (exp10_test_towardzero): Likewise.
13090         (exp10_downward_test_data): Likewise.
13091         (exp10_test_downward): Likewise.
13092         (exp10_upward_test_data): Likewise.
13093         (exp10_test_upward): Likewise.
13094         (exp2_test_data): Update call to AUTO_TESTS_f_f.
13095         (expm1_test_data): Likewise.
13096         (expm1_test): Use ALL_RM_TEST.
13097         (expm1_tonearest_test_data): Remove.
13098         (expm1_test_tonearest): Likewise.
13099         (expm1_towardzero_test_data): Likewise.
13100         (expm1_test_towardzero): Likewise.
13101         (expm1_downward_test_data): Likewise.
13102         (expm1_test_downward): Likewise.
13103         (expm1_upward_test_data): Likewise.
13104         (expm1_test_upward): Likewise.
13105         (fma_test_data): Update call to AUTO_TESTS_fff_f.
13106         (fma_test): Use ALL_RM_TEST.
13107         (fma_towardzero_test_data): Remove.
13108         (fma_test_towardzero): Likewise.
13109         (fma_downward_test_data): Likewise.
13110         (fma_test_downward): Likewise.
13111         (fma_upward_test_data): Likewise.
13112         (fma_test_upward): Likewise.
13113         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
13114         (j0_test_data): Update call to AUTO_TESTS_f_f.
13115         (j1_test_data): Likewise.
13116         (jn_test_data): Update call to AUTO_TESTS_if_f.
13117         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
13118         (log_test_data): Update call to AUTO_TESTS_f_f.
13119         (log10_test_data): Likewise.
13120         (log1p_test_data): Likewise.
13121         (log2_test_data): Likewise.
13122         (pow_test_data): Update call to AUTO_TESTS_ff_f.
13123         (pow_tonearest_test_data): Likewise.
13124         (sin_test_data): Update call to AUTO_TESTS_f_f.
13125         (sin_test): Use ALL_RM_TEST.
13126         (sin_tonearest_test_data): Remove.
13127         (sin_test_tonearest): Likewise.
13128         (sin_towardzero_test_data): Likewise.
13129         (sin_test_towardzero): Likewise.
13130         (sin_downward_test_data): Likewise.
13131         (sin_test_downward): Likewise.
13132         (sin_upward_test_data): Likewise.
13133         (sin_test_upward): Likewise.
13134         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
13135         (sinh_test_data): Update call to AUTO_TESTS_f_f.
13136         (sinh_test): Use ALL_RM_TEST.
13137         (sinh_tonearest_test_data): Remove.
13138         (sinh_test_tonearest): Likewise.
13139         (sinh_towardzero_test_data): Likewise.
13140         (sinh_test_towardzero): Likewise.
13141         (sinh_downward_test_data): Likewise.
13142         (sinh_test_downward): Likewise.
13143         (sinh_upward_test_data): Likewise.
13144         (sinh_test_upward): Likewise.
13145         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
13146         (sqrt_test): Use ALL_RM_TEST.
13147         (sqrt_tonearest_test_data): Remove.
13148         (sqrt_test_tonearest): Likewise.
13149         (sqrt_towardzero_test_data): Likewise.
13150         (sqrt_test_towardzero): Likewise.
13151         (sqrt_downward_test_data): Likewise.
13152         (sqrt_test_downward): Likewise.
13153         (sqrt_upward_test_data): Likewise.
13154         (sqrt_test_upward): Likewise.
13155         (tan_test_data): Update call to AUTO_TESTS_f_f.
13156         (tan_test): Use ALL_RM_TEST.
13157         (tan_tonearest_test_data): Remove.
13158         (tan_test_tonearest): Likewise.
13159         (tan_towardzero_test_data): Likewise.
13160         (tan_test_towardzero): Likewise.
13161         (tan_downward_test_data): Likewise.
13162         (tan_test_downward): Likewise.
13163         (tan_upward_test_data): Likewise.
13164         (tan_test_upward): Likewise.
13165         (tanh_test_data): Update call to AUTO_TESTS_f_f.
13166         (tgamma_test_data): Likewise.
13167         (y0_test_data): Likewise.
13168         (y1_test_data): Likewise.
13169         (yn_test_data): Update call to AUTO_TESTS_if_f.
13170         (main): Do not call removed functions.
13171
13172 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
13173
13174         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
13175         (ldexp_test_data): Remove.
13176         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
13177         scalbn_test_data.
13178         (scalb_test): Use ALL_RM_TEST.
13179
13180 2014-03-19  Andreas Schwab  <schwab@suse.de>
13181
13182         * nscd/nscd.service: Also invalidate netgroup cache on reload.
13183
13184 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
13185
13186         [BZ #16649]
13187         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13188         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
13189         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
13190         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13191         (__ASSUME_PREADV): Undefine.
13192         (__ASSUME_PWRITEV): Likewise.
13193
13194 2014-03-18  Roland McGrath  <roland@hack.frob.com>
13195
13196         * bits/mman-linux.h: Add comment about non-Linux use.
13197         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
13198         bits/mman-linux.h resting place.
13199
13200         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
13201         * bits/mman-linux.h: ... here.
13202
13203 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13204
13205         * conform/conformtest.pl: Add standard definition when calling C
13206         preprocessor on data files.
13207         (checknamespace): Remove unused variable.
13208
13209 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
13210
13211         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
13212         minus_oflow, plus_uflow and minus_uflow in expected results.
13213         * math/libm-test.inc (scalbn_test_data): Add more tests of
13214         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
13215         minus_uflow.
13216         (scalbn_test): Use ALL_RM_TEST.
13217         (scalbln_test_data): Add more tests of negative arguments.  Use
13218         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
13219         (scalbln_test): Use ALL_RM_TEST.
13220
13221 2014-03-18  Roland McGrath  <roland@hack.frob.com>
13222
13223         * scripts/abilist.awk: Ignore symbols marked with .hidden.
13224
13225 2014-03-18  Will Newton  <will.newton@linaro.org>
13226
13227         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
13228         inaccurate comment.
13229
13230 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
13231
13232         * Makerules [!subdir] (check-abi): Exit with error status if a
13233         test failed.
13234
13235 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
13236
13237         * math/libm-test.inc (nearbyint_test_data): Include all tests used
13238         for rint.  Include results for all rounding modes.
13239         (nearbyint_test): Use ALL_RM_TEST.
13240         (rint_test_data): Include all tests used for nearbyint.
13241
13242 2014-03-17  Will Newton  <will.newton@linaro.org>
13243
13244         * nptl/sysdeps/pthread/pthread.h: Revert previous
13245         change.
13246
13247         * sysdeps/generic/ldsodefs.h: Revert previous
13248         change.
13249
13250         * libio/genops.c: Revert previous change.
13251         * libio/libioP.h: Likewise.
13252         * stdio-common/vfprintf.c: Likewise.
13253
13254         * sysdeps/generic/math_private.h: Revert previous
13255         change.
13256
13257         * sysdeps/generic/math_private.h: Check whether
13258         HAVE_RM_CTX is defined with #ifdef rather
13259         than #if.
13260
13261         * argp/argp-fmtstream.h: Check whether
13262         __STRICT_ANSI__ is defined with #ifdef rather
13263         than #if.
13264         * argp/argp.h: Likewise.
13265
13266         * libio/genops.c: Check whether
13267         _IO_JUMPS_OFFSET is defined with #ifdef rather
13268         than #if.
13269         * libio/libioP.h: Likewise.
13270         * stdio-common/vfprintf.c: Likewise.
13271
13272         * sysdeps/generic/ldsodefs.h: Check whether
13273         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
13274         than #if.
13275
13276         * nptl/sysdeps/pthread/pthread.h: Check
13277         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
13278         its value.
13279
13280 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
13281
13282         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
13283         setting O_APPEND.
13284         * libio/tst-ftell-active-handler.c (do_append_test): Add a
13285         test case.
13286
13287         [BZ #16680]
13288         * libio/fileops.c (_IO_file_open): Seek to end of file but
13289         don't cache the offset.
13290         (get_file_offset): Remove function.
13291         (do_ftell): Use cached offset when available.
13292         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
13293         don't cache the offset.
13294         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
13295         case.
13296         (do_one_test): Call it.
13297         (do_ftell_test): Fix up expected old offset for a+ mode.
13298         * libio/wfileops.c (do_ftell_wide): Used cached offset when
13299         available.
13300
13301         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
13302         up test status with function return status.
13303         (do_write_test): Likewise.
13304         (do_append_test): Likewise.
13305
13306         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
13307         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
13308         Remove.
13309
13310 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
13311
13312         * math/gen-libm-test.pl (parse_args): Handle results specified for
13313         each rounding mode separately.
13314         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
13315         tests and results from lrint_tonearest_test_data,
13316         lrint_towardzero_test_data, lrint_downward_test_data and
13317         lrint_upward_test_data.
13318         (lrint_test): Use ALL_RM_TEST.
13319         (lrint_tonearest_test_data): Remove.
13320         (lrint_test_tonearest): Likewise.
13321         (lrint_towardzero_test_data): Likewise.
13322         (lrint_test_towardzero): Likewise.
13323         (lrint_downward_test_data): Likewise.
13324         (lrint_test_downward): Likewise.
13325         (lrint_upward_test_data): Likewise.
13326         (lrint_test_upward): Likewise.
13327         (llrint_test_data): Merge in per-rounding-mode tests and results
13328         from llrint_tonearest_test_data, llrint_towardzero_test_data,
13329         llrint_downward_test_data and llrint_upward_test_data.
13330         (llrint_test): Use ALL_RM_TEST.
13331         (llrint_tonearest_test_data): Remove.
13332         (llrint_test_tonearest): Likewise.
13333         (llrint_towardzero_test_data): Likewise.
13334         (llrint_test_towardzero): Likewise.
13335         (llrint_downward_test_data): Likewise.
13336         (llrint_test_downward): Likewise.
13337         (llrint_upward_test_data): Likewise.
13338         (llrint_test_upward): Likewise.
13339         (rint_test_data): Merge in per-rounding-mode tests and results
13340         from rint_tonearest_test_data, rint_towardzero_test_data,
13341         rint_downward_test_data and rint_upward_test_data.  Add
13342         per-rounding-mode results for tests not in those arrays.
13343         (rint_test): Use ALL_RM_TEST.
13344         (rint_tonearest_test_data): Remove.
13345         (rint_test_tonearest): Likewise.
13346         (rint_towardzero_test_data): Likewise.
13347         (rint_test_towardzero): Likewise.
13348         (rint_downward_test_data): Likewise.
13349         (rint_test_downward): Likewise.
13350         (rint_upward_test_data): Likewise.
13351         (rint_test_upward): Likewise.
13352         (main): Don't call removed functions.
13353
13354 2014-03-14  Roland McGrath  <roland@hack.frob.com>
13355
13356         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
13357         "Compiled on ..." crapola.  It is anti-useful.
13358
13359 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
13360
13361         * scripts/evaluate-test.sh: Handle fourth argument to determine
13362         whether test run should stop on failure.
13363         * Makeconfig (stop-on-test-failure): New variable.
13364         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
13365         $(stop-on-test-failure).
13366         * Makefile (tests): Give a summary of results from testing and
13367         exit with failure status if they include an ERROR or FAIL.
13368         (xtests): Likewise.
13369         * manual/install.texi (Configuring and compiling): Mention
13370         stop-on-test-failure=y.
13371         * INSTALL: Regenerated.
13372
13373 2014-03-14  Roland McGrath  <roland@hack.frob.com>
13374
13375         * scripts/versionlist.awk: New file.
13376         * Makerules [$(build-shared) = yes]
13377         (postclean-generated): Add Versions.def, not Versions.def.v and
13378         Versions.def.v.i.
13379         ($(common-objpfx)Versions.def.v.i): Target removed.
13380         ($(common-objpfx)Versions.def): New target.
13381         ($(common-objpfx)Versions.all): Depend on that rather that
13382         $(common-objpfx)Versions.def.v.
13383         * Versions.def: File removed.
13384
13385         * Makeconfig (+gccwarn): Add -Wundef.
13386         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
13387         a dl-sysdep.h breaking its contract.
13388         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
13389         * include/stackinfo.h: New file.
13390         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
13391         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
13392         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
13393         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
13394         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
13395         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
13396         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13397         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13398         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13399         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13400         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13401         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
13402         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13403         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13404         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13405
13406 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13407
13408         [BZ #16707]
13409         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
13410         implementation.
13411         * math/libm-test.inc (round_test_data): Add more tests.
13412
13413         [BZ #16706]
13414         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
13415         implementation.
13416         * math/libm-test.inc (nearbyint_test_data): Add more tests.
13417
13418         [BZ #16701]
13419         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
13420         implementation.
13421         * math/libm-test.inc (ceil_test_data): Add more tests.
13422
13423         * math/libm-test.inc (trunc_test_data): Add more tests related to
13424         BZ#16414.
13425
13426 2014-03-14  Roland McGrath  <roland@hack.frob.com>
13427
13428         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
13429         with #if rather than #ifdef.
13430         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
13431
13432 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
13433
13434         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
13435         first.  Disable AVX-512 GCC support if assembler doesn't support
13436         it.
13437         * sysdeps/x86_64/configure: Regenerated.
13438
13439 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
13440
13441         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
13442         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
13443         (__old_pthread_attr_setstack): Likewise.
13444         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
13445         [!_STACK_GROWS_DOWN]: Likewise.
13446
13447 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
13448
13449         * config.make.in (have-bash2): Delete.
13450         * configure.ac (libc_cv_have_bash2): Delete.
13451         * configure: Regenerate.
13452         * elf/Makefile (common-ldd-rewrite): Rename to ...
13453         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
13454         (sh-ldd-rewrite): Delete.
13455         (bash-ldd-rewrite): Delete.
13456         (have-bash2): Delete checks.
13457         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
13458         ldd-rewrite.
13459
13460         * config.make.in (have-ksh): Delete.
13461         (KSH): Delete.
13462         * configure.ac (libc_cv_have_ksh): Delete.
13463         * configure: Regenerate.
13464
13465         * elf/Makefile: Delete $(have-ksh) check.
13466         ($(objpfx)sotruss): Change KSH to BASH.
13467         * elf/sotruss.ksh: Rename to ...
13468         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
13469         function style to match POSIX.  Drop ksh vim mode setting.
13470
13471         * manual/time.texi (Specifying the Time Zone with TZ): Change
13472         Tuesday to Thursday.
13473
13474         * debug/tst-longjmp_chk2.c: Update header comment.
13475         (stackoverflow_handler): Add comment.  Call assert on pass value.
13476
13477 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
13478
13479         [BZ #16194]
13480         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
13481         (HAVE_AVX512_ASM_SUPPORT): Likewise.
13482         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
13483         (La_x86_64_vector): Add zmm.
13484         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
13485         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
13486         ($(objpfx)tst-audit10): New target.
13487         ($(objpfx)tst-audit10.out): Likewise.
13488         (tst-audit10-ENV): New.
13489         (AVX512-CFLAGS): Likewise.
13490         (CFLAGS-tst-audit10.c): Likewise.
13491         (CFLAGS-tst-auditmod10a.c): Likewise.
13492         (CFLAGS-tst-auditmod10b.c): Likewise.
13493         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
13494         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
13495         * sysdeps/x86_64/configure: Regenerated.
13496         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
13497         AVX-512 zmm register support.
13498         (_dl_x86_64_save_sse): Likewise.
13499         (_dl_x86_64_restore_sse): Likewise.
13500         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
13501         size vector registers.
13502         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
13503         (ZMM_SIZE): Likewise.
13504         * sysdeps/x86_64/tst-audit10.c: New file.
13505         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
13506         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
13507
13508 2014-03-13  Roland McGrath  <roland@hack.frob.com>
13509
13510         * configure.ac (HAVE_EHDR_START): New check.
13511         * configure: Regenerated.
13512         * config.h.in (HAVE_EHDR_START): New #undef.
13513         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
13514         assuming the lowest-addressed segment maps the start of the file.
13515
13516 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
13517
13518         * INSTALL: Regenerated.
13519
13520 2014-03-13  Will Newton  <will.newton@linaro.org>
13521
13522         * manual/setjmp.texi (System V contexts): Improve
13523         clarity and grammar of documentation.
13524
13525 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
13526
13527         [BZ #16381]
13528         * elf/Makefile (tests): Add tst-pie2.
13529         (tests-pie): Add tst-pie2.
13530         * elf/tst-pie2.c: New file.
13531         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
13532         for ET_EXEC.
13533         * elf/rtld.c (map_doit): Load executable as lt_executable.
13534         (dl_main): Likewise.
13535
13536 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
13537
13538         [BZ #16642]
13539         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13540         (__ASSUME_PSELECT): Undefine.
13541
13542 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13543
13544         [BZ #16689]
13545         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
13546         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
13547         static build.
13548         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
13549         selector for static builds.
13550
13551 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
13552
13553         [BZ #16695]
13554         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
13555         key in the buffer.
13556
13557 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13558
13559         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
13560         IFUNC selector for static builds.
13561
13562 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
13563
13564         * sysdeps/mips/math_private.h [__mips_hard_float]
13565         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
13566         libc_feresetround_mips_ctx.
13567         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
13568         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
13569         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
13570
13571         [BZ #16677]
13572         * math/s_nextafter.c (__nextafter): Do not return value from
13573         overflowing computation.
13574         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
13575         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
13576         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
13577         Likewise.
13578         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
13579         Likewise.
13580         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
13581         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
13582
13583 2014-03-11  Roland McGrath  <roland@hack.frob.com>
13584
13585         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
13586         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
13587         Move sfi_sp use from the load-multiple (that no longer sets sp) to
13588         the new mov targetting sp.
13589
13590 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13591
13592         [BZ #16683]
13593         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
13594         Define it for static builds as well.
13595         (NO_BZERO_IMPL): Likewise.
13596
13597 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
13598
13599         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
13600         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
13601         multiarch strspn for PPC64.
13602         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
13603         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
13604         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13605         (__libc_ifunc_impl_list): Likewise.
13606         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
13607         multiarch optimizations
13608         * string/strspn.c (strspn): Using macro to redefine symbol name.
13609
13610 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
13611             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13612
13613         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
13614         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
13615         multiarch strncat for PPC64.
13616         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
13617         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
13618         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13619         (__libc_ifunc_impl_list): Likewise.
13620         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
13621         multiarch optimizations
13622
13623 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
13624
13625         [BZ #16639]
13626         * nscd/nscd.service: Make service type forking.
13627
13628 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13629
13630         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
13631         sign in non default rounding modes.
13632         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
13633
13634 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
13635
13636         * math/libm-test.inc (ALL_RM_TEST): New macro.
13637         (ceil_test): Use ALL_RM_TEST.
13638         (cimag_test): Likewise.
13639         (conj_test): Likewise.
13640         (copysign_test): Likewise.
13641         (cproj_test): Likewise.
13642         (creal_test): Likewise.
13643         (fabs_test): Likewise.
13644         (floor_test): Likewise.
13645         (fmax_test): Likewise.
13646         (fmin_test): Likewise.
13647         (fmod_test): Likewise.
13648         (fpclassify_test): Likewise.
13649         (frexp_test): Likewise.
13650         (ilogb_test): Likewise.
13651         (isfinite_test): Likewise.
13652         (finite_test): Likewise.
13653         (isgreater_test): Likewise.
13654         (isgreaterequal_test): Likewise.
13655         (isinf_test): Likewise.
13656         (isless_test): Likewise.
13657         (islessequal_test): Likewise.
13658         (islessgreater_test): Likewise.
13659         (isnan_test): Likewise.
13660         (isnormal_test): Likewise.
13661         (issignaling_test): Likewise.
13662         (isunordered_test): Likewise.
13663         (logb_test): Likewise.
13664         (logb_downward_test_data): Remove.
13665         (logb_test_downward): Likewise.
13666         (lround_test): Use ALL_RM_TEST.
13667         (llround_test): Likewise.
13668         (modf_test): Likewise.
13669         (nexttoward_test): Likewise.
13670         (remainder_test): Likewise.
13671         (drem_test): Likewise.
13672         (remainder_tonearest_test_data): Likewise.
13673         (remainder_test_tonearest): Likewise.
13674         (drem_test_tonearest): Likewise.
13675         (remainder_towardzero_test_data): Likewise.
13676         (remainder_test_towardzero): Likewise.
13677         (drem_test_towardzero): Likewise.
13678         (remainder_downward_test_data): Likewise.
13679         (remainder_test_downward): Likewise.
13680         (drem_test_downward): Likewise.
13681         (remainder_upward_test_data): Likewise.
13682         (remainder_test_upward): Likewise.
13683         (drem_test_upward): Likewise.
13684         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
13685         (round_test): Use ALL_RM_TEST.
13686         (signbit_test): Likewise.
13687         (trunc_test): Likewise.
13688         (significand_test): Likewise.
13689         (main): Don't call removed functions.
13690
13691 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
13692
13693         [BZ #16674]
13694         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
13695         || __USE_XOPEN2K8].
13696         (ILL_ILLOPN): Likewise.
13697         (ILL_ILLADR): Likewise.
13698         (ILL_ILLTRP): Likewise.
13699         (ILL_PRVOPC): Likewise.
13700         (ILL_PRVREG): Likewise.
13701         (ILL_COPROC): Likewise.
13702         (ILL_BADSTK): Likewise.
13703         (FPE_INTDIV): Likewise.
13704         (FPE_INTOVF): Likewise.
13705         (FPE_FLTDIV): Likewise.
13706         (FPE_FLTOVF): Likewise.
13707         (FPE_FLTUND): Likewise.
13708         (FPE_FLTRES): Likewise.
13709         (FPE_FLTINV): Likewise.
13710         (FPE_FLTSUB): Likewise.
13711         (SEGV_MAPERR): Likewise.
13712         (SEGV_ACCERR): Likewise.
13713         (BUS_ADRALN): Likewise.
13714         (BUS_ADRERR): Likewise.
13715         (BUS_OBJERR): Likewise.
13716         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13717         (TRAP_TRACE): Likewise.
13718         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13719         __USE_XOPEN2K8].
13720         (CLD_KILLED): Likewise.
13721         (CLD_DUMPED): Likewise.
13722         (CLD_TRAPPED): Likewise.
13723         (CLD_STOPPED): Likewise.
13724         (CLD_CONTINUED): Likewise.
13725         (POLL_IN): Likewise.
13726         (POLL_OUT): Likewise.
13727         (POLL_MSG): Likewise.
13728         (POLL_ERR): Likewise.
13729         (POLL_PRI): Likewise.
13730         (POLL_HUP): Likewise.
13731         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
13732         Likewise.
13733         (ILL_ILLOPN): Likewise.
13734         (ILL_ILLADR): Likewise.
13735         (ILL_ILLTRP): Likewise.
13736         (ILL_PRVOPC): Likewise.
13737         (ILL_PRVREG): Likewise.
13738         (ILL_COPROC): Likewise.
13739         (ILL_BADSTK): Likewise.
13740         (FPE_INTDIV): Likewise.
13741         (FPE_INTOVF): Likewise.
13742         (FPE_FLTDIV): Likewise.
13743         (FPE_FLTOVF): Likewise.
13744         (FPE_FLTUND): Likewise.
13745         (FPE_FLTRES): Likewise.
13746         (FPE_FLTINV): Likewise.
13747         (FPE_FLTSUB): Likewise.
13748         (SEGV_MAPERR): Likewise.
13749         (SEGV_ACCERR): Likewise.
13750         (BUS_ADRALN): Likewise.
13751         (BUS_ADRERR): Likewise.
13752         (BUS_OBJERR): Likewise.
13753         (BUS_MCEERR_AR): Likewise.
13754         (BUS_MCEERR_AO): Likewise.
13755         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13756         (TRAP_TRACE): Likewise.
13757         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13758         __USE_XOPEN2K8].
13759         (CLD_KILLED): Likewise.
13760         (CLD_DUMPED): Likewise.
13761         (CLD_TRAPPED): Likewise.
13762         (CLD_STOPPED): Likewise.
13763         (CLD_CONTINUED): Likewise.
13764         (POLL_IN): Likewise.
13765         (POLL_OUT): Likewise.
13766         (POLL_MSG): Likewise.
13767         (POLL_ERR): Likewise.
13768         (POLL_PRI): Likewise.
13769         (POLL_HUP): Likewise.
13770         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
13771         (ILL_ILLOPN): Likewise.
13772         (ILL_ILLADR): Likewise.
13773         (ILL_ILLTRP): Likewise.
13774         (ILL_PRVOPC): Likewise.
13775         (ILL_PRVREG): Likewise.
13776         (ILL_COPROC): Likewise.
13777         (ILL_BADSTK): Likewise.
13778         (FPE_INTDIV): Likewise.
13779         (FPE_INTOVF): Likewise.
13780         (FPE_FLTDIV): Likewise.
13781         (FPE_FLTOVF): Likewise.
13782         (FPE_FLTUND): Likewise.
13783         (FPE_FLTRES): Likewise.
13784         (FPE_FLTINV): Likewise.
13785         (FPE_FLTSUB): Likewise.
13786         (SEGV_MAPERR): Likewise.
13787         (SEGV_ACCERR): Likewise.
13788         (BUS_ADRALN): Likewise.
13789         (BUS_ADRERR): Likewise.
13790         (BUS_OBJERR): Likewise.
13791         (BUS_MCEERR_AR): Likewise.
13792         (BUS_MCEERR_AO): Likewise.
13793         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13794         (TRAP_TRACE): Likewise.
13795         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13796         __USE_XOPEN2K8].
13797         (CLD_KILLED): Likewise.
13798         (CLD_DUMPED): Likewise.
13799         (CLD_TRAPPED): Likewise.
13800         (CLD_STOPPED): Likewise.
13801         (CLD_CONTINUED): Likewise.
13802         (POLL_IN): Likewise.
13803         (POLL_OUT): Likewise.
13804         (POLL_MSG): Likewise.
13805         (POLL_ERR): Likewise.
13806         (POLL_PRI): Likewise.
13807         (POLL_HUP): Likewise.
13808         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
13809         Likewise.
13810         (ILL_ILLOPN): Likewise.
13811         (ILL_ILLADR): Likewise.
13812         (ILL_ILLTRP): Likewise.
13813         (ILL_PRVOPC): Likewise.
13814         (ILL_PRVREG): Likewise.
13815         (ILL_COPROC): Likewise.
13816         (ILL_BADSTK): Likewise.
13817         (ILL_BADIADDR): Likewise.
13818         (ILL_BREAK): Likewise.
13819         (FPE_INTDIV): Likewise.
13820         (FPE_INTOVF): Likewise.
13821         (FPE_FLTDIV): Likewise.
13822         (FPE_FLTOVF): Likewise.
13823         (FPE_FLTUND): Likewise.
13824         (FPE_FLTRES): Likewise.
13825         (FPE_FLTINV): Likewise.
13826         (FPE_FLTSUB): Likewise.
13827         (FPE_DECOVF): Likewise.
13828         (FPE_DECDIV): Likewise.
13829         (FPE_DECERR): Likewise.
13830         (FPE_INVASC): Likewise.
13831         (FPE_INVDEC): Likewise.
13832         (SEGV_MAPERR): Likewise.
13833         (SEGV_ACCERR): Likewise.
13834         (SEGV_PSTKOVF): Likewise.
13835         (BUS_ADRALN): Likewise.
13836         (BUS_ADRERR): Likewise.
13837         (BUS_OBJERR): Likewise.
13838         (BUS_MCEERR_AR): Likewise.
13839         (BUS_MCEERR_AO): Likewise.
13840         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13841         (TRAP_TRACE): Likewise.
13842         (TRAP_BRANCH): Likewise.
13843         (TRAP_HWBKPT): Likewise.
13844         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13845         __USE_XOPEN2K8].
13846         (CLD_KILLED): Likewise.
13847         (CLD_DUMPED): Likewise.
13848         (CLD_TRAPPED): Likewise.
13849         (CLD_STOPPED): Likewise.
13850         (CLD_CONTINUED): Likewise.
13851         (POLL_IN): Likewise.
13852         (POLL_OUT): Likewise.
13853         (POLL_MSG): Likewise.
13854         (POLL_ERR): Likewise.
13855         (POLL_PRI): Likewise.
13856         (POLL_HUP): Likewise.
13857         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
13858         (ILL_ILLOPN): Likewise.
13859         (ILL_ILLADR): Likewise.
13860         (ILL_ILLTRP): Likewise.
13861         (ILL_PRVOPC): Likewise.
13862         (ILL_PRVREG): Likewise.
13863         (ILL_COPROC): Likewise.
13864         (ILL_BADSTK): Likewise.
13865         (FPE_INTDIV): Likewise.
13866         (FPE_INTOVF): Likewise.
13867         (FPE_FLTDIV): Likewise.
13868         (FPE_FLTOVF): Likewise.
13869         (FPE_FLTUND): Likewise.
13870         (FPE_FLTRES): Likewise.
13871         (FPE_FLTINV): Likewise.
13872         (FPE_FLTSUB): Likewise.
13873         (SEGV_MAPERR): Likewise.
13874         (SEGV_ACCERR): Likewise.
13875         (BUS_ADRALN): Likewise.
13876         (BUS_ADRERR): Likewise.
13877         (BUS_OBJERR): Likewise.
13878         (BUS_MCEERR_AR): Likewise.
13879         (BUS_MCEERR_AO): Likewise.
13880         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13881         (TRAP_TRACE): Likewise.
13882         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13883         __USE_XOPEN2K8].
13884         (CLD_KILLED): Likewise.
13885         (CLD_DUMPED): Likewise.
13886         (CLD_TRAPPED): Likewise.
13887         (CLD_STOPPED): Likewise.
13888         (CLD_CONTINUED): Likewise.
13889         (POLL_IN): Likewise.
13890         (POLL_OUT): Likewise.
13891         (POLL_MSG): Likewise.
13892         (POLL_ERR): Likewise.
13893         (POLL_PRI): Likewise.
13894         (POLL_HUP): Likewise.
13895         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
13896         (ILL_ILLOPN): Likewise.
13897         (ILL_ILLADR): Likewise.
13898         (ILL_ILLTRP): Likewise.
13899         (ILL_PRVOPC): Likewise.
13900         (ILL_PRVREG): Likewise.
13901         (ILL_COPROC): Likewise.
13902         (ILL_BADSTK): Likewise.
13903         (FPE_INTDIV): Likewise.
13904         (FPE_INTOVF): Likewise.
13905         (FPE_FLTDIV): Likewise.
13906         (FPE_FLTOVF): Likewise.
13907         (FPE_FLTUND): Likewise.
13908         (FPE_FLTRES): Likewise.
13909         (FPE_FLTINV): Likewise.
13910         (FPE_FLTSUB): Likewise.
13911         (SEGV_MAPERR): Likewise.
13912         (SEGV_ACCERR): Likewise.
13913         (BUS_ADRALN): Likewise.
13914         (BUS_ADRERR): Likewise.
13915         (BUS_OBJERR): Likewise.
13916         (BUS_MCEERR_AR): Likewise.
13917         (BUS_MCEERR_AO): Likewise.
13918         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13919         (TRAP_TRACE): Likewise.
13920         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13921         __USE_XOPEN2K8].
13922         (CLD_KILLED): Likewise.
13923         (CLD_DUMPED): Likewise.
13924         (CLD_TRAPPED): Likewise.
13925         (CLD_STOPPED): Likewise.
13926         (CLD_CONTINUED): Likewise.
13927         (POLL_IN): Likewise.
13928         (POLL_OUT): Likewise.
13929         (POLL_MSG): Likewise.
13930         (POLL_ERR): Likewise.
13931         (POLL_PRI): Likewise.
13932         (POLL_HUP): Likewise.
13933         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
13934         (ILL_ILLOPN): Likewise.
13935         (ILL_ILLADR): Likewise.
13936         (ILL_ILLTRP): Likewise.
13937         (ILL_PRVOPC): Likewise.
13938         (ILL_PRVREG): Likewise.
13939         (ILL_COPROC): Likewise.
13940         (ILL_BADSTK): Likewise.
13941         (FPE_INTDIV): Likewise.
13942         (FPE_INTOVF): Likewise.
13943         (FPE_FLTDIV): Likewise.
13944         (FPE_FLTOVF): Likewise.
13945         (FPE_FLTUND): Likewise.
13946         (FPE_FLTRES): Likewise.
13947         (FPE_FLTINV): Likewise.
13948         (FPE_FLTSUB): Likewise.
13949         (SEGV_MAPERR): Likewise.
13950         (SEGV_ACCERR): Likewise.
13951         (BUS_ADRALN): Likewise.
13952         (BUS_ADRERR): Likewise.
13953         (BUS_OBJERR): Likewise.
13954         (BUS_MCEERR_AR): Likewise.
13955         (BUS_MCEERR_AO): Likewise.
13956         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13957         (TRAP_TRACE): Likewise.
13958         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13959         __USE_XOPEN2K8].
13960         (CLD_KILLED): Likewise.
13961         (CLD_DUMPED): Likewise.
13962         (CLD_TRAPPED): Likewise.
13963         (CLD_STOPPED): Likewise.
13964         (CLD_CONTINUED): Likewise.
13965         (POLL_IN): Likewise.
13966         (POLL_OUT): Likewise.
13967         (POLL_MSG): Likewise.
13968         (POLL_ERR): Likewise.
13969         (POLL_PRI): Likewise.
13970         (POLL_HUP): Likewise.
13971         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
13972         (ILL_ILLOPN): Likewise.
13973         (ILL_ILLADR): Likewise.
13974         (ILL_ILLTRP): Likewise.
13975         (ILL_PRVOPC): Likewise.
13976         (ILL_PRVREG): Likewise.
13977         (ILL_COPROC): Likewise.
13978         (ILL_BADSTK): Likewise.
13979         (ILL_DBLFLT): Likewise.
13980         (ILL_HARDWALL): Likewise.
13981         (FPE_INTDIV): Likewise.
13982         (FPE_INTOVF): Likewise.
13983         (FPE_FLTDIV): Likewise.
13984         (FPE_FLTOVF): Likewise.
13985         (FPE_FLTUND): Likewise.
13986         (FPE_FLTRES): Likewise.
13987         (FPE_FLTINV): Likewise.
13988         (FPE_FLTSUB): Likewise.
13989         (SEGV_MAPERR): Likewise.
13990         (SEGV_ACCERR): Likewise.
13991         (BUS_ADRALN): Likewise.
13992         (BUS_ADRERR): Likewise.
13993         (BUS_OBJERR): Likewise.
13994         (BUS_MCEERR_AR): Likewise.
13995         (BUS_MCEERR_AO): Likewise.
13996         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13997         (TRAP_TRACE): Likewise.
13998         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13999         __USE_XOPEN2K8].
14000         (CLD_KILLED): Likewise.
14001         (CLD_DUMPED): Likewise.
14002         (CLD_TRAPPED): Likewise.
14003         (CLD_STOPPED): Likewise.
14004         (CLD_CONTINUED): Likewise.
14005         (POLL_IN): Likewise.
14006         (POLL_OUT): Likewise.
14007         (POLL_MSG): Likewise.
14008         (POLL_ERR): Likewise.
14009         (POLL_PRI): Likewise.
14010         (POLL_HUP): Likewise.
14011         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
14012         (ILL_ILLOPN): Likewise.
14013         (ILL_ILLADR): Likewise.
14014         (ILL_ILLTRP): Likewise.
14015         (ILL_PRVOPC): Likewise.
14016         (ILL_PRVREG): Likewise.
14017         (ILL_COPROC): Likewise.
14018         (ILL_BADSTK): Likewise.
14019         (FPE_INTDIV): Likewise.
14020         (FPE_INTOVF): Likewise.
14021         (FPE_FLTDIV): Likewise.
14022         (FPE_FLTOVF): Likewise.
14023         (FPE_FLTUND): Likewise.
14024         (FPE_FLTRES): Likewise.
14025         (FPE_FLTINV): Likewise.
14026         (FPE_FLTSUB): Likewise.
14027         (SEGV_MAPERR): Likewise.
14028         (SEGV_ACCERR): Likewise.
14029         (BUS_ADRALN): Likewise.
14030         (BUS_ADRERR): Likewise.
14031         (BUS_OBJERR): Likewise.
14032         (BUS_MCEERR_AR): Likewise.
14033         (BUS_MCEERR_AO): Likewise.
14034         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14035         (TRAP_TRACE): Likewise.
14036         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14037         __USE_XOPEN2K8].
14038         (CLD_KILLED): Likewise.
14039         (CLD_DUMPED): Likewise.
14040         (CLD_TRAPPED): Likewise.
14041         (CLD_STOPPED): Likewise.
14042         (CLD_CONTINUED): Likewise.
14043         (POLL_IN): Likewise.
14044         (POLL_OUT): Likewise.
14045         (POLL_MSG): Likewise.
14046         (POLL_ERR): Likewise.
14047         (POLL_PRI): Likewise.
14048         (POLL_HUP): Likewise.
14049         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
14050         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
14051
14052         [BZ #16670]
14053         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
14054         before #include of <time.h>.
14055         [!__USE_XOPEN2K] (__need_timespec): Likewise.
14056         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
14057         (test-xfail-UNIX98/sched.h/conform): Likewise.
14058
14059 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
14060
14061         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
14062         error absence of trapping exception support.
14063         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
14064
14065 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
14066
14067         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
14068         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
14069         * timezone/Makefile (testdata): Move definition above include of
14070         Rules.
14071         (test-zones): New variable.
14072         (tests-special): Add zone files.
14073         (build-testdata): Use $(evaluate-test).
14074
14075         * elf/Makefile (tests-special): Rename tests to end with .out.
14076         ($(objpfx)noload-mem): Likewise.
14077         ($(objpfx)tst-leaks1-mem): Likewise.
14078         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
14079         * iconv/Makefile (xtests-special): Change test-iconvconfig to
14080         $(objpfx)test-iconvconfig.out.
14081         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
14082         set -e inside subshell and redirect output to file.
14083         * iconvdata/Makefile (generated): Rename tests to end with .out.
14084         Correct type.
14085         (tests-special): Rename tests to end with .out.
14086         ($(objpfx)mtrace-tst-loading): Likewise.
14087         * intl/Makefile (generated): Likewise.
14088         (tests-special): Likewise.
14089         ($(objpfx)mtrace-tst-gettext): Likewise.
14090         * misc/Makefile (generated): Likewise.
14091         (tests-special): Likewise.
14092         ($(objpfx)tst-error1-mem): Likewise.
14093         * nptl/Makefile (tests-special): Likewise.
14094         ($(objpfx)tst-stack3-mem): Likewise.
14095         (generated): Likewise.
14096         * posix/Makefile (generated): Likewise.
14097         (tests-special): Likewise.
14098         (xtests-special): Likewise.
14099         ($(objpfx)tst-fnmatch-mem): Likewise.
14100         ($(objpfx)bug-regex2-mem): Likewise.
14101         ($(objpfx)bug-regex14-mem): Likewise.
14102         ($(objpfx)bug-regex21-mem): Likewise.
14103         ($(objpfx)bug-regex31-mem): Likewise.
14104         ($(objpfx)tst-vfork3-mem): Likewise.
14105         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
14106         ($(objpfx)tst-pcre-mem): Likewise.
14107         ($(objpfx)tst-boost-mem): Likewise.
14108         ($(objpfx)bug-ga2-mem): Likewise.
14109         ($(objpfx)bug-glob2-mem): Likewise.
14110         * resolv/Makefile (generate): Likewise.
14111         (tests-special): Likewise.
14112         (xtests-special): Likewise.
14113         (generated): Likewise.
14114         ($(objpfx)mtrace-tst-leaks): Likewise.
14115         ($(objpfx)mtrace-tst-leaks2): Likewise.
14116
14117         * scripts/merge-test-results.sh: New file.
14118         * Makefile (tests-special-notdir): New variable.
14119         (tests): Run merge-test-results.sh.
14120         (xtests): Likewise.
14121         * Rules (tests-special-notdir): New variable.
14122         (xtests-special-notdir): Likewise.
14123         (tests): Run merge-test-results.sh
14124         (xtests): Likewise.
14125
14126         * Makeconfig (test-xfail-name): New variable.
14127         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
14128         compute variable name for expected failures.
14129         * conform/Makefile (conformtest-headers-data): New variable.
14130         (conformtest-standards): Likewise.
14131         (conformtest-headers-ISO): Likewise.
14132         (conformtest-headers-ISO99): Likewise.
14133         (conformtest-headers-ISO11): Likewise.
14134         (conformtest-headers-POSIX): Likewise.
14135         (conformtest-headers-XPG3): Likewise.
14136         (conformtest-headers-XPG4): Likewise.
14137         (conformtest-headers-UNIX98): Likewise.
14138         (conformtest-headers-XOPEN2K): Likewise.
14139         (conformtest-headers-POSIX2008): Likewise.
14140         (conformtest-headers-XOPEN2K8): Likewise.
14141         (conformtest-header-list-base): Likewise.
14142         (conformtest-header-list-tests): Likewise.
14143         (conformtest-header-base): Likewise.
14144         (conformtest-header-tests): Likewise.
14145         (tests-special): Add $(conformtest-header-list-tests).  If
14146         [$(fast-check) && !$(cross-compiling)], add
14147         $(conformtest-header-tests) instead of
14148         $(objpfx)run-conformtest.out.
14149         (generated): Add $(conformtest-header-list-base).  If
14150         [$(fast-check) && !$(cross-compiling)], add
14151         $(conformtest-header-base).  Remove previous setting.
14152         ($(conformtest-header-list-tests)): New target.
14153         (test-xfail-run-conformtest): Remove variable.
14154         ($(objpfx)run-conformtest.out): Remove target.
14155         (test-xfail-ISO11/complex.h/conform): New variable.
14156         (test-xfail-ISO11/stdalign.h/conform): Likewise.
14157         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
14158         (test-xfail-XPG3/varargs.h/conform): Likewise.
14159         (test-xfail-XPG4/varargs.h/conform): Likewise.
14160         (test-xfail-UNIX98/varargs.h/conform): Likewise.
14161         (test-xfail-XPG4/ndbm.h/conform): Likewise.
14162         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
14163         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
14164         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
14165         (test-xfail-XPG3/fcntl.h/conform): Likewise.
14166         (test-xfail-XPG3/ftw.h/conform): Likewise.
14167         (test-xfail-XPG3/grp.h/conform): Likewise.
14168         (test-xfail-XPG3/langinfo.h/conform): Likewise.
14169         (test-xfail-XPG3/limits.h/conform): Likewise.
14170         (test-xfail-XPG3/pwd.h/conform): Likewise.
14171         (test-xfail-XPG3/search.h/conform): Likewise.
14172         (test-xfail-XPG3/signal.h/conform): Likewise.
14173         (test-xfail-XPG3/stdio.h/conform): Likewise.
14174         (test-xfail-XPG3/stdlib.h/conform): Likewise.
14175         (test-xfail-XPG3/string.h/conform): Likewise.
14176         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
14177         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
14178         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
14179         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
14180         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
14181         (test-xfail-XPG3/sys/types.h/conform): Likewise.
14182         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
14183         (test-xfail-XPG3/termios.h/conform): Likewise.
14184         (test-xfail-XPG3/time.h/conform): Likewise.
14185         (test-xfail-XPG3/unistd.h/conform): Likewise.
14186         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
14187         (test-xfail-XPG4/fcntl.h/conform): Likewise.
14188         (test-xfail-XPG4/langinfo.h/conform): Likewise.
14189         (test-xfail-XPG4/netdb.h/conform): Likewise.
14190         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
14191         (test-xfail-XPG4/signal.h/conform): Likewise.
14192         (test-xfail-XPG4/stdio.h/conform): Likewise.
14193         (test-xfail-XPG4/stdlib.h/conform): Likewise.
14194         (test-xfail-XPG4/stropts.h/conform): Likewise.
14195         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
14196         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
14197         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
14198         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
14199         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
14200         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
14201         (test-xfail-XPG4/sys/time.h/conform): Likewise.
14202         (test-xfail-XPG4/sys/types.h/conform): Likewise.
14203         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
14204         (test-xfail-XPG4/termios.h/conform): Likewise.
14205         (test-xfail-XPG4/ucontext.h/conform): Likewise.
14206         (test-xfail-XPG4/unistd.h/conform): Likewise.
14207         (test-xfail-XPG4/utmpx.h/conform): Likewise.
14208         (test-xfail-POSIX/sched.h/conform): Likewise.
14209         (test-xfail-POSIX/signal.h/conform): Likewise.
14210         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
14211         (test-xfail-POSIX/tar.h/conform): Likewise.
14212         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
14213         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
14214         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
14215         (test-xfail-UNIX98/netdb.h/conform): Likewise.
14216         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
14217         (test-xfail-UNIX98/sched.h/conform): Likewise.
14218         (test-xfail-UNIX98/signal.h/conform): Likewise.
14219         (test-xfail-UNIX98/stdio.h/conform): Likewise.
14220         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
14221         (test-xfail-UNIX98/stropts.h/conform): Likewise.
14222         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
14223         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
14224         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
14225         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
14226         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
14227         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
14228         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
14229         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
14230         (test-xfail-UNIX98/unistd.h/conform): Likewise.
14231         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
14232         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
14233         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
14234         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
14235         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
14236         (test-xfail-XOPEN2K/math.h/conform): Likewise.
14237         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
14238         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
14239         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
14240         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
14241         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
14242         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
14243         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
14244         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
14245         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
14246         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
14247         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
14248         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
14249         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
14250         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
14251         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
14252         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
14253         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
14254         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
14255         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
14256         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
14257         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
14258         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
14259         (test-xfail-POSIX2008/signal.h/conform): Likewise.
14260         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
14261         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
14262         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
14263         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
14264         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
14265         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
14266         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
14267         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
14268         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
14269         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
14270         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
14271         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
14272         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
14273         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
14274         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
14275         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
14276         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
14277         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
14278         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
14279         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
14280         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
14281         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
14282         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
14283         (conformtest-cc-flags): Likewise.
14284         ($(conformtest-header-tests): New target.
14285         * conform/check-header-lists.sh: New file.
14286         * conform/run-conformtest.sh: Remove.
14287
14288         * conform/conformtest.pl: Allow ' and \ in values given for
14289         constants.
14290         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
14291         inclusion.
14292         [POSIX] (sys/types.h): Likewise.
14293         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
14294         inclusion.
14295         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
14296         inclusion.
14297         * conform/data/signal.h-data (SIGIO): Remove expectation.
14298         [XPG3] (SIGBUS): Do not expect.
14299         [POSIX || XPG3] (SIGPOLL): Likewise.
14300         [POSIX || XPG3] (SIGPROF): Likewise.
14301         [POSIX || XPG3] (SIGSYS): Likewise.
14302         [XPG3] (SIGTRAP): Likewise.
14303         [POSIX || XPG3] (SIGURG): Likewise.
14304         [POSIX || XPG3] (SIGVTALRM): Likewise.
14305         [POSIX || XPG3] (SIGXCPU): Likewise.
14306         [POSIX || XPG3] (SIGXFSZ): Likewise.
14307         [POSIX] (SA_SIGINFO): Expect.
14308         [XPG3] (siginfo_t): Do not expect type or contents.
14309         [POSIX] (si_pid): Do not expect element.
14310         [POSIX] (si_uid): Likewise.
14311         [POSIX] (si_addr): Likewise.
14312         [POSIX] (si_status): Likewise.
14313         [POSIX] (si_band): Likewise.
14314         [XPG4] (si_value): Likewise.
14315         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
14316         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
14317         [POSIX || XPG3] (ILL_ILLADR): Likewise.
14318         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
14319         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
14320         [POSIX || XPG3] (ILL_PRVREG): Likewise.
14321         [POSIX || XPG3] (ILL_COPROC): Likewise.
14322         [POSIX || XPG3] (ILL_BADSTK): Likewise.
14323         [POSIX || XPG3] (FPE_INTDIV): Likewise.
14324         [POSIX || XPG3] (FPE_INTOVF): Likewise.
14325         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
14326         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
14327         [POSIX || XPG3] (FPE_FLTUND): Likewise.
14328         [POSIX || XPG3] (FPE_FLTRES): Likewise.
14329         [POSIX || XPG3] (FPE_FLTINV): Likewise.
14330         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
14331         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
14332         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
14333         [POSIX || XPG3] (BUS_ADRALN): Likewise.
14334         [POSIX || XPG3] (BUS_ADRERR): Likewise.
14335         [POSIX || XPG3] (BUS_OBJERR): Likewise.
14336         [POSIX || XPG3] (CLD_EXITED): Likewise.
14337         [POSIX || XPG3] (CLD_KILLED): Likewise.
14338         [POSIX || XPG3] (CLD_DUMPED): Likewise.
14339         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
14340         [POSIX || XPG3] (CLD_STOPPED): Likewise.
14341         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
14342         [POSIX || XPG3] (POLL_IN): Likewise.
14343         [POSIX || XPG3] (POLL_OUT): Likewise.
14344         [POSIX || XPG3] (POLL_MSG): Likewise.
14345         [POSIX || XPG3] (POLL_ERR): Likewise.
14346         [POSIX || XPG3] (POLL_PRI): Likewise.
14347         [POSIX || XPG3] (POLL_HUP): Likewise.
14348         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
14349         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
14350         (SIG*): Do not allow.
14351         [XPG3] (si_*): Likewise.
14352         [XPG3] (SI_*): Likewise.
14353         [XPG3 || XPG4] (sigev_*): Likewise.
14354         [XPG3 || XPG4] (SIGEV_*): Likewise.
14355         [XPG3 || XPG4] (sival_*): Likewise.
14356         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
14357         [POSIX || XPG3] (BUS_*): Likewise.
14358         [POSIX || XPG3] (CLD_*): Likewise.
14359         [POSIX || XPG3] (FPE_*): Likewise.
14360         [POSIX || XPG3] (ILL_*): Likewise.
14361         [POSIX || XPG3] (POLL_*): Likewise.
14362         [POSIX || XPG3] (SEGV_*): Likewise.
14363         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
14364         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
14365         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
14366         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
14367         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
14368         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
14369         Specify type and value.
14370         (TVERSLEN): Likewise.
14371         (REGTYPE): Likewise.
14372         (AREGTYPE): Likewise.
14373         (LNKTYPE): Likewise.
14374         (SYMTYPE): Likewise.
14375         (CHRTYPE): Likewise.
14376         (BLKTYPE): Likewise.
14377         (DIRTYPE): Likewise.
14378         (FIFOTYPE): Likewise.
14379         (CONTTYPE): Likewise.
14380         (TSUID): Likewise.
14381         (TSGID): Likewise.
14382         (TSVTX): Likewise.
14383         (TUREAD): Likewise.
14384         (TUWRITE): Likewise.
14385         (TUEXEC): Likewise.
14386         (TGREAD): Likewise.
14387         (TGWRITE): Likewise.
14388         (TGEXEC): Likewise.
14389         (TOREAD): Likewise.
14390         (TOWRITE): Likewise.
14391         (TOEXEC): Likewise.
14392         [POSIX] (TSVTX): Expect constant.
14393
14394 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
14395
14396         * Makefile (tests): Change dependencies to ....
14397         (tests-special): ... additions to this variable.
14398         (tests): Depend on $(tests-special).
14399         * Makerules (check-abi-list): New variable.
14400         (check-abi): Depend on $(check-abi-list).
14401         [$(subdir) = elf] (tests-special): Add
14402         $(objpfx)check-abi-libc.out.
14403         [$(build-shared) = yes && subdir] (tests-special): Add
14404         $(check-abi-list).
14405         [$(build-shared) = yes && subdir] (tests): Do not depend on
14406         check-abi.
14407         * Rules (tests): Depend on $(tests-special).
14408         (xtests): Depend on $(xtests-special).
14409         * catgets/Makefile (tests): Change dependencies to ....
14410         (tests-special): ... additions to this variable.
14411         * conform/Makefile (tests): Change dependencies to ....
14412         (tests-special): ... additions to this variable.
14413         * elf/Makefile (tests): Change dependencies to ....
14414         (tests-special): ... additions to this variable.
14415         * grp/Makefile (tests): Change dependencies to ....
14416         (tests-special): ... additions to this variable.
14417         * iconv/Makefile (xtests): Change dependencies to ....
14418         (xtests-special): ... additions to this variable.
14419         * iconvdata/Makefile (tests): Change dependencies to ....
14420         (tests-special): ... additions to this variable.
14421         * intl/Makefile (tests): Change dependencies to ....
14422         (tests-special): ... additions to this variable.  Also add
14423         $(objpfx)tst-gettext.out.
14424         * io/Makefile (tests): Change dependencies to ....
14425         (tests-special): ... additions to this variable.
14426         * libio/Makefile (tests): Change dependencies to ....
14427         (tests-special): ... additions to this variable.
14428         * malloc/Makefile (tests): Change dependencies to ....
14429         (tests-special): ... additions to this variable.
14430         * misc/Makefile (tests): Change dependencies to ....
14431         (tests-special): ... additions to this variable.
14432         * nptl/Makefile (tests): Change dependencies to ....
14433         (tests-special): ... additions to this variable.
14434         * nptl_db/Makefile (tests): Change dependencies to ....
14435         (tests-special): ... additions to this variable.
14436         * posix/Makefile (tests): Change dependencies to ....
14437         (tests-special): ... additions to this variable.
14438         (xtests): Change dependencies to ....
14439         (xtests-special): ... additions to this variable.
14440         * resolv/Makefile (tests): Change dependencies to ....
14441         (tests-special): ... additions to this variable.
14442         (xtests): Change dependencies to ....
14443         (xtests-special): ... additions to this variable.
14444         * stdio-common/Makefile (tests): Change dependencies to ....
14445         (tests-special): ... additions to this variable.
14446         (do-tst-unbputc): Remove target.
14447         (do-tst-printf): Likewise.
14448         * stdlib/Makefile (tests): Change dependencies to ....
14449         (tests-special): ... additions to this variable.
14450         * string/Makefile (tests): Change dependencies to ....
14451         (tests-special): ... additions to this variable.
14452         * sysdeps/x86/Makefile (tests): Change dependencies to ....
14453         (tests-special): ... additions to this variable.
14454
14455         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
14456         whole file.
14457         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
14458         whole file.
14459         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
14460         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
14461
14462         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
14463         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
14464         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
14465         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
14466         * conform/data/libgen.h-data [XPG3]: Likewise.
14467         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
14468         * conform/data/ndbm.h-data [XPG3]: Likewise.
14469         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
14470         * conform/data/netdb.h-data [XPG3]: Likewise.
14471         * conform/data/netinet/in.h-data [XPG3]: Likewise.
14472         * conform/data/poll.h-data [XPG3]: Likewise.
14473         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
14474         * conform/data/strings.h-data [XPG3]: Likewise.
14475         * conform/data/stropts.h-data [XPG3]: Likewise.
14476         * conform/data/sys/mman.h-data [XPG3]: Likewise.
14477         * conform/data/sys/resource.h-data [XPG3]: Likewise.
14478         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
14479         Likewise.
14480         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
14481         * conform/data/sys/time.h-data [XPG3]: Likewise.
14482         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
14483         * conform/data/sys/uio.h-data [XPG3]: Likewise.
14484         * conform/data/sys/un.h-data [XPG3]: Likewise.
14485         * conform/data/syslog.h-data [XPG3]: Likewise.
14486         * conform/data/ucontext.h-data [XPG3]: Likewise.
14487         * conform/data/utmpx.h-data [XPG3]: Likewise.
14488         * conform/data/varargs.h-data [UNIX98]: Enable file.
14489
14490         * manual/Makefile (INSTALL_INFO): Remove variable setting.
14491
14492         * math/libm-test.inc (struct test_f_f_data): Move expected results
14493         into structure for each rounding mode.
14494         (struct test_ff_f_data): Likewise.
14495         (struct test_ff_f_data_nexttoward): Likewise.
14496         (struct test_fi_f_data): Likewise.
14497         (struct test_fl_f_data): Likewise.
14498         (struct test_if_f_data): Likewise.
14499         (struct test_fff_f_data): Likewise.
14500         (struct test_c_f_data): Likewise.
14501         (struct test_f_f1_data): Likewise.
14502         (struct test_fF_f1_data): Likewise.
14503         (struct test_ffI_f1_data): Likewise.
14504         (struct test_c_c_data): Likewise.
14505         (struct test_cc_c_data): Likewise.
14506         (struct test_f_i_data): Likewise.
14507         (struct test_ff_i_data): Likewise.
14508         (struct test_f_l_data): Likewise.
14509         (struct test_f_L_data): Likewise.
14510         (struct test_fFF_11_data): Likewise.
14511         (RM_): New macro.
14512         (RM_FE_DOWNWARD): Likewise.
14513         (RM_FE_TONEAREST): Likewise.
14514         (RM_FE_TOWARDZERO): Likewise.
14515         (RM_FE_UPWARD): Likewise.
14516         (RUN_TEST_LOOP_f_f): Update references to expected results.
14517         (RUN_TEST_LOOP_2_f): Likewise.
14518         (RUN_TEST_LOOP_fff_f): Likewise.
14519         (RUN_TEST_LOOP_c_f): Likewise.
14520         (RUN_TEST_LOOP_f_f1): Likewise.
14521         (RUN_TEST_LOOP_fF_f1): Likewise.
14522         (RUN_TEST_LOOP_fI_f1): Likewise.
14523         (RUN_TEST_LOOP_ffI_f1): Likewise.
14524         (RUN_TEST_LOOP_c_c): Likewise.
14525         (RUN_TEST_LOOP_cc_c): Likewise.
14526         (RUN_TEST_LOOP_f_i): Likewise.
14527         (RUN_TEST_LOOP_f_i_tg): Likewise.
14528         (RUN_TEST_LOOP_ff_i_tg): Likewise.
14529         (RUN_TEST_LOOP_f_b): Likewise.
14530         (RUN_TEST_LOOP_f_b_tg): Likewise.
14531         (RUN_TEST_LOOP_f_l): Likewise.
14532         (RUN_TEST_LOOP_f_L): Likewise.
14533         (RUN_TEST_LOOP_fFF_11): Likewise.
14534         * math/gen-libm-test.pl (parse_args): Output four copies of
14535         expected results for each test.
14536
14537         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14538         (__ASSUME_UTIMES): Remove.
14539         * sysdeps/unix/sysv/linux/tile/kernel-features.h
14540         (__ASSUME_UTIMES): Likewise.
14541
14542         * math/gen-auto-libm-tests.c: Update comment on output format.
14543         (output_for_one_input_case): Generate before-rounding and
14544         after-rounding information as conditions on output flags not
14545         floating-point format.
14546         * math/auto-libm-test-out: Regenerated.
14547         * math/gen-libm-test.pl (cond_value): New function.
14548         (or_cond_value): Use cond_value.
14549         (generate_testfile): Handle conditional exceptions.
14550
14551 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
14552
14553         * math/libm-test.inc (max_valid_error): New variable.
14554         (init_max_error): Take new argument specifying whether function
14555         results are exactly determined.  Set max_valid_error and bound
14556         other variables for errors based on this argument.
14557         (set_max_error): Do not record results above max_valid_error.
14558         (check_float_internal): Only accept errors of up to 0.5ulps if
14559         also at most max_valid_error.
14560         (START): Take new argument EXACT and pass it to init_max_error.
14561         (acos_test): Update call to START.
14562         (acos_test_tonearest): Likewise.
14563         (acos_test_towardzero): Likewise.
14564         (acos_test_downward): Likewise.
14565         (acos_test_upward): Likewise.
14566         (acosh_test): Likewise.
14567         (asin_test): Likewise.
14568         (asin_test_tonearest): Likewise.
14569         (asin_test_towardzero): Likewise.
14570         (asin_test_downward): Likewise.
14571         (asin_test_upward): Likewise.
14572         (asinh_test): Likewise.
14573         (atan_test): Likewise.
14574         (atanh_test): Likewise.
14575         (atan2_test): Likewise.
14576         (cabs_test): Likewise.
14577         (cacos_test): Likewise.
14578         (cacosh_test): Likewise.
14579         (carg_test): Likewise.
14580         (casin_test): Likewise.
14581         (casinh_test): Likewise.
14582         (catan_test): Likewise.
14583         (catanh_test): Likewise.
14584         (cbrt_test): Likewise.
14585         (ccos_test): Likewise.
14586         (ccosh_test): Likewise.
14587         (ceil_test): Likewise.
14588         (cexp_test): Likewise.
14589         (cimag_test): Likewise.
14590         (clog_test): Likewise.
14591         (clog10_test): Likewise.
14592         (conj_test): Likewise.
14593         (copysign_test): Likewise.
14594         (cos_test): Likewise.
14595         (cos_test_tonearest): Likewise.
14596         (cos_test_towardzero): Likewise.
14597         (cos_test_downward): Likewise.
14598         (cos_test_upward): Likewise.
14599         (cosh_test): Likewise.
14600         (cosh_test_tonearest): Likewise.
14601         (cosh_test_towardzero): Likewise.
14602         (cosh_test_downward): Likewise.
14603         (cosh_test_upward): Likewise.
14604         (cpow_test): Likewise.
14605         (cproj_test): Likewise.
14606         (creal_test): Likewise.
14607         (csin_test): Likewise.
14608         (csinh_test): Likewise.
14609         (csqrt_test): Likewise.
14610         (ctan_test): Likewise.
14611         (ctan_test_tonearest): Likewise.
14612         (ctan_test_towardzero): Likewise.
14613         (ctan_test_downward): Likewise.
14614         (ctan_test_upward): Likewise.
14615         (ctanh_test): Likewise.
14616         (ctanh_test_tonearest): Likewise.
14617         (ctanh_test_towardzero): Likewise.
14618         (ctanh_test_downward): Likewise.
14619         (ctanh_test_upward): Likewise.
14620         (erf_test): Likewise.
14621         (erfc_test): Likewise.
14622         (exp_test): Likewise.
14623         (exp_test_tonearest): Likewise.
14624         (exp_test_towardzero): Likewise.
14625         (exp_test_downward): Likewise.
14626         (exp_test_upward): Likewise.
14627         (exp10_test): Likewise.
14628         (exp10_test_tonearest): Likewise.
14629         (exp10_test_towardzero): Likewise.
14630         (exp10_test_downward): Likewise.
14631         (exp10_test_upward): Likewise.
14632         (pow10_test): Likewise.
14633         (exp2_test): Likewise.
14634         (expm1_test): Likewise.
14635         (expm1_test_tonearest): Likewise.
14636         (expm1_test_towardzero): Likewise.
14637         (expm1_test_downward): Likewise.
14638         (expm1_test_upward): Likewise.
14639         (fabs_test): Likewise.
14640         (fdim_test): Likewise.
14641         (floor_test): Likewise.
14642         (fma_test): Likewise.
14643         (fma_test_towardzero): Likewise.
14644         (fma_test_downward): Likewise.
14645         (fma_test_upward): Likewise.
14646         (fmax_test): Likewise.
14647         (fmin_test): Likewise.
14648         (fmod_test): Likewise.
14649         (fpclassify_test): Likewise.
14650         (frexp_test): Likewise.
14651         (hypot_test): Likewise.
14652         (ilogb_test): Likewise.
14653         (isfinite_test): Likewise.
14654         (finite_test): Likewise.
14655         (isgreater_test): Likewise.
14656         (isgreaterequal_test): Likewise.
14657         (isinf_test): Likewise.
14658         (isless_test): Likewise.
14659         (islessequal_test): Likewise.
14660         (islessgreater_test): Likewise.
14661         (isnan_test): Likewise.
14662         (isnormal_test): Likewise.
14663         (issignaling_test): Likewise.
14664         (isunordered_test): Likewise.
14665         (j0_test): Likewise.
14666         (j1_test): Likewise.
14667         (jn_test): Likewise.
14668         (ldexp_test): Likewise.
14669         (lgamma_test): Likewise.
14670         (gamma_test): Likewise.
14671         (lrint_test): Likewise.
14672         (lrint_test_tonearest): Likewise.
14673         (lrint_test_towardzero): Likewise.
14674         (lrint_test_downward): Likewise.
14675         (lrint_test_upward): Likewise.
14676         (llrint_test): Likewise.
14677         (llrint_test_tonearest): Likewise.
14678         (llrint_test_towardzero): Likewise.
14679         (llrint_test_downward): Likewise.
14680         (llrint_test_upward): Likewise.
14681         (log_test): Likewise.
14682         (log10_test): Likewise.
14683         (log1p_test): Likewise.
14684         (log2_test): Likewise.
14685         (logb_test): Likewise.
14686         (logb_test_downward): Likewise.
14687         (lround_test): Likewise.
14688         (llround_test): Likewise.
14689         (modf_test): Likewise.
14690         (nearbyint_test): Likewise.
14691         (nextafter_test): Likewise.
14692         (nexttoward_test): Likewise.
14693         (pow_test): Likewise.
14694         (pow_test_tonearest): Likewise.
14695         (pow_test_towardzero): Likewise.
14696         (pow_test_downward): Likewise.
14697         (pow_test_upward): Likewise.
14698         (remainder_test): Likewise.
14699         (drem_test): Likewise.
14700         (remainder_test_tonearest): Likewise.
14701         (drem_test_tonearest): Likewise.
14702         (remainder_test_towardzero): Likewise.
14703         (drem_test_towardzero): Likewise.
14704         (remainder_test_downward): Likewise.
14705         (drem_test_downward): Likewise.
14706         (remainder_test_upward): Likewise.
14707         (drem_test_upward): Likewise.
14708         (remquo_test): Likewise.
14709         (rint_test): Likewise.
14710         (rint_test_tonearest): Likewise.
14711         (rint_test_towardzero): Likewise.
14712         (rint_test_downward): Likewise.
14713         (rint_test_upward): Likewise.
14714         (round_test): Likewise.
14715         (scalb_test): Likewise.
14716         (scalbn_test): Likewise.
14717         (scalbln_test): Likewise.
14718         (signbit_test): Likewise.
14719         (sin_test): Likewise.
14720         (sin_test_tonearest): Likewise.
14721         (sin_test_towardzero): Likewise.
14722         (sin_test_downward): Likewise.
14723         (sin_test_upward): Likewise.
14724         (sincos_test): Likewise.
14725         (sinh_test): Likewise.
14726         (sinh_test_tonearest): Likewise.
14727         (sinh_test_towardzero): Likewise.
14728         (sinh_test_downward): Likewise.
14729         (sinh_test_upward): Likewise.
14730         (sqrt_test): Likewise.
14731         (sqrt_test_tonearest): Likewise.
14732         (sqrt_test_towardzero): Likewise.
14733         (sqrt_test_downward): Likewise.
14734         (sqrt_test_upward): Likewise.
14735         (tan_test): Likewise.
14736         (tan_test_tonearest): Likewise.
14737         (tan_test_towardzero): Likewise.
14738         (tan_test_downward): Likewise.
14739         (tan_test_upward): Likewise.
14740         (tanh_test): Likewise.
14741         (tgamma_test): Likewise.
14742         (trunc_test): Likewise.
14743         (y0_test): Likewise.
14744         (y1_test): Likewise.
14745         (yn_test): Likewise.
14746         (significand_test): Likewise.
14747
14748         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
14749         individual tests in comment.
14750         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
14751         (prev_max_error): New variable.
14752         (prev_real_max_error): Likewise.
14753         (prev_imag_max_error): Likewise.
14754         (compare_ulp_data): Don't refer to test names in comment.
14755         (find_test_ulps): Remove function.
14756         (find_function_ulps): Likewise.
14757         (find_complex_function_ulps): Likewise.
14758         (init_max_error): Take function name as argument.  Look up ulps
14759         for that function.
14760         (print_ulps): Remove function.
14761         (print_max_error): Use prev_max_error instead of calling
14762         find_function_ulps.
14763         (print_complex_max_error): Use prev_real_max_error and
14764         prev_imag_max_error instead of calling find_complex_function_ulps.
14765         (check_float_internal): Take max_ulp parameter instead of calling
14766         find_test_ulps.  Don't call print_ulps.
14767         (check_float): Update call to check_float_internal.
14768         (check_complex): Update calls to check_float_internal.
14769         (START): Pass argument to init_max_error.
14770         * math/gen-libm-test.pl (%results): Don't include "kind"
14771         information.
14772         (parse_ulps): Don't handle ulps of individual tests.
14773         (print_ulps_file): Likewise.
14774         (output_ulps): Likewise.
14775         * math/README.libm-test: Update.
14776         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
14777         individual tests.
14778         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
14779         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
14780         * sysdeps/arm/libm-test-ulps: Likewise.
14781         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
14782         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
14783         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
14784         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
14785         * sysdeps/microblaze/libm-test-ulps: Likewise.
14786         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
14787         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14788         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14789         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
14790         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
14791         * sysdeps/sh/libm-test-ulps: Likewise.
14792         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
14793         * sysdeps/tile/libm-test-ulps: Likewise.
14794         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14795
14796 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
14797
14798         * math/libm-test.inc (print_complex_max_error): Check separately
14799         whether real and imaginary errors are within allowed range and
14800         pass 0 to print_complex_function_ulps instead of value within
14801         allowed range.
14802
14803 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14804
14805         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
14806         formatting.
14807         (get_handles_fopen): Likewise.
14808         (do_write_test): Likewise.
14809
14810         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
14811
14812         * libio/fileops.c (do_ftell): Use cached offset when
14813         available.
14814         * libio/iofwide.c (do_ftell_wide): Likewise.
14815         * libio/iofdopen.c (_IO_new_fdopen): Don't use
14816         _IO_file_attach.
14817         * libio/wfileops.c (_IO_fwide): Don't cache offset.
14818
14819         [BZ #16532]
14820         * libio/libioP.h (get_file_offset): New function.
14821         * libio/fileops.c (get_file_offset): Likewise.
14822         (do_ftell): Likewise.
14823         (_IO_new_file_seekoff): Split out ftell logic.
14824         * libio/wfileops.c (do_ftell_wide): Likewise.
14825         (_IO_wfile_seekoff): Split out ftell logic.
14826         * libio/tst-ftell-active-handler.c: New test case.
14827         * libio/Makefile (tests): Add it.
14828
14829 2014-03-03  Roland McGrath  <roland@hack.frob.com>
14830
14831         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
14832         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
14833
14834 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
14835
14836         [BZ #16639]
14837         * nscd/connections.c (nscd_init): Call do_exit.
14838         (start_threads): Call do_exit and notify_parent.
14839         (begin_drop_privileges): Call do_exit.
14840         (finish_drop_privileges): Likewise.
14841         * nscd/selinux.c (preserve_capabilities): Likewise.
14842         (install_real_capabilities): Likewise.
14843         (nscd_selinux_enabled): Likewise.
14844         (avc_create_thread): Likewise.
14845         (avc_alloc_lock): Likewise.
14846         (nscd_avc_init): Likewise.
14847         * nscd/nscd.c (parent_fd): New static variable.
14848         (main): Create a pipe between parent and child processes.
14849         Skip closing parent_fd.
14850         (monitor_child): New function.
14851         (do_exit): Likewise.
14852         (notify_parent): Likewise.
14853         * nscd/nscd.h (notify_parent): Likewise.
14854         (do_exit): Likewise.
14855
14856 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
14857
14858         * malloc/malloc.c (__libc_calloc): Revert last change.
14859
14860 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14861
14862         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14863
14864 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14865
14866         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
14867         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
14868         implementation.
14869         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14870         (__libc_ifunc_impl_list): Likewise.
14871         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
14872         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
14873         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
14874         * string/strrchr.c: Define STRRCHR.
14875
14876 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
14877
14878         * benchtest/bench-strtok.c (simple_strtok): Delete.
14879         (strtok_string): Use as benchmark.
14880         * string/strtok (STRTOK): New macro.
14881
14882 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
14883
14884         * manual/threads.texi: Add header and standard comments to all
14885         functions.
14886
14887         * elf/dl-lookup.c (check_match): New function.
14888         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
14889         (do_lookup_x): Remove nested function check_match. Use non-nested
14890         function check_match.
14891
14892 2014-02-28  Roland McGrath  <roland@hack.frob.com>
14893
14894         * csu/Makefile (generated, before-compile): Use += rather than =.
14895         * catgets/Makefile (generated, generated-dirs): Likewise.
14896         * debug/Makefile (generated): Likewise.
14897         * dlfcn/Makefile (generated): Likewise.
14898         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
14899         * iconvdata/Makefile (before-compile, generated): Likewise.
14900         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
14901         * libio/Makefile (generated): Likewise.
14902         * malloc/Makefile (generated): Likewise.
14903         * manual/Makefile (generated, generated-dirs): Likewise.
14904         * misc/Makefile (generated): Likewise.
14905         * posix/Makefile (generated): Likewise.
14906         * resolv/Makefile (generated): Likewise.
14907         * sunrpc/Makefile (generated, generated-dirs): Likewise.
14908         * timezone/Makefile (generated, generated-dirs): Likewise.
14909
14910         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
14911
14912 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14913
14914         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
14915         power8 implementation.
14916         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
14917         file: POWER8 llround ifunc implementation.
14918         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
14919         (__lllround): Add POWER8 implementation.
14920         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
14921         POWER8 llround implementation.
14922
14923         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
14924         power8 implementation.
14925         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
14926         file: POWER8 llrint ifunc implementation.
14927         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
14928         Add POWER8 implementation.
14929         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
14930         POWER8 llrint implementation.
14931
14932         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
14933         power8 implementation.
14934         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
14935         file: POWER8 finite ifunc implementation.
14936         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
14937         Add POWER8 implementation.
14938         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
14939         Likewise.
14940         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
14941         POWER8 finite implementation.
14942         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
14943
14944         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
14945         power8 implementation.
14946         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
14947         file: POWER8 isinf ifunc implementation.
14948         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
14949         POWER8 implementation.
14950         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
14951         Likewise.
14952         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
14953         isinf implementation.
14954         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
14955
14956         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
14957         (INIT_ARCH): Add hwcap2 initialization.
14958         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
14959         power8 implementation.
14960         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
14961         file: POWER8 isnan ifunc implementation.
14962         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
14963         POWER8 implementation.
14964         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
14965         Likewise.
14966         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
14967         isnan implementation.
14968         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
14969
14970 2014-02-27  Joey Ye  <joey.ye@arm.com>
14971
14972         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
14973         (_FP_NANFRAC_Q): Set to zero.
14974
14975 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
14976
14977         [BZ #16623]
14978         * math/auto-libm-test-in: New test inputs.
14979         * math/auto-libm-test-out: Regenerate.
14980         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
14981         and DA.
14982         (__cos): Likewise.
14983         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
14984
14985 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
14986
14987         * scripts/evaluate-test.sh: Take new argument indicating whether
14988         failure is expected.
14989         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
14990         indicating whether failure is expected.
14991         * conform/Makefile (test-xfail-run-conformtest): New variable.
14992         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
14993         level.
14994         * posix/Makefile (test-xfail-annexc): New variable.
14995         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
14996
14997 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
14998
14999         * argp/Makefile: Include Makeconfig immediately after defining
15000         subdir.
15001         * assert/Makefile: Likewise.
15002         * benchtests/Makefile: Likewise.
15003         * catgets/Makefile: Likewise.
15004         * conform/Makefile: Likewise.
15005         * crypt/Makefile: Likewise.
15006         * csu/Makefile: Likewise.
15007         (all): Remove target.
15008         * ctype/Makefile: Include Makeconfig immediately after defining
15009         subdir.
15010         * debug/Makefile: Likewise.
15011         * dirent/Makefile: Likewise.
15012         * dlfcn/Makefile: Likewise.
15013         * gmon/Makefile: Likewise.
15014         * gnulib/Makefile: Likewise.
15015         * grp/Makefile: Likewise.
15016         * gshadow/Makefile: Likewise.
15017         * hesiod/Makefile: Likewise.
15018         * hurd/Makefile: Likewise.
15019         (all): Remove target.
15020         * iconvdata/Makefile: Include Makeconfig immediately after
15021         defining subdir.
15022         * inet/Makefile: Likewise.
15023         * intl/Makefile: Likewise.
15024         * io/Makefile: Likewise.
15025         * libio/Makefile: Likewise.
15026         (all): Remove target.
15027         * locale/Makefile: Include Makeconfig immediately after defining
15028         subdir.
15029         * login/Makefile: Likewise.
15030         * mach/Makefile: Likewise.
15031         (all): Remove target.
15032         * malloc/Makefile: Include Makeconfig immediately after defining
15033         subdir.
15034         (all): Remove target.
15035         * manual/Makefile: Include Makeconfig immediately after defining
15036         subdir.
15037         * math/Makefile: Likewise.
15038         * misc/Makefile: Likewise.
15039         * nis/Makefile: Likewise.
15040         * nss/Makefile: Likewise.
15041         * po/Makefile: Likewise.
15042         (all): Remove target.
15043         * posix/Makefile: Include Makeconfig immediately after defining
15044         subdir.
15045         * pwd/Makefile: Likewise.
15046         * resolv/Makefile: Likewise.
15047         * resource/Makefile: Likewise.
15048         * rt/Makefile: Likewise.
15049         * setjmp/Makefile: Likewise.
15050         * shadow/Makefile: Likewise.
15051         * signal/Makefile: Likewise.
15052         * socket/Makefile: Likewise.
15053         * soft-fp/Makefile: Likewise.
15054         * stdio-common/Makefile: Likewise.
15055         * stdlib/Makefile: Likewise.
15056         * streams/Makefile: Likewise.
15057         * string/Makefile: Likewise.
15058         * sunrpc/Makefile: Likewise.
15059         (all): Remove target.
15060         * sysvipc/Makefile: Include Makeconfig immediately after defining
15061         subdir.
15062         * termios/Makefile: Likewise.
15063         * time/Makefile: Likewise.
15064         * timezone/Makefile: Likewise.
15065         (all): Remove target.
15066         * wcsmbs/Makefile: Include Makeconfig immediately after defining
15067         subdir.
15068         * wctype/Makefile: Likewise.
15069
15070 2014-02-26  Steve Ellcey  <sellcey@mips.com>
15071
15072         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
15073         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
15074         (libc_feholdexcept_setround_mips): Ditto.
15075         (libc_feholdsetround): New.
15076         (libc_feholdsetroundf): New.
15077         (libc_feholdsetroundl): New.
15078         (libc_feupdateenv_test_mips): New.
15079         (libc_feupdateenv_test): New.
15080         (libc_feupdateenv_testf): New.
15081         (libc_feupdateenv_testl): New.
15082         (libc_feresetround): New.
15083         (libc_feresetroundf): New.
15084         (libc_feresetroundl): New.
15085         (libc_fetestexcept_mips): New.
15086         (libc_fetestexcept): New.
15087         (libc_fetestexceptf): New.
15088         (libc_fetestexceptl): New.
15089         (HAVE_RM_CTX): New.
15090         (libc_feholdexcept_setround_mips_ctx): New.
15091         (libc_feholdexcept_setround_ctx): New.
15092         (libc_feholdexcept_setroundf_ctx): New.
15093         (libc_feholdexcept_setroundl_ctx): New.
15094         (libc_fesetenv_mips_ctx): New.
15095         (libc_fesetenv_ctx): New.
15096         (libc_fesetenv_ctxf): New.
15097         (libc_fesetenv_ctxl): New.
15098         (libc_feupdateenv_mips_ctx): New.
15099         (libc_feupdateenv_ctx): New.
15100         (libc_feupdateenvf_ctx): New.
15101         (libc_feupdateenvl_ctx): New.
15102         (libc_feholdsetround_mips_ctx): New.
15103         (libc_feholdsetround_ctx): New.
15104         (libc_feholdsetroundf_ctx): New.
15105         (libc_feholdsetroundl_ctx): New.
15106         (libc_feresetround_mips_ctx): New.
15107         (libc_feresetround_ctx): New.
15108         (libc_feresetroundf_ctx): New.
15109         (libc_feresetroundl_ctx): New.
15110
15111 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
15112
15113         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
15114
15115         * manual/ipc.texi: New file.
15116         * manual/Makefile (chapters): Add ipc.
15117         * manual/job.texi: Add "Inter-Process Communication" to next.
15118         * manual/process.texi: Add "Inter-Process Communication" to prev.
15119
15120 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15121
15122         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15123
15124 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
15125
15126         * malloc/malloc.c (__libc_calloc): Simplify implementation.
15127
15128         * manual/arith.texi: Fix spaces after sentences.
15129         * manual/charset.texi: Likewise.
15130         * manual/errno.texi: Likewise.
15131         * manual/install.texi: Likewise.
15132         * manual/llio.texi: Likewise.
15133         * manual/locale.texi: Likewise.
15134         * manual/maint.texi: Likewise.
15135         * manual/math.texi: Likewise.
15136         * manual/memory.texi: Likewise.
15137         * manual/message.texi: Likewise.
15138         * manual/probes.texi: Likewise.
15139         * manual/resource.texi: Likewise.
15140         * manual/signal.texi: Likewise.
15141         * manual/socket.texi: Likewise.
15142         * manual/stdio.texi: Likewise.
15143         * manual/string.texi: Likewise.
15144         * manual/time.texi: Likewise.
15145         * manual/users.texi: Likewise.
15146
15147 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
15148
15149         [BZ #16632]
15150         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
15151         _DEFAULT_SOURCE is defined.
15152
15153 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
15154             Carlos O'Donell  <carlos@redhat.com>
15155
15156         [BZ #16613]
15157         * elf/dl-tls.c (_dl_count_modids): New function.
15158         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
15159         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
15160         audit library and increment generation counter.
15161         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
15162         * elf/tst-audit9.c: New file.
15163         * elf/tst-auditmod9a.c: New file.
15164         * elf/tst-auditmod9b.c: New file.
15165         * elf/Makefile: Add rules to build and run tst-audit9.
15166
15167 2014-02-25  Florian Weimer  <fweimer@redhat.com>
15168
15169         [BZ #15347]
15170         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
15171
15172 2014-02-25  Will Newton  <will.newton@linaro.org>
15173
15174         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
15175         (__longjmp): Restore sp and lr before restoring callee
15176         saved registers.  Add longjmp and longjmp_target
15177         SystemTap probe point.
15178         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
15179         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
15180         Define to zero to match jmpbuf layout.
15181         * sysdeps/arm/setjmp.S: Include stap-probe.h.
15182         (__sigsetjmp): Save sp and lr before saving callee
15183         saved registers.  Add setjmp SystemTap probe point.
15184
15185 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
15186
15187         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15188
15189 2014-02-24  Andreas Schwab  <schwab@suse.de>
15190
15191         [BZ #15804]
15192         * elf/pldd.c (wait_for_ptrace_stop): New function.
15193         (main): Call it after attaching.
15194
15195 2014-02-22  Roland McGrath  <roland@hack.frob.com>
15196
15197         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
15198         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
15199         Versions files is now verboten.
15200         * hurd/Versions (libc: GLIBC_2.0):
15201         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
15202         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
15203         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
15204         * mach/Versions: Likewise.
15205
15206         * csu/Versions: Remove unused %include.
15207         * resolv/Versions: Likewise.
15208
15209 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
15210
15211         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
15212         ($(objpfx)check-local-headers.out): Likewise.
15213         ($(objpfx)begin-end-check.out): Likewise.
15214         * Makerules (check-abi-%.out): Likewise.
15215         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
15216         ($(objpfx)test2.cat): Likewise.
15217         ($(objpfx)de/libc.cat): Likewise.
15218         ($(objpfx)test-gencat.out): Likewise.
15219         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
15220         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
15221         ($(objpfx)noload-mem): Likewise.
15222         ($(objpfx)tst-pathopt.out): Likewise.
15223         ($(objpfx)tst-rtld-load-self.out): Likewise.
15224         ($(objpfx)tst-array1-cmp.out): Likewise.
15225         ($(objpfx)tst-array1-static-cmp.out): Likewise.
15226         ($(objpfx)tst-array2-cmp.out): Likewise.
15227         ($(objpfx)tst-array3-cmp.out): Likewise.
15228         ($(objpfx)tst-array4-cmp.out): Likewise.
15229         ($(objpfx)tst-array5-cmp.out): Likewise.
15230         ($(objpfx)tst-array5-static-cmp.out): Likewise.
15231         ($(objpfx)check-textrel.out): Likewise.
15232         ($(objpfx)check-execstack.out): Likewise.
15233         ($(objpfx)check-localplt.out): Likewise.
15234         ($(objpfx)order2-cmp.out): Likewise.
15235         ($(objpfx)tst-leaks1-mem): Likewise.
15236         ($(objpfx)tst-leaks1-static-mem): Likewise.
15237         ($(objpfx)tst-initorder-cmp.out): Likewise.
15238         ($(objpfx)tst-initorder2-cmp.out): Likewise.
15239         ($(objpfx)tst-unused-dep.out): Likewise.
15240         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
15241         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
15242         * iconv/Makefile (test-iconvconfig): Likewise.
15243         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
15244         ($(objpfx)iconv-test.out): Likewise.
15245         ($(objpfx)tst-tables.out): Likewise.
15246         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
15247         ($(objpfx)tst-gettext.out): Likewise.
15248         ($(objpfx)tst-translit.out): Likewise.
15249         ($(objpfx)tst-gettext2.out): Likewise.
15250         ($(objpfx)tst-gettext4.out): Likewise.
15251         ($(objpfx)tst-gettext6.out): Likewise.
15252         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
15253         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
15254         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
15255         ($(objpfx)tst-fopenloc-mem.out): Likewise.
15256         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
15257         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
15258         * posix/Makefile ($(objpfx)globtest.out): Likewise.
15259         ($(objpfx)wordexp-tst.out): Likewise.
15260         ($(objpfx)annexc.out): Likewise.
15261         ($(objpfx)tst-fnmatch-mem): Likewise.
15262         ($(objpfx)bug-regex2-mem): Likewise.
15263         ($(objpfx)bug-regex14-mem): Likewise.
15264         ($(objpfx)bug-regex21-mem): Likewise.
15265         ($(objpfx)bug-regex31-mem): Likewise.
15266         ($(objpfx)tst-vfork3-mem): Likewise.
15267         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
15268         ($(objpfx)tst-pcre-mem): Likewise.
15269         ($(objpfx)tst-boost-mem): Likewise.
15270         ($(objpfx)tst-getconf.out): Likewise.
15271         ($(objpfx)bug-ga2-mem): Likewise.
15272         ($(objpfx)bug-glob2-mem): Likewise.
15273         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
15274         ($(objpfx)mtrace-tst-leaks2): Likewise.
15275         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
15276         ($(objpfx)tst-printf.out): Likewise.
15277         ($(objpfx)tst-setvbuf1.out): Likewise.
15278         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
15279         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
15280         ($(objpfx)tst-fmtmsg.out): Likewise.
15281         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
15282         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
15283
15284         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
15285         * bits/sigaction.h [__USE_MISC]: Likewise.
15286         * bits/waitstatus.h: Update #endif comments.
15287         * ctype/ctype.h: Likewise.
15288         * dirent/dirent.h: Likewise.
15289         [__USE_MISC]: Remove redundant conditionals.
15290         * grp/grp.h: Update #endif comments.
15291         [__USE_GNU]: Remove redundant conditionals.
15292         [__USE_MISC]: Likewise.
15293         * inet/netinet/in.h [__USE_GNU]: Likewise.
15294         * io/sys/stat.h [__USE_MISC]: Likewise.
15295         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
15296         * libio/bits/stdio.h: Update #endif comments.
15297         [__USE_MISC]: Remove redundant conditionals.
15298         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
15299         * libio/stdio.h: Update #endif comments.
15300         [__USE_MISC]: Remove redundant conditionals.
15301         * math/bits/math-finite.h [__USE_MISC]: Likewise.
15302         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
15303         * math/math.h: Update #else and #endif comments.
15304         [__USE_MISC]: Remove redundant conditionals.
15305         * misc/sys/uio.h: Update #endif comments.
15306         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
15307         * posix/glob.h [__USE_MISC]: Likewise.
15308         * posix/sys/types.h: Update #endif comments.
15309         [__USE_MISC]: Remove redundant conditionals.
15310         * posix/sys/wait.h: Update #endif comments.
15311         [__USE_MISC]: Remove redundant conditionals.
15312         * posix/unistd.h: Update #endif comments.
15313         [__USE_MISC]: Remove redundant conditionals.
15314         * pwd/pwd.h [__USE_GNU]: Likewise.
15315         [__USE_MISC]: Likewise.
15316         * resolv/netdb.h [__USE_GNU]: Likewise.
15317         * signal/signal.h: Update #endif comments.
15318         [__USE_MISC]: Remove redundant conditionals.
15319         * stdlib/stdlib.h: Update #else and #endif comments.
15320         [__USE_MISC]: Remove redundant conditionals.
15321         [__USE_GNU]: Likewise.
15322         * string/bits/string2.h [__USE_MISC]: Likewise.
15323         * string/string.h: Update #endif comments.
15324         [__USE_MISC]: Remove redundant conditionals.
15325         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
15326         Likewise.
15327         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
15328         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
15329         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
15330         Likewise.
15331         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
15332         Likewise.
15333         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
15334         comments.
15335         [__USE_MISC]: Remove redundant conditionals.
15336         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
15337         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
15338         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
15339         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
15340         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
15341         Likewise.
15342         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
15343         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
15344         Likewise.
15345         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
15346         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
15347         Likewise.
15348         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
15349         Likewise.
15350         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
15351         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
15352         Likewise.
15353         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
15354         Likewise.
15355         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
15356         * sysdeps/x86/bits/string.h: Update #endif comments.
15357         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
15358         conditionals.
15359         * time/sys/time.h: Update #endif comments.
15360         * time/time.h: Likewise.
15361         [__USE_MISC]: Remove redundant conditionals.
15362
15363 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
15364
15365         [BZ #16600]
15366         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
15367
15368 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
15369
15370         * Versions.def (librt): Add GLIBC_2.17.
15371
15372 2014-02-21  Adam Conrad  <adconrad@0c3.net>
15373
15374         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
15375         synonym for _SYS_AUXV_H to allow direct inclusion.
15376         * sysdeps/sparc/bits/hwcap.h: Likewise.
15377         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
15378         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
15379         * sysdeps/sparc/sysdep.h: Likewise.
15380
15381 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
15382
15383         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
15384
15385 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15386
15387         * benchtests/bench-strrchr.c: Print length instead of position.
15388
15389 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
15390
15391         [BZ #16611]
15392         * sysdeps/unix/sysv/linux/kernel-features.h
15393         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
15394         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
15395         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
15396         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
15397         Likewise.
15398         [__i386__ || __powerpc__ || __sh__ || __sparc__]
15399         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15400         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
15401         (__ASSUME_SENDMMSG): Define instead of using previous
15402         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
15403         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15404         (__ASSUME_SENDMMSG_SYSCALL): Define.
15405         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15406         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
15407         Likewise.
15408         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15409         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15410         Likewise.
15411         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15412         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15413         Likewise.
15414         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
15415         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
15416         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
15417         [__ASSUME_SENDMMSG]: Change conditionals to
15418         [__ASSUME_SENDMMSG_SOCKETCALL].
15419         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15420         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
15421         Define.
15422         * sysdeps/unix/sysv/linux/mips/kernel-features.h
15423         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
15424         Likewise.
15425         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
15426         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
15427         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
15428         [!__ASSUME_SENDMMSG]: Change conditional to
15429         [!__ASSUME_SENDMMSG_SOCKETCALL].
15430         * sysdeps/unix/sysv/linux/tile/kernel-features.h
15431         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15432         Define.
15433
15434         [BZ #16610]
15435         * sysdeps/unix/sysv/linux/kernel-features.h
15436         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
15437         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
15438         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
15439         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
15440         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15441         [__i386__ || __sparc__]
15442         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15443         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
15444         (__ASSUME_RECVMMSG): Define instead of using previous
15445         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
15446         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15447         (__ASSUME_RECVMMSG_SYSCALL): Define.
15448         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15449         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15450         Likewise.
15451         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15452         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15453         Likewise.
15454         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15455         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15456         Likewise.
15457         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
15458         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
15459         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
15460         [__ASSUME_RECVMMSG]: Change condition to
15461         [__ASSUME_RECVMMSG_SOCKETCALL].
15462         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15463         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15464         Define.
15465         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15466         * sysdeps/unix/sysv/linux/mips/kernel-features.h
15467         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15468         Likewise.
15469         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
15470         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
15471         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
15472         [!__ASSUME_RECVMMSG]: Change condition to
15473         [!__ASSUME_RECVMMSG_SOCKETCALL].
15474         * sysdeps/unix/sysv/linux/tile/kernel-features.h
15475         (__ASSUME_RECVMMSG_SYSCALL): Define.
15476
15477         [BZ #16609]
15478         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
15479         __powerpc__ || __s390__ || __sh__ || __sparc__]
15480         (__ASSUME_SOCKETCALL): Define.
15481         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
15482         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
15483         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
15484         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
15485         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15486         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
15487         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
15488         (__ASSUME_ACCEPT4): Define instead of using previous
15489         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
15490         __powerpc__ || __sparc__ || __s390__)] condition.
15491         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15492         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
15493         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
15494         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
15495         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
15496         [!__ASSUME_ACCEPT4]: Change condition to
15497         [!__ASSUME_ACCEPT4_SOCKETCALL].
15498         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15499         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
15500         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
15501         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15502         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
15503         __ASSUME_ACCEPT4_SYSCALL.
15504         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
15505         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
15506         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15507         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
15508         __ASSUME_ACCEPT4_SYSCALL.
15509         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
15510         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
15511         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
15512         [__ASSUME_ACCEPT4]: Change condition to
15513         [__ASSUME_ACCEPT4_SOCKETCALL].
15514         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15515         (__ASSUME_SOCKETCALL): Define.
15516         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
15517         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15518         (__ASSUME_SOCKETCALL): Define.
15519         (__ASSUME_ACCEPT4): Remove.
15520         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
15521         Define.
15522         * sysdeps/unix/sysv/linux/mips/kernel-features.h
15523         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
15524         Likewise.
15525         * sysdeps/unix/sysv/linux/tile/kernel-features.h
15526         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
15527
15528         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
15529         macro.
15530         (HWCAP_ARM_LPAE): Likewise.
15531         (HWCAP_ARM_EVTSTRM): Likewise.
15532         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
15533         Add vpfd32, lpae and evtstrm.
15534         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
15535         Increase to 22.
15536
15537 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
15538
15539         * math/auto-libm-test-in: Add tests of clog10.
15540         * math/auto-libm-test-out: Regenerated.
15541         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
15542         * sysdeps/i386/fpu/libm-test-ulps: Update.
15543         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15544
15545 2014-02-18  Andreas Schwab  <schwab@suse.de>
15546
15547         [BZ #16574]
15548         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
15549         Store non-zero if the second buffer was newly allocated.
15550         (send_dg): Likewise.
15551         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
15552         to send_vc and send_dg.
15553         (res_nsend): Pass NULL for ansp2_malloced.
15554         * resolv/res_query.c (__libc_res_nquery): Add parameter
15555         answerp2_malloced and pass it down to __libc_res_nsend.
15556         (res_nquery): Pass additional NULL to __libc_res_nquery.
15557         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
15558         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
15559         second answer buffer if answerp2_malloced was set.
15560         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
15561         (__libc_res_nquerydomain): Add parameter
15562         answerp2_malloced and pass it down to __libc_res_nquery.
15563         (res_nquerydomain): Pass additional NULL to
15564         __libc_res_nquerydomain.
15565         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
15566         additional NULL to __libc_res_nsend and __libc_res_nquery.
15567         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
15568         additional NULL to __libc_res_nsearch.
15569         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
15570         parameter of __libc_res_nsearch to check for separately allocated
15571         second buffer.
15572         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
15573         __libc_res_nquery.
15574         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
15575         additional NULL to __libc_res_nquery.
15576         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
15577         __libc_res_nsearch.
15578         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
15579         * include/resolv.h: Update prototypes of __libc_res_nquery,
15580         __libc_res_nsearch, __libc_res_nsend.
15581
15582 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
15583
15584         * math/auto-libm-test-in: Add tests of fma.
15585         * math/auto-libm-test-out: Regenerated.
15586         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
15587         (fma_towardzero_test_data): Likewise.
15588         (fma_downward_test_data): Likewise.
15589         (fma_upward_test_data): Likewise.
15590         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
15591         mpc_mode.
15592         (rounding_modes): Add values for new field.
15593         (func_calc_method): Add value mpfr_fff_f.
15594         (func_calc_desc): Add mpfr_fff_f union field.
15595         (test_function): Add field exact_args.
15596         (FUNC): Add macro argument EXACT_ARGS.
15597         (FUNC_mpfr_f_f): Update call to FUNC.
15598         (FUNC_mpfr_f_f): Likewise.
15599         (FUNC_mpfr_ff_f): Likewise.
15600         (FUNC_mpfr_if_f): Likewise.
15601         (FUNC_mpc_c_f): Likewise.
15602         (FUNC_mpc_c_c): Likewise.
15603         (test_functions): Add fma.  Update calls to FUNC.
15604         (handle_input_arg): Add argument exact_args.
15605         (add_test): Update call to handle_input_arg.
15606         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
15607         (output_for_one_input_case): Update call to calc_generic_results.
15608         Recalculate exact zero results in each rounding mode.
15609
15610         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
15611         non-negative before setting low bit.
15612         * math/auto-libm-test-in: Mark one asin test possibly having
15613         spurious underflow.
15614         * math/auto-libm-test-out: Regenerated.
15615         * sysdeps/i386/fpu/libm-test-ulps: Update.
15616         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15617
15618 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
15619
15620         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
15621         * sysdeps/unix/sysv/linux/microblaze: Move directory from
15622         ports/sysdeps/unix/sysv/linux/microblaze.
15623         * README: Add missing listing for microblaze*-*-linux-gnu.
15624
15625 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
15626
15627         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
15628         duplicate code
15629
15630 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
15631
15632         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
15633         * sysdeps/unix/sysv/linux/ia64: Move directory from
15634         ports/sysdeps/unix/sysv/linux/ia64.
15635         * README: Update listing for ia64-*-linux-gnu.
15636
15637 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
15638             Joseph Myers  <joseph@codesourcery.com>
15639
15640         * Makeconfig (test-name): New variable.
15641         (evaluate-test): Likewise.
15642         * Makerules (do-test-clean): Remove .test-result files.
15643         (common-mostlyclean): Likewise.
15644         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
15645         * scripts/evaluate-test.sh: New file.
15646
15647 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
15648
15649         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
15650         separate $(objpfx)tst-fopenloc-cmp.out and
15651         $(objpfx)tst-fopenloc-mem.out targets.
15652         (tests): Update dependencies.
15653         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
15654         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
15655         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
15656         (tst-rxspencer-no-utf8-ARGS): New variable.
15657         (tst-rxspencer-no-utf8-ENV): Likewise.
15658         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
15659         instead of $(objpfx)tst-rxspencer-mem.
15660         ($(objpfx)tst-rxspencer-mem): Change target to
15661         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
15662         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
15663         * posix/tst-rxspencer-no-utf8.c: New file.
15664
15665         * elf/Makefile ($(objpfx)order.out): Remove rule.
15666         [$(run-built-tests) = yes] (tests): Depend on
15667         $(objpfx)order-cmp.out.
15668         ($(objpfx)order-cmp.out): New rule.
15669         [$(run-built-tests) = yes] (tests): Depend on
15670         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
15671         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
15672         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
15673         $(objpfx)tst-array5-static-cmp.out.
15674         ($(objpfx)tst-array1.out): Remove rule.
15675         ($(objpfx)tst-array1-cmp.out): New rule.
15676         ($(objpfx)tst-array1-static.out): Remove rule.
15677         ($(objpfx)tst-array1-static-cmp.out): New rule.
15678         ($(objpfx)tst-array2.out): Remove rule.
15679         ($(objpfx)tst-array2-cmp.out): New rule.
15680         ($(objpfx)tst-array3.out): Remove rule.
15681         ($(objpfx)tst-array3-cmp.out): New rule.
15682         ($(objpfx)tst-array4.out): Remove rule.
15683         ($(objpfx)tst-array4-cmp.out): New rule.
15684         ($(objpfx)tst-array5.out): Remove rule.
15685         ($(objpfx)tst-array5-cmp.out): New rule.
15686         ($(objpfx)tst-array5-static.out): Remove rule.
15687         ($(objpfx)tst-array5-static-cmp.out): New rule.
15688         [$(run-built-tests) = yes] (tests): Depend on
15689         $(objpfx)order2-cmp.out.
15690         ($(objpfx)order2.out): Remove rule.
15691         ($(objpfx)order2-cmp.out): New rule.
15692         ($(objpfx)tst-initorder.out): Remove rule.
15693         [$(run-built-tests) = yes] (tests): Depend on
15694         $(objpfx)tst-initorder-cmp.out.
15695         ($(objpfx)tst-initorder-cmp.out): New rule.
15696         ($(objpfx)tst-initorder2.out): Remove rule.
15697         [$(run-built-tests) = yes] (tests): Depend on
15698         $(objpfx)tst-initorder2-cmp.out.
15699         ($(objpfx)tst-initorder2-cmp.out): New rule.
15700         [$(run-built-tests) = yes] (tests): Depend on
15701         $(objpfx)tst-unused-dep-cmp.out.
15702         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
15703         ($(objpfx)tst-unused-dep-cmp.out): New rule.
15704         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
15705         on $(objpfx)tst-setvbuf1-cmp.out.
15706         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
15707         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
15708         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
15709         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
15710         ($(objpfx)tst-svc.out): Remove rule.
15711         ($(objpfx)tst-svc-cmp.out): New rule.
15712
15713 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
15714
15715         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
15716         * ctype/ctype.h [__USE_MISC]: Likewise.
15717         * dirent/dirent.h [__USE_MISC]: Likewise.
15718         * grp/grp.h [__USE_MISC]: Likewise.
15719         * io/fcntl.h [__USE_MISC]: Likewise.
15720         * io/sys/stat.h [__USE_MISC]: Likewise.
15721         * libio/stdio.h [__USE_MISC]: Likewise.
15722         * posix/unistd.h [__USE_MISC]: Likewise.
15723         * pwd/pwd.h [__USE_MISC]: Likewise.
15724         * stdlib.h [__USE_MISC]: Likewise.
15725         * string/bits/string2.h [__USE_MISC]: Likewise.
15726         * string/string.h [__USE_MISC]: Likewise.
15727         * time/time.h [__USE_MISC]: Likewise.
15728
15729 2014-02-13  Andreas Schwab  <schwab@suse.de>
15730
15731         [BZ #16574]
15732         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
15733         second answer buffer if it was separately allocated.
15734
15735 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
15736
15737         * sysdeps/mips/math-tests.h: Include <features.h>.
15738         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
15739         (ROUNDING_TESTS_long_double): Do not define.
15740         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
15741         (EXCEPTION_TESTS_long_double): Likewise.
15742         * sysdeps/mips/mips64/libm-test-ulps: Update.
15743
15744         * include/features.h (__USE_BSD): Remove macro definitions.
15745         (__USE_SVID): Likewise.
15746         (_BSD_SOURCE): Likewise.
15747         (_SVID_SOURCE): Likewise.
15748         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
15749         from definition of _DEFAULT_SOURCE.
15750         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
15751         [_DEFAULT_SOURCE].
15752         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
15753         * bits/mman.h [__USE_BSD]: Likewise.
15754         * bits/termios.h [__USE_BSD]: Likewise.
15755         * bits/waitstatus.h [__USE_BSD]: Likewise.
15756         * ctype/ctype.h [__USE_SVID]: Likewise.
15757         * dirent/dirent.h [__USE_BSD]: Likewise.
15758         * grp/grp.h [__USE_SVID]: Likewise.
15759         [__USE_BSD]: Likewise.
15760         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
15761         * io/fcntl.h [__USE_BSD]: Likewise.
15762         * io/ftw.h [__USE_BSD]: Likewise.
15763         * io/sys/stat.h [__USE_BSD]: Likewise.
15764         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
15765         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
15766         * libio/stdio.h [__USE_SVID]: Likewise.
15767         [__USE_BSD]: Likewise.
15768         * math/math.h [__USE_SVID]: Likewise.
15769         [__USE_BSD]: Likewise.
15770         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
15771         * misc/bits/syslog.h [__USE_BSD]: Likewise.
15772         * misc/search.h [__USE_SVID]: Likewise.
15773         * misc/sys/mman.h [__USE_BSD]: Likewise.
15774         * misc/sys/syslog.h [__USE_BSD]: Likewise.
15775         * misc/sys/uio.h [__USE_BSD]: Likewise.
15776         * posix/bits/unistd.h [__USE_BSD]: Likewise.
15777         * posix/glob.h [__USE_BSD]: Likewise.
15778         * posix/regex.h [__USE_BSD]: Likewise.
15779         * posix/sys/types.h [__USE_BSD]: Likewise.
15780         [__USE_SVID]: Likewise.
15781         * posix/sys/utsname.h [__USE_SVID]: Likewise.
15782         * posix/sys/wait.h [__USE_BSD]: Likewise.
15783         [__USE_SVID]: Likewise.
15784         * posix/unistd.h [__USE_BSD]: Likewise.
15785         [__USE_SVID]: Likewise.
15786         * pwd/pwd.h [__USE_SVID]: Likewise.
15787         * resolv/netdb.h [__USE_BSD]: Likewise.
15788         * setjmp/setjmp.h [__USE_BSD]: Likewise.
15789         * signal/signal.h [__USE_BSD]: Likewise.
15790         [__USE_SVID]: Likewise.
15791         * socket/sys/socket.h [__USE_BSD]: Likewise.
15792         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
15793         * stdlib/stdlib.h [__USE_BSD]: Likewise.
15794         [__USE_SVID]: Likewise.
15795         * string/bits/string2.h [__USE_BSD]: Likewise.
15796         [__USE_SVID]: Likewise.
15797         * string/bits/string3.h [__USE_BSD]: Likewise.
15798         * string/endian.h [__USE_BSD]: Likewise.
15799         * string/string.h [__USE_SVID]: Likewise.
15800         [__USE_BSD]: Likewise.
15801         * string/strings.h [__USE_BSD]: Likewise.
15802         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
15803         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
15804         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
15805         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
15806         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
15807         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
15808         Likewise.
15809         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
15810         Likewise.
15811         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
15812         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
15813         Likewise.
15814         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
15815         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
15816         Likewise.
15817         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
15818         Likewise.
15819         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
15820         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
15821         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
15822         Likewise.
15823         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
15824         Likewise.
15825         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
15826         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
15827         * termios/termios.h [__USE_BSD]: Likewise.
15828         * time/sys/time.h [__USE_BSD]: Likewise.
15829         * time/time.h [__USE_BSD]: Likewise.
15830         [__USE_SVID]: Likewise.
15831
15832         * Makefile (subdir_targets): Remove subdir_lint.out.
15833
15834         * stdio-common/Makefile (do-tst-unbputc): Remove target.
15835         (do-tst-printf): Likewise.
15836         (tests): Depend directly on $(objpfx)tst-unbputc.out and
15837         $(objpfx)tst-printf.out.
15838
15839         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
15840
15841         * Makerules (check-abi-%): Change target to
15842         $(objpfx)check-abi-%.out.
15843         (check-abi target): Update dependencies.
15844         (check-abi-pattern variable): Redirect output of diff to $@.
15845         (check-abi variable): Likewise.
15846         * elf/Makefile (check-abi): Update dependencies.
15847
15848         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
15849         unused.
15850         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
15851         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
15852         subnormal range.
15853         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
15854         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
15855         value has largest subnormal exponent.
15856         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
15857         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
15858         * sysdeps/aarch64/soft-fp/sfp-machine.h
15859         (_FP_TININESS_AFTER_ROUNDING): New macro.
15860         * sysdeps/alpha/soft-fp/sfp-machine.h
15861         (_FP_TININESS_AFTER_ROUNDING): Likewise.
15862         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
15863         Likewise.
15864         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
15865         (_FP_TININESS_AFTER_ROUNDING): Likewise.
15866         * sysdeps/mips/soft-fp/sfp-machine.h
15867         (_FP_TININESS_AFTER_ROUNDING): Likewise.
15868         * sysdeps/powerpc/soft-fp/sfp-machine.h
15869         (_FP_TININESS_AFTER_ROUNDING): Likewise.
15870         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
15871         Likewise.
15872         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
15873         (_FP_TININESS_AFTER_ROUNDING): Likewise.
15874         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
15875         (_FP_TININESS_AFTER_ROUNDING): Likewise.
15876         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
15877         Likewise.
15878
15879 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
15880
15881         [BZ #16545]
15882         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
15883         model 1.
15884
15885 2014-02-12  Richard Henderson  <rth@redhat.com>
15886
15887         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
15888         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
15889         * sysdeps/unix/sysv/linux/alpha: Move directory from
15890         ports/sysdeps/unix/sysv/linux/alpha.
15891         * README: Update listing for alpha-*-linux-gnu.
15892
15893 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
15894
15895         * include/features.h: Update comment documenting feature test
15896         macros.
15897         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
15898         _DEFAULT_SOURCE.
15899         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
15900         (_SVID_SOURCE): Likewise.
15901         (_DEFAULT_SOURCE): Update description of default features.
15902         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
15903         with _GNU_SOURCE.
15904         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
15905         (S_ISVTX): Likewise.
15906         * manual/math.texi (Mathematical Constants): Likewise.
15907         * manual/signal.texi (Interrupted Primitives): Likewise.
15908         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
15909         * math/test-matherr.c (_SVID_SOURCE): Do not define.
15910         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
15911         Don't refer to _SVID_SOURCE in warning text.
15912
15913         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15914
15915         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
15916         already defined.
15917         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
15918         * sysdeps/mips/dl-lookup.c: Remove.
15919         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
15920
15921 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
15922
15923         [BZ #16447]
15924         * math/auto-libm-test-in: Add testcase for expl.
15925         * math/auto-libm-test-out: Regenerate.
15926         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
15927         calculation of unsafe.
15928         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
15929
15930 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
15931
15932         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
15933         * sysdeps/unix/sysv/linux/aarch64: Move directory from
15934         ports/sysdeps/unix/sysv/linux/aarch64.
15935         * README: Update listing for aarch64*-*-linux-gnu.
15936
15937 2014-02-11  Will Newton  <will.newton@linaro.org>
15938
15939         * manual/probes.texi (Mathematical Function Probes): Use
15940         "triggered" instead of "hit".
15941
15942         * manual/probes.texi (Internal Probes): Add documentation
15943         of setjmp, longjmp and longjmp_target probes.
15944
15945         * include/stap-probe.h: Add comment about probe argument
15946         format.
15947
15948         * malloc/mtrace.c (attribute_hidden): Remove unused macro
15949         definition.  (tr_where, tr_freehook, tr_mallochook,
15950         tr_reallochook, tr_memalignhook): Use ANSI protoype.
15951
15952 2014-02-11  David S. Miller  <davem@davemloft.net>
15953
15954         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
15955         processing int_tests.
15956
15957 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
15958
15959         * sysdeps/mips: Move directory from ports/sysdeps/mips.
15960         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
15961         * sysdeps/unix/sysv/linux/mips: Move directory from
15962         ports/sysdeps/unix/sysv/linux/mips.
15963         * README: Update listing for mips-*-linux-gnu and
15964         mips64-*-linux-gnu.
15965
15966 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
15967
15968         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
15969         * sysdeps/unix/sysv/linux/m68k: Move directory from
15970         ports/sysdeps/unix/sysv/linux/m68k.
15971         * README: Update listing for m68k-*-linux-gnu.
15972
15973 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
15974
15975         * sysdeps/tile: Move directory from ports/sysdeps/tile.
15976         * sysdeps/unix/sysv/linux/generic: Move directory from
15977         ports/sysdeps/unix/sysv/linux/generic.
15978         * sysdeps/unix/sysv/linux/tile: Move directory from
15979         ports/sysdeps/unix/sysv/linux/tile.
15980         * README: Update listing for tile*-*-linux-gnu.
15981
15982 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
15983
15984         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
15985         __builtin_expect.
15986         * benchtests/bench-memmem.c (simple_memmem): Likewise.
15987         * catgets/open_catalog.c (__open_catalog): Likewise.
15988         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
15989         * debug/confstr_chk.c: Likewise.
15990         * debug/fread_chk.c (__fread_chk): Likewise.
15991         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
15992         * debug/getgroups_chk.c: Likewise.
15993         * debug/mbsnrtowcs_chk.c: Likewise.
15994         * debug/mbsrtowcs_chk.c: Likewise.
15995         * debug/mbstowcs_chk.c: Likewise.
15996         * debug/memcpy_chk.c: Likewise.
15997         * debug/memmove_chk.c: Likewise.
15998         * debug/mempcpy_chk.c: Likewise.
15999         * debug/memset_chk.c: Likewise.
16000         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
16001         * debug/strcat_chk.c (__strcat_chk): Likewise.
16002         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
16003         * debug/strncat_chk.c (__strncat_chk): Likewise.
16004         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
16005         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
16006         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
16007         * debug/wcpncpy_chk.c: Likewise.
16008         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
16009         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
16010         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
16011         * debug/wcsncpy_chk.c: Likewise.
16012         * debug/wcsnrtombs_chk.c: Likewise.
16013         * debug/wcsrtombs_chk.c: Likewise.
16014         * debug/wcstombs_chk.c: Likewise.
16015         * debug/wmemcpy_chk.c: Likewise.
16016         * debug/wmemmove_chk.c: Likewise.
16017         * debug/wmempcpy_chk.c: Likewise.
16018         * debug/wmemset_chk.c: Likewise.
16019         * dirent/scandirat.c (SCANDIRAT): Likewise.
16020         * dlfcn/dladdr1.c (dladdr1): Likewise.
16021         * dlfcn/dladdr.c (dladdr): Likewise.
16022         * dlfcn/dlclose.c (dlclose_doit): Likewise.
16023         * dlfcn/dlerror.c (__dlerror): Likewise.
16024         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
16025         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
16026         * dlfcn/dlopen.c (dlopen_doit): Likewise.
16027         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
16028         * dlfcn/dlsym.c (dlsym_doit): Likewise.
16029         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
16030         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
16031         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
16032         Likewise.
16033         * elf/dl-conflict.c: Likewise.
16034         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
16035         * elf/dl-dst.h: Likewise.
16036         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
16037         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
16038         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
16039         * elf/dl-init.c (call_init, _dl_init): Likewise.
16040         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
16041         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
16042         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
16043         Likewise.
16044         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
16045         Likewise.
16046         * elf/dl-minimal.c (__libc_memalign): Likewise.
16047         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
16048         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
16049         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
16050         * elf/dl-sym.c (do_sym): Likewise.
16051         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
16052         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
16053         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
16054         * elf/dl-writev.h (_dl_writev): Likewise.
16055         * elf/ldconfig.c (search_dir): Likewise.
16056         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
16057         (dl_main): Likewise.
16058         * elf/setup-vdso.h (setup_vdso): Likewise.
16059         * grp/compat-initgroups.c (compat_call): Likewise.
16060         * grp/fgetgrent.c (fgetgrent): Likewise.
16061         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
16062         * grp/putgrent.c (putgrent): Likewise.
16063         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
16064         Likewise.
16065         * hurd/hurdinit.c: Likewise.
16066         * iconvdata/8bit-gap.c (struct): Likewise.
16067         * iconvdata/ansi_x3.110.c : Likewise.
16068         * iconvdata/big5.c : Likewise.
16069         * iconvdata/big5hkscs.c : Likewise.
16070         * iconvdata/cp1255.c: Likewise.
16071         * iconvdata/cp1258.c : Likewise.
16072         * iconvdata/cp932.c : Likewise.
16073         * iconvdata/euc-cn.c: Likewise.
16074         * iconvdata/euc-jisx0213.c : Likewise.
16075         * iconvdata/euc-jp.c: Likewise.
16076         * iconvdata/euc-jp-ms.c : Likewise.
16077         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
16078         * iconvdata/gb18030.c : Likewise.
16079         * iconvdata/gbbig5.c (const): Likewise.
16080         * iconvdata/gbgbk.c: Likewise.
16081         * iconvdata/gbk.c : Likewise.
16082         * iconvdata/ibm1364.c : Likewise.
16083         * iconvdata/ibm930.c : Likewise.
16084         * iconvdata/ibm932.c: Likewise.
16085         * iconvdata/ibm933.c : Likewise.
16086         * iconvdata/ibm935.c : Likewise.
16087         * iconvdata/ibm937.c : Likewise.
16088         * iconvdata/ibm939.c : Likewise.
16089         * iconvdata/ibm943.c: Likewise.
16090         * iconvdata/iso_11548-1.c: Likewise.
16091         * iconvdata/iso-2022-cn.c : Likewise.
16092         * iconvdata/iso-2022-cn-ext.c : Likewise.
16093         * iconvdata/iso-2022-jp-3.c: Likewise.
16094         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
16095         * iconvdata/iso-2022-kr.c : Likewise.
16096         * iconvdata/iso646.c (gconv_end): Likewise.
16097         * iconvdata/iso_6937-2.c : Likewise.
16098         * iconvdata/iso_6937.c : Likewise.
16099         * iconvdata/iso8859-1.c: Likewise.
16100         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
16101         * iconvdata/shift_jisx0213.c : Likewise.
16102         * iconvdata/sjis.c : Likewise.
16103         * iconvdata/t.61.c : Likewise.
16104         * iconvdata/tcvn5712-1.c : Likewise.
16105         * iconvdata/tscii.c: Likewise.
16106         * iconvdata/uhc.c : Likewise.
16107         * iconvdata/unicode.c (gconv_end): Likewise.
16108         * iconvdata/utf-16.c (gconv_end): Likewise.
16109         * iconvdata/utf-32.c (gconv_end): Likewise.
16110         * iconvdata/utf-7.c (base64): Likewise.
16111         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
16112         * iconv/gconv_close.c (__gconv_close): Likewise.
16113         * iconv/gconv_open.c (__gconv_open): Likewise.
16114         * iconv/gconv_simple.c (internal_ucs4_loop_single)
16115         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
16116         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
16117         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
16118         (ucs4le_internal_loop_single): Likewise.
16119         * iconv/iconv.c (iconv): Likewise.
16120         * iconv/iconv_close.c: Likewise.
16121         * iconv/loop.c (SINGLE): Likewise.
16122         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
16123         * include/atomic.h: Likewise.
16124         * inet/inet6_option.c (option_alloc): Likewise.
16125         * intl/bindtextdom.c (set_binding_values): Likewise.
16126         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
16127         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
16128         * intl/localealias.c (read_alias_file): Likewise.
16129         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
16130         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
16131         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
16132         * libio/fmemopen.c (fmemopen): Likewise.
16133         * libio/iofgets.c (_IO_fgets): Likewise.
16134         * libio/iofgets_u.c (fgets_unlocked): Likewise.
16135         * libio/iofgetws.c (fgetws): Likewise.
16136         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
16137         * libio/iogetdelim.c (_IO_getdelim): Likewise.
16138         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
16139         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
16140         * locale/findlocale.c (_nl_find_locale): Likewise.
16141         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
16142         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
16143         Likewise.
16144         * locale/setlocale.c (setlocale): Likewise.
16145         * login/programs/pt_chown.c (main): Likewise.
16146         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
16147         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
16148         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
16149         (mmap, mmap64, mremap, munmap): Likewise.
16150         * math/e_exp2l.c: Likewise.
16151         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
16152         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
16153         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
16154         * math/s_catan.c (__catan): Likewise.
16155         * math/s_catanf.c (__catanf): Likewise.
16156         * math/s_catanh.c (__catanh): Likewise.
16157         * math/s_catanhf.c (__catanhf): Likewise.
16158         * math/s_catanhl.c (__catanhl): Likewise.
16159         * math/s_catanl.c (__catanl): Likewise.
16160         * math/s_ccosh.c (__ccosh): Likewise.
16161         * math/s_ccoshf.c (__ccoshf): Likewise.
16162         * math/s_ccoshl.c (__ccoshl): Likewise.
16163         * math/s_cexp.c (__cexp): Likewise.
16164         * math/s_cexpf.c (__cexpf): Likewise.
16165         * math/s_cexpl.c (__cexpl): Likewise.
16166         * math/s_clog10.c (__clog10): Likewise.
16167         * math/s_clog10f.c (__clog10f): Likewise.
16168         * math/s_clog10l.c (__clog10l): Likewise.
16169         * math/s_clog.c (__clog): Likewise.
16170         * math/s_clogf.c (__clogf): Likewise.
16171         * math/s_clogl.c (__clogl): Likewise.
16172         * math/s_csin.c (__csin): Likewise.
16173         * math/s_csinf.c (__csinf): Likewise.
16174         * math/s_csinh.c (__csinh): Likewise.
16175         * math/s_csinhf.c (__csinhf): Likewise.
16176         * math/s_csinhl.c (__csinhl): Likewise.
16177         * math/s_csinl.c (__csinl): Likewise.
16178         * math/s_csqrt.c (__csqrt): Likewise.
16179         * math/s_csqrtf.c (__csqrtf): Likewise.
16180         * math/s_csqrtl.c (__csqrtl): Likewise.
16181         * math/s_ctan.c (__ctan): Likewise.
16182         * math/s_ctanf.c (__ctanf): Likewise.
16183         * math/s_ctanh.c (__ctanh): Likewise.
16184         * math/s_ctanhf.c (__ctanhf): Likewise.
16185         * math/s_ctanhl.c (__ctanhl): Likewise.
16186         * math/s_ctanl.c (__ctanl): Likewise.
16187         * math/w_pow.c: Likewise.
16188         * math/w_powf.c: Likewise.
16189         * math/w_powl.c: Likewise.
16190         * math/w_scalb.c (sysv_scalb): Likewise.
16191         * math/w_scalbf.c (sysv_scalbf): Likewise.
16192         * math/w_scalbl.c (sysv_scalbl): Likewise.
16193         * misc/error.c (error_tail): Likewise.
16194         * misc/pselect.c (__pselect): Likewise.
16195         * nis/nis_callback.c (__nis_create_callback): Likewise.
16196         * nis/nis_call.c (__nisfind_server): Likewise.
16197         * nis/nis_creategroup.c (nis_creategroup): Likewise.
16198         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
16199         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
16200         * nis/nis_getservlist.c (nis_getservlist): Likewise.
16201         * nis/nis_lookup.c (nis_lookup): Likewise.
16202         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
16203         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
16204         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
16205         * nis/nis_xdr.c (xdr_endpoint): Likewise.
16206         * nis/nss_compat/compat-grp.c (getgrent_next_file)
16207         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
16208         * nis/nss_compat/compat-initgroups.c (add_group)
16209         (internal_getgrent_r): Likewise.
16210         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
16211         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
16212         * nis/nss_compat/compat-spwd.c (getspent_next_file)
16213         (internal_getspnam_r): Likewise.
16214         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
16215         (_nss_nis_getaliasbyname_r): Likewise.
16216         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
16217         (_nss_nis_getntohost_r): Likewise.
16218         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
16219         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
16220         (_nss_nis_getgrgid_r): Likewise.
16221         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
16222         (internal_nis_gethostent_r, internal_gethostbyname2_r)
16223         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
16224         (_nss_nis_gethostbyname4_r): Likewise.
16225         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
16226         (initgroups_netid): Likewise.
16227         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
16228         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
16229         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
16230         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
16231         (_nss_nis_getprotobynumber_r): Likewise.
16232         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
16233         (_nss_nis_getsecretkey): Likewise.
16234         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
16235         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
16236         (_nss_nis_getpwuid_r): Likewise.
16237         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
16238         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
16239         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
16240         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
16241         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
16242         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
16243         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
16244         Likewise.
16245         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
16246         (_nss_nisplus_getntohost_r): Likewise.
16247         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
16248         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
16249         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
16250         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
16251         Likewise.
16252         * nis/nss_nisplus/nisplus-initgroups.c
16253         (_nss_nisplus_initgroups_dyn): Likewise.
16254         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
16255         (_nss_nisplus_getnetbyaddr_r): Likewise.
16256         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
16257         (_nss_nisplus_getprotobynumber_r): Likewise.
16258         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
16259         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
16260         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
16261         Likewise.
16262         * nis/nss_nisplus/nisplus-service.c
16263         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
16264         (_nss_nisplus_getservbyport_r): Likewise.
16265         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
16266         (_nss_nisplus_getspnam_r): Likewise.
16267         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
16268         Likewise.
16269         * nscd/aicache.c (addhstaiX): Likewise.
16270         * nscd/cache.c (cache_search, prune_cache): Likewise.
16271         * nscd/connections.c (register_traced_file, send_ro_fd)
16272         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
16273         (main_loop_epoll): Likewise.
16274         * nscd/grpcache.c (addgrbyX): Likewise.
16275         * nscd/hstcache.c (addhstbyX): Likewise.
16276         * nscd/initgrcache.c (addinitgroupsX): Likewise.
16277         * nscd/mem.c (gc, mempool_alloc): Likewise.
16278         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
16279         (addinnetgrX): Likewise.
16280         * nscd/nscd-client.h (__nscd_acquire_maplock)
16281         (__nscd_drop_map_ref): Likewise.
16282         * nscd/nscd_getai.c (__nscd_getai): Likewise.
16283         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
16284         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
16285         Likewise.
16286         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
16287         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
16288         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
16289         (__nscd_get_map_ref): Likewise.
16290         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
16291         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
16292         Likewise.
16293         * nscd/pwdcache.c (addpwbyX): Likewise.
16294         * nscd/selinux.c (preserve_capabilities): Likewise.
16295         * nscd/servicescache.c (addservbyX): Likewise.
16296         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
16297         * posix/fnmatch.c (fnmatch): Likewise.
16298         * posix/getopt.c (_getopt_internal_r): Likewise.
16299         * posix/glob.c (glob, glob_in_dir): Likewise.
16300         * posix/wordexp.c (exec_comm_child): Likewise.
16301         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
16302         (getanswer_r, gaih_getanswer_slice): Likewise.
16303         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
16304         * resolv/res_init.c: Likewise.
16305         * resolv/res_mkquery.c (res_nmkquery): Likewise.
16306         * resolv/res_query.c (__libc_res_nquery): Likewise.
16307         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
16308         Likewise.
16309         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
16310         * stdio-common/perror.c (perror): Likewise.
16311         * stdio-common/printf_fp.c (___printf_fp): Likewise.
16312         * stdio-common/tmpnam.c (tmpnam): Likewise.
16313         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
16314         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
16315         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
16316         Likewise.
16317         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
16318         * stdlib/putenv.c (putenv): Likewise.
16319         * stdlib/setenv.c (__add_to_environ): Likewise.
16320         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
16321         * stdlib/strtol_l.c (INTERNAL): Likewise.
16322         * string/memmem.c (memmem): Likewise.
16323         * string/strerror.c (strerror): Likewise.
16324         * string/strnlen.c (__strnlen): Likewise.
16325         * string/test-memmem.c (simple_memmem): Likewise.
16326         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
16327         * sunrpc/pm_getport.c (__get_socket): Likewise.
16328         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
16329         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
16330         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
16331         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
16332         Likewise.
16333         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
16334         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
16335         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
16336         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
16337         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
16338         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
16339         Likewise.
16340         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
16341         Likewise.
16342         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
16343         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
16344         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16345         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
16346         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
16347         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
16348         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
16349         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
16350         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
16351         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
16352         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
16353         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
16354         Likewise.
16355         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
16356         Likewise.
16357         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
16358         Likewise.
16359         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
16360         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
16361         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
16362         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
16363         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
16364         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
16365         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
16366         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
16367         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
16368         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
16369         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
16370         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16371         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
16372         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
16373         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16374         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
16375         Likewise.
16376         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
16377         Likewise.
16378         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
16379         Likewise.
16380         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
16381         Likewise.
16382         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16383         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16384         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
16385         Likewise.
16386         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
16387         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
16388         * sysdeps/posix/opendir.c (__opendirat): Likewise.
16389         * sysdeps/posix/sleep.c: Likewise.
16390         * sysdeps/posix/tempname.c: Likewise.
16391         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
16392         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16393         Likewise.
16394         * sysdeps/powerpc/powerpc32/dl-machine.h
16395         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
16396         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
16397         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16398         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
16399         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
16400         Likewise.
16401         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
16402         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
16403         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
16404         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
16405         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
16406         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
16407         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
16408         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
16409         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
16410         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
16411         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
16412         (elf_machine_lazy_rel): Likewise.
16413         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
16414         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
16415         (elf_machine_lazy_rel): Likewise.
16416         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
16417         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
16418         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
16419         * sysdeps/unix/grantpt.c (grantpt): Likewise.
16420         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
16421         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
16422         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
16423         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16424         Likewise.
16425         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
16426         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
16427         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
16428         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
16429         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
16430         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
16431         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
16432         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
16433         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
16434         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
16435         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
16436         Likewise.
16437         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
16438         (__posix_fallocate64_l64): Likewise.
16439         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
16440         (posix_fallocate): Likewise.
16441         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
16442         Likewise.
16443         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
16444         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
16445         (getifaddrs_internal): Likewise.
16446         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
16447         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
16448         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
16449         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
16450         * sysdeps/unix/sysv/linux/posix_fallocate64.c
16451         (__posix_fallocate64_l64): Likewise.
16452         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
16453         Likewise.
16454         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
16455         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
16456         (__get_clockfreq): Likewise.
16457         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
16458         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
16459         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
16460         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16461         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16462         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
16463         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
16464         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
16465         Likewise.
16466         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
16467         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
16468         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
16469         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
16470         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
16471         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
16472         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
16473         Likewise.
16474         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
16475         (posix_fallocate): Likewise.
16476         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
16477         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
16478         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
16479         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
16480         (elf_machine_rela, elf_machine_rela_relative)
16481         (elf_machine_lazy_rel): Likewise.
16482         * time/asctime.c (asctime_internal): Likewise.
16483         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
16484         * time/tzset.c (__tzset_parse_tz): Likewise.
16485         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
16486         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
16487         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
16488         * wcsmbs/wcsmbsload.h: Likewise.
16489
16490         [BZ #15894]
16491         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
16492
16493         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
16494         (arena_get2): Remove THREAD_STATS conditionals.
16495         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
16496         (__malloc_stats, int): Likewise.
16497
16498 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
16499
16500         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
16501         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
16502
16503         * manual/setjmp.texi: Fix typos/grammar errors.
16504
16505         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
16506         Only return early when n is <= 0.  Delete unused return statement.
16507
16508         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
16509         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
16510         * debug/tst-longjmp_chk3.c: New file.
16511
16512         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
16513         (test_main): Replace code with set_fortify_handler call.
16514         * debug/test-strcpy_chk.c: Likewise.
16515         * debug/tst-chk1.c: Likewise.
16516         * debug/tst-longjmp_chk.c: Likewise.
16517         * test-skeleton.c: Include fcntl.h & paths.h
16518         (set_fortify_handler): Define.
16519
16520         * debug/tst-longjmp_chk.c: Add header comment and include
16521         ../test-skeleton.c.
16522         (do_test): Mark static.
16523         (TEST_FUNCTION): Define.
16524
16525         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
16526         (IP_PMTUDISC_INTERFACE): Likewise.
16527         (IP_MULTICAST_IF): Likewise.
16528         (IP_MULTICAST_TTL): Likewise.
16529         (IP_MULTICAST_LOOP): Likewise.
16530         (IP_ADD_MEMBERSHIP): Likewise.
16531         (IP_DROP_MEMBERSHIP): Likewise.
16532         (IP_UNBLOCK_SOURCE): Likewise.
16533         (IP_BLOCK_SOURCE): Likewise.
16534         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
16535         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
16536         (IP_MSFILTER): Likewise.
16537         (MCAST_JOIN_GROUP): Likewise.
16538         (MCAST_BLOCK_SOURCE): Likewise.
16539         (MCAST_UNBLOCK_SOURCE): Likewise.
16540         (MCAST_LEAVE_GROUP): Likewise.
16541         (MCAST_JOIN_SOURCE_GROUP): Likewise.
16542         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
16543         (MCAST_MSFILTER): Likewise.
16544         (IP_MULTICAST_ALL): Likewise.
16545         (IP_UNICAST_IF): Likewise.
16546
16547         * timezone/Makefile: Delete $(have-ksh) check.
16548         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
16549         * timezone/tzselect.ksh: Add +x mode bits.
16550
16551         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
16552         (ANON_INODE_FS_MAGIC): Likewise.
16553         (BDEVFS_MAGIC): Likewise.
16554         (BINFMTFS_MAGIC): Likewise.
16555         (BTRFS_TEST_MAGIC): Likewise.
16556         (CRAMFS_MAGIC_WEND): Likewise.
16557         (DEBUGFS_MAGIC): Likewise.
16558         (ECRYPTFS_SUPER_MAGIC): Likewise.
16559         (EXT3_SUPER_MAGIC): Likewise.
16560         (EXT4_SUPER_MAGIC): Likewise.
16561         (FUTEXFS_SUPER_MAGIC): Likewise.
16562         (HOSTFS_SUPER_MAGIC): Likewise.
16563         (HUGETLBFS_MAGIC): Likewise.
16564         (MINIX3_SUPER_MAGIC): Likewise.
16565         (MTD_INODE_FS_MAGIC): Likewise.
16566         (NILFS_SUPER_MAGIC): Likewise.
16567         (OPENPROM_SUPER_MAGIC): Likewise.
16568         (PIPEFS_MAGIC): Likewise.
16569         (PSTOREFS_MAGIC): Likewise.
16570         (QNX6_SUPER_MAGIC): Likewise.
16571         (RAMFS_MAGIC): Likewise.
16572         (REISERFS_SUPER_MAGIC_STRING): Likewise.
16573         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
16574         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
16575         (SECURITYFS_MAGIC): Likewise.
16576         (SELINUX_MAGIC): Likewise.
16577         (SMACK_MAGIC): Likewise.
16578         (SOCKFS_MAGIC): Likewise.
16579         (SQUASHFS_MAGIC): Likewise.
16580         (STACK_END_MAGIC): Likewise.
16581         (TMPFS_MAGIC): Likewise.
16582         (USBDEVICE_SUPER_MAGIC): Likewise.
16583         (V9FS_MAGIC): Likewise.
16584         (XENFS_SUPER_MAGIC): Likewise.
16585         (CRAMFS_MAGIC): Fix typo in comment.
16586         (EXT2_SUPER_MAGIC): Update comment.
16587         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
16588
16589 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
16590
16591         * sysdeps/arm: Move directory from ports/sysdeps/arm.
16592         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
16593         * sysdeps/unix/sysv/linux/arm: Move directory from
16594         ports/sysdeps/unix/sysv/linux/arm.
16595         * README: Update listing for arm-*-linux-gnueabi.
16596
16597         * README: Remove mention of am33.
16598
16599 2014-02-07  Roland McGrath  <roland@hack.frob.com>
16600
16601         * bits/sigset.h (__sigemptyset): Use a statement expression rather
16602         than the comma operator, to avoid "rhs of comma has no effect"
16603         compiler warnings.
16604         (__sigfillset, __sigandset, __sigorset): Likewise.
16605         * include/signal.h (__sigemptyset): Likewise.
16606         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
16607
16608 2014-02-07  Allan McRae  <allan@archlinux.org>
16609
16610         * version.h (RELEASE): Set to "development".
16611         (VERSION): Set to "2.19.90"
16612         * NEWS: Add 2.20 section.
16613
16614 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
16615
16616         [BZ #16529]
16617         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
16618
16619 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
16620
16621         * manual/contrib.texi: Update entry for Carlos O'Donell,
16622         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
16623
16624 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
16625
16626         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
16627
16628         * sysdeps/unix/sysv/linux/kernel-features.h
16629         [__LINUX_KERNEL_VERSION >= 0x020621]
16630         (__ASSUME_PROC_PID_TASK_COMM): Define.
16631
16632 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
16633
16634         [BZ #16398]
16635         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
16636         conversion when destination buffer does not have enough space.
16637         * libio/tst-ftell-partial-wide.c: New test case.
16638         * libio/Makefile (tests): Add tst-ftell-partial-wide.
16639
16640         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
16641         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
16642         Leonard and Allan McRae.
16643
16644 2014-02-04  David S. Miller  <davem@davemloft.net>
16645
16646         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
16647         32-bit.
16648
16649 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16650
16651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
16652         New file
16653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
16654         New file
16655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
16656         New file.
16657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
16658         New file.
16659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
16660         New file.
16661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
16662         New file.
16663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
16664         New file.
16665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
16666         New file.
16667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
16668         New file.
16669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
16670         New file.
16671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
16672         New file.
16673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
16674         New file.
16675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
16676         New file.
16677
16678 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16679
16680         * nptl/shlib-versions: Change powerpc*le start to 2.17.
16681         * shlib-versions: Likewise.
16682
16683 2014-02-04  Roland McGrath  <roland@hack.frob.com>
16684             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16685
16686         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
16687         (abilist-pattern): New variable, set to %-le.abilist.
16688
16689         * Makerules (abilist-pattern): New variable.
16690         (vpath): Use $(abilist-pattern) in place of %.abilist.
16691         (check-abi-% pattern rule): Likewise.
16692         (check-abi, update-abi): Likewise.
16693
16694 2014-02-04  Eric Wong  <normalperson@yhbt.net>
16695
16696         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16697
16698 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
16699
16700         * manual/startup.texi: Add next, previous, and top entries for
16701         the `Program Arguments' and `Environment Variables' nodes.
16702
16703 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
16704
16705         * manual/macros.texi: Add comments before MTASC-safety macros.
16706
16707         * manual/users.texi: Document MTASC-safety properties.
16708
16709         * manual/threads.texi (pthread_key_create, pthread_key_delete)
16710         (pthread_getspecific, pthread_setspecific): Format with
16711         @deftypefun, and add @safety note.
16712         * manual/signal.texi: Move comments that analyze the above
16713         functions to their home place.
16714
16715 2014-02-03  Allan McRae  <allan@archlinux.org>
16716
16717         * po/sl.po: Update Slovenian translation from translation project.
16718
16719 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
16720
16721         * manual/time.texi (timegm): Add missing blank after @c.
16722         Reported by Joseph Myers <joseph@codesourcery.com>.
16723
16724 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
16725
16726         * manual/check-safety.sh: New.
16727         * manual/Makefile ($(objpfx)stamp-summary): Run it.
16728
16729         * manual/terminal.texi: Document MTASC-safety properties.
16730
16731         * manual/filesys.texi: Document MTASC-safety properties.
16732
16733         * manual/errno.texi: Document MTASC-safety properties.
16734
16735         * manual/intro.texi: Document safety identifiers and
16736         conditionals.
16737
16738         * manual/string.texi (wcstok): Fix prototype.
16739         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
16740
16741         * manual/time.texi: Document MTASC-safety properties.
16742
16743         * manual/string.texi: Document MTASC-safety properties.
16744
16745         * manual/threads.texi: Document MTASC-safety properties.
16746
16747         * manual/stdio.texi: Document MTASC-safety properties.
16748
16749         * manual/syslog.texi: Document MTASC-safety properties.
16750
16751         * manual/sysinfo.texi: Document MTASC-safety properties.
16752
16753         * manual/startup.texi: Document MTASC-safety properties.
16754
16755         * manual/socket.texi: Document MTASC-safety properties.
16756
16757         * manual/signal.texi: Document MTASC-safety properties.
16758
16759 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
16760
16761         * manual/setjmp.texi: Document MTASC-safety properties.
16762
16763         * manual/search.texi: Document MTASC-safety properties.
16764
16765         * manual/resource.texi: Document MTASC-safety properties.
16766
16767         * manual/process.texi: Document MTASC-safety properties.
16768
16769         * manual/platform.texi: Document MTASC-safety properties.
16770
16771         * manual/pipe.texi: Document MTASC-safety properties.
16772
16773         * manual/pattern.texi: Document MTASC-safety properties.
16774
16775         * manual/message.texi: Document MTASC-safety properties.
16776
16777         [BZ #12751]
16778         * manual/memory.texi: Document MTASC-safety properties.
16779
16780         * manual/math.texi: Document MTASC-safety properties.
16781
16782         * manual/locale.texi: Document MTASC-safety properties.
16783
16784         * manual/llio.texi: Document MTASC-safety properties.
16785
16786         * manual/libdl.texi: New.
16787
16788         * manual/lang.texi: Document MTASC-safety properties.
16789
16790         * manual/job.texi: Document MTASC-safety properties.
16791
16792         * manual/getopt.texi: Document MTASC-safety properties.
16793
16794         * manual/ctype.texi: Document MTASC-safety properties.
16795
16796 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
16797
16798         [BZ #16046]
16799         * csu/libc-tls.c (static_map): Remove variable.
16800         (__libc_setup_tls): Use main executable's link map for TLS data.
16801         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
16802         casing for LM_ID_BASE and GL(dl_nns).
16803         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
16804         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
16805         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
16806         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
16807         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
16808         member.
16809         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
16810         l_phnum members.
16811
16812 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
16813
16814         * manual/debug.texi: Document MTASC-safety properties.
16815
16816 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
16817
16818         [BZ #16510]
16819         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
16820         of __x86_64__ when disabling x87 inline functions.
16821
16822 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
16823
16824         * manual/charset.texi: Document MTASC-safety properties.
16825
16826         * manual/crypt.texi: Document MTASC-safety properties.
16827
16828         * manual/conf.texi: Document MTASC-safety properties.
16829
16830         * manual/arith.texi: Document MTASC-safety properties.
16831
16832         * manual/argp.texi: Document MTASC-safety properties.
16833
16834         * manual/macros.texi: Introduce macros to document multi
16835         thread, asynchronous signal and asynchronous cancellation
16836         safety properties.
16837         * manual/intro.texi: Introduce the properties themselves.
16838
16839 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16840
16841         * sysdeps/sh/sh4/Makefile: New file.
16842
16843 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
16844
16845         * math/gen-libm-test.pl ($srcdir): New variable.
16846         ($auto_input): Use it.
16847
16848 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
16849
16850         [BZ #16506]
16851         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
16852         access beyond array bounds when parsing netgroups file.
16853
16854         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
16855         the old buffer before realloc.
16856
16857 2014-01-27  Allan McRae  <allan@archlinux.org>
16858
16859         * po/fr.po: Update French translation from translation project.
16860
16861 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16862
16863         * sysdeps/sh/libm-test-ulps: Regenerate.
16864
16865 2014-01-24  David S. Miller  <davem@davemloft.net>
16866
16867         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
16868
16869 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16870
16871         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
16872         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
16873
16874 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16875
16876         [BZ #16474]
16877         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
16878         string pointers after reallocation.
16879
16880 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16881
16882         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
16883         __SH4A__ instead of __SH_FPU_ANY__.
16884
16885 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16886
16887         * sysdeps/sh/fpu_control.h: New file.
16888         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
16889         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
16890         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
16891         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
16892         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
16893         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
16894         * sysdeps/sh/sys/ucontext.h: Remove.
16895         * sysdeps/sh/sys: Remove directory.
16896
16897 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16898
16899         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
16900         s390/sys/ucontext.h.
16901         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
16902         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
16903
16904 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
16905
16906         [BZ #15605]
16907         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
16908
16909 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16910
16911         [BZ#16431]
16912         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
16913         Adjust the vDSO correctly for internal calls.
16914         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
16915
16916 2014-01-20  Allan McRae  <allan@archlinux.org>
16917
16918         * po/ca.po: Update Catalan translation from translation project.
16919
16920 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
16921
16922         * sysdeps/s390/sotruss-lib.c: New file.
16923
16924 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16925
16926         [BZ#16430]
16927         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
16928         (__GI___gettimeofday): Alias for a different internal symbol to avoid
16929         local calls issues by not having a PLT stub required for IFUNC calls.
16930         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
16931
16932 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
16933
16934         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
16935         * math/test-fpucw-static.c: Likewise.
16936
16937 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
16938
16939         [BZ #16453]
16940         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
16941
16942 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16943
16944         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
16945         implementation for powerpc.
16946
16947 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
16948
16949         [BZ #14782]
16950         * sysdeps/posix/system.c (__libc_system): Do not enable
16951         asynchronous cancellation.
16952
16953 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16954
16955         [BZ #16427]
16956         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
16957         handling only for numbers special also in the IEEE case.
16958
16959 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16960
16961         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16962
16963 2014-01-11  Allan McRae  <allan@archlinux.org>
16964
16965         * po/bg.po: Update Bulgarian translation from translation project.
16966
16967         * po/de.po: Update German translation from translation project.
16968
16969 2014-01-10  Roland McGrath  <roland@hack.frob.com>
16970
16971         * sysdeps/generic/gcc-compat.h: New file.
16972
16973 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
16974
16975         * benchtests/asin-inputs: Correct slow inputs.
16976         * benchtests/acos-inputs: Likewise.
16977
16978 2014-01-10  Allan McRae  <allan@archlinux.org>
16979
16980         * po:sv.po: Update Swedish translation from translation project.
16981
16982         * po/vi.po: Update Vietnamese translation from translation project.
16983
16984         * po/eo.po: Update Esperanto translation from translation project.
16985
16986         * po/cs.po: Update Czech translation from translation project.
16987
16988         * po/nl.po: Update Dutch translation from translation project.
16989
16990         * po/pl.po: Update Polish translation from translation project.
16991
16992         * po/ru.po: Update Russian translation from translation project.
16993
16994         * po/uk.po: Update Ukrainian translation from translation project.
16995
16996 2014-01-08  Brooks Moses  <bmoses@google.com>
16997
16998         * elf/dl-load.c: Fix comment typo.
16999
17000 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
17001
17002         * po/header.pot: Rename to...
17003         * po/pot.header: ... this.
17004         * po/Makefile: Use pot.header.
17005
17006 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
17007             Maxim Kuvyrkov  <maxim@kugelworks.com>
17008
17009         [BZ #16394]
17010         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
17011         SRC and DEST against LEN.
17012
17013 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17014
17015         [BZ #16414]
17016         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
17017         implementation.
17018         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
17019
17020 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17021
17022         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17023
17024 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
17025
17026         [BZ #16408]
17027         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
17028         for large positive arguments.
17029
17030 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
17031
17032         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
17033
17034         * math/auto-libm-test-in: Mark various tests with
17035         xfail-rounding:ldbl-128ibm.
17036         * math/auto-libm-test-out: Regenerated.
17037
17038         [BZ #16407]
17039         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
17040         Increase overflow threshold.
17041
17042 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
17043
17044         [BZ #14286]
17045         * stdio-common/vfprintf.c: Check for integer overflow.
17046
17047 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17048
17049         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
17050         the first argument and return value of __tls_get_addr_internal.
17051
17052 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17053
17054         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
17055         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
17056
17057 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17058
17059         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
17060         * sysdeps/s390/rtld-global-offsets.sym: New file.
17061         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
17062         GLIBC_2.19 symbol.
17063         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
17064         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
17065         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
17066         ... this.
17067         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
17068         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
17069         ... this.
17070         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17071         Regenerate.
17072         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17073         Regenerate.
17074         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
17075         halfs of GPRs for high_gprs contexts.
17076         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
17077         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
17078         field.
17079         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
17080         uc_flags field.
17081         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
17082         64 bit versions:
17083         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
17084         for high GPRs (uc_high_gprs) and for future extensions
17085         (__reserved).
17086         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
17087         for future extensions (__reserved).
17088         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
17089         64 bit versions:
17090         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
17091         SC_HIGHGPRS offset definition.
17092         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
17093         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
17094
17095         * Versions.def: Add GLIBC_2.19 for libpthread.
17096         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
17097         siglongjmp for libpthread with GLIBC_2.19 symver.
17098         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
17099         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
17100         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
17101         * sysdeps/s390/__longjmp.c: New file.
17102         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
17103         * sysdeps/s390/longjmp.c: New file.
17104         * sysdeps/s390/setjmp.S: New file.
17105         * sysdeps/s390/sigjmp.S: New file.
17106         * sysdeps/s390/v1-longjmp.c: New file.
17107         * sysdeps/s390/v1-setjmp.h: New file.
17108         * sysdeps/s390/v1-sigjmp.c: New file.
17109         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
17110         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
17111         GLIBC_2.19 version.
17112         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
17113         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
17114         versioned symbols for ____longjmp_chk.
17115         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
17116         Likewise.
17117         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17118         Regenerate.
17119         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17120         Regenerate.
17121         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17122         Regenerate.
17123         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17124         Regenerate.
17125         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
17126         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
17127         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
17128         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
17129         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
17130         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
17131         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
17132         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
17133         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
17134         * sysdeps/s390/rtld-__longjmp.c: New file.
17135         * sysdeps/s390/rtld-setjmp.S: New file.
17136
17137 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
17138
17139         [BZ #16400]
17140         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
17141         Return -__logl (x) for small positive arguments without evaluating
17142         a polynomial.
17143
17144 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
17145
17146         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
17147         Rename to ...
17148         (__ptrace_peeksiginfo_args): ... this.
17149         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17150         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17151         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17152
17153 2014-01-06  Allan McRae  <allan@archlinux.org>
17154
17155         * inet/netinet/in.h: Fix typo in comment.
17156
17157 2014-01-05  Andreas Jaeger  <aj@suse.de>
17158
17159         * sysdeps/i386/fpu/libm-test-ulps: Update.
17160
17161 2014-01-05  Allan McRae  <allan@archlinux.org>
17162
17163         * po/libc.pot: Regenerated.
17164
17165         * malloc/memusagestat.c: Fix gettext call formatting.
17166
17167 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
17168
17169         * nscd/nscd.c: Improve usage() output.
17170
17171 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
17172
17173         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
17174         * sysdeps/unix/sysv/linux/configure: Regenerated.
17175         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
17176         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
17177
17178 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
17179
17180         [BZ #16390]
17181         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
17182         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
17183
17184 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17185
17186         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
17187         extra tokens at end of #undef directive.
17188         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
17189         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
17190         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
17191
17192 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
17193
17194         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
17195
17196         * math/auto-libm-test-in: Mark various tests with
17197         xfail-rounding:ldbl-128ibm.
17198         * math/auto-libm-test-out: Regenerated.
17199
17200 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
17201
17202         [BZ #16386]
17203         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
17204         numbers with subnormal high part when calculating exponent.
17205
17206         [BZ #16385]
17207         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
17208         fabs.
17209
17210         [BZ #16384]
17211         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
17212         M_LN2l.
17213         (__ieee754_acoshl): Use __log1pl not __log1p.
17214
17215 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
17216
17217         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
17218         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
17219         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
17220         (grow_heap, heap_trim, _int_new_arena, get_free_list)
17221         (reused_arena, arena_get2): Convert to GNU style.
17222         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
17223         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
17224         (memalign_check, __malloc_set_state): Likewise.
17225         * malloc/mallocbug.c (main): Likewise.
17226         * malloc/malloc.c (__malloc_assert, malloc_init_state)
17227         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
17228         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
17229         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
17230         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
17231         (__posix_memalign, malloc_info): Likewise.
17232         * malloc/malloc.h: Likewise.
17233         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
17234         (mallochook, memalignhook, reallochook, mabort): Likewise.
17235         * malloc/mcheck.h: Likewise.
17236         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
17237         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
17238         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
17239         * malloc/morecore.c (__default_morecore): Likewise.
17240         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
17241         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
17242         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
17243         (print_and_abort): Likewise.
17244         * malloc/obstack.h: Likewise.
17245         * malloc/set-freeres.c (__libc_freeres): Likewise.
17246         * malloc/tst-mallocstate.c (main): Likewise.
17247         * malloc/tst-mtrace.c (main): Likewise.
17248         * malloc/tst-realloc.c (do_test): Likewise.
17249
17250 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
17251
17252         [BZ #16366]
17253         * nscd/netgroupcache.c (do_notfound): New function.
17254         (addgetnetgrentX): Use it.
17255
17256         [BZ # 16365]
17257         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
17258         NSS_STATUS_NOTFOUND.
17259
17260 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
17261
17262         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
17263         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17264
17265 2014-01-01  Allan McRae  <allan@archlinux.org>
17266
17267         * scripts/update-copyrights: Update configure input file suffix.
17268
17269         * NEWS: Update copyright year.
17270         * catgets/gencat.c: Likewise.
17271         * csu/version.c: Likewise.
17272         * debug/catchsegv.sh: Likewise.
17273         * debug/pcprofiledump.c: Likewise.
17274         * debug/xtrace.sh: Likewise.
17275         * elf/ldconfig.c: Likewise.
17276         * elf/ldd.bash.in: Likewise.
17277         * elf/pldd.c: Likewise.
17278         * elf/sotruss.ksh: Likewise.
17279         * elf/sprof.c: Likewise.
17280         * iconv/iconv_prog.c: Likewise.
17281         * iconv/iconvconfig.c: Likewise.
17282         * locale/programs/locale.c: Likewise.
17283         * locale/programs/localedef.c: Likewise.
17284         * login/programs/pt_chown.c: Likewise.
17285         * malloc/memusage.sh: Likewise.
17286         * malloc/memusagestat.c: Likewise.
17287         * malloc/mtrace.pl: Likewise.
17288         * manual/libc.texinfo: Likewise.
17289         * nscd/nscd.c: Likewise.
17290         * nss/getent.c: Likewise.
17291         * nss/makedb.c: Likewise.
17292         * posix/getconf.c: Likewise.
17293         * scripts/test-installation.pl: Likewise.
17294
17295         * All files with FSF copyright notices: Update copyright dates
17296         using scripts/update-copyrights.
17297         * intl/plural.c: Regenerated.
17298         * locale/programs/charmap-kw.h: Likewise.
17299         * locale/programs/locfile-kw.h: Likewise.
17300
17301 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
17302
17303         * sysdeps/unix/sysv/linux/configure: Regenerated.
17304         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
17305         the linux/fanotify.h header.
17306         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
17307         HAVE_LINUX_FANOTIFY_H is defined.
17308
17309 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
17310
17311         * benchtests/cos-inputs: New inputs.
17312         * benchtests/sin-inputs: Likewise.
17313
17314         * benchtests/atan-inputs: New inputs. Fix name of multiple
17315         precision fallback inputs.
17316
17317         * benchtests/atanh-inputs: New inputs.
17318         * benchtests/tanh-inputs: Likewise.
17319
17320         * benchtests/acosh-inputs: New inputs.
17321         * benchtests/asinh-inputs: Likewise.
17322
17323         * benchtests/cosh-inputs: New inputs.
17324         * benchtests/sinh-inputs: Likewise.
17325
17326         * benchtests/acos-inputs: Add more inputs.
17327         * benchtests/asin-inputs: Likewise.
17328
17329 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
17330
17331         [BZ #16375]
17332         * manual/arith.texi: Fix spelling.
17333         * manual/charset.texi: Likewise.
17334         * manual/errno.texi: Likewise.
17335         * manual/filesys.texi: Likewise.
17336         * manual/lang.texi: Likewise.
17337         * manual/llio.texi: Likewise.
17338         * manual/locale.texi: Likewise.
17339         * manual/message.texi: Likewise.
17340         * manual/resource.texi: Likewise.
17341         * manual/search.texi: Likewise.
17342         * manual/setjmp.texi: Likewise.
17343         * manual/stdio.texi: Likewise.
17344         * manual/string.texi: Likewise.
17345         * manual/sysinfo.texi: Likewise.
17346         * manual/time.texi: Likewise.
17347
17348 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
17349
17350         * po/sl.po: New file.
17351
17352 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
17353
17354         * .gitignore: Add core/.gdbinit/.gdb_history.
17355
17356 2013-12-27  Allan McRae  <allan@archlinux.org>
17357
17358         [BZ #16369]
17359         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
17360         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
17361
17362 2013-12-24  Brooks Moses  <bmoses@google.com>
17363
17364         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
17365         all compilers that claim C++98 compliance, not just GCC.
17366         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
17367         Likewise.
17368
17369 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
17370
17371         * NEWS: Restore accidentally deleted bug-fix entries.
17372
17373 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
17374             Ondřej Bílka  <neleai@seznam.cz>
17375
17376         [BZ #15073]
17377         * malloc/malloc.c (_int_free): Perform sanity check only if we
17378         have_lock.
17379
17380 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
17381
17382         [BZ #12986]
17383         * manual/stdio.texi (String Input Conversions): Clarify that character
17384         classes are not supported.
17385
17386 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17387
17388         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17389
17390 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
17391
17392         [BZ #16337]
17393         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
17394         Calculate results for small negative arguments directly rather
17395         than using reflection formula with special underflow handling.
17396
17397         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
17398         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
17399         sysdeps/unix/bsd/bsd4.4/syscalls.list.
17400         (fchflags): Likewise.
17401         (revoke): Likewise.
17402         (setlogin): Likewise.
17403         (sigaltstack): Likewise.
17404         (wait4): Likewise.
17405         (sigblock): Remove.
17406         (sigsetmask): Likewise.
17407         (wait3): Likewise.
17408         (waitpid): Likewise.
17409         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
17410         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
17411         file.
17412         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
17413         * sysdeps/unix/bsd/Makefile: ... here.
17414         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
17415         * sysdeps/unix/bsd/Versions: ... here.
17416         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
17417         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
17418         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
17419         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
17420         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
17421         * sysdeps/unix/bsd/sigblock.c: ... here.
17422         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
17423         * sysdeps/unix/bsd/sigsetmask.c: ... here.
17424         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
17425         * sysdeps/unix/bsd/sigvec.c: ... here.
17426         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
17427         * sysdeps/unix/bsd/tcdrain.c: ... here.
17428         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
17429         * sysdeps/unix/bsd/tcgetattr.c: ... here.
17430         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
17431         * sysdeps/unix/bsd/tcsetattr.c: ... here.
17432         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
17433         * sysdeps/unix/bsd/wait.c: ... here.
17434         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
17435         * sysdeps/unix/bsd/wait3.c: ... here.
17436         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
17437         * sysdeps/unix/bsd/waitpid.c: ... here.
17438
17439 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
17440
17441         [BZ #16356]
17442         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
17443         round-to-nearest for [!USE_AS_EXPM1L].
17444         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
17445         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
17446         more tests of exp and exp10.  Expect some exp10 tests to miss
17447         exceptions or fail in directed rounding modes.
17448         * math/auto-libm-test-out: Regenerated.
17449         * math/libm-test.inc (exp10_tonearest_test_data): New array.
17450         (exp10_test_tonearest): New function.
17451         (exp10_towardzero_test_data): New array.
17452         (exp10_test_towardzero): New function.
17453         (exp10_downward_test_data): New array.
17454         (exp10_test_downward): New function.
17455         (exp10_upward_test_data): New array.
17456         (exp10_test_upward): New function.
17457         (main): Call the new functions.
17458         * sysdeps/i386/fpu/libm-test-ulps: Update.
17459         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17460
17461 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
17462
17463         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
17464         asinh, atan, atan2, atanh, cbrt, cos and cosh.
17465         * math/auto-libm-test-out: Regenerated.
17466         * math/libm-test.inc (acosh_test_data): Add more tests.
17467         (atanh_test_data): Likewise.
17468         (ceil_test_data): Likewise.
17469         (copysign_test_data): Likewise.
17470         * sysdeps/i386/fpu/libm-test-ulps: Update.
17471         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17472
17473         * timezone/checktab.awk: Update from tzcode 2013i.
17474         * timezone/private.h: Likewise.
17475         * timezone/scheck.c: Likewise.
17476         * timezone/tzfile.h: Likewise.
17477         * timezone/tzselect.ksh: Likewise.
17478         * timezone/zdump.c: Likewise.
17479         * timezone/zic.c: Likewise.
17480
17481         * math/auto-libm-test-in: Add tests of cpow.
17482         * math/auto-libm-test-out: Regenerated.
17483         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
17484         * math/gen-auto-libm-tests.c (func_calc_method): Add value
17485         mpc_cc_c.
17486         (func_calc_desc): Add mpc_cc_c union field.
17487         (test_functions): Add cpow.
17488         (special_fill_2pi): New function.
17489         (special_real_inputs): Add 2pi.
17490         (calc_generic_results): Handle mpc_cc_c.
17491         * sysdeps/i386/fpu/libm-test-ulps: Update.
17492         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17493
17494         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
17495         csqrt, ctan and ctanh.
17496         * math/auto-libm-test-out: Regenerated.
17497         * math/libm-test.inc (TEST_COND_x86_64): New macro.
17498         (TEST_COND_x86): Likewise.
17499         (ccos_test_data): Use AUTO_TESTS_c_c.
17500         (ccosh_test_data): Likewise.
17501         (cexp_test_data): Likewise.
17502         (clog_test_data): Likewise.
17503         (csqrt_test_data): Likewise.
17504         (ctan_test_data): Likewise.
17505         (ctan_tonearest_test_data): Likewise.
17506         (ctan_towardzero_test_data): Likewise.
17507         (ctan_downward_test_data): Likewise.
17508         (ctan_upward_test_data): Likewise.
17509         (ctanh_test_data): Likewise.
17510         (ctanh_tonearest_test_data): Likewise.
17511         (ctanh_towardzero_test_data): Likewise.
17512         (ctanh_downward_test_data): Likewise.
17513         (ctanh_upward_test_data): Likewise.
17514         * math/gen-auto-libm-tests.c (func_calc_method): Add value
17515         mpc_c_c.
17516         (func_calc_desc): Add mpc_c_c union field.
17517         (FUNC_mpc_c_c): New macro.
17518         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
17519         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
17520         ctanh.
17521         (special_fill_min_subnorm_p120): New function.
17522         (special_real_inputs): Add min_subnorm_p120.
17523         (calc_generic_results): Handle mpc_c_c.
17524         * sysdeps/i386/fpu/libm-test-ulps: Update.
17525         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17526
17527 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
17528
17529         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
17530         (do_sin_slow): New functions.
17531         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
17532         (cslow2, csloww1, csloww2): Use the new functions.
17533
17534         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
17535         Use M to change sign of result instead of X.  Assume X is
17536         positive.
17537         (csloww1): Likewise.
17538         (__sin): Adjust.
17539         (__cos): Adjust.
17540
17541         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
17542         arguments A and DA.
17543         (__sin): Adjust.
17544         (__cos): Likewise.
17545
17546         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
17547         (__cos): Likewise.
17548         (sloww1): Don't adjust sign of DX.
17549         (csloww1): Likewise.
17550         (sloww2): Use X directly and don't adjust sign of DX.
17551         (csloww2): Likewise.
17552
17553 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
17554
17555         * math/auto-libm-test-in: Add tests of cabs and carg.
17556         * math/auto-libm-test-out: Regenerated.
17557         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
17558         (carg_test_data): Likewise.
17559         * math/gen-auto-libm-tests.c (func_calc_method): Add value
17560         mpc_c_f.
17561         (func_calc_desc): Add mpc_c_f union field.
17562         (test_functions): Add cabs and carg.
17563         (calc_generic_results): Handle mpc_c_f.
17564
17565         * sysdeps/powerpc/powerpc32/libgcc-compat.S
17566         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
17567         as a macro and a compat symbol.
17568         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
17569         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
17570         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
17571         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
17572         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
17573         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
17574         not use .hidden.
17575         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
17576         Likewise.
17577         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
17578         Likewise.
17579         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
17580         Likewise.
17581         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
17582         Likewise.
17583         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
17584         Likewise.
17585         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
17586         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
17587         from GLIBC_2.3.2.
17588
17589 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17590
17591         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17592
17593 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
17594
17595         * manual/texinfo.tex: Update to version 2013-11-26.10 with
17596         trailing whitespace removed.
17597         * scripts/config.guess: Update to version 2013-11-29.
17598         * scripts/config.sub: Update to version 2013-10-01.
17599
17600         * math/auto-libm-test-in: Add tests of sincos.
17601         * math/auto-libm-test-out: Regenerated.
17602         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
17603         * math/gen-auto-libm-tests.c (func_calc_method): Add value
17604         mpfr_f_11.
17605         (func_calc_desc): Add mpfr_f_11 union field.
17606         (test_functions): Add sincos.
17607         (calc_generic_results): Handle mpfr_f_11.
17608         * sysdeps/i386/fpu/libm-test-ulps: Update.
17609         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17610
17611 2013-12-19  Andreas Schwab  <schwab@suse.de>
17612
17613         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
17614         CALL_MCOUNT.
17615         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
17616         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
17617         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
17618
17619 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
17620
17621         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
17622         * sysdeps/i386/fpu/libm-test-ulps: Update.
17623         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17624
17625         [BZ #16293]
17626         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
17627         round-to-nearest mode when using frndint.
17628         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
17629         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
17630         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
17631         Likewise.
17632         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
17633         sinh test to fail.
17634         * math/auto-libm-test-out: Regenerated.
17635         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
17636         (TEST_COND_x86): Likewise.
17637         (expm1_tonearest_test_data): New array.
17638         (expm1_test_tonearest): New function.
17639         (expm1_towardzero_test_data): New array.
17640         (expm1_test_towardzero): New function.
17641         (expm1_downward_test_data): New array.
17642         (expm1_test_downward): New function.
17643         (expm1_upward_test_data): New array.
17644         (expm1_test_upward): New function.
17645         (main): Run the new test functions.
17646         * sysdeps/i386/fpu/libm-test-ulps: Update.
17647         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17648
17649         * include/features.h: Update comment documenting feature test
17650         macros.  Mention _DEFAULT_SOURCE in comment.
17651         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
17652         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
17653         _BSD_SOURCE and _SVID_SOURCE.
17654         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
17655         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
17656         !_SVID_SOURCE]: Likewise.
17657         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
17658         (__USE_POSIX_IMPLICITLY): Define.
17659         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
17660         (_POSIX_SOURCE): Undefine and redefine.
17661         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
17662         (_POSIX_C_SOURCE): Likewise.
17663         * manual/creature.texi (_DEFAULT_SOURCE): Document.
17664         (Feature Test Macros): Update documentation of default features.
17665
17666 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17667
17668         * benchtests/Makefile: Add bench-strtok.
17669         * benchtests/bench-strtok.c: New file: strtok benchtest.
17670
17671 2013-12-19  Allan McRae  <allan@archlinux.org>
17672
17673         * manual/install.texi: Suppress menu for plain text output.
17674         * INSTALL: Regenerated.
17675
17676 2013-12-18  Brooks Moses  <bmoses@google.com>
17677
17678         [BZ #15846]
17679         * misc/getauxval.c: Include errno.h.
17680         (__getauxval): Set errno to ENOENT if the requested type is not
17681         found.
17682         * misc/sys/auxv.h (getauxval): Document that it may set errno;
17683         don't declare with __attribute_const__.
17684         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
17685         * manual/startup.texi: Document that getauxval sets errno.
17686
17687 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
17688
17689         * math/auto-libm-test-in: Add tests of jn and yn.
17690         * math/auto-libm-test-out: Regenerated.
17691         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
17692         (yn_test_data): Likewise.
17693         * math/gen-auto-libm-tests.c (func_calc_method): Add value
17694         mpfr_if_f.
17695         (func_calc_desc): Add mpfr_if_f union field.
17696         (FUNC_mpfr_if_f): New macro.
17697         (test_functions): Add jn and yn.
17698         (calc_generic_results): Assert type of second input for
17699         mpfr_ff_f.  Handle mpfr_if_f.
17700         (output_for_one_input_case): Disable all checking for arguments
17701         fitting floating-point types in case of an integer argument.
17702         * sysdeps/i386/fpu/libm-test-ulps: Update.
17703         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17704
17705         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
17706         Don't expect fegetround reference in libm.so.
17707
17708 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
17709
17710         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
17711         $(config-cflags-nofma).
17712
17713 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
17714
17715         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
17716         * math/auto-libm-test-out: Regenerated.
17717
17718         [BZ #16338]
17719         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
17720         to determine exponent and adjust argument to have exponent of -1.
17721         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
17722         log2.
17723         * math/auto-libm-test-out: Regenerated.
17724         * sysdeps/i386/fpu/libm-test-ulps: Update.
17725         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17726
17727 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
17728
17729         * manual/probes.texi: Remove cases when per-thread arenas are
17730         disabled.
17731
17732 2013-12-18  Andreas Schwab  <schwab@suse.de>
17733
17734         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
17735         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
17736         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
17737         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
17738         * sysdeps/i386/i686/multiarch/Makefile: Update.
17739         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
17740
17741 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
17742
17743         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
17744         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
17745
17746 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
17747
17748         [BZ #15968]
17749         Support TZ transition times < 00:00:00.
17750         This is needed for version-3 tz-format files; it supports time
17751         stamps past 2037 for America/Godthab (the only entry in the tz
17752         database for which this change is relevant).
17753         * manual/time.texi (TZ Variable): Document transition times
17754         from -167:59:59 through -00:00:01.
17755         * time/tzset.c (tz_rule): Time of day is now signed.
17756         (__tzset_parse_tz): Parse negative time of day.
17757
17758         Document TZ transition times >= 25:00:00.
17759         * manual/time.texi (TZ Variable): Document transition times from
17760         25:00:00 through 167:59:59.  These are already supported, and this
17761         support will help with version-3 tz-format files.
17762
17763         * manual/time.texi (TZ Variable): Modernize North America example
17764         to reflect current (i.e., 2007-and-later) daylight saving rules.
17765
17766         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
17767
17768 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
17769
17770         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
17771         * sysdeps/unix/bsd/bits/stat.h: Likewise.
17772         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
17773         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
17774         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
17775         * sysdeps/unix/bsd/bsdstat.h: Likewise.
17776         * sysdeps/unix/bsd/clock.c: Likewise.
17777         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
17778         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
17779         * sysdeps/unix/bsd/init-posix.c: Likewise.
17780         * sysdeps/unix/bsd/poll.c: Likewise.
17781         * sysdeps/unix/bsd/ptsname.c: Likewise.
17782         * sysdeps/unix/bsd/seekdir.c: Likewise.
17783         * sysdeps/unix/bsd/setegid.c: Likewise.
17784         * sysdeps/unix/bsd/seteuid.c: Likewise.
17785         * sysdeps/unix/bsd/setgid.c: Likewise.
17786         * sysdeps/unix/bsd/setrgid.c: Likewise.
17787         * sysdeps/unix/bsd/setruid.c: Likewise.
17788         * sysdeps/unix/bsd/setsid.c: Likewise.
17789         * sysdeps/unix/bsd/setuid.c: Likewise.
17790         * sysdeps/unix/bsd/sigaction.c: Likewise.
17791         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
17792         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
17793         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
17794         * sysdeps/unix/bsd/telldir.c: Likewise.
17795         * sysdeps/unix/bsd/times.c: Likewise.
17796         * sysdeps/unix/bsd/usleep.c: Likewise.
17797
17798         * misc/Makefile (install-lib): Remove libbsd-compat.a.
17799         ($(objpfx)libbsd-compat.a): Remove rule.
17800
17801         * include/features.h (__FAVOR_BSD): Do not define.
17802         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
17803         features conflicting with POSIX.
17804         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
17805         (_BSD_SOURCE): Remove description of not being a subset of other
17806         feature test macros.
17807         * manual/job.texi (getpgrp): Do not document BSD version.
17808         (getpgid): Do not document by reference to BSD getpgrp.
17809         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
17810         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
17811         * signal/signal.h [__FAVOR_BSD]: Likewise.
17812         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
17813         instead of making contents conditional on [__FAVOR_BSD].
17814         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
17815
17816 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17817
17818         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17819
17820 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
17821
17822         [BZ #16314]
17823         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
17824         values below 2**-450, not 2**-500.
17825         * math/auto-libm-test-in: Don't allow spurious underflow from
17826         hypot.
17827         * math/auto-libm-test-out: Regenerated.
17828
17829         [BZ #16316]
17830         [BZ #16330]
17831         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
17832         values of ha and hb and sort them after adjusting subnormal
17833         arguments.
17834         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
17835         Likewise.
17836         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
17837         values of ea and eb and sort them after adjusting subnormal
17838         arguments.
17839         * math/auto-libm-test-in: Do not expect some hypot tests of
17840         subnormals to fail.  Add more hypot tests.
17841         * math/auto-libm-test-out: Regenerated.
17842
17843 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17844
17845         [BZ #13304]
17846         * sysdeps/sh/s_fma.c: New file.
17847         * sysdeps/sh/s_fmaf.c: New file.
17848         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
17849         version.
17850         * sysdeps/sh/Implies: Add sh/soft-fp.
17851
17852 2013-12-16  Roland McGrath  <roland@hack.frob.com>
17853
17854         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
17855         level of indirection to members `objname', `errstring', `malloced'.
17856         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
17857         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
17858         it as the __longjmp argument (just pass 1 instead).
17859         (_dl_catch_error): Initialize C with argument pointers and address of
17860         volatile local ERRCODE rather than copying values out of C at return.
17861
17862 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
17863
17864         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
17865         * math/auto-libm-test-out: Regenerated.
17866         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
17867         (hypot_test_data): Likewise.
17868         (pow_test_data): Likewise.
17869         (pow_tonearest_test_data): Likewise.
17870         * math/gen-auto-libm-tests.c (func_calc_method): Add value
17871         mpfr_ff_f.
17872         (func_calc_desc): Add mpfr_ff_f union field.
17873         (FUNC_mpfr_ff_f): New macro.
17874         (test_functions): Add atan2, hypot and pow.
17875         (special_fill_min): New function.
17876         (special_fill_minus_min): Likewise.
17877         (special_fill_min_subnorm): Likewise.
17878         (special_fill_minus_min_subnorm): Likewise.
17879         (special_real_inputs): Add min, -min, min_subnorm and
17880         -min_subnorm.
17881         (calc_generic_results): Handle mpfr_ff_f.
17882         * sysdeps/i386/fpu/libm-test-ulps: Update.
17883         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17884
17885 2013-12-16  Will Newton  <will.newton@linaro.org>
17886
17887         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
17888         (Aligned Memory Blocks): Add documentation for aligned_alloc
17889         and suggest it as an alternative to posix_memalign.
17890         (Hooks for Malloc): Document __memalign_hook is also called
17891         for aligned_alloc.  (Summary of Malloc): Add summary for
17892         aligned alloc.  Document __memalign_hook is also called
17893         for aligned_alloc.
17894
17895 2013-12-16  Will Newton  <will.newton@linaro.org>
17896
17897         * manual/memory.texi (Malloc Examples): Clarify default
17898         alignment documentation.  Suggest posix_memalign rather
17899         than memalign or valloc.
17900         (Aligned Memory Blocks): Remove suggestion to use memalign
17901         or valloc.  Remove obsolete comment about BSD.
17902         Document memalign errno values and mark the function obsolete.
17903         Document posix_memalign returned error codes.  Mark valloc
17904         as obsolete.  (Hooks for Malloc): __memalign_hook is also
17905         called for posix_memalign and valloc.
17906         (Summary of Malloc): Add posix_memalign to function summary.
17907         __memalign_hook is also called for posix_memalign and valloc.
17908
17909 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
17910
17911         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
17912         TAYLOR_SIN.
17913         (__sin): Adjust.
17914         (__cos): Likewise.
17915         (sloww): Use mynumber union.  Expand ternary operator into
17916         if-else statements.
17917         (cslow): use mynumber union.
17918
17919 2013-12-16  Allan McRae  <allan@archlinux.org>
17920
17921         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
17922         * configure: Regenerated.
17923
17924         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
17925
17926         [BZ #14120]
17927         * configure.ac: Added --enable-maintainer-mode. Check for
17928         autoconf when enabled.
17929         * configure: Regenerated.
17930
17931         * nscd/nscd.service: New file.
17932         * nscd/nscd.tmpfiles: New file.
17933
17934 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
17935
17936         [BZ #12100]
17937         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
17938         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
17939         * sysdeps/x86_64/multiarch/strstr.c: ... here.
17940         (strstr): Add __strstr_sse2_unaligned ifunc.
17941         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
17942         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
17943         (strcasestr): Remove __strcasestr_sse42 ifunc.
17944         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
17945         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
17946         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
17947
17948 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17949
17950         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
17951         * sysdeps/sh/bits/fenv.h: ... here.
17952         * sysdeps/sh/sh4/fpu/bits: Remove directory.
17953
17954 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17955
17956         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
17957
17958         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
17959         hypotf multiarch implementations.
17960         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
17961         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
17962         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
17963         multiarch hypot for PPC64.
17964         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
17965         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
17966         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
17967         multiarch hypotf for PPC64.
17968
17969         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
17970         modff multiarch implementations.
17971         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
17972         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
17973         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
17974         multiarch modf for PPC64.
17975         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
17976         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
17977         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
17978         multiarch modff for PPC64.
17979
17980         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
17981         and logl multiarch implementations.
17982         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
17983         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
17984         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
17985         multiarch logb for PPC64.
17986         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
17987         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
17988         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
17989         multiarch logb for PPC64.
17990         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
17991         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
17992         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
17993         multiarch logb for PPC64.
17994
17995         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
17996         isinff multiarch implementation.
17997         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
17998         file.
17999         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
18000         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
18001         multiarch isinf for PPC64.
18002         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
18003         file.
18004         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
18005         multiarch isinff for PPC64.
18006
18007         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
18008         finitef multiarch implementation.
18009         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
18010         file.
18011         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
18012         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
18013         multiarch finite for PPC64.
18014         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
18015         file.
18016         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
18017         multiarch finitef for PPC64.
18018
18019         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
18020         lrint multiarch implementation.
18021         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
18022         file.
18023         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
18024         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
18025         multiarch llrint for PPC64.
18026         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
18027         multiarch lrint for PPC64.
18028
18029         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
18030         copysignf multiarch implementation.
18031         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
18032         file.
18033         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
18034         file.
18035         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
18036         multiarch copysign for PPC64.
18037         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
18038         multiarch copysignf for PPC64.
18039
18040         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
18041         multiarch implementation.
18042         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
18043         file.
18044         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
18045         file.
18046         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
18047         file.
18048         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
18049         file.
18050         multiarch llround for PPC64.
18051         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
18052         multiarch trunc for PPC64.
18053         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
18054         multiarch truncf for PPC64.
18055
18056         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
18057         multiarch implementation.
18058         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
18059         file.
18060         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
18061         file.
18062         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
18063         file.
18064         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
18065         file.
18066         multiarch llround for PPC64.
18067         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
18068         multiarch round for PPC64.
18069         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
18070         multiarch roundf for PPC64.
18071
18072         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
18073         multiarch implementation.
18074         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
18075         file.
18076         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
18077         file.
18078         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
18079         file.
18080         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
18081         file.
18082         multiarch llround for PPC64.
18083         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
18084         multiarch floor for PPC64.
18085         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
18086         multiarch floorf for PPC64.
18087
18088         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
18089         multiarch implementation.
18090         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
18091         file.
18092         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
18093         file.
18094         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
18095         file.
18096         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
18097         file.
18098         multiarch llround for PPC64.
18099         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
18100         multiarch ceil for PPC64.
18101         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
18102         multiarch ceilf for PPC64.
18103
18104         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
18105         multiarch implementation.
18106         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
18107         file.
18108         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
18109         file.
18110         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
18111         file.
18112         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
18113         multiarch llround for PPC64.
18114         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
18115         multiarch lround for PPC64.
18116
18117         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
18118         multiarch implementation.
18119         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
18120         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
18121         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
18122         file.
18123         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
18124         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
18125         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
18126         multiarch isnan for PPC64.
18127         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
18128         multiarch isnanf for PPC64.
18129
18130         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
18131         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
18132         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
18133         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
18134         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
18135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
18136
18137         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
18138         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
18139         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18140         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18141
18142         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
18143         multiarch implementations.
18144         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18145         (__libc_ifunc_impl_list): Likewise.
18146         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
18147         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
18148         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
18149         multiarch stpcpy for PPC64.
18150
18151         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
18152         multiarch implementations.
18153         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18154         (__libc_ifunc_impl_list): Likewise.
18155         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
18156         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
18157         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
18158         multiarch strcpy for PPC64.
18159
18160         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
18161         redefine function name.
18162         (_wordcopy_fwd_dest_aligned): Likewise.
18163         (_wordcopy_bwd_aligned): Likewise.
18164         (_wordcopy_bwd_dest_aligned): Likewise.
18165         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
18166         multiarch implementations.
18167         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18168         (__libc_ifunc_impl_list): Likewise.
18169         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
18170         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
18171         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
18172         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
18173         multiarch wcscpy for PPC64.
18174
18175         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
18176         multiarch implementations.
18177         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18178         (__libc_ifunc_impl_list): Likewise.
18179         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
18180         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
18181         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
18182         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
18183         multiarch wcscpy for PPC64.
18184
18185         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
18186         multiarch implementations.
18187         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18188         (__libc_ifunc_impl_list): Likewise.
18189         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
18190         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
18191         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
18192         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
18193         multiarch wcsrchr for PPC64.
18194
18195         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
18196         multiarch implementations.
18197         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18198         (__libc_ifunc_impl_list): Likewise.
18199         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
18200         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
18201         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
18202         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
18203         multiarch wcschr for PPC64.
18204
18205         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
18206         multiarch implementations.
18207         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18208         (__libc_ifunc_impl_list): Likewise.
18209         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
18210         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
18211         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
18212         multiarch strchrnul for PPC64.
18213
18214         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
18215         implementations.
18216         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18217         (__libc_ifunc_impl_list): Likewise.
18218         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
18219         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
18220         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
18221         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
18222         strchr for PPC64.
18223
18224         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
18225         implementations.
18226         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18227         (__libc_ifunc_impl_list): Likewise.
18228         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
18229         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
18230         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
18231         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
18232         strncmp for PPC64.
18233
18234         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
18235         multiarch implementations.
18236         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18237         (__libc_ifunc_impl_list): Likewise.
18238         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
18239         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
18240         strncasecmp for PPC64.
18241         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
18242         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
18243         multiarch strncasecmp_l for PPC64.
18244
18245         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
18246         multiarch implementations.
18247         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18248         (__libc_ifunc_impl_list): Likewise.
18249         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
18250         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
18251         multiarch strcasecmp for PPC64.
18252         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
18253         file.
18254         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
18255         multiarch strcasecmp_l for PPC64.
18256
18257         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
18258         implementations.
18259         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18260         (__libc_ifunc_impl_list): Likewise.
18261         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
18262         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
18263         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
18264         strnlen for PPC64.
18265
18266         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
18267         implementations.
18268         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18269         (__libc_ifunc_impl_list): Likewise.
18270         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
18271         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
18272         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
18273         strlen for PPC64.
18274
18275         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
18276         implementations.
18277         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18278         (__libc_ifunc_impl_list): Likewise.
18279         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
18280         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
18281         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
18282         rawmemrchr for PPC64.
18283
18284         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
18285         implementation.
18286         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18287         (__libc_ifunc_impl_list): Likewise.
18288         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
18289         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
18290         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
18291         memrchr for PPC64.
18292
18293         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
18294         implementation.
18295         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18296         (__libc_ifunc_impl_list): Likewise.
18297         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
18298         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
18299         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
18300         memchr for PPC64.
18301
18302         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
18303         implementation.
18304         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18305         (__libc_ifunc_impl_list): Likewise.
18306         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
18307         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
18308         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
18309         mempcpy for PPC64.
18310
18311         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
18312         avoid cretion of __bzero symbol.
18313         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
18314         Likewise.
18315         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
18316         Likewise.
18317         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
18318         Likewise.
18319         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
18320         multiarch implementations.
18321         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18322         (__libc_ifunc_impl_list): Likewise.
18323         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
18324         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
18325         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
18326         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
18327         bzero for PPC32.
18328         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
18329         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
18330         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
18331         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
18332         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
18333         memset for PPC64.
18334         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
18335
18336         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
18337         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
18338         implementations.
18339         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18340         (__libc_ifunc_impl_list): Likewise.
18341         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
18342         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
18343         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
18344         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
18345         memcmp for PPC64.
18346
18347         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
18348         multiarch for POWER/PPC64.
18349         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
18350         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
18351         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
18352         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
18353         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
18354         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
18355         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
18356         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
18357         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
18358         memcpy for PPC64.
18359
18360         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
18361         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
18362         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
18363         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
18364         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
18365         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
18366         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
18367         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
18368         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
18369         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
18370         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
18371         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
18372         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
18373         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
18374         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
18375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
18376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
18377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
18378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
18379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
18380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
18381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
18382
18383 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18384
18385         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
18386
18387 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
18388
18389         * benchtests/Makefile (bench): Add exp2 and log2.
18390         (LDLIBS-bench-exp2): Add -lm.
18391         (LDLIBS-bench-log2): Likewise.
18392         * benchtests/exp2-inputs: New inputs file.
18393         * benchtests/log2-inputs: New inputs file.
18394         * benchtests/log-inputs: Add new inputs.
18395         * benchtests/tan-inputs: Likewise.
18396
18397 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18398
18399         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
18400         definition...
18401         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
18402         (csloww2): ... from here.
18403
18404         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
18405         instead of structures.
18406         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
18407         (POLYNOMIAL): Likewise.
18408         (TAYLOR_SLOW): Likewise.
18409         (__sin): Likewise.
18410         (__cos): Likewise.
18411         (slow1): Likewise.
18412         (slow2): Likewise.
18413         (sloww): Likewise.
18414         (sloww1); Likewise.
18415         (sloww2): Likewise.
18416         (bsloww1): Likewise.
18417         (bsloww2): Likewise.
18418         (cslow2): Likewise.
18419         (csloww): Likewise.
18420         (csloww1): Likewise.
18421         (csloww2): Likewise.
18422
18423 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
18424
18425         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
18426         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
18427         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
18428         * malloc/hooks.c (realloc_check): Likewise.
18429
18430         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
18431         * malloc/arena.c: Remove PER_THREAD conditional.
18432         [!PER_THREAD]: Remove code.
18433         (ptmalloc_unlock_all2): Likewise.
18434         (ptmalloc_init): Likewise.
18435         (_int_new_arena): Likewise.
18436         (arena_get2): Likewise.
18437         * malloc/hooks.c (__malloc_get_state): Likewise.
18438         (__malloc_set_state): Likewise.
18439         * malloc/malloc.c: Likewise.
18440         (struct malloc_state): Likewise.
18441         (struct malloc_par): Likewise.
18442         (__libc_realloc): Likewise.
18443         (__libc_mallopt): Likewise.
18444
18445 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18446
18447         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
18448
18449 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
18450
18451         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
18452         macro to a function.  Check for zero perturb_byte.
18453         (_int_malloc, _int_free): Remove zero perturb_byte checks.
18454
18455         * malloc/malloc.c: (force_reg): Remove.
18456         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
18457         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
18458         force_reg by atomic_forced_read.
18459         * malloc/arena.c (ptmalloc_init): Likewise.
18460         * malloc/hooks.c (top_check): Likewise.
18461
18462 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18463
18464         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18465
18466 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
18467
18468         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18469
18470 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
18471
18472         * math/auto-libm-test-in: Add tests of lgamma.
18473         * math/auto-libm-test-out: Regenerated.
18474         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
18475         (M_LOG_2_SQRT_PIl): Likewise.
18476         (lgamma_test_data): Use AUTO_TESTS_f_f1.
18477         * math/gen-auto-libm-tests.c (func_calc_method): Add value
18478         mpfr_f_f1.
18479         (func_calc_desc): Add mpfr_f_f1 union field.
18480         (ARGS1): New macro.
18481         (ARGS2): Likewise.
18482         (ARGS3): Likewise.
18483         (ARGS4): Likewise.
18484         (RET1): Likewise.
18485         (RET2): Likewise.
18486         (CALC): Likewise.
18487         (FUNC): Likewise.
18488         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
18489         (test_functions): Add lgamma.
18490         (calc_generic_results): Handle mpfr_f_f1.
18491         * sysdeps/i386/fpu/libm-test-ulps: Update.
18492         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18493
18494 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18495
18496         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
18497         __mpn_add_n for PowerPC64/POWER7.
18498         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
18499         __mpn_sub_n for PowerPC64/POWER7.
18500
18501         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
18502         __mpn_addmul_1 for PowerPC64.
18503         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
18504         __mpn_submul_1 for PowerPC64.
18505         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
18506         for PowerPC64.
18507         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
18508         for PowerPC64.
18509
18510 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
18511
18512         [BZ #15089]
18513         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
18514
18515 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18516
18517         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
18518
18519         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
18520         add multiarch folders.
18521         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
18522         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
18523         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
18524         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
18525         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
18526         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
18527         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
18528         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
18529         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
18530         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
18531         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
18532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
18533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
18534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
18535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
18536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
18537         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
18538
18539         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
18540         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
18541         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
18542         New file.
18543         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
18544         New file.
18545         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
18546         multiarch __ieee754_hypot for PowerPC32.
18547         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
18548         New file.
18549         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
18550         New file.
18551         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
18552         multiarch __ieee754_hypotf for PowerPC32.
18553
18554         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
18555         long_double_symbol only if __logbl is defined.
18556         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
18557         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
18558         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
18559         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
18560         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
18561         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
18562         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
18563         path for implementation.
18564         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
18565         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
18566         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
18567         logb, and logbl multiarch implementations for PowerPC32.
18568         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
18569         file.
18570         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
18571         file.
18572         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
18573         multiarch logb for PowerPC32.
18574         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
18575         file.
18576         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
18577         file.
18578         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
18579         multiarch logbf for PowerPC32.
18580         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
18581         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
18582         file.
18583         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
18584         multiarch logbl implementation for PowerPC32.
18585
18586         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
18587         and modff multiarch implementations.
18588         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
18589         New file.
18590         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
18591         New file.
18592         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
18593         multiarch modf for PowerPC32.
18594         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
18595         New file.
18596         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
18597         New file.
18598         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
18599         multiarch modff for PowerPC32.
18600
18601         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
18602         and lrintf multiarch implementations.
18603         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
18604         New file.
18605         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
18606         New file.
18607         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
18608         multiarch lrint for PowerPC32.
18609         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
18610         file: multiarch lrintf for PowerPC32.
18611
18612         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
18613         and lroundf multiarch implementations.
18614         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
18615         New file.
18616         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
18617         New file.
18618         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
18619         New file.
18620         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
18621         multiarch lround for PowerPC32.
18622         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
18623         file: multiarch lroundf for PowerPC32.
18624
18625         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
18626         copysign and copysignf multiarch implementations.
18627         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
18628         New file.
18629         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
18630         New file.
18631         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
18632         file: multiarch copysign for PowerPC32.
18633         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
18634         file: multiarch copysignf for PowerPC32.
18635
18636         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
18637         and truncf multiarch implementations.
18638         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
18639         New file.
18640         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
18641         file.
18642         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
18643         multiarch trunc for PowerPC32.
18644         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
18645         New file.
18646         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
18647         New file.
18648         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
18649         multiarch truncf for PowerPC32.
18650
18651         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
18652         and roundf multiarch implementations.
18653         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
18654         New file.
18655         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
18656         file.
18657         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
18658         multiarch round for PowerPC32.
18659         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
18660         New file.
18661         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
18662         New file.
18663         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
18664         multiarch roundf for PowerPC32.
18665
18666         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
18667         and floorf multiarch implementations.
18668         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
18669         New file.
18670         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
18671         file.
18672         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
18673         multiarch floor for PowerPC32.
18674         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
18675         New file.
18676         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
18677         New file.
18678         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
18679         multiarch floorf for PowerPC32.
18680
18681         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
18682         and ceilf multiarch implementations.
18683         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
18684         New file.
18685         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
18686         file.
18687         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
18688         multiarch ceil for PowerPC32.
18689         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
18690         New file.
18691         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
18692         file.
18693         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
18694         multiarch ceilf for PowerPC32.
18695
18696         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
18697         is defined.
18698         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
18699         FINITEF is defined.
18700         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
18701         and finitef multiarch implementations.
18702         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
18703         New file.
18704         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
18705         file.
18706         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
18707         multiarch finite for PowerPC32.
18708         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
18709         New file.
18710         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
18711         file: multiarch finitef for PowerPC32.
18712
18713         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
18714         and isinff multiarch implementations.
18715         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
18716         file.
18717         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
18718         file.
18719         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
18720         multiarch isinf for PowerPC32.
18721         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
18722         New file.
18723         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
18724         multiarch isinff for PowerPC32.
18725
18726         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
18727         alias when __isnan is defined.
18728         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
18729         and isnanf multiarch implementations.
18730         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
18731         file.
18732         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
18733         file.
18734         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
18735         file.
18736         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
18737         file.
18738         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
18739         multiarch isnan for PowerPC32.
18740         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
18741         New file.
18742         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
18743         New file.
18744         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
18745         multiarch isnanf for PowerPC32.
18746
18747         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
18748         and sqrtf multiarch implementations.
18749         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
18750         file.
18751         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
18752         file.
18753         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
18754         multiarch sqrt for PowerPC32.
18755         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
18756         file.
18757         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
18758         file.
18759         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
18760         multiarch sqrtf for PowerPC32.
18761
18762         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
18763         and llroundf multiarch implementations.
18764         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
18765         New file.
18766         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
18767         New file.
18768         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
18769         New file.
18770         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
18771         file: multiarch llround for PowerPC32.
18772         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
18773         file: multiarch llroundf for PowerPC32.
18774
18775         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
18776         multiarch PowerPC32 fpu implementations.
18777         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
18778         New file.
18779         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
18780         New file.
18781         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
18782         multiarch llrint for PowerPC32.
18783         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
18784         New file.
18785         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
18786         New file.
18787         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
18788         file.
18789
18790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
18791
18792         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
18793         file.
18794         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
18795         file.
18796         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
18797         file.
18798         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
18799         multiarch wordcopy for PPC32.
18800         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
18801         wordcopy objects.
18802         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18803         (__libc_ifunc_impl_list): Likewise.
18804         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
18805         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
18806         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
18807         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
18808         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
18809         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
18810
18811         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
18812         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
18813         file.
18814         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
18815         file.
18816         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
18817         file.
18818         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
18819         multiarch wcscpy for PPC32.
18820         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
18821         multiarch objects.
18822         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18823         (__libc_ifunc_impl_list): Likewise.
18824         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
18825         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
18826         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
18827         sysdeps/powerpc/power6/wcscpy.c.
18828
18829         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
18830         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
18831         file.
18832         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
18833         file.
18834         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
18835         file.
18836         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
18837         multiarch wcsrchr for PPC32.
18838         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
18839         multiarch objects.
18840         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18841         (__libc_ifunc_impl_list): Likewise.
18842         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
18843         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
18844         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
18845         sysdeps/powerpc/power6/wcsrchr.c.
18846
18847         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
18848         file.
18849         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
18850         file.
18851         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
18852         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
18853         multiarch wcschr for PPc32.
18854         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
18855         multiarch objects.
18856         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18857         (__libc_ifunc_impl_list): Likewise.
18858         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
18859         * sysdeps/powerpc/power6/wcschr.c: ... to here.
18860         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
18861         sysdeps/powerpc/power6/wcschr.c.
18862
18863         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
18864         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
18865         file.
18866         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
18867         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
18868         file: multiarch strchr for PPC32.
18869         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
18870         multiarch objects.
18871         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18872         (__libc_ifunc_impl_list): Likewise.
18873
18874         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
18875         name.
18876         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
18877         file.
18878         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
18879         file.
18880         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
18881         multiarch strchrnul for PPC32.
18882         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
18883         multiarch objects.
18884         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18885         (__libc_ifunc_impl_list): Likewise.
18886
18887         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
18888         file.
18889         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
18890         multiarch strncasecmp for PPC32.
18891         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
18892         file.
18893         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
18894         multiarch strncasecmp_l for PPC32.
18895         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
18896         strncasecmp multiarch objects.
18897         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18898         (__libc_ifunc_impl_list): Likewise.
18899
18900         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
18901         file.
18902         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
18903         multiarch strncasecmp for PPC32.
18904         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
18905         New file.
18906         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
18907         multiarch strcasecmp_l for PPC32.
18908         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
18909         multiarch objects.
18910         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18911         (__libc_ifunc_impl_list): Likewise.
18912
18913         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
18914         file.
18915         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
18916         file.
18917         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
18918         multiarch strncmp for PPC32.
18919         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
18920         multiarch objects.
18921         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18922         (__libc_ifunc_impl_list): Likewise.
18923
18924         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
18925         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
18926         file.
18927         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
18928         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
18929         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
18930         multiarch objects.
18931         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18932         (__libc_ifunc_impl_list): Likewise.
18933
18934         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
18935         file.
18936         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
18937         file.
18938         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
18939         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
18940         multiarch objects.
18941         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18942         (__libc_ifunc_impl_list): Likewise.
18943
18944         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
18945         file.
18946         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
18947         file.
18948         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
18949         multiarch rawmemchr for PPC32.
18950         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
18951         multiarch objects.
18952         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18953         (__libc_ifunc_impl_list): Likewise.
18954
18955         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
18956         file.
18957         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
18958         file.
18959         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
18960         file: memrchr multiarch for PPC32.
18961         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
18962         multiarch objects.
18963         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18964         (__libc_ifunc_impl_list): Likewise.
18965
18966         * string/memchr.c (__memchr): Using macro to redefine symbol name.
18967         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
18968         file.
18969         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
18970         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
18971         multiarch memchr for PPC32.
18972         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
18973         multiarch objects.
18974         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18975         (__libc_ifunc_impl_list): Likewise.
18976
18977         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
18978         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
18979         file.
18980         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
18981         file.
18982         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
18983         file: multiarch mempcpy for PPC32.
18984         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
18985         multiarch objects.
18986         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18987         (__libc_ifunc_impl_list): Likewise.
18988
18989         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
18990         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
18991         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
18992         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
18993         multiarch bzero for PPC32.
18994         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
18995         file.
18996         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
18997         file.
18998         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
18999         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
19000         file: multiarch memset for PPC32.
19001         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
19002         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
19003         memset multiarch objects.
19004         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19005         (__libc_ifunc_impl_list): Likewise.
19006
19007         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
19008         file.
19009         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
19010         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
19011         memcmp for PPC32.
19012         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
19013         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
19014         multiarch objects.
19015         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19016         (__libc_ifunc_impl_list): Likewise.
19017
19018         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
19019         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
19020         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
19021         file.
19022         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
19023         file.
19024         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
19025         file.
19026         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
19027         multiarch memcpy for PPC32.
19028         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
19029         multiarch objects.
19030         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19031         (__libc_ifunc_impl_list): Likewise.
19032
19033         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
19034         support multiarch for POWER/PPC32.
19035         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
19036         Likewise.
19037         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
19038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
19039         Implies file to make multiarch folder appers before the fpu and
19040         default folder for power4 configuration.
19041
19042 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
19043
19044         * scripts/bench.pl: Append volatile keyword to type.
19045
19046 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19047
19048         * sysdeps/sh/sotruss-lib.c: New file.
19049         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
19050
19051 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19052
19053         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19054
19055 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
19056
19057         [BZ #6810]
19058         * math/w_tgamma.c: Include <errno.h>.
19059         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
19060         * math/w_tgammaf.c: Include <errno.h>.
19061         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
19062         * math/w_tgammal.c: Include <errno.h>.
19063         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
19064         * math/auto-libm-test-in: Do not allow missing errno on tgamma
19065         underflow.  Add more tgamma tests.
19066         * math/auto-libm-test-out: Regenerated.
19067         * sysdeps/i386/fpu/libm-test-ulps: Update.
19068         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19069
19070         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
19071         sin, sinh, tan, tanh, tgamma, y0 and y1.
19072         * math/auto-libm-test-out: Regenerated.
19073         * math/libm-test.inc (TEST_COND_x86_64): New macro.
19074         (TEST_COND_x86): Likewise.
19075         (M_E2l): Remove macro.
19076         (M_E3l): Likewise.
19077         (M_2_SQRT_PIl): Likewise.
19078         (M_SQRT_PIl): Likewise.
19079         (M_1_DIV_El): Likewise.
19080         (log_test_data): Use AUTO_TESTS_f_f.
19081         (log10_test_data): Likewise.
19082         (log1p_test_data): Likewise.
19083         (log2_test_data): Likewise.
19084         (sin_test_data): Likewise.
19085         (sin_tonearest_test_data): Likewise.
19086         (sin_towardzero_test_data): Likewise.
19087         (sin_downward_test_data): Likewise.
19088         (sin_upward_test_data): Likewise.
19089         (sinh_test_data): Likewise.
19090         (sinh_tonearest_test_data): Likewise.
19091         (sinh_towardzero_test_data): Likewise.
19092         (sinh_downward_test_data): Likewise.
19093         (sinh_upward_test_data): Likewise.
19094         (tan_test_data): Likewise.
19095         (tan_tonearest_test_data): Likewise.
19096         (tan_towardzero_test_data): Likewise.
19097         (tan_downward_test_data): Likewise.
19098         (tan_upward_test_data): Likewise.
19099         (tanh_test_data): Likewise.
19100         (tgamma_test_data): Likewise.
19101         (y0_test_data): Likewise.
19102         (y1_test_data): Likewise.
19103         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
19104         (special_real_inputs): Add pi/4.
19105         * sysdeps/i386/fpu/libm-test-ulps: Update.
19106         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19107
19108 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19109
19110         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
19111         "longjmp_target" static probes.
19112         (__longjmp): Rename to __longjmp_symbol.
19113         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
19114         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
19115         on which longjmp to generate.
19116         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
19117         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
19118         probe.
19119         (__sigsetjmp): Rename to __sigsetjmp_symbol.
19120         (__sigjmp_save): Rename to __sigjmp_save_symbol.
19121         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
19122         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
19123         and __sigjmp_save_symbol based on which sigsetjmp to generated.
19124         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
19125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
19126         __longjmp_symbol based on which __longjmp to generate.
19127         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
19128         probe.
19129         (setjmp): Rename to setjmp_symbol.
19130         (__sigsetjmp): Rename to __sigsetjmp_symbol.
19131         (_setjmp): Rename to _setjmp_symbol.
19132         (__sigsetjmp): Rename to __sigsetjmp_symbol.
19133         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
19134         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
19135         which setjmp to generate.
19136         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
19137         "longjmp_target" static probes.
19138
19139 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
19140
19141         * benchtests/README: Add note about output arguments.
19142         * benchtests/bench-sincos.c: Remove file.
19143         * benchtests/sincos-inputs: New file.
19144         * scripts/bench.pl: Identify output arguments and define
19145         static variables for them.
19146
19147         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
19148
19149         [BZ #15941]
19150         * Makefile (INSTALL): Add install-plain.texi as the primary
19151         dependency.
19152         * manual/install-plain.texi: New file.
19153         * manual/install.texi: Include node directive only for
19154         non-plaintext output.
19155
19156 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
19157
19158         * stdlib/longlong.h: Update from GCC.
19159
19160         [BZ #6807]
19161         [BZ #15901]
19162         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
19163         * math/w_j0f.c (y0f): Likewise.
19164         * math/w_j0l.c (__y0l): Likewise.
19165         * math/w_j1.c (y1): Likewise.
19166         * math/w_j1f.c (y1f): Likewise.
19167         * math/w_j1l.c (__y1l): Likewise
19168         * math/w_jn.c (yn): Likewise.
19169         * math/w_jnf.c (ynf): Likewise.
19170         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
19171         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
19172         value for Bessel function domain errors outside _SVID_ mode.
19173         Adjust sign of return value for yn (negative integer, 0).
19174         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
19175         by zero in return for negative x and set sign appropriately for
19176         negative n.
19177         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
19178         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
19179         * math/libm-test.inc (y0_test_data): Add more tests and adjust
19180         expectations in error cases.
19181         (y1_test_data): Likewise.
19182         (yn_test_data): Likewise.
19183         * sysdeps/i386/fpu/libm-test-ulps: Update.
19184         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19185
19186 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
19187
19188         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
19189         "64" to "64-v1".  Add "64-v2".
19190         (abi-64-options): Rename to ...
19191         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
19192         (abi-64-condition): Rename to ...
19193         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
19194         (abi-64-ld-soname): Rename to ...
19195         (abi-64-v1-ld-soname): ... this.
19196         (abi-64-v2-options): Define.
19197         (abi-64-v2-condition): Likewise.
19198         (abi-64-v2-ld-soname): Likewise.
19199         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
19200         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
19201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
19202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
19203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
19204
19205 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
19206             Alan Modra  <amodra@gmail.com>
19207
19208         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
19209         New versions for use with the ELFv2 ABI.
19210         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
19211         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
19212         declaration.
19213         (struct La_ppc64v2_retval): Likewise.
19214         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
19215         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
19216         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
19217         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
19218         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
19219         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
19220         Do not save or restore CR.
19221         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
19222         (_dl_profile_resolve): Do no save or restore CR.  Support extended
19223         return values for ELFv2 ABI.  Fix location of FPR return registers.
19224         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
19225         updated values for _CALL_ELF == 2.
19226         (La_regs, La_retval, int_retval): Likewise.
19227
19228 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
19229
19230         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
19231         (FRAME_MIN_SIZE_PARM): Likewise.
19232         (FRAME_BACKCHAIN): Likewise.
19233         (FRAME_CR_SAVE): Likewise.
19234         (FRAME_LR_SAVE): Likewise.
19235         (FRAME_TOC_SAVE): Likewise.
19236         (FRAME_PARM_SAVE): Likewise.
19237         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
19238         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
19239         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
19240         (call_mcount_parm_offset): New macro.
19241         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
19242         (PROF): Use symbolic stack frame offsets.
19243         (TAIL_CALL_SYSCALL_ERROR): Likewise.
19244         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
19245         Redefine in terms of FRAME_MIN_SIZE.
19246         (_dl_runtime_resolve): Use symbolic stack frame offsets.
19247         (_dl_profile_resolve): Likewise.  Update comment.
19248         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
19249         symbols stack frame offsets.
19250         (__sigsetjmp): Likewise.
19251         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
19252         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
19253         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
19254         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
19255
19256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
19257         (FRAME_BACKCHAIN): Remove.
19258         (FRAME_CR_SAVE): Likewise.
19259         (FRAME_LR_SAVE): Likewise.
19260         (FRAME_COMPILER_DW): Likewise.
19261         (FRAME_LINKER_DW): Likewise.
19262         (FRAME_TOC_SAVE): Likewise.
19263         (FRAME_PARM_SAVE): Likewise.
19264         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
19265         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
19266         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
19267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
19268         (CHECK_SP): Use symbolic stack frame offsets.
19269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
19270         zone" instead of caller's parameter save area for temp storage.
19271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
19272         Likewise.  Also, use symbolic stack frame offsets.
19273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
19274         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
19275         our own stack frame instead of the caller's.
19276         (__socket): Use symbolic stack frame offsets.
19277
19278 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
19279             Alan Modra  <amodra@gmail.com>
19280
19281         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
19282         Define.
19283         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
19284         (PPC64_LOCAL_ENTRY_OFFSET): Define.
19285         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
19286         New function.
19287         (elf_machine_fixup_plt): Call it.
19288         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
19289         reloc arguments.
19290         (elf_machine_rela): Update call to elf_machine_plt_conflict.
19291         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
19292         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
19293         r2 before calling target.
19294
19295 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
19296             Alan Modra  <amodra@gmail.com>
19297
19298         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
19299         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
19300         versions of macros to support ELFv2 ABI.
19301         (LOCALENTRY): New macro.
19302         (ENTRY, EALIGN): Use it.
19303         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
19304         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
19305         fall through into ENTRY entry point.
19306         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
19307         Only define if _CALL_ELF != 2.
19308
19309         (elf_machine_matches_host): Verify ABI version matches.
19310         (RTLD_START): Use LOCALENTRY.
19311         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
19312         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
19313         (PLT_ENTRY_WORDS): New macro.
19314         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
19315         (elf_machine_runtime_setup): Support ELFv2 ABI.
19316         (elf_machine_fixup_plt): Likewise.
19317         (elf_machine_plt_conflict): Likewise.
19318         (resolve_ifunc): Likewise.
19319         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
19320         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
19321         Likewise.
19322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
19323         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
19324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19325         (makecontext): Support ELFv2 ABI.
19326         * elf/elf.h (EF_PPC64_ABI): Define.
19327
19328 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
19329
19330         * sysdeps/powerpc/powerpc64/sysdep.h
19331         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
19332         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
19333         (ENTRY) [ASSEMBLER]: ... but instead here ...
19334         (EALIGN) [ASSEMBLER]: ... and here.
19335         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
19336         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
19337         (ENTRY_2) [!ASSEMBLER]: Use it.
19338         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
19339         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
19340         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
19341         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
19342         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
19343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
19344         Use PPC64_LOAD_FUNCPTR.
19345
19346         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
19347
19348 2013-12-04  Alan Modra  <amodra@gmail.com>
19349
19350         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
19351         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
19352         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
19353         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
19354
19355         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
19356         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
19357         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
19358         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
19359         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
19360         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
19361
19362 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
19363
19364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19365         (__makecontext): Fix incorrect CFI when backtracing out of
19366         context created via makecontext.
19367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
19368         (__setcontext): Fix incorrect CFI during switch to new context.
19369         (__novec_setcontext): Likewise.
19370
19371 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
19372
19373         [BZ #4772]
19374         * time/strptime_l.c (__strptime_internal): Allow modifiers
19375         in strptime.
19376         * time/tst-strptime.c (day_tests): Add testcase.
19377
19378 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
19379
19380         * scripts/bench.pl: Skip over blank lines.
19381
19382 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
19383
19384         [BZ #926]
19385         * manual/time.texi (Calendar Time): Clarify what timezone functions
19386         use.
19387
19388 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19389
19390         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19391
19392 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
19393
19394         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
19395         implementation.
19396         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
19397         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
19398         * debug/memset_chk.c (__memset_chk): Likewise.
19399         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
19400         * debug/strncpy_chk.c: Likewise.
19401
19402 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
19403
19404         [BZ #15268]
19405         [BZ #15425]
19406         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
19407         (__ieee754_exp): For possibly underflowing results, check size of
19408         result and force underflow exception if required.
19409         * math/auto-libm-test-in: Add more tests of exp.
19410         * math/auto-libm-test-out: Regenerated.
19411         * sysdeps/i386/fpu/libm-test-ulps: Update.
19412         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19413
19414         [BZ #16283]
19415         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
19416         * math/w_exp2f.c (__exp2f): Likewise.
19417         * math/w_exp2l.c (__exp2l): Likewise.
19418         * math/auto-libm-test-in: Do not allow missing errno on exp2
19419         underflow.
19420         * math/auto-libm-test-out: Regenerated.
19421
19422 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
19423
19424         [BZ #16274]
19425         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
19426         handle filename validation.
19427         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
19428         (do_open): Delete.
19429
19430 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
19431
19432         [BZ #6786]
19433         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
19434         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
19435         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
19436         <float.h>.
19437         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
19438         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
19439         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
19440         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
19441         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
19442         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
19443         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
19444         * math/auto-libm-test-in: Don't allow missing errno from erfc.
19445         Add more erfc tests.
19446         * math/auto-libm-test-out: Regenerated.
19447         * sysdeps/i386/fpu/libm-test-ulps: Update.
19448         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19449
19450         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
19451         exp2, expm1, j0 and j1.
19452         * math/auto-libm-test-out: Regenerated.
19453         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
19454         (erfc_test_data): Likewise.
19455         (exp_test_data): Likewise.
19456         (exp_tonearest_test_data): Likewise.
19457         (exp_towardzero_test_data): Likewise.
19458         (exp_downward_test_data): Likewise.
19459         (exp_upward_test_data): Likewise.
19460         (exp10_test_data): Likewise.
19461         (exp2_test_data): Likewise.
19462         (expm1_test_data): Likewise.
19463         (j0_test_data): Likewise.
19464         (j1_test_data): Likewise.
19465         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
19466         (input_flag_type): Add flag_xfail_rounding.
19467         (input_flags): Add xfail-rounding.
19468         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
19469         (output_for_one_input_case): Handle flag_xfail_rounding.
19470         * sysdeps/i386/fpu/libm-test-ulps: Update.
19471         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19472
19473 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
19474
19475         [BZ #16289]
19476         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
19477         division by 0.
19478
19479 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
19480
19481         [BZ #16195]
19482         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
19483         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
19484         (STAP_PROBE0): New macro.
19485         (STAP_PROBE1): Likewise.
19486         (STAP_PROBE2): Likewise.
19487         (STAP_PROBE3): Likewise.
19488         (STAP_PROBE4): Likewise.
19489
19490 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
19491
19492         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
19493
19494 2013-12-02  Steve Ellcey  <sellcey@mips.com>
19495
19496         * benchtests/Makefile (bench): Add sqrt.
19497         (LDLIBS-bench-sqrt): New.
19498         * benchtests/sqrt-input: New.
19499
19500 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
19501
19502         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
19503         (GAIH_EAI): Likewise.
19504         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
19505         (gaih_inet): Likewise.
19506         (getaddrinfo): Don't use GAIH_EAI.
19507
19508         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
19509         (struct gaih): Remove definition.
19510
19511 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
19512
19513         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
19514         Use HERRNOP directly.
19515
19516 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19517
19518         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19519
19520 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
19521
19522         * math/gen-auto-libm-tests.c (test_functions): Add more
19523         single-argument functions.
19524         (special_fill_pi_2): New function.
19525         (special_fill_minus_pi_2): Likewise.
19526         (special_fill_pi_6): Likewise.
19527         (special_fill_minus_pi_6): Likewise.
19528         (special_fill_pi_3): Likewise.
19529         (special_fill_2pi_3): Likewise.
19530         (special_fill_e): Likewise.
19531         (special_fill_1_e): Likewise.
19532         (special_fill_e_minus_1): Likewise.
19533         (special_real_inputs): Add more special inputs.
19534         (output_for_one_input_case): Do not require ERANGE on underflow to
19535         zero if round-to-nearest result does not underflow to zero, unless
19536         exact results required.
19537         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
19538         atan, atanh, cbrt, cos and cosh.
19539         * math/auto-libm-test-out: Regenerated.
19540         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
19541         (acos_tonearest_test_data): Likewise.
19542         (acos_towardzero_test_data): Likewise.
19543         (acos_downward_test_data): Likewise.
19544         (acos_upward_test_data): Likewise.
19545         (acosh_test_data): Likewise.
19546         (asin_test_data): Likewise.
19547         (asin_tonearest_test_data): Likewise.
19548         (asin_towardzero_test_data): Likewise.
19549         (asin_upward_test_data): Likewise.
19550         (asinh_test_data): Likewise.
19551         (atan_test_data): Likewise.
19552         (atanh_test_data): Likewise.
19553         (cbrt_test_data): Likewise.
19554         (cos_test_data): Likewise.
19555         (cos_tonearest_test_data): Likewise.
19556         (cos_towardzero_test_data): Likewise.
19557         (cos_downward_test_data): Likewise.
19558         (cos_upward_test_data): Likewise.
19559         (cosh_test_data): Likewise.
19560         (cosh_tonearest_test_data): Likewise.
19561         (cosh_towardzero_test_data): Likewise.
19562         (cosh_downward_test_data): Likewise.
19563         (cosh_upward_test_data): Likewise.
19564         * sysdeps/i386/fpu/libm-test-ulps: Update.
19565         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19566
19567 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
19568
19569         [BZ #6787]
19570         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
19571         * math/w_exp10f.c (__exp10f): Likewise.
19572         * math/w_exp10l.c (__exp10l): Likewise.
19573         * math/libm-test.inc (exp10_test_data): Add more tests and expect
19574         errno settings in existing tests.
19575
19576         [BZ #14032]
19577         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
19578         precision control set to double precision.
19579         * sysdeps/i386/fpu/w_sqrt.c: New file.
19580         * math/auto-libm-test-in: Add more tests.
19581         * math/auto-libm-test-out: Update.
19582
19583         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
19584         (sqrt_test_tonearest): New function.
19585         (sqrt_towardzero_test_data): New variable.
19586         (sqrt_test_towardzero): New function.
19587         (sqrt_downward_test_data): New variable.
19588         (sqrt_test_downward): New function.
19589         (sqrt_upward_test_data): New variable.
19590         (sqrt_test_upward): New function.
19591         (main): Call the new functions.
19592
19593         * math/gen-auto-libm-tests.c: New file.
19594         * math/auto-libm-test-in: Likewise.
19595         * math/auto-libm-test-out: New generated file.
19596         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
19597         variables.
19598         (%beautify): Add generated representations of zero.
19599         (top level): Set $auto_input and call parse_auto_input.
19600         (beautify): Remove trailing "f" from hex float constants.
19601         (parse_args): Handle XFAIL_TEST.
19602         (convert_condition): New function.
19603         (or_value): Likewise.
19604         (or_cond_value): Likewise.
19605         (generate_testfile): Handle AUTO_TESTS_* lines.
19606         (parse_auto_input): New function.
19607         * math/libm-test.inc (XFAIL_TEST): New macro.
19608         (ERRNO_UNCHANGED): Update value.
19609         (ERRNO_EDOM): Likewise.
19610         (ERRNO_ERANGE): Likewise.
19611         (IGNORE_RESULT): Likewise.
19612         (TEST_COND_flt_32): New macro.
19613         (TEST_COND_dbl_64): Likewise.
19614         (TEST_COND_ldbl_96_intel): Likewise.
19615         (TEST_COND_ldbl_96_m68k): Likewise.
19616         (TEST_COND_ldbl_128): Likewise.
19617         (TEST_COND_ldbl_128ibm): Likewise.
19618         (TEST_COND_long32): Likewise.
19619         (TEST_COND_long64): Likewise.
19620         (TEST_COND_before_rounding): Likewise.
19621         (TEST_COND_after_rounding): Likewise.
19622         (enable_test): Handle XFAIL_TEST flag.
19623         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
19624         with finite results.
19625         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
19626         auto-libm-test-out.
19627
19628 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
19629             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19630
19631         [BZ #16214]
19632         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
19633         __tls_get_addr_internal instead of __tls_get_offset in order to
19634         avoid GOT pointer dependency.  Make rtld export
19635         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
19636         __tls_get_addr since we are a __tls_get_offset platform.
19637         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
19638         GOT pointer being set up before.
19639         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
19640
19641 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
19642
19643         * manual/math.texi (Errors in Math Functions): Document accuracy
19644         goals.
19645
19646         [BZ #15004]
19647         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
19648         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
19649         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
19650         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
19651         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
19652         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
19653         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
19654         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
19655         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
19656         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
19657         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
19658         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
19659         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
19660         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
19661         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
19662         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
19663
19664         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
19665         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
19666         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
19667         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
19668         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
19669         Likewise.
19670         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
19671         Likewise.
19672         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
19673         Likewise.
19674         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
19675         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
19676         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
19677         atomic-feupdateenv and flt-rounds.
19678         * sysdeps/powerpc/nofpu/Versions (libc): Add
19679         __atomic_feholdexcept, __atomic_feclearexcept,
19680         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
19681         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
19682         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
19683         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
19684         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
19685         here.
19686         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
19687         Update.
19688
19689         * manual/arith.texi (FP Exceptions): Document that exceptions may
19690         not be raised when matherr is used.
19691         (Math Error Reporting): Document overflow in directed rounding
19692         modes.  Document that errno may not be set when finite values are
19693         returned on overflow.  Document intent to set errno on underflow
19694         only for underflow to zero.
19695
19696         [BZ #16271]
19697         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
19698         round-to-nearest then adjust result for other rounding modes.
19699         * include/fenv.h (fegetround): Use libm_hidden_proto.
19700         * math/fegetround.c (fegetround): Use libm_hidden_def.
19701         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
19702         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
19703         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
19704         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
19705         Likewise.
19706         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
19707         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
19708         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
19709         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
19710
19711 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
19712
19713         [BZ #16077]
19714         * nss/Versions (libnss_files): Add
19715         _nss_files_gethostbyname3_r.
19716         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
19717         New function.
19718         (HOST_DB_LOOKUP): Remove macro.
19719         (_nss_files_gethostbyname_r): Implement function without the
19720         HOST_DB_LOOKUP macro.
19721         (_nss_files_gethostbyname2_r): Likewise.
19722
19723 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
19724
19725         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
19726
19727 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
19728
19729         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
19730         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
19731         warning.
19732
19733 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19734
19735         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
19736         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
19737         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
19738         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
19739         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
19740         __fe_nomask_env_priv and attribute_hidden.
19741         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
19742         (libc_feupdateenv_test_ppc): Likewise.
19743         (libc_feresetround_ppc): Likewise.
19744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19745         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
19746         compat_symbol macro.
19747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19748         (__fe_nomask_env): Likewise.
19749         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
19750
19751 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
19752
19753         * string/Makefile: Remove ifunc tests.
19754         * string/test-string.h: Define TEST_IFUNC.
19755         * string/test-bcopy-ifunc.c: Remove.
19756         * string/test-bzero-ifunc.c: Likewise.
19757         * string/test-memccpy-ifunc.c: Likewise.
19758         * string/test-memchr-ifunc.c: Likewise.
19759         * string/test-memcmp-ifunc.c: Likewise.
19760         * string/test-memcpy-ifunc.c: Likewise.
19761         * string/test-memmem-ifunc.c: Likewise.
19762         * string/test-memmove-ifunc.c: Likewise.
19763         * string/test-mempcpy-ifunc.c: Likewise.
19764         * string/test-memrchr-ifunc.c: Likewise.
19765         * string/test-memset-ifunc.c: Likewise.
19766         * string/test-rawmemchr-ifunc.c: Likewise.
19767         * string/test-stpcpy-ifunc.c: Likewise.
19768         * string/test-stpncpy-ifunc.c: Likewise.
19769         * string/test-strcasecmp-ifunc.c: Likewise.
19770         * string/test-strcasestr-ifunc.c: Likewise.
19771         * string/test-strcat-ifunc.c: Likewise.
19772         * string/test-strchr-ifunc.c: Likewise.
19773         * string/test-strchrnul-ifunc.c: Likewise.
19774         * string/test-strcmp-ifunc.c: Likewise.
19775         * string/test-strcpy-ifunc.c: Likewise.
19776         * string/test-strcspn-ifunc.c: Likewise.
19777         * string/test-strlen-ifunc.c: Likewise.
19778         * string/test-strncasecmp-ifunc.c: Likewise.
19779         * string/test-strncat-ifunc.c: Likewise.
19780         * string/test-strncmp-ifunc.c: Likewise.
19781         * string/test-strncpy-ifunc.c: Likewise.
19782         * string/test-strnlen-ifunc.c: Likewise.
19783         * string/test-strpbrk-ifunc.c: Likewise.
19784         * string/test-strrchr-ifunc.c: Likewise.
19785         * string/test-strspn-ifunc.c: Likewise.
19786         * string/test-strstr-ifunc.c: Likewise.
19787
19788 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
19789
19790         * benchtests/Makefile: Remove ifunc tests.
19791         * benchtests/bench-string.h: Define TEST_IFUNC.
19792         * benchtests/bench-bcopy-ifunc.c: Remove.
19793         * benchtests/bench-bzero-ifunc.c: Likewise.
19794         * benchtests/bench-memccpy-ifunc.c: Likewise.
19795         * benchtests/bench-memchr-ifunc.c: Likewise.
19796         * benchtests/bench-memcmp-ifunc.c: Likewise.
19797         * benchtests/bench-memcpy-ifunc.c: Likewise.
19798         * benchtests/bench-memmem-ifunc.c: Likewise.
19799         * benchtests/bench-memmove-ifunc.c: Likewise.
19800         * benchtests/bench-mempcpy-ifunc.c: Likewise.
19801         * benchtests/bench-memrchr-ifunc.c: Likewise.
19802         * benchtests/bench-memset-ifunc.c: Likewise.
19803         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
19804         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
19805         * benchtests/bench-stpcpy-ifunc.c: Likewise.
19806         * benchtests/bench-stpncpy-ifunc.c: Likewise.
19807         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
19808         * benchtests/bench-strcasestr-ifunc.c: Likewise.
19809         * benchtests/bench-strcat-ifunc.c: Likewise.
19810         * benchtests/bench-strchr-ifunc.c: Likewise.
19811         * benchtests/bench-strchrnul-ifunc.c: Likewise.
19812         * benchtests/bench-strcmp-ifunc.c: Likewise.
19813         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
19814         * benchtests/bench-strcpy-ifunc.c: Likewise.
19815         * benchtests/bench-strcspn-ifunc.c: Likewise.
19816         * benchtests/bench-strlen-ifunc.c: Likewise.
19817         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
19818         * benchtests/bench-strncat-ifunc.c: Likewise.
19819         * benchtests/bench-strncmp-ifunc.c: Likewise.
19820         * benchtests/bench-strncpy-ifunc.c: Likewise.
19821         * benchtests/bench-strnlen-ifunc.c: Likewise.
19822         * benchtests/bench-strpbrk-ifunc.c: Likewise.
19823         * benchtests/bench-strrchr-ifunc.c: Likewise.
19824         * benchtests/bench-strsep-ifunc.c: Likewise.
19825         * benchtests/bench-strspn-ifunc.c: Likewise.
19826         * benchtests/bench-strstr-ifunc.c: Likewise.
19827
19828 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
19829
19830         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
19831
19832 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
19833
19834         * resolv/netdb.h: Use __glibc_reserved instead __unused.
19835         * rt/aio.h: Likewise.
19836         * sysdeps/gnu/bits/utmp.h: Likewise.
19837         * sysdeps/gnu/bits/utmpx.h: Likewise.
19838         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
19839         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
19840         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
19841         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
19842         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
19843         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
19844         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
19845         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
19846         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
19847         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
19848         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
19849         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
19850         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
19851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
19852         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
19853         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
19854         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
19855         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
19856         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
19857         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
19858         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
19859         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
19860         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
19861         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
19862         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
19863         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19864         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
19865         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
19866         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
19867         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
19868         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
19869         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
19870         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
19871         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
19872         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
19873         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
19874         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
19875         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
19876         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
19877         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
19878         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
19879         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
19880
19881 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
19882
19883         [BZ #16245]
19884         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
19885         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
19886
19887 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
19888
19889         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
19890         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
19891         Likewise.
19892
19893 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19894
19895         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
19896         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
19897         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
19898         (__fesetround): Remove define.
19899         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
19900         rounding and exceptions handling.
19901         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
19902         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
19903         (__fe_nomask_env): Likewise.
19904         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
19905         __fegetround instead of fegetround.
19906         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
19907         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
19908
19909 2013-11-21  Roland McGrath  <roland@hack.frob.com>
19910
19911         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
19912         it's there.
19913
19914         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
19915
19916 2013-11-21  Meador Inge  <meadori@codesourcery.com>
19917
19918         [BZ #11157]
19919         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
19920         (encrypt_r): Likewise.
19921         * malloc/obstack.h (obstack_free): Likewise.
19922         * posix/unistd.h (encrypt): Likewise.
19923
19924 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
19925
19926         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
19927         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
19928         DL_CALL_DT_FINI() that call the functions directly.
19929         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
19930         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
19931         * elf/dl-fini.c: Likewise.
19932
19933 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
19934
19935         * malloc/hooks.c (memalign_check): Add alignment rounding.
19936         * malloc/malloc.c (_mid_memalign): New function.
19937         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
19938         Implement by calling _mid_memalign.
19939         * manual/probes.texi (Memory Allocation Probes): Remove
19940         memory_valloc_retry and memory_pvalloc_retry.
19941
19942 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
19943
19944         * locale/programs/locarchive.c (open_archive): Add const
19945         qualifier to ARCHIVEFNAME and copy default fname to
19946         DEFAULT_FNAME.
19947
19948         [BZ #15601]
19949         * libio/tst-widetext.input: Rename Oriya to Odia.
19950         * locale/iso-639.def: Likewise.
19951
19952         * manual/probes.texi (Mathematical Function Probes): Add
19953         documentation for sin, cos, asin and acos probes.
19954         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
19955         (__sin32): Add slowasin probe.
19956         (__cos32): Add slowacos probe.
19957         (__mpsin): Add slowsin probe.
19958         (__mpcos): Add slowcos probe.
19959
19960 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
19961
19962         [BZ #15483]
19963         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
19964         thread-local __sim_exceptions_thread and global
19965         __sim_exceptions_global.
19966         (__sim_disabled_exceptions): Change to thread-local
19967         __sim_disabled_exceptions_thread and global
19968         __sim_disabled_exceptions_global.
19969         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
19970         and global __sim_round_mode_global.
19971         (__simulate_exceptions): Use thread-local floating-point state and
19972         set global state from it as needed.
19973         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
19974         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
19975         __sim_round_mode_thread.
19976         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
19977         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
19978         and global __sim_exceptions_global.
19979         (__sim_disabled_exceptions): Change to thread-local
19980         __sim_disabled_exceptions_thread and global
19981         __sim_disabled_exceptions_global.
19982         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
19983         and global __sim_round_mode_global.
19984         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
19985         (SIM_SET_GLOBAL): Likewise.
19986         * sysdeps/powerpc/soft-fp/sfp-machine.h
19987         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
19988         __sim_round_mode_thread.
19989         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
19990         __sim_disabled_exceptions_thread.
19991         (__sim_exceptions): Change to __sim_exceptions_thread.
19992         (__sim_disabled_exceptions): Change to
19993         __sim_disabled_exceptions_thread.
19994         (__sim_round_mode): Change to __sim_round_mode_thread.
19995         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
19996         thread-local floating-point state and set global state from it as
19997         needed.
19998         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
19999         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
20000         (__sim_disabled_exceptions): Remove extern declaration.
20001         (feenableexcept): Use thread-local floating-point state and set
20002         global state from it as needed.
20003         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
20004         extern declaration.
20005         (__sim_disabled_exceptions): Likewise.
20006         (__sim_round_mode): Likewise.
20007         (__fegetenv): Use thread-local floating-point state.
20008         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
20009         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
20010         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
20011         floating-point state and set global state from it as needed.
20012         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
20013         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
20014         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
20015         Likewise.
20016         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
20017         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
20018         Likewise.
20019         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
20020         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
20021         Use __sim_round_mode_thread.
20022         * math/test-fenv-tls.c: New file.
20023         * math/Makefile (tests): Add test-fenv-tls.
20024         ($(objpfx)test-fenv-tls): Depend on
20025         $(common-objpfx)nptl/libpthread.so.
20026
20027 2013-11-19  Andreas Schwab  <schwab@suse.de>
20028
20029         * locale/programs/locale.c (show_info): Decode wordarray elements.
20030         * locale/categories.def (LC_MONETARY): Add element for
20031         _NL_MONETARY_CRNCYSTR.
20032         * locale/C-monetary.c (conversion_rate): New variable.
20033         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
20034         element.
20035
20036 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
20037
20038         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
20039         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
20040
20041 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
20042
20043         * elf/Makefile (tst-auxv): New test.
20044         * elf/tst-auxv.c: New
20045         * elf/rtld.c (dl_main): Adjust AT_EXECFN
20046
20047 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
20048
20049         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
20050         (hidden_proto): Caller changed.
20051         (hidden_tls_proto): New macro.
20052         (libc_hidden_tls_proto): Likewise.
20053         (rtld_hidden_tls_proto): Likewise.
20054         (libm_hidden_tls_proto): Likewise.
20055         (libresolv_hidden_tls_proto): Likewise.
20056         (librt_hidden_tls_proto): Likewise.
20057         (libdl_hidden_tls_proto): Likewise.
20058         (libnss_files_hidden_tls_proto): Likewise.
20059         (libnsl_hidden_tls_proto): Likewise.
20060         (libnss_nisplus_hidden_tls_proto): Likewise.
20061         (libutil_hidden_tls_proto): Likewise.
20062
20063 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
20064
20065         [BZ #10253]
20066         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
20067         (decompose_rpath): Defer expansion to fillin_rpath.
20068         (_dl_init_paths): Pass linkmap to fillin_rpath.
20069
20070 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
20071
20072         * benchtests/Makefile: Add strsep.
20073         * benchtests/bench-strsep.c: New file: strsep benchtest.
20074         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
20075
20076 2013-11-18  Andreas Schwab  <schwab@suse.de>
20077
20078         * locale/programs/locale.c (show_info) [case byte]: Check for
20079         '\377' instead of '\177'.
20080         * locale/C-monetary.c (not_available): Always use "\377".
20081         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
20082         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
20083         detect unavailable sign_posn locale elements.
20084         * locale/localeconv.c (__localeconv): For grouping and
20085         mon_grouping handle "\177" and "\377" like no grouping.
20086         (INT_ELEM): New macro.  Use it to set all numeric members.
20087         * locale/programs/ld-monetary.c (monetary_read)
20088         <tok_mon_grouping>: Normalize single -1 to the empty string.
20089         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
20090         Likewise.
20091
20092 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
20093
20094         [BZ #16055]
20095         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
20096         when we match (nil).
20097         * stdio-common/tst-sscanf.c (struct test): Add testcase.
20098
20099 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
20100
20101         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
20102         (NO_TEST_INLINE): Update value.
20103         (ERRNO_UNCHANGED): Likewise.
20104         (ERRNO_EDOM): Likewise.
20105         (ERRNO_ERANGE): Likewise.
20106         (IGNORE_RESULT): Likewise.
20107         (check_float_internal): Check signs of NaN results if
20108         TEST_NAN_SIGN used.
20109         (check_complex): Pass TEST_NAN_SIGN flag through to second
20110         check_float_internal call.
20111         (copysign_test_data): Add tests with quiet NaNs as second
20112         argument.  Use TEST_NAN_SIGN.
20113         (fabs_test_data): Add test of negative quiet NaN argument.  Use
20114         TEST_NAN_SIGN.
20115         (signbit_test_data): Add tests of quiet NaN argument.
20116         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
20117
20118         * math/gen-libm-test.pl (show_exceptions): Take extra argument
20119         $ignore_result.
20120         (parse_args): Handle function results specified as IGNORE.
20121         * math/libm-test.inc (IGNORE_RESULT): New macro.
20122         (check_float_internal): Do not check numerical result if flag
20123         IGNORE_RESULT set.
20124         (check_complex): Pass through IGNORE_RESULT to second
20125         check_float_internal call.
20126         (check_int): Do not check numerical result if flag IGNORE_RESULT
20127         set.
20128         (check_long): Likewise.
20129         (check_bool): Likewise.
20130         (check_longlong): Likewise.
20131         (lrint_test_data): Add tests of infinite and NaN arguments.
20132         (lrint_tonearest_test_data): Likewise.
20133         (lrint_towardzero_test_data): Likewise.
20134         (lrint_downward_test_data): Likewise.
20135         (lrint_upward_test_data): Likewise.
20136         (llrint_test_data): Likewise.
20137         (llrint_tonearest_test_data): Likewise.
20138         (llrint_towardzero_test_data): Likewise.
20139         (llrint_downward_test_data): Likewise.
20140         (llrint_upward_test_data): Likewise.
20141         (lround_test_data): Likewise.
20142         (llround_test_data): Likewise.
20143
20144         * math/libm-test.inc (NO_TEST_INLINE): New macro.
20145         (ERRNO_UNCHANGED): Update value.
20146         (ERRNO_EDOM): Likewise.
20147         (ERRNO_ERANGE): Likewise.
20148         (NO_TEST_INLINE_FLOAT): New macro.
20149         (NO_TEST_INLINE_DOUBLE): Likewise.
20150         (enable_test): New function.
20151         (RUN_TEST_f_f): Check enable_test before running test.
20152         (RUN_TEST_2_f): Likewise.
20153         (RUN_TEST_fff_f): Likewise.
20154         (RUN_TEST_c_f): Likewise.
20155         (RUN_TEST_f_f1): Likewise.
20156         (RUN_TEST_fF_f1): Likewise.
20157         (RUN_TEST_fI_f1): Likewise.
20158         (RUN_TEST_ffI_f1): Likewise.
20159         (RUN_TEST_c_c): Likewise.
20160         (RUN_TEST_cc_c): Likewise.
20161         (RUN_TEST_f_i): Likewise.
20162         (RUN_TEST_f_i_tg): Likewise.
20163         (RUN_TEST_ff_i_tg): Likewise.
20164         (RUN_TEST_f_b): Likewise.
20165         (RUN_TEST_f_b_tg): Likewise.
20166         (RUN_TEST_f_l): Likewise.
20167         (RUN_TEST_f_L): Likewise.
20168         (RUN_TEST_fFF_11): Likewise.
20169         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
20170         conditionals.
20171         (cosh_test_data): Likewise.
20172         (exp_test_data): Likewise.
20173         (expm1_test_data): Likewise.
20174         (hypot_test_data): Likewise.
20175         (pow_test_data): Likewise.
20176         (sinh_test_data): Likewise.
20177         (tanh_test_data): Likewise.
20178         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
20179         flags argument.
20180
20181         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
20182         tests with quiet NaN input and output.
20183         (acosh_test_data): Likewise.
20184         (asin_test_data): Likewise.
20185         (asinh_test_data): Likewise.
20186         (atan_test_data): Likewise.
20187         (atanh_test_data): Likewise.
20188         (atan2_test_data): Likewise.
20189         (cbrt_test_data): Likewise.
20190         (cos_test_data): Likewise.
20191         (cosh_test_data): Likewise.
20192         (erf_test_data): Likewise.
20193         (erfc_test_data): Likewise.
20194         (exp_test_data): Likewise.
20195         (exp10_test_data): Likewise.
20196         (exp2_test_data): Likewise.
20197         (expm1_test_data): Likewise.
20198         (hypot_test_data): Likewise.
20199         (j0_test_data): Likewise.
20200         (j1_test_data): Likewise.
20201         (jn_test_data): Likewise.
20202         (lgamma_test_data): Likewise.
20203         (log_test_data): Likewise.
20204         (log10_test_data): Likewise.
20205         (log1p_test_data): Likewise.
20206         (log2_test_data): Likewise.
20207         (pow_test_data): Likewise.
20208         (scalb_test_data): Likewise.
20209         (sin_test_data): Likewise.
20210         (sincos_test_data): Likewise.
20211         (sinh_test_data): Likewise.
20212         (tan_test_data): Likewise.
20213         (tanh_test_data): Likewise.
20214         (tgamma_test_data): Likewise.
20215         (y0_test_data): Likewise.
20216         (y1_test_data): Likewise.
20217         (yn_test_data): Likewise.
20218
20219         [BZ #16167]
20220         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
20221         argument being NaN and avoid computations with second argument in
20222         that case.
20223         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
20224         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
20225         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
20226
20227 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
20228
20229         * locale/iso-639.def: Add Chitwani Tharu (the).
20230
20231 2013-11-14  Andreas Schwab  <schwab@suse.de>
20232
20233         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
20234         word instead of empty string.
20235
20236 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20237
20238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20239         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
20240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20241         (__fe_nomask_env): Likewise.
20242
20243 2013-11-13  Steve Ellcey  <sellcey@mips.com>
20244
20245         * benchtests/bench-timing.h: Include time.h.
20246
20247 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
20248
20249         [BZ #15997]
20250         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
20251         to 3.4.0 for x32.
20252         * sysdeps/unix/sysv/linux/configure: Regenerated.
20253
20254 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
20255
20256         [BZ #16151]
20257         * stdlib/strtod_l.c (round_and_return): Do not consider
20258         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
20259         exponent one less than half the least subnormal exponent.
20260         * stdlib/test-strtod-round-data: Add more tests.
20261         * stdlib/tst-strtod-round.c (tests): Regenerated.
20262
20263 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20264
20265         [BZ #14143]
20266         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
20267         (__fe_mask_env): Likewise.
20268         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
20269         libm_hidden_proto and add function prototype.
20270         (__fe_mask_env): Add function prototype.
20271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20272         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
20273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
20274         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
20275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20276         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
20277
20278 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
20279
20280         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
20281         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
20282
20283 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
20284
20285         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
20286         of htab_find_slot().
20287
20288 2013-11-11  David S. Miller  <davem@davemloft.net>
20289
20290         [BZ #16150]
20291         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
20292         symbol in the non-vis3 case in static builds.
20293         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
20294         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
20295         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
20296         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
20297
20298 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
20299
20300         [BZ #387]
20301         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
20302         it is empty.
20303
20304 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20305
20306         * benchtests/Makefile: Add bench-strtod.
20307         * benchtests/bench-strtod.c: New file: strtod benchtest
20308
20309 2013-11-11  Andreas Schwab  <schwab@suse.de>
20310
20311         [BZ #16153]
20312         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
20313         terminating NUL in key length.
20314
20315 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20316
20317         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
20318         Add artificial ODP entry for vDSO symbol for PPC64.
20319         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
20320         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
20321
20322 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
20323
20324         [BZ #15374]
20325         * nss/getent.c (services_keys): Recognize services starting with digit.
20326
20327 2013-11-06  David S. Miller  <davem@davemloft.net>
20328
20329         [BZ #15985]
20330         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
20331         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
20332
20333 2013-11-06  Will Newton  <will.newton@linaro.org>
20334
20335         * manual/memory.texi (Malloc Examples): Remove register
20336         keyword from examples.
20337
20338 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
20339
20340         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
20341
20342 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
20343
20344         [BZ #6981]
20345         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
20346         depending on [__GCC_IEC_559 > 0].
20347         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
20348         depending on [__GCC_IEC_559_COMPLEX > 0].
20349
20350 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
20351
20352         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
20353         to iso-639.def.
20354
20355 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
20356
20357         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
20358
20359 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
20360
20361         [BZ #16112]
20362         * malloc/malloc (malloc_info): Do not handle first bin as
20363         special case.
20364
20365 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
20366
20367         * locale/iso-639.def: Add Central Nahuatl (nhn).
20368
20369 2013-11-01  Bruno Haible  <bruno@clisp.org>
20370
20371         [BZ #7003]
20372         * manual/math.texi (BSD Random): Specify range upper bound as
20373         in POSIX.
20374
20375 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
20376
20377         * locale/iso-639.def: Add Meadow Mari (mhr).
20378
20379 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
20380
20381         [BZ #14752], [BZ #15763]
20382         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
20383         Validate name.
20384         * rt/tst_shm.c: Add test for escaping directory.
20385
20386 2013-10-31  Andreas Schwab  <schwab@suse.de>
20387
20388         [BZ #15917]
20389         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
20390         followed by 'x' as part of digit sequence.
20391         * stdio-common/tst-sscanf.c (double_tests2): New tests.
20392
20393 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
20394
20395         [BZ #16037]
20396         * configure.ac: allow GNU Make 4.0 and greater.
20397         * configure: Regenerated.
20398
20399 2013-10-30  Will Newton  <will.newton@linaro.org>
20400
20401         [BZ #16038]
20402         * malloc/hooks.c (memalign_check): Limit alignment to the
20403         maximum representable power of two.
20404         * malloc/malloc.c (__libc_memalign): Likewise.
20405         * malloc/tst-memalign.c (do_test): Add test for very
20406         large alignment values.
20407         * malloc/tst-posix_memalign.c (do_test): Likewise.
20408
20409 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
20410
20411         [BZ #11087]
20412         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
20413         (munmap_chunk): Likewise.
20414         (mremap_chunk): Likewise.
20415
20416 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
20417
20418         [BZ #15799]
20419         * stdlib/div.c (div): Remove obsolete code.
20420         * stdlib/ldiv.c (ldiv): Likewise.
20421         * stdlib/lldiv.c (lldiv): Likewise.
20422
20423 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
20424
20425         [BZ #16071]
20426         * nss/nss_files/files-XXX.c (get_contents_ret): New
20427         enumerator.
20428         (get_contents): New function.
20429         (internal_getent): Use it.  Expand size of LINEBUFLEN.
20430
20431 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
20432
20433         * configure.in: Moved to ...
20434         * configure.ac: ... here. Change reference to configure.in
20435         to configure.ac.
20436         * sysdeps/arm/preconfigure.ac: ... here.
20437         configure.in to configure.ac.
20438         * sysdeps/gnu/configure.in: Moved to ...
20439         * sysdeps/gnu/configure.ac: ... here.
20440         * sysdeps/i386/configure.in: Moved to ...
20441         * sysdeps/i386/configure.ac: ... here.
20442         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
20443         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
20444         * sysdeps/mach/configure.in: Moved to ...
20445         * sysdeps/mach/configure.ac: ... here.
20446         * sysdeps/mach/hurd/configure.in: Moved to ...
20447         * sysdeps/mach/hurd/configure.ac: ... here.
20448         * sysdeps/powerpc/configure.in: Moved to ...
20449         * sysdeps/powerpc/configure.ac: ... here.
20450         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
20451         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
20452         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
20453         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
20454         * sysdeps/s390/s390-32/configure.in: Moved to ...
20455         * sysdeps/s390/s390-32/configure.ac: ... here.
20456         * sysdeps/s390/s390-64/configure.in: Moved to ...
20457         * sysdeps/s390/s390-64/configure.ac: ... here.
20458         * sysdeps/sh/configure.in: Moved to ...
20459         * sysdeps/sh/configure.ac: ... here.
20460         * sysdeps/sparc/configure.in: Moved to ...
20461         * sysdeps/sparc/configure.ac: ... here.
20462         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
20463         * sysdeps/unix/sysv/linux/configure.ac: ... here.
20464         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
20465         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
20466         * sysdeps/x86_64/configure.in: Moved to ...
20467         * sysdeps/x86_64/configure.ac: ... here.
20468         * sysdeps/x86_64/preconfigure.in: Moved to ...
20469         * sysdeps/x86_64/preconfigure.ac: ... here.
20470         * aclocal.m4: Change reference to configure.in to configure.ac.
20471         * config.h.in: Likewise.
20472         * manual/install.texi: Likewise.
20473         * manual/maint.texi: Likewise.
20474         * Makefile: Likewise.
20475         * malloc/Makefile: Likewise.
20476         * nscd/Makefile: Likewise.
20477         * Makeconfig: Change reference to configure.in and
20478         preconfigure.in to configure.ac and preconfigure.ac
20479         respectively.
20480         * INSTALL: Regenerated.
20481         * configure: Likewise.
20482         * sysdeps/gnu/configure: Likewise.
20483         * sysdeps/i386/configure: Likewise.
20484         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
20485         * sysdeps/mach/configure: Likewise.
20486         * sysdeps/mach/hurd/configure: Likewise.
20487         * sysdeps/powerpc/configure: Likewise.
20488         * sysdeps/powerpc/powerpc32/configure: Likewise.
20489         * sysdeps/powerpc/powerpc64/configure: Likewise.
20490         * sysdeps/s390/s390-32/configure: Likewise.
20491         * sysdeps/s390/s390-64/configure: Likewise.
20492         * sysdeps/sh/configure: Likewise.
20493         * sysdeps/sparc/configure: Likewise.
20494         * sysdeps/unix/sysv/linux/configure: Likewise.
20495         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
20496         * sysdeps/x86_64/configure: Likewise.
20497         * sysdeps/x86_64/preconfigure: Likewise.
20498
20499 2013-10-29  Andreas Schwab  <schwab@suse.de>
20500
20501         * stdio-common/Makefile (tst-swscanf-ENV): Define.
20502
20503 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
20504
20505         * benchtests/pow-inputs: Add new inputs.
20506
20507         * benchtests/exp-inputs: Add new inputs.
20508
20509         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
20510         conditional check for return value.
20511         (__cos32): Likewise.
20512
20513 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20514
20515         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
20516         to provide a boost for large inputs with word alignment.
20517         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
20518         implementation based on optimized PPC64 strcpy.
20519         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
20520         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
20521         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
20522         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
20523
20524 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
20525
20526         [BZ #2801]
20527         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
20528
20529 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
20530
20531         [BZ #14876]
20532         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
20533         * time/tst-strptime.c (day_tests): Add testcase.
20534
20535 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
20536
20537         [BZ #14029]
20538         * manual/pattern.texi: Acknowledge that fnmatch can fail.
20539
20540 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
20541
20542         [BZ #16074]
20543         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
20544         MAP_FAILED on error.
20545
20546 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
20547
20548         [BZ #16072]
20549         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
20550         heap for large requests.
20551
20552 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
20553
20554         [BZ #9954]
20555         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
20556         result if the result has no associated interface.
20557         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
20558         interface for all 127.X.Y.Z addresses.
20559
20560 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
20561
20562         * locale/iso-639.def: Add Ligurian (lij)
20563
20564 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
20565
20566         [BZ #15825]
20567         * sunrpc/rpc_main.c: Document rpcgen -5.
20568
20569 2013-10-19  Michael Stahl  <mstahl@redhat.com>
20570
20571         * elf/rtld.c (do_preload): Print the reason why preloading failed.
20572
20573 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
20574
20575         [BZ #10278]
20576         * posix/glob.c: Match only directories when trailing slash is present.
20577         * posix/tst-gnuglob.c (my_opendir): Do not open files.
20578         (main): Add testcase.
20579
20580 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
20581
20582         [BZ #15670]
20583         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
20584
20585 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
20586
20587         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
20588         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
20589         AUTH_DES and cindex for FIPS 140-2.
20590         (DES Encryption): Add cindex FIPS 46-3.
20591
20592         * locale/locarchive.h (struct locarhandle): Add fname.
20593         * locale/programs/localedef.c (main): Pass ARGV[remaining]
20594         if an optional argument was specified to --list-archive,
20595         otherwise NULL.
20596         * locale/programs/locarchive.c (show_archive_content): Take new
20597         argument fname and pass it via ah.fname to open_archive.
20598         * locale/programs/localedef.h: Update decl.
20599         (open_archive): If AH->fname is non-null, open that file
20600         rather than the default file name, and don't ignore ENOENT.
20601         (create_archive): Set AH.fname to NULL.
20602         (delete_locales_from_archive): Likewise.
20603         (add_locales_to_archive): Likewise.
20604         * locale/programs/locfile.c (write_all_categories): Likewise.
20605
20606 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
20607             Aldy Hernandez  <aldyh@redhat.com>
20608
20609         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
20610         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
20611         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
20612         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
20613         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
20614         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
20615         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
20616         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
20617         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
20618         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
20619         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
20620         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
20621         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
20622         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
20623         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
20624         Likewise.
20625         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
20626         Likewise.
20627         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
20628         Likewise.
20629         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
20630         Likewise.
20631         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
20632         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
20633         Likewise.
20634         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
20635         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
20636         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
20637         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
20638         Likewise.
20639         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
20640         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
20641         * sysdeps/powerpc/preconfigure: Likewise.
20642         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
20643         Likewise.
20644         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
20645         Replace contents of file by #include of <fenv_libc.h>.
20646         * sysdeps/powerpc/soft-fp/sfp-machine.h
20647         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
20648         and <sys/prctl.h>.
20649         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
20650         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
20651         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
20652         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
20653         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
20654         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
20655         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
20656         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
20657         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
20658         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
20659         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
20660         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
20661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
20662         Allow copysignl PLT reference to be missing.
20663
20664 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
20665             Joseph Myers  <joseph@codesourcery.com
20666
20667         [BZ #15948]
20668         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
20669         single character.
20670         (add_to_tablewc): Assert sequence of wide characters is nonempty.
20671
20672 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
20673
20674         * elf/tst-tls-dlinfo.c: Don't include tls.h.
20675         * elf/tst-tls1.c: Likewise.
20676         * elf/tst-tls10.h: Likewise.
20677         * elf/tst-tls14.c: Likewise.
20678         * elf/tst-tls2.c: Likewise.
20679         * elf/tst-tls3.c: Likewise.
20680         * elf/tst-tls4.c: Likewise.
20681         * elf/tst-tls5.c: Likewise.
20682         * elf/tst-tls6.c: Likewise.
20683         * elf/tst-tls7.c: Likewise.
20684         * elf/tst-tls8.c: Likewise.
20685         * elf/tst-tls9.c: Likewise.
20686         * elf/tst-tlsmod1.c: Likewise.
20687         * elf/tst-tlsmod13.c: Likewise.
20688         * elf/tst-tlsmod13a.c: Likewise.
20689         * elf/tst-tlsmod14a.c: Likewise.
20690         * elf/tst-tlsmod16a.c: Likewise.
20691         * elf/tst-tlsmod16b.c: Likewise.
20692         * elf/tst-tlsmod2.c: Likewise.
20693         * elf/tst-tlsmod3.c: Likewise.
20694         * elf/tst-tlsmod4.c: Likewise.
20695         * elf/tst-tlsmod5.c: Likewise.
20696         * elf/tst-tlsmod6.c: Likewise.
20697
20698 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
20699
20700         [BZ #12486]
20701         * malloc/malloc.c: remove checks for statistics.
20702
20703 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
20704
20705         [BZ #15277]
20706         * inet/inet_net.c (inet_network): Detect additional invalid strings.
20707         * inet/tst-network.c: Add testcase.
20708
20709 2013-10-17  Andreas Schwab  <schwab@suse.de>
20710
20711         [BZ #15218]
20712         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
20713         to determine canonical name.
20714
20715 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
20716
20717         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
20718         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
20719         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20720         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
20721         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20722         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
20723         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
20724         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
20725         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
20726         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
20727         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
20728         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
20729         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
20730         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
20731         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
20732         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
20733         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20734         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
20735         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
20736         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
20737         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20738         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20739         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20740         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
20741         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
20742         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
20743         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
20744         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
20745         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
20746         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
20747         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
20748         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20749         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
20750         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
20751         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
20752         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20753         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
20754         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
20755         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
20756         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20757         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
20758         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
20759         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
20760         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
20761         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
20762         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
20763         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
20764         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
20765         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
20766         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
20767         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
20768         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
20769         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
20770         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
20771         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20772         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
20773         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20774         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
20775
20776 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
20777
20778         [BZ #16041]
20779         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
20780         make result into a quiet NaN.
20781
20782 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
20783
20784         * soft-fp/adddf3.c: Fix horizontal whitespace.
20785         * soft-fp/addsf3.c: Likewise.
20786         * soft-fp/addtf3.c: Likewise.
20787         * soft-fp/divdf3.c: Likewise.
20788         * soft-fp/divsf3.c: Likewise.
20789         * soft-fp/divtf3.c: Likewise.
20790         * soft-fp/double.h: Likewise.
20791         * soft-fp/eqdf2.c: Likewise.
20792         * soft-fp/eqsf2.c: Likewise.
20793         * soft-fp/eqtf2.c: Likewise.
20794         * soft-fp/extenddftf2.c: Likewise.
20795         * soft-fp/extended.h: Likewise.
20796         * soft-fp/extendsfdf2.c: Likewise.
20797         * soft-fp/extendsftf2.c: Likewise.
20798         * soft-fp/extendxftf2.c: Likewise.
20799         * soft-fp/fixdfdi.c: Likewise.
20800         * soft-fp/fixdfsi.c: Likewise.
20801         * soft-fp/fixdfti.c: Likewise.
20802         * soft-fp/fixsfdi.c: Likewise.
20803         * soft-fp/fixsfsi.c: Likewise.
20804         * soft-fp/fixsfti.c: Likewise.
20805         * soft-fp/fixtfdi.c: Likewise.
20806         * soft-fp/fixtfsi.c: Likewise.
20807         * soft-fp/fixtfti.c: Likewise.
20808         * soft-fp/fixunsdfdi.c: Likewise.
20809         * soft-fp/fixunsdfsi.c: Likewise.
20810         * soft-fp/fixunsdfti.c: Likewise.
20811         * soft-fp/fixunssfdi.c: Likewise.
20812         * soft-fp/fixunssfsi.c: Likewise.
20813         * soft-fp/fixunssfti.c: Likewise.
20814         * soft-fp/fixunstfdi.c: Likewise.
20815         * soft-fp/fixunstfsi.c: Likewise.
20816         * soft-fp/fixunstfti.c: Likewise.
20817         * soft-fp/floatdidf.c: Likewise.
20818         * soft-fp/floatdisf.c: Likewise.
20819         * soft-fp/floatditf.c: Likewise.
20820         * soft-fp/floatsidf.c: Likewise.
20821         * soft-fp/floatsisf.c: Likewise.
20822         * soft-fp/floatsitf.c: Likewise.
20823         * soft-fp/floattidf.c: Likewise.
20824         * soft-fp/floattisf.c: Likewise.
20825         * soft-fp/floattitf.c: Likewise.
20826         * soft-fp/floatundidf.c: Likewise.
20827         * soft-fp/floatundisf.c: Likewise.
20828         * soft-fp/floatunditf.c: Likewise.
20829         * soft-fp/floatunsidf.c: Likewise.
20830         * soft-fp/floatunsisf.c: Likewise.
20831         * soft-fp/floatunsitf.c: Likewise.
20832         * soft-fp/floatuntidf.c: Likewise.
20833         * soft-fp/floatuntisf.c: Likewise.
20834         * soft-fp/floatuntitf.c: Likewise.
20835         * soft-fp/fmadf4.c: Likewise.
20836         * soft-fp/fmasf4.c: Likewise.
20837         * soft-fp/fmatf4.c: Likewise.
20838         * soft-fp/gedf2.c: Likewise.
20839         * soft-fp/gesf2.c: Likewise.
20840         * soft-fp/getf2.c: Likewise.
20841         * soft-fp/ledf2.c: Likewise.
20842         * soft-fp/lesf2.c: Likewise.
20843         * soft-fp/letf2.c: Likewise.
20844         * soft-fp/muldf3.c: Likewise.
20845         * soft-fp/mulsf3.c: Likewise.
20846         * soft-fp/multf3.c: Likewise.
20847         * soft-fp/negdf2.c: Likewise.
20848         * soft-fp/negsf2.c: Likewise.
20849         * soft-fp/negtf2.c: Likewise.
20850         * soft-fp/op-1.h: Likewise.
20851         * soft-fp/op-2.h: Likewise.
20852         * soft-fp/op-4.h: Likewise.
20853         * soft-fp/op-8.h: Likewise.
20854         * soft-fp/op-common.h: Likewise.
20855         * soft-fp/quad.h: Likewise.
20856         * soft-fp/single.h: Likewise.
20857         * soft-fp/soft-fp.h: Likewise.
20858         * soft-fp/sqrtdf2.c: Likewise.
20859         * soft-fp/sqrtsf2.c: Likewise.
20860         * soft-fp/sqrttf2.c: Likewise.
20861         * soft-fp/subdf3.c: Likewise.
20862         * soft-fp/subsf3.c: Likewise.
20863         * soft-fp/subtf3.c: Likewise.
20864         * soft-fp/truncdfsf2.c: Likewise.
20865         * soft-fp/trunctfdf2.c: Likewise.
20866         * soft-fp/trunctfsf2.c: Likewise.
20867         * soft-fp/trunctfxf2.c: Likewise.
20868         * soft-fp/unorddf2.c: Likewise.
20869         * soft-fp/unordsf2.c: Likewise.
20870         * soft-fp/unordtf2.c: Likewise.
20871
20872 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
20873
20874         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
20875         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
20876
20877 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
20878
20879         * elf/dl-libc.c: Clear initfini list after freeing.
20880
20881 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
20882
20883         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
20884         * soft-fp/addsf3.c: Likewise.
20885         * soft-fp/addtf3.c: Likewise.
20886         * soft-fp/divdf3.c: Likewise.
20887         * soft-fp/divsf3.c: Likewise.
20888         * soft-fp/divtf3.c: Likewise.
20889         * soft-fp/double.h: Likewise.
20890         * soft-fp/eqdf2.c: Likewise.
20891         * soft-fp/eqsf2.c: Likewise.
20892         * soft-fp/eqtf2.c: Likewise.
20893         * soft-fp/extenddftf2.c: Likewise.
20894         * soft-fp/extended.h: Likewise.
20895         * soft-fp/extendsfdf2.c: Likewise.
20896         * soft-fp/extendsftf2.c: Likewise.
20897         * soft-fp/extendxftf2.c: Likewise.
20898         * soft-fp/fixdfdi.c: Likewise.
20899         * soft-fp/fixdfsi.c: Likewise.
20900         * soft-fp/fixdfti.c: Likewise.
20901         * soft-fp/fixsfdi.c: Likewise.
20902         * soft-fp/fixsfsi.c: Likewise.
20903         * soft-fp/fixsfti.c: Likewise.
20904         * soft-fp/fixtfdi.c: Likewise.
20905         * soft-fp/fixtfsi.c: Likewise.
20906         * soft-fp/fixtfti.c: Likewise.
20907         * soft-fp/fixunsdfdi.c: Likewise.
20908         * soft-fp/fixunsdfsi.c: Likewise.
20909         * soft-fp/fixunsdfti.c: Likewise.
20910         * soft-fp/fixunssfdi.c: Likewise.
20911         * soft-fp/fixunssfsi.c: Likewise.
20912         * soft-fp/fixunssfti.c: Likewise.
20913         * soft-fp/fixunstfdi.c: Likewise.
20914         * soft-fp/fixunstfsi.c: Likewise.
20915         * soft-fp/fixunstfti.c: Likewise.
20916         * soft-fp/floatdidf.c: Likewise.
20917         * soft-fp/floatdisf.c: Likewise.
20918         * soft-fp/floatditf.c: Likewise.
20919         * soft-fp/floatsidf.c: Likewise.
20920         * soft-fp/floatsisf.c: Likewise.
20921         * soft-fp/floatsitf.c: Likewise.
20922         * soft-fp/floattidf.c: Likewise.
20923         * soft-fp/floattisf.c: Likewise.
20924         * soft-fp/floattitf.c: Likewise.
20925         * soft-fp/floatundidf.c: Likewise.
20926         * soft-fp/floatundisf.c: Likewise.
20927         * soft-fp/floatunsidf.c: Likewise.
20928         * soft-fp/floatunsisf.c: Likewise.
20929         * soft-fp/floatuntidf.c: Likewise.
20930         * soft-fp/floatuntisf.c: Likewise.
20931         * soft-fp/floatuntitf.c: Likewise.
20932         * soft-fp/fmadf4.c: Likewise.
20933         * soft-fp/fmasf4.c: Likewise.
20934         * soft-fp/fmatf4.c: Likewise.
20935         * soft-fp/gedf2.c: Likewise.
20936         * soft-fp/gesf2.c: Likewise.
20937         * soft-fp/getf2.c: Likewise.
20938         * soft-fp/ledf2.c: Likewise.
20939         * soft-fp/lesf2.c: Likewise.
20940         * soft-fp/letf2.c: Likewise.
20941         * soft-fp/muldf3.c: Likewise.
20942         * soft-fp/mulsf3.c: Likewise.
20943         * soft-fp/multf3.c: Likewise.
20944         * soft-fp/negdf2.c: Likewise.
20945         * soft-fp/negsf2.c: Likewise.
20946         * soft-fp/negtf2.c: Likewise.
20947         * soft-fp/op-1.h: Likewise.
20948         * soft-fp/op-2.h: Likewise.
20949         * soft-fp/op-4.h: Likewise.
20950         * soft-fp/op-8.h: Likewise.
20951         * soft-fp/op-common.h: Likewise.
20952         * soft-fp/quad.h: Likewise.
20953         * soft-fp/single.h: Likewise.
20954         * soft-fp/soft-fp.h: Likewise.
20955         * soft-fp/sqrtdf2.c: Likewise.
20956         * soft-fp/sqrtsf2.c: Likewise.
20957         * soft-fp/sqrttf2.c: Likewise.
20958         * soft-fp/subdf3.c: Likewise.
20959         * soft-fp/subsf3.c: Likewise.
20960         * soft-fp/subtf3.c: Likewise.
20961         * soft-fp/truncdfsf2.c: Likewise.
20962         * soft-fp/trunctfdf2.c: Likewise.
20963         * soft-fp/trunctfsf2.c: Likewise.
20964         * soft-fp/trunctfxf2.c: Likewise.
20965         * soft-fp/unorddf2.c: Likewise.
20966         * soft-fp/unordsf2.c: Likewise.
20967         * soft-fp/unordtf2.c: Likewise.
20968
20969 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
20970
20971         [BZ #15672]
20972         * misc/error.c (error_tail): Fix possible buffer overflow.
20973
20974 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
20975
20976         [BZ #13028]
20977         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
20978         address.
20979
20980 2013-10-14  P. J. McDermott  <pj@pehjota.net>
20981
20982         [BZ #832]
20983         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
20984         testing pipefail option.
20985
20986 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
20987
20988         * soft-fp/double.h: Indent preprocessor directives inside #if.
20989         * soft-fp/extended.h: Likewise.
20990         * soft-fp/op-2.h: Likewise.
20991         * soft-fp/op-4.h: Likewise.
20992         * soft-fp/op-common.h: Likewise.
20993         * soft-fp/quad.h: Likewise.
20994         * soft-fp/single.h: Likewise.
20995         * soft-fp/soft-fp.h: Likewise.
20996
20997 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
20998
20999         * iconv/iconv_prog.c: Fix typos.
21000         * stdio-common/psiginfo-data.h: Likewise.
21001
21002 2013-10-12   Reuben Thomas <rrt@sc3d.org>
21003
21004         [BZ #15764]
21005         * locale/setlocale.c: Fix typo.
21006
21007 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
21008
21009         [BZ #16036]
21010         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
21011         signaling NaN arguments.
21012         * soft-fp/unordsf2.c (__unordsf2): Likewise.
21013         * soft-fp/unordtf2.c (__unordtf2): Likewise.
21014
21015         [BZ #14910]
21016         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
21017         unordered operands.
21018         * soft-fp/gesf2.c (__gesf2): Likewise.
21019         * soft-fp/getf2.c (__getf2): Likewise.
21020         * soft-fp/ledf2.c (__ledf2): Likewise.
21021         * soft-fp/lesf2.c (__lesf2): Likewise.
21022         * soft-fp/letf2.c (__letf2): Likewise.
21023
21024         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
21025         * soft-fp/eqsf2.c (__eqsf2): Likewise.
21026         * soft-fp/eqtf2.c (__eqtf2): Likewise.
21027         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
21028         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
21029         * soft-fp/fixdfti.c (__fixdfti): Likewise.
21030         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
21031         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
21032         * soft-fp/fixsfti.c (__fixsfti): Likewise.
21033         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
21034         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
21035         * soft-fp/fixtfti.c (__fixtfti): Likewise.
21036         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
21037         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
21038         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
21039         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
21040         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
21041         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
21042         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
21043         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
21044         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
21045         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
21046         * soft-fp/floatdisf.c (__floatdisf): Likewise.
21047         * soft-fp/floatsisf.c (__floatsisf): Likewise.
21048         * soft-fp/floattidf.c (__floattidf): Likewise.
21049         * soft-fp/floattisf.c (__floattisf): Likewise.
21050         * soft-fp/floattitf.c (__floattitf): Likewise.
21051         * soft-fp/floatundidf.c (__floatundidf): Likewise.
21052         * soft-fp/floatundisf.c (__floatundisf): Likewise.
21053         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
21054         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
21055         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
21056         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
21057         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
21058         * soft-fp/gesf2.c (__gesf2): Likewise.
21059         * soft-fp/getf2.c (__getf2): Likewise.
21060         * soft-fp/ledf2.c (__ledf2): Likewise.
21061         * soft-fp/lesf2.c (__lesf2): Likewise.
21062         * soft-fp/letf2.c (__letf2): Likewise.
21063
21064         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
21065         Undefine and redefine.
21066         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
21067         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
21068         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
21069         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
21070         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21071         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
21072         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21073         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
21074         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21075         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
21076         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21077         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
21078         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21079         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
21080         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21081
21082         [BZ #16032]
21083         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
21084         without decrementing exponent if mantissa >= that for the
21085         denominator, not >.
21086         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
21087         denominator, not >.  Decrement exponent in < case instead of
21088         incrementing in >= case.
21089         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
21090         without decrementing exponent if mantissa >= that for the
21091         denominator, not >.
21092
21093         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
21094         computing saturated result for unsigned overflow.
21095
21096 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
21097             Jeff Law  <law@redhat.com>
21098
21099         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
21100         (atan2Mp): Add systemtap probe marker.
21101         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
21102         (__ieee754_log): Add systemtap probe marker.
21103         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
21104         (atanMp): Add systemtap probe marker.
21105         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
21106         (tanMp): Add systemtap probe marker.
21107         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
21108         (__slowexp): Add systemtap probe marker.
21109         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
21110         (__slowpow): Add systemtap probe marker.
21111         * manual/probes.texi: Document probes.
21112
21113 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
21114
21115         [BZ #15362]
21116         * libio/fileops.c (_IO_new_file_write): Return count of bytes
21117         written.
21118         (_IO_new_file_xsputn): Don't return EOF if nothing has been
21119         written.
21120         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
21121         written to buffer but not flushed.
21122         * libio/iofwrite_u.c:  Likewise.
21123         * libio/iopadn.c:  Return bytes returned even if EOF was
21124         encountered.
21125         * libio/iowpadn.c:  Likewise.
21126         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
21127         if _IO_padn does not write the whole buffer.
21128         [!COMPILE_WPRINTF] (PAD): Likewise.
21129
21130 2013-10-10  David S. Miller  <davem@davemloft.net>
21131
21132         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
21133         directory block.
21134
21135 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
21136
21137         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
21138         instead of FSF address.
21139         * soft-fp/fixdfti.c: Likewise.
21140         * soft-fp/fixsfti.c: Likewise.
21141         * soft-fp/fixtfti.c: Likewise.
21142         * soft-fp/fixunsdfti.c: Likewise.
21143         * soft-fp/fixunssfti.c: Likewise.
21144         * soft-fp/fixunstfti.c: Likewise.
21145         * soft-fp/floattidf.c: Likewise.
21146         * soft-fp/floattisf.c: Likewise.
21147         * soft-fp/floattitf.c: Likewise.
21148         * soft-fp/floatuntidf.c: Likewise.
21149         * soft-fp/floatuntisf.c: Likewise.
21150         * soft-fp/floatuntitf.c: Likewise.
21151         * soft-fp/trunctfxf2.c: Likewise.
21152
21153         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
21154         * soft-fp/fixdfti.c: Likewise.
21155         * soft-fp/fixsfti.c: Likewise.
21156         * soft-fp/fixtfti.c: Likewise.
21157         * soft-fp/fixunsdfti.c: Likewise.
21158         * soft-fp/fixunssfti.c: Likewise.
21159         * soft-fp/fixunstfti.c: Likewise.
21160         * soft-fp/floattidf.c: Likewise.
21161         * soft-fp/floattisf.c: Likewise.
21162         * soft-fp/floattitf.c: Likewise.
21163         * soft-fp/floatuntidf.c: Likewise.
21164         * soft-fp/floatuntisf.c: Likewise.
21165         * soft-fp/floatuntitf.c: Likewise.
21166         * soft-fp/trunctfxf2.c: Likewise.
21167
21168 2013-10-10  David S. Miller  <davem@davemloft.net>
21169
21170         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21171
21172 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
21173
21174         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
21175         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
21176         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
21177         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
21178         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
21179         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
21180         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
21181
21182         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
21183         for NaNs before doing comparisons on argument.
21184         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
21185         Likewise.
21186
21187 2013-10-10  Will Newton  <will.newton@linaro.org>
21188
21189         * malloc/hooks.c (memalign_check): Ensure the value of bytes
21190         passed to _int_memalign does not overflow.
21191
21192 2013-10-10  Torvald Riegel  <triegel@redhat.com>
21193
21194         * scripts/bench.pl: Add include-sources directive.
21195         * benchtests/README: Update documentation.
21196
21197 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
21198
21199         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
21200         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
21201         instead of FP_INIT_ROUNDMODE.
21202         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
21203         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
21204
21205         [BZ #16034]
21206         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
21207         copy class of input value.
21208         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
21209         not handle exceptions.
21210         * soft-fp/negsf2.c (__negsf2): Likewise.
21211         * soft-fp/negtf2.c (__negtf2): Likewise.
21212         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
21213
21214 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
21215
21216         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
21217         semicolon.  From Linux kernel.
21218
21219 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
21220
21221         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
21222
21223 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
21224
21225         [BZ #156]
21226         * manual/socket.texi: Added statement about buffer
21227         for gethostbyname2_r.
21228
21229 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
21230
21231         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
21232         Use .p2align directive instead, throughout.
21233         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
21234         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
21235         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
21236         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21237         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21238         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
21239         * sysdeps/x86_64/strchr.S: Likewise.
21240         * sysdeps/x86_64/strrchr.S: Likewise.
21241
21242 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
21243
21244         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
21245
21246         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
21247
21248         * sysdeps/generic/math_private.h (__mpsin1): Remove
21249         declaration.
21250         (__mpcos1): Likewise.
21251         (__mpsin): New argument __range_reduce.
21252         (__mpcos): Likewise.
21253         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21254         (slow): Use __mpsin and __mpcos.
21255         (slow1): Likewise.
21256         (slow2): Likewise.
21257         (sloww): Likewise.
21258         (sloww1): Likewise.
21259         (sloww2): Likewise.
21260         (bsloww): Likewise.
21261         (bsloww1): Likewise.
21262         (bsloww2): Likewise.
21263         (cslow2): Likewise.
21264         (csloww): Likewise.
21265         (csloww1): Likewise.
21266         (csloww2): Likewise.
21267         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
21268         range_reduce.  Merge in __mpsin1.
21269         (__mpcos): Likewise.
21270         (__mpsin1): Remove.
21271         (__mpcos1): Likewise.
21272
21273 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
21274
21275         * locale/loadlocale.c (_nl_intern_locale_data): Use
21276         LOCFILE_ALIGNED_P.
21277         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
21278         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
21279         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
21280         obstack data is appropriately aligned.
21281         (obstack_int32_grow_fast): Likewise.
21282         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
21283         * locale/programs/locfile.c (add_locale_uint32): Likewise.
21284         (add_locale_uint32_array): Likewise.
21285
21286 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
21287
21288         * benchtests/Makefile: Remove ARGLIST and RET variables.
21289         ($(objpfx)bench-%.c): Pass only function name to the script.
21290         * benchtests/README: Update documentation.
21291         * benchtests/acos-inputs: Add new directives.
21292         * benchtests/acosh-inputs: Likewise.
21293         * benchtests/asin-inputs: Likewise.
21294         * benchtests/asinh-inputs: Likewise.
21295         * benchtests/atan-inputs: Likewise.
21296         * benchtests/atanh-inputs: Likewise.
21297         * benchtests/cos-inputs: Likewise.
21298         * benchtests/cosh-inputs: Likewise.
21299         * benchtests/exp-inputs: Likewise.
21300         * benchtests/log-inputs: Likewise.
21301         * benchtests/pow-inputs: Likewise.
21302         * benchtests/rint-inputs: Likewise.
21303         * benchtests/sin-inputs: Likewise.
21304         * benchtests/sinh-inputs: Likewise.
21305         * benchtests/tan-inputs: Likewise.
21306         * benchtests/tanh-inputs: Likewise.
21307         * scripts/bench.pl: Add support for new directives.
21308
21309 2013-10-07  Alan Modra  <amodra@gmail.com>
21310
21311         * README: Fix careless merge.
21312
21313 2013-10-05  Alan Modra  <amodra@gmail.com>
21314
21315         * NEWS: Mention powerpc64le support and bugs fixed.
21316         * README: Both big-endian and little-endian powerpc64 supported.
21317
21318 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21319
21320         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
21321         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
21322         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
21323         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
21324
21325 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
21326
21327         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
21328         match prototype.
21329
21330 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
21331
21332         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
21333         Move -mhard-float appending from
21334         ports/sysdeps/powerpc/powerpc32/Makefile.
21335         [$(with-fp) = yes] (ASFLAGS): Likewise.
21336         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
21337         * sysdeps/powerpc/nofpu: Move directory from
21338         ports/sysdeps/powerpc/nofpu.
21339         * sysdeps/powerpc/soft-fp: Move directory from
21340         ports/sysdeps/powerpc/soft-fp.
21341         * sysdeps/powerpc/powerpc32/405: Move directory from
21342         ports/sysdeps/powerpc/powerpc32/405.
21343         * sysdeps/powerpc/powerpc32/440: Move directory from
21344         ports/sysdeps/powerpc/powerpc32/440.
21345         * sysdeps/powerpc/powerpc32/464: Move directory from
21346         ports/sysdeps/powerpc/powerpc32/464.
21347         * sysdeps/powerpc/powerpc32/476: Move directory from
21348         ports/sysdeps/powerpc/powerpc32/476.
21349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
21350         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
21351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
21352         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
21353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
21354         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
21355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
21356         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
21357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
21358         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
21359         * README: Update for powerpc-*-linux-gnu software floating point
21360         support in libc.
21361
21362         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
21363         case to powerpc/powerpc32*.
21364         * sysdeps/unix/sysv/linux/configure: Regenerated.
21365
21366         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
21367         (_FPU_MASK_OM): Define as 0x04.
21368         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
21369         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
21370         0x00c10080.
21371         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
21372         0x0000003c.
21373         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
21374
21375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
21376         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
21377         getcontext_e500.
21378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
21379         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
21380         setcontext_e500.
21381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
21382         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
21383         and setcontext_e500.
21384
21385 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
21386
21387         * locale/iso-3166.def: Update iso-1366.def and related occurrences
21388
21389 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
21390
21391         * manual/threads.texi (Default Thread Attributes): Fix typo.
21392
21393 2013-10-04  Will Newton  <will.newton@linaro.org>
21394
21395         * malloc/Makefile: Add tst-memalign.
21396         * malloc/tst-memalign.c: New file.
21397
21398         * malloc/tst-posix_memalign.c: Add comments.
21399         (do_test): Add comments and call free on all potentially
21400         allocated pointers. Add space after cast.
21401
21402         * malloc/tst-pvalloc.c: Add comments.
21403         (do_test): Add comments and call free on all potentially
21404         allocated pointers. Remove duplicate check for NULL pointer.
21405         Add space after cast.
21406
21407         * malloc/tst-valloc.c: Add comments.
21408         (do_test): Add comments and call free on all potentially
21409         allocated pointers. Remove duplicate check for NULL pointer.
21410         Add space after cast.
21411
21412 2013-10-04  Alan Modra  <amodra@gmail.com>
21413
21414         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
21415         Use stdint types in rather than __attribute__((mode())).
21416         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
21417
21418 2013-10-04  Alan Modra  <amodra@gmail.com>
21419
21420         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
21421         Correct handling of unaligned relocs for little-endian.
21422         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
21423
21424 2013-10-04  Alan Modra  <amodra@gmail.com>
21425
21426         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
21427         * configure: Regenerate.
21428         * nptl/shlib-versions: Powerpc*le starts at 2.18.
21429         * shlib-versions: Likewise.
21430
21431 2013-10-04  Alan Modra  <amodra@gmail.com>
21432
21433         * string/tester.c (test_memrchr): Increment reported test cycle.
21434
21435 2013-10-04  Alan Modra  <amodra@gmail.com>
21436
21437         * string/test-memcpy.c (do_one_test): When reporting errors, print
21438         string address and don't overrun end of string.
21439
21440 2013-10-04  Alan Modra  <amodra@gmail.com>
21441
21442         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
21443         insrdi.  Make better use of reg selection to speed exit slightly.
21444         Schedule entry path a little better.  Remove useless "are we done"
21445         checks on entry to main loop.  Handle wrapping around zero address.
21446         Correct main loop count.  Handle single left-over word from main
21447         loop inline rather than by using loop_small.  Remove extra word
21448         case in loop_small caused by wrong loop count.  Add little-endian
21449         support.
21450         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
21451         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
21452         cache hint.
21453         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
21454         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
21455         support.  Avoid rlwimi.
21456         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
21457
21458 2013-10-04  Alan Modra  <amodra@gmail.com>
21459
21460         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
21461         insrdi.  Formatting.
21462         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
21463         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
21464         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
21465         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
21466         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
21467         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
21468
21469 2013-10-04  Alan Modra  <amodra@gmail.com>
21470
21471         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
21472         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21473         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
21474         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
21475         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
21476         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
21477         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21478         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
21479         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
21480         use of regs.  Use power7 mtocrf.  Tidy function tails.
21481
21482 2013-10-04  Alan Modra  <amodra@gmail.com>
21483
21484         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
21485         Formatting.  Consistently use rXXX register defines or rN defines.
21486         Use early exit labels that avoid restoring unused non-volatile regs.
21487         Make cr field use more consistent with rWORDn compares.  Rename
21488         regs used as shift registers for unaligned loop, using rN defines
21489         for short lifetime/multiple use regs.
21490         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
21491         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
21492         addi 1,1,64 to pop stack frame.  Simplify return value code.
21493         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21494
21495 2013-10-04  Alan Modra  <amodra@gmail.com>
21496
21497         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
21498         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
21499         rather than rlwimi.
21500         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
21501         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
21502         little-endian support.  Correct typos.
21503         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
21504         rather than rlwimi.
21505         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
21506         in loop and entry code to keep "and." results.
21507         (strchr): Add little-endian support.  Comment.  Move cntlzd
21508         earlier in tail.
21509         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
21510
21511 2013-10-04  Alan Modra  <amodra@gmail.com>
21512
21513         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
21514         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
21515         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
21516         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
21517
21518 2013-10-04  Alan Modra  <amodra@gmail.com>
21519
21520         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
21521         (rTMP): Define as r11.
21522         (strcmp): Add little-endian support.  Optimise tail.
21523         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
21524         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
21525         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
21526         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
21527         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
21528         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21529         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
21530
21531 2013-10-04  Alan Modra  <amodra@gmail.com>
21532
21533         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
21534         little-endian support.  Remove unnecessary "are we done" tests.
21535         Handle "s" wrapping around zero and extremely large "size".
21536         Correct main loop count.  Handle single left-over word from main
21537         loop inline rather than by using small_loop.  Correct comments.
21538         Delete "zero" tail, use "end_max" instead.
21539         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
21540
21541 2013-10-04  Alan Modra  <amodra@gmail.com>
21542
21543         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
21544         support.  Don't branch over align.
21545         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
21546         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
21547         support.  Rearrange tmp reg use to suit.  Comment.
21548         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
21549
21550 2013-10-04  Alan Modra  <amodra@gmail.com>
21551
21552         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
21553
21554 2013-10-04  Alan Modra  <amodra@gmail.com>
21555
21556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
21557         conditional form of branch and link when obtaining pc.
21558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
21559
21560 2013-10-04  Alan Modra  <amodra@gmail.com>
21561
21562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
21563         HIWORD/LOWORD.
21564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
21565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
21566
21567 2013-10-04  Alan Modra  <amodra@gmail.com>
21568
21569         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
21570         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
21571         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
21572         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
21573         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
21574         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
21575         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
21576         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
21577         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
21578         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
21579
21580 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
21581             Alistair Popple <alistair@ozlabs.au.ibm.com>
21582             Alan Modra <amodra@gmail.com>
21583
21584         [BZ #15723]
21585         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
21586         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
21587         _dl_hwcap access for little-endian.
21588         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
21589         destroy vmx regs when saving unaligned.
21590         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
21591         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
21592         destroy vmx regs when saving unaligned.
21593
21594 2013-10-04  Alan Modra  <amodra@gmail.com>
21595
21596         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
21597         Don't use a union to pack hi/low value.
21598
21599 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
21600
21601         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
21602         for little-endian.
21603         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
21604         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
21605         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
21606         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
21607         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
21608
21609 2013-10-04  Alan Modra  <amodra@gmail.com>
21610
21611         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
21612         constants to usual value for .cst8 section, and remove redundant
21613         high address load.
21614         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
21615         constant for 0x1p52.  Load little-endian words of double from
21616         correct stack offsets.
21617
21618 2013-10-04  Alan Modra  <amodra@gmail.com>
21619
21620         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
21621         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
21622         words of double from correct stack offsets.
21623         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
21624         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
21625         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
21626         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
21627         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
21628         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
21629         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
21630         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
21631         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
21632         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
21633         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
21634         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
21635         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
21636         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
21637         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
21638         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
21639         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
21640
21641 2013-10-04  Alan Modra  <amodra@gmail.com>
21642
21643         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
21644         64-bit int/double union.
21645         (_FPU_SETCW): Likewise.
21646         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
21647         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
21648
21649 2013-10-04  Alan Modra  <amodra@gmail.com>
21650
21651         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
21652         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
21653
21654 2013-10-04  Alan Modra  <amodra@gmail.com>
21655
21656         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
21657         use vector int constants.
21658         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
21659
21660 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
21661
21662         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
21663         array with long long.
21664         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
21665         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
21666         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
21667         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
21668         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
21669         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
21670         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
21671         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
21672         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
21673         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
21674         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
21675         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
21676         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
21677
21678 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
21679
21680         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
21681         (__signbit): Likewise.  Correct for little-endian.
21682         (__signbitl): Call __signbit.
21683         (lrint): Correct for little-endian.
21684         (lrintf): Call lrint.
21685
21686 2013-10-04  Alan Modra  <amodra@gmail.com>
21687
21688         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
21689         union 32-bit int array member with 64-bit int array.
21690         (t515, tm256): Double rather than long double.
21691         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
21692
21693 2013-10-04  Alan Modra  <amodra@gmail.com>
21694
21695         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
21696         Delete.
21697         (IEEE854_LONG_DOUBLE_BIAS): Delete.
21698         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
21699         version of math_ldbl.h.
21700
21701 2013-10-04  Alan Modra  <amodra@gmail.com>
21702
21703         [BZ #15734], [BZ #15735]
21704         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
21705         all uses of ieee875 long double macros and unions.  Simplify test
21706         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
21707         ldbl_extract_mantissa value for ix,iy exponents.  Properly
21708         normalize after ldbl_extract_mantissa, and don't add hidden bit
21709         already handled.  Don't treat low word of ieee854 mantissa like
21710         low word of IBM long double and mask off bit when testing for
21711         zero.
21712         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
21713         all uses of ieee875 long double macros and unions.  Simplify tests
21714         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
21715         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
21716         two1022, instead use their values.  Recognise that tests for large
21717         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
21718         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
21719         Rewrite all uses of ieee875 long double macros and unions.  Simplify
21720         test for 0.0L and nan.  Correct negation.
21721         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
21722         ieee875 long double macros and unions.  Correct output for large
21723         magnitude x.  Correct absolute value calculation.
21724         (__erfcl): Likewise.
21725         * math/libm-test.inc: Add tests for errors discovered in IBM long
21726         double versions of fmodl, remainderl, erfl and erfcl.
21727
21728 2013-10-04  Alan Modra  <amodra@gmail.com>
21729
21730         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
21731         all uses of ieee854 long double macros and unions.  Simplify tests
21732         for long doubles that are fully specified by the high double.
21733         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
21734         Likewise.
21735         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
21736         Remove dead code too.
21737         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
21738         (__ieee754_ynl): Likewise.
21739         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
21740         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
21741         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
21742         Remove dead code too.
21743         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
21744         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
21745         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
21746         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
21747         Simplify.
21748         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
21749         Simplify.
21750         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
21751         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
21752         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
21753         Comment on variable precision.
21754         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
21755         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
21756         Likewise.
21757         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
21758         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
21759         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
21760         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
21761         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
21762
21763 2013-10-04  Alan Modra  <amodra@gmail.com>
21764
21765         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
21766         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
21767         all uses of ieee854 long double macros and unions.
21768         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
21769         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
21770         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
21771         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
21772         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
21773         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
21774         Likewise.
21775         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
21776         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
21777         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
21778         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
21779         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
21780         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
21781         Simplify sign and nan test too.
21782         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
21783         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
21784         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
21785         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
21786         Likewise.
21787         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
21788         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
21789         Likewise.
21790         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21791         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
21792         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
21793         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
21794         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
21795         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
21796
21797 2013-10-04  Alan Modra  <amodra@gmail.com>
21798
21799         * stdio-common/printf_size.c (__printf_size): Don't use
21800         union ieee854_long_double in fpnum union.
21801         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
21802         signbit macro to retrieve sign from long double.
21803         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
21804         retrieve sign from long double.
21805         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
21806         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
21807         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
21808         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
21809         * math/test-misc.c (main): Don't use union ieee854_long_double.
21810
21811 2013-10-04  Alan Modra  <amodra@gmail.com>
21812
21813         [BZ #15680]
21814         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
21815         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
21816         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
21817         calculation.  Remove unnecessary test for denormal exponent.
21818         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
21819         Correct handling of denormals.  Avoid undefined shift behaviour.
21820         Correct normalisation of low mantissa when low double is denormal.
21821         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
21822         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
21823         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
21824         Correct normalisation of low mantissa.  Test for overflow of high
21825         mantissa and normalise.
21826         (ldbl_nearbyint): Use more readable constant for two52.
21827         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
21828         (__mpn_construct_long_double): Fix test for overflow of high
21829         mantissa and correct normalisation.  Avoid undefined shift.
21830
21831 2013-10-04  Alan Modra  <amodra@gmail.com>
21832
21833         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
21834         (union ibm_extended_long_double): Define as an array of ieee754_double.
21835         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
21836         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
21837         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
21838         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
21839         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21840         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
21841         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
21842         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
21843         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
21844         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
21845         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
21846
21847 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
21848
21849         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
21850         page size instead of calling getpagesize.
21851
21852         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
21853         (LOCFILE_ALIGN_MASK): Likewise.
21854         (LOCFILE_ALIGN_UP): Likewise.
21855         (LOCFILE_ALIGNED_P): Likewise.
21856         * locale/programs/ld-collate.c (collate_output): Use the new
21857         macros instead of __alignof__ (int32_t).
21858         * locale/weight.h (findidx): Likewise.
21859
21860 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
21861
21862         [BZ #431]
21863         * manual/string.texi: Fix strncat and wcsncat.
21864
21865 2013-10-03  Brooks Moses  <bmoses@google.com>
21866
21867         [BZ #15915]
21868         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
21869         * Makerules: ...here, and adjust associated comments.
21870
21871 2013-10-02  Will Newton  <will.newton@linaro.org>
21872
21873         * malloc/Makefile: Add tst-pvalloc.
21874         * malloc/tst-pvalloc.c: New file.
21875
21876 2013-10-02  Will Newton  <will.newton@linaro.org>
21877
21878         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
21879         improve test coverage.
21880
21881 2013-10-02  Will Newton  <will.newton@linaro.org>
21882
21883         * malloc/Makefile: Add tst-posix_memalign.
21884         * malloc/tst-posix_memalign.c: New file.
21885
21886 2013-10-01  Eric Blake  <eblake@redhat.com>
21887
21888         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
21889         Use __THROWNL rather than __THROW on static functions.
21890
21891 2013-09-30  Petr Machata  <pmachata@redhat.com>
21892
21893         * elf/elf.h (R_AARCH64_ABS16): New macro.
21894         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
21895         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
21896         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
21897         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
21898         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
21899         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
21900         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
21901         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
21902         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
21903         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
21904         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
21905         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
21906         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
21907         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
21908         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
21909         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
21910         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
21911         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
21912         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
21913         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
21914         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
21915         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
21916         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
21917         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
21918         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
21919         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
21920         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
21921         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
21922         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
21923         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
21924         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
21925         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
21926         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
21927         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
21928         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
21929         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
21930         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
21931         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
21932         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
21933         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
21934         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
21935         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
21936         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
21937         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
21938         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
21939         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
21940         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
21941         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
21942         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
21943         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
21944         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
21945         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
21946         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
21947         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
21948         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
21949         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
21950         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
21951         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
21952         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
21953         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
21954         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
21955         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
21956         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
21957         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
21958         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
21959         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
21960         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
21961         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
21962         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
21963         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
21964         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
21965         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
21966         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
21967         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
21968         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
21969         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
21970         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
21971         (R_AARCH64_TLSDESC_LDR): Likewise.
21972         (R_AARCH64_TLSDESC_ADD): Likewise.
21973         (R_AARCH64_TLSDESC_CALL): Likewise.
21974
21975 2013-09-30  Andreas Schwab  <schwab@suse.de>
21976
21977         [BZ #15048]
21978         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
21979         the nss database lookup.
21980         * nscd/initgrcache.c (addinitgroupsX): Likewise.
21981         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
21982
21983 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
21984
21985         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
21986
21987 2013-09-28  P. J. McDermott  <pj@pehjota.net>
21988
21989         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
21990         ${Bash-specific parameter/pattern/string} parameter expansion.
21991         * sysdeps/unix/make-syscalls.sh: Likewise.
21992
21993 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21994
21995         * sysdeps/sh/stackguard-macros.h: New file.
21996
21997 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
21998
21999         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
22000         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
22001         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
22002         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
22003         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22004         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
22005
22006 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22007
22008         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
22009         Fix thread ID register.
22010
22011 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
22012
22013         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
22014         [POSIX || UNIX98]: Require rather than permitting all symbols from
22015         <time.h>.
22016         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
22017         element of struct sched_param.
22018         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
22019         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
22020         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
22021         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
22022         constant.
22023
22024 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
22025
22026         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
22027         argument calculation.
22028
22029 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
22030
22031         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
22032         Expect macro.
22033         [POSIX] (pthread_attr_t): Do not require type.
22034         [POSIX] (pthread_cond_t): Likewise.
22035         [POSIX] (pthread_condattr_t): Likewise.
22036         [POSIX] (pthread_key_t): Likewise.
22037         [POSIX] (pthread_mutex_t): Likewise.
22038         [POSIX] (pthread_mutexattr_t): Likewise.
22039         [POSIX] (pthread_once_t): Likewise.
22040         [POSIX] (pthread_t): Likewise.
22041         [POSIX-based standards] (pthread_atfork): Expect function.
22042
22043 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
22044             Richard Sandiford  <richard@codesourcery.com>
22045
22046         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
22047         (swap_endianness_p): New extern variable.
22048         (set_big_endian): New inline function.
22049         (maybe_swap_uint32): Likewise.
22050         (maybe_swap_uint32_array): Likewise.
22051         (maybe_swap_uint32_obstack): Likewise.
22052         * locale/programs/locfile.c: Include <stdbool.h>.
22053         (swap_endianness_p): New variable.
22054         (add_locale_uint32): Call maybe_swap_uint32.
22055         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
22056         (write_locale_data): Call maybe_swap_uint32_array.
22057         * locale/programs/ld-collate.c (obstack_int32_grow): Call
22058         maybe_swap_uint32.
22059         (obstack_int32_grow_fast): Likewise.
22060         (output_weightwc): Call maybe_swap_uint32_obstack.
22061         (collate_output): Likewise.
22062         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
22063         (OPT_LITTLE_ENDIAN): Likewise.
22064         (options): Add --little-endian and --big-endian options.
22065         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
22066         * locale/programs/locarchive.c: Include "locfile.h".
22067         (GET): New macro.
22068         (SET): Likewise.
22069         (INC): Likewise.
22070         (create_archive): Use the new macros to access fields of
22071         structures directly mapped from or written to locale archives.
22072         (oldlocrecentcmp): Likewise.
22073         (enlarge_archive): Likewise.
22074         (insert_name): Likewise.
22075         (add_alias): Likewise.
22076         (add_locale): Likewise.
22077         (delete_locales_from_archive): Likewise.
22078         (show_archive_content): Likewise.
22079         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
22080         locale data.
22081
22082 2013-09-24  Roland McGrath  <roland@hack.frob.com>
22083
22084         * manual/freemanuals.texi: Updated from (newly) canonical copy at
22085         http://www.gnu.org/doc/freemanuals.texi.
22086         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
22087
22088 2013-09-24  Will Newton  <will.newton@linaro.org>
22089
22090         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
22091         macro.
22092
22093 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
22094
22095         * locale/hashval.h (compute_hashval): Interpret bytes of key as
22096         unsigned char.
22097
22098 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
22099
22100         * manual/threads.texi (POSIX Threads): Fix a typo.
22101
22102 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
22103
22104         [BZ #14547]
22105         * string/tst-strcoll-overflow.c: New test case.
22106         * string/Makefile (xtests): Add tst-strcoll-overflow.
22107         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
22108         cache if string sizes may cause integer overflow.
22109
22110         [BZ #14547]
22111         * string/strcoll_l.c (coll_seq): New members rule, idx,
22112         save_idx and back_us.
22113         (get_next_seq_nocache): New function.
22114         (do_compare_nocache): New function.
22115         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
22116         when malloc fails.
22117
22118 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
22119
22120         [BZ #15754]
22121         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
22122         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
22123         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
22124
22125         [BZ #15754]
22126         * elf/Makefile (tests): Add tst-ptrguard1.
22127         (tests-static): Add tst-ptrguard1-static.
22128         (tst-ptrguard1-ARGS): Define.
22129         (tst-ptrguard1-static-ARGS): Define.
22130         * elf/tst-ptrguard1.c: New file.
22131         * elf/tst-ptrguard1-static.c: New file.
22132         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
22133         * sysdeps/i386/stackguard-macros.h: Likewise.
22134         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
22135         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
22136         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
22137         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
22138         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
22139         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
22140
22141 2013-09-23  Hector Marco  <hecmargi@upv.es>
22142             Ismael Ripoll  <iripoll@disca.upv.es>
22143             Carlos O'Donell  <carlos@redhat.com>
22144
22145         [BZ #15754]
22146         * sysdeps/generic/stackguard-macros.h: Define
22147         __pointer_chk_guard_local and POINTER_CHK_GUARD.
22148         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
22149         Define __pointer_chk_guard_local.
22150         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
22151         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
22152
22153 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
22154
22155         [BZ #15859]
22156         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
22157
22158 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
22159
22160         * include/string.h (__ffs): Declare as hidden.
22161         * string/ffs.c (__ffs): Define as hidden.
22162         * sysdeps/i386/ffs.c (__ffs): Likewise.
22163         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
22164         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
22165         * sysdeps/s390/ffs.c (__ffs): Likewise.
22166         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
22167
22168 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
22169
22170         * NEWS: Mention malloc probes.
22171
22172         * malloc/arena.c (new_heap): New memory_heap_new probe.
22173         (grow_heap): New memory_heap_more probe.
22174         (shrink_heap): New memory_heap_less probe.
22175         (heap_trim): New memory_heap_free probe.
22176         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
22177         (systrim): New memory_sbrk_less probe.
22178         * manual/probes.texi: Document them.
22179
22180         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
22181         * manual/probes.texi: Document it.
22182
22183         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
22184         (__libc_realloc): Add memory_realloc_retry probe.
22185         (__libc_memalign): Add memory_memalign_retry probe.
22186         (__libc_valloc): Add memory_valloc_retry probe.
22187         (__libc_pvalloc): Add memory_pvalloc_retry probe.
22188         (__libc_calloc): Add memory_calloc_retry probe.
22189         * manual/probes.texi: Document them.
22190
22191         * malloc/arena.c (get_free_list): Add probe
22192         memory_arena_reuse_free_list.
22193         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
22194         and memory_arena_reuse.
22195         (arena_get2) [!PER_THREAD]: Likewise.
22196         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
22197         memory_arena_reuse_realloc.
22198         * manual/probes.texi: Document them.
22199
22200         * malloc/malloc.c (__libc_free): Add
22201         memory_mallopt_free_dyn_thresholds probe.
22202         (__libc_mallopt): Add multiple memory_mallopt probes.
22203         * manual/probes.texi: Document them.
22204
22205         * malloc/malloc.c: Include stap-probe.h.
22206         (__libc_mallopt): Add memory_mallopt probe.
22207         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
22208         * manual/probes.texi: New.
22209         * manual/Makefile (chapters): Add probes.
22210         * manual/threads.texi: Set next node.
22211
22212 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
22213
22214         [BZ #15963, #13985]
22215         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
22216         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
22217         Add `Chinese' to `nan' entry name.
22218
22219 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
22220
22221         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
22222         (POLYNOMIAL): Likewise.
22223         (TAYLOR_SINCOS): Likewise.
22224         (TAYLOR_SLOW): Likewise.
22225         (__sin): Use TAYLOR_SINCOS.
22226         (__cos): Likewise.
22227         (slow): Use TAYLOR_SLOW.
22228         (sloww): Likewise.
22229         (bsloww): Likewise.
22230         (csloww): Likewise.
22231
22232 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
22233
22234         * stdlib/strtod_l.c: Fix buffer overrun.
22235
22236 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
22237
22238         * benchtests/Makefile (bench): Add sincos.
22239         * benchtests/bench-sincos.c: New file.
22240
22241         * math/libm-test.inc (cos_test_data): New test inputs.
22242         (sin_test_data): Likewise.
22243
22244         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
22245         macro.
22246         (__sin): Use it.
22247         (__cos): Likewise.
22248         (slow1): Likewise.
22249         (slow2): Likewise.
22250         (sloww1): Likewise.
22251         (sloww2): Likewise.
22252         (bsloww1): Likewise.
22253         (bsloww2): Likewise.
22254         (cslow2): Likewise.
22255         (csloww1): Likewise.
22256         (csloww2): Likewise.
22257
22258         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
22259         function.
22260         (__sin): Use it.
22261         (__cos): Likewise.
22262
22263         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
22264         gotos.
22265         (__cos): Likewise.
22266
22267 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
22268
22269         * config.h.in (HAVE_MIPS_NAN2008): New macro.
22270         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
22271         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
22272         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
22273         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
22274         * elf/cache.c (print_entry): Handle the new cache flags.
22275
22276 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
22277             Aldy Hernandez  <aldyh@redhat.com>
22278
22279         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
22280         Change condition to [_SOFT_FLOAT].
22281         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
22282         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
22283         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
22284         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
22285         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
22286         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
22287         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
22288         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
22289         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
22290         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
22291         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
22292         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
22293         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
22294         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
22295         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
22296         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
22297         declaration.
22298
22299 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
22300
22301         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
22302         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
22303         (__longjmp): Use LOAD_GP to load saved GPRs.
22304         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
22305         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
22306         (__sigsetjmp): Use SAVE_GP to save GPRs.
22307
22308         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
22309         Do not append -msoft-float.
22310         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
22311
22312 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
22313
22314         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
22315
22316 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
22317
22318         [BZ #15966]
22319         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
22320         (_FPU_GETCW): Use initial "__" on variable and field names but not
22321         on macro parameter name.
22322         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
22323         parentheses around reference to macro parameter.
22324
22325 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
22326
22327         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
22328         prototype.
22329         (ctype_startup): Use uint32_t in cast and sizeof for
22330         ctype->charnames.
22331
22332 2013-09-11  Jia Liu  <proljc@gmail.com>
22333
22334         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
22335         __daddr_t_defined.
22336         [__FreeBSD__]: Likewise.
22337
22338 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
22339
22340         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
22341         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
22342         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
22343         (strchr): Remove __strchr_sse42 ifunc selection.
22344         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
22345         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
22346
22347 2013-09-11  Will Newton  <will.newton@linaro.org>
22348
22349         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
22350         parameter to RES. Remove hardcoded 1000 value.
22351         * benchtests/bench-skeleton.c (main): Pass RES parameter
22352         to TIMING_INIT and multiply result by 1000.
22353
22354 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22355
22356         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22357
22358 2013-09-11  Andreas Schwab  <schwab@suse.de>
22359
22360         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
22361         if not defined.
22362         (O_TMPFILE) [__USE_GNU]: Define.
22363         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
22364         Define.
22365
22366 2013-09-11  Will Newton  <will.newton@linaro.org>
22367
22368         [BZ #15857]
22369         * malloc/malloc.c (__libc_memalign): Check the value of bytes
22370         does not overflow.
22371
22372 2013-09-11  Will Newton  <will.newton@linaro.org>
22373
22374         [BZ #15856]
22375         * malloc/malloc.c (__libc_valloc): Check the value of bytes
22376         does not overflow.
22377
22378 2013-09-11  Will Newton  <will.newton@linaro.org>
22379
22380         [BZ #15855]
22381         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
22382         does not overflow.
22383
22384 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
22385
22386         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
22387         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22388         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22389         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22390         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22391
22392 2013-09-10  Allan McRae  <allan@archlinux.org>
22393
22394         [BZ #15748]
22395         * manual/arith.texi (Parsing of Floats): Clarify
22396         cross-reference.
22397
22398         [BZ #15849]
22399         * manual/install.texi (Running make install): Mention
22400         --enable-pt-chown.
22401         * INSTALL: Regenerated.
22402
22403 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
22404
22405         * csu/init-first.c (_init): Remove the !SHARED condition around
22406         FPU control word initialization.
22407         * elf/dl-support.c (_dl_fpu_control): New variable.
22408         (_dl_aux_init) <AT_FPUCW>: Initialize it.
22409         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
22410         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
22411         * math/test-fpucw-static.c: New file.
22412         * math/test-fpucw-ieee.c: New file.
22413         * math/test-fpucw-ieee-static.c: New file.
22414         * math/Makefile (tests): Add `test-fpucw-ieee' and
22415         `$(tests-static)'.
22416         (tests-static): New variable.
22417         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
22418         dependency to...
22419         [($(build-shared),yes)]
22420         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
22421         ... this.
22422         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
22423         New dependency.
22424
22425 2013-09-09  Allan McRae  <allan@archlinux.org>
22426
22427         [BZ #15939]
22428         * manual/string.texi (Collation Functions): Fix typo in
22429         strcoll example.
22430         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
22431
22432         [BZ #15893]
22433         * stdlib/isomac.c (get_null_defines): Fix memory leak.
22434
22435         [BZ #15892]
22436         * libio/memstream.c (open_memstream): Fix memory leak.
22437         * libio/wmemstream.c (open_wmemstream): Likewise.
22438
22439         [BZ #15895]
22440         * nscd/netgroupcache.c: Fix nesting of ifdefs.
22441
22442 2013-09-09  Will Newton  <will.newton@linaro.org>
22443
22444         * malloc/Makefile: Add tst-realloc to tests.
22445         * malloc/tst-realloc.c: New file.
22446
22447 2013-09-09  Allan McRae  <allan@archlinux.org>
22448
22449         [BZ #15844]
22450         * COPYING: Update from GNU website to fix FSF address.
22451         * COPYING.LIB: Likewise.
22452
22453 2013-09-06  David S. Miller  <davem@davemloft.net>
22454
22455         * po/zh_TW.po: Update Chinese (traditional) translation from
22456         translation project.
22457
22458 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
22459             Joseph Myers  <joseph@codesourcery.com>
22460
22461         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
22462         "localeinfo.h".
22463         (obstack_chunk_alloc): New macro.
22464         (obstack_chunk_free): Likewise.
22465         (record_offset): New function.
22466         (init_locale_data): Likewise.
22467         (align_locale_data): Likewise.
22468         (add_locale_empty): Likewise.
22469         (add_locale_raw_data): Likewise.
22470         (add_locale_raw_obstack): Likewise.
22471         (add_locale_string): Likewise.
22472         (add_locale_wstring): Likewise.
22473         (add_locale_uint32): Likewise.
22474         (add_locale_uint32_array): Likewise.
22475         (add_locale_char): Likewise.
22476         (start_locale_structure): Likewise.
22477         (end_locale_structure): Likewise.
22478         (start_locale_prelude): Likewise.
22479         (end_locale_prelude): Likewise.
22480         (write_locale_data): Take locale_file structure rather than an
22481         iovec.
22482         * locale/programs/locfile.h: Include "obstack.h".
22483         (struct locale_file): Change to store locale file contents instead
22484         of header.
22485         (init_locale_data): New prototype.
22486         (align_locale_data): Likewise.
22487         (add_locale_empty): Likewise.
22488         (add_locale_raw_data): Likewise.
22489         (add_locale_raw_obstack): Likewise.
22490         (add_locale_string): Likewise.
22491         (add_locale_wstring): Likewise.
22492         (add_locale_uint32): Likewise.
22493         (add_locale_uint32_array): Likewise.
22494         (add_locale_char): Likewise.
22495         (start_locale_structure): Likewise.
22496         (end_locale_structure): Likewise.
22497         (start_locale_prelude): Likewise.
22498         (end_locale_prelude): Likewise.
22499         (write_locale_data): Update prototype.
22500         * locale/programs/3level.h (struct TABLE): Remove result field.
22501         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
22502         Use new locale_file interface.
22503         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
22504         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
22505         * locale/programs/ld-address.c (address_output): Use new
22506         locale_file interface.
22507         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
22508         NO_ADD_LOCALE.
22509         (collate_finish): Don't call collseq_table_finalize.
22510         (collate_output): Use new locale_file interface.
22511         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
22512         in file.
22513         (NO_FINALIZE): Change to NO_ADD_LOCALE.
22514         (TABLE): Move defines earlier in file.
22515         (ELEMENT): Likewise.
22516         (DEFAULT): Likewise.
22517         (wctrans_table_add): Move macro and inline function earlier in
22518         file.
22519         (struct wctype_table): Move type earlier in file.
22520         (add_locale_wctype_table): New static prototype.
22521         (struct locale_ctype_t): Use logical types instead of struct iovec
22522         pointers for members.
22523         (ctype_output): Use new locale_file interface.
22524         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
22525         new locale_file interface.
22526         (allocate_arrays): Update for use of new locale_file interface.
22527         * locale/programs/ld-identification.c (identification_output): Use
22528         new locale_file interface.
22529         * locale/programs/ld-measurement.c (measurement_output): Likewise.
22530         * locale/programs/ld-messages.c (messages_output): Likewise.
22531         * locale/programs/ld-monetary.c (monetary_output): Likewise.
22532         * locale/programs/ld-name.c (name_output): Likewise.
22533         * locale/programs/ld-numeric.c (numeric_output): Likewise.
22534         * locale/programs/ld-paper.c (paper_output): Likewise.
22535         * locale/programs/ld-telephone.c (telephone_output): Likewise.
22536         * locale/programs/ld-time.c (time_output): Likewise.
22537
22538 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22539
22540         * benchtests/Makefile: Add memrchr benchmark.
22541         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
22542         benchmark as memrchr.
22543         * benchtests/bench-memrchr-ifunc.c: New file.
22544         * benchtests/bench-memrchr.c: New file.
22545
22546 2013-09-06   Will Newton  <will.newton@linaro.org>
22547
22548         * benchtests/Makefile (string-bench): Add memcpy.
22549
22550 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
22551             Cong Wang  <amwang@redhat.com>
22552
22553         [BZ #15850]
22554         * sysdeps/unix/sysv/linux/bits/in.h
22555         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
22556         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
22557         before __USE_KERNEL_IPV6_DEFS uses.
22558         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
22559         IPPROTO_BEETPH.
22560         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
22561         sockaddr_in6, or ipv6_mreq.
22562
22563 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22564
22565         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
22566         memory access for final bytes in some large inputs.
22567         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
22568
22569 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22570
22571         * string/test-memrchr.c: New file.
22572         * string/test-memrchr-ifunc.c: New file.
22573         * string/Makefile: Add new memrchr testcase.
22574
22575 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
22576
22577         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
22578         fanotify_init returns EPERM.
22579
22580 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
22581
22582         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
22583         errors.
22584         (top level): Treat second token from macro or constant entries for
22585         allowed headers as allowed.
22586         * include/complex.h: Condition internal declarations on
22587         [!_ISOMAC].
22588         * include/fenv.h: Condition include of <stdbool.h> and internal
22589         declarations on [!_ISOMAC].
22590
22591 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
22592
22593         [BZ #15923]
22594         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
22595
22596 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
22597
22598         * configure.in (--enable-versioning): Remove configure option.
22599         (libc_cv_asm_symver_directive): Remove configure test.
22600         (libc_cv_ld_version_script_option): Likewise.
22601         (VERSIONING): Remove variable and AC_SUBST.
22602         (DO_VERSIONING): Remove AC_DEFINE.
22603         * configure: Regenerated.
22604         * config.h.in (DO_VERSIONING): Remove macro.
22605         * Makerules [$(versioning) = yes]: Change conditionals to
22606         [$(build-shared) = yes].
22607         * config.make.in (versioning): Remove variable.
22608         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
22609         [$(build-shared) = yes].
22610         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
22611         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
22612         * elf/Makefile [$(versioning) = yes]: Change conditionals to
22613         [$(build-shared) = yes].
22614         * extra-lib.mk [$(versioning) = yes]: Likewise.
22615         * hurd/Makefile [$(versioning) = yes]: Likewise.
22616         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
22617         [SHARED].
22618         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
22619         [SHARED].
22620         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
22621         [SHARED && !NO_HIDDEN].
22622         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
22623         [SHARED].
22624         [SHARED && DO_VERSIONING]: Likewise..
22625         * libio/Makefile [$(versioning) = yes]: Change conditionals to
22626         [$(build-shared) = yes].
22627         * manual/install.texi (--disable-versioning): Remove
22628         documentation.
22629         * INSTALL: Regenerated.
22630         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
22631         to [SHARED].
22632         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
22633         [$(build-shared) = yes].
22634         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
22635         * sysdeps/i386/i686/multiarch/strstr-c.c
22636         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
22637         [SHARED && !NO_HIDDEN].
22638         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
22639         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
22640         * sysdeps/powerpc/powerpc32/dl-machine.c
22641         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
22642         * sysdeps/powerpc/powerpc32/sysdep.h
22643         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
22644         to [SHARED && PIC && !NO_HIDDEN].
22645         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
22646         conditional to [SHARED].
22647
22648 2013-09-04   Will Newton  <will.newton@linaro.org>
22649
22650         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
22651         * benchtests/bench-string.h: Include bench-timing.h instead
22652         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
22653         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
22654         call to HP_TIMING_DIFF_INIT.
22655         * benchtests/bench-memccpy.c: Use bench-timing.h macros
22656         instead of hp-timing.h macros.
22657         * benchtests/bench-memchr.c: Likewise.
22658         * benchtests/bench-memcmp.c: Likewise.
22659         * benchtests/bench-memcpy.c: Likewise.
22660         * benchtests/bench-memmem.c: Likewise.
22661         * benchtests/bench-memmove.c: Likewise.
22662         * benchtests/bench-memset.c: Likewise.
22663         * benchtests/bench-rawmemchr.c: Likewise.
22664         * benchtests/bench-strcasecmp.c: Likewise.
22665         * benchtests/bench-strcasestr.c: Likewise.
22666         * benchtests/bench-strcat.c: Likewise.
22667         * benchtests/bench-strchr.c: Likewise.
22668         * benchtests/bench-strcmp.c: Likewise.
22669         * benchtests/bench-strcpy.c: Likewise.
22670         * benchtests/bench-strcpy_chk.c: Likewise.
22671         * benchtests/bench-strlen.c: Likewise.
22672         * benchtests/bench-strncasecmp.c: Likewise.
22673         * benchtests/bench-strncat.c: Likewise.
22674         * benchtests/bench-strncmp.c: Likewise.
22675         * benchtests/bench-strncpy.c: Likewise.
22676         * benchtests/bench-strnlen.c: Likewise.
22677         * benchtests/bench-strpbrk.c: Likewise.
22678         * benchtests/bench-strrchr.c: Likewise.
22679         * benchtests/bench-strspn.c: Likewise.
22680         * benchtests/bench-strstr.c: Likewise.
22681
22682 2013-09-04  Will Newton  <will.newton@linaro.org>
22683
22684         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
22685
22686 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
22687
22688         [BZ #15427]
22689         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
22690         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
22691         * math/libm-test.inc (lgamma_test_data): Add more tests.
22692         * sysdeps/i386/fpu/libm-test-ulps: Update.
22693         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22694
22695 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
22696
22697         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
22698         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22699         Add ifunc.
22700         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22701         Add strcmp-sse2-unaligned
22702         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
22703
22704 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
22705
22706         * Versions.def (libc): Add GLIBC_2.19.
22707
22708 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
22709
22710         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
22711         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
22712
22713 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
22714
22715         [BZ #14155]
22716         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
22717         intermediate calculations in recurrence.
22718         (__ieee754_ynf): Likewise.
22719         * math/libm-test.inc (jn_test_data): Do not allow spurious
22720         underflow exception.  Add more tests.
22721         (yn_test_data): Add more tests.
22722         * sysdeps/i386/fpu/libm-test-ulps: Update.
22723         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22724
22725 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
22726
22727         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
22728
22729 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
22730
22731         * csu/init-first.c: Fix then/than typos.
22732         * locale/programs/ld-collate.c: Likewise.
22733         * locale/programs/linereader.h: Likewise.
22734         * manual/charset.texi: Likewise.
22735         * manual/filesys.texi: Likewise.
22736         * manual/stdio.texi: Likewise.
22737         * manual/string.texi: Likewise.
22738         * stdlib/fmtmsg.c: Likewise.
22739         * sysdeps/i386/stpncpy.S: Likewise.
22740         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22741         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
22742         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22743         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
22744
22745 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
22746
22747         * elf/dl-open.c: Fix typos.
22748         * iconvdata/gbbig5.c: Likewise.
22749         * iconvdata/iso-2022-jp.c: Likewise.
22750         * iconv/gconv_int.h: Likewise.
22751         * iconv/loop.c: Likewise.
22752         * nis/rpcsvc/nis.h: Likewise.
22753         * resolv/ns_name.c: Likewise.
22754         * stdio-common/vfscanf.c: Likewise.
22755         * streams/stropts.h: Likewise.
22756         * sunrpc/rpc_thread.c: Likewise.
22757         * sysdeps/i386/strpbrk.S: Likewise.
22758         * sysdeps/ieee754/k_standard.c: Likewise.
22759         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
22760         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22761         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
22762         * sysdeps/mach/hurd/profil.c: Likewise.
22763         * sysdeps/s390/dl-procinfo.h: Likewise.
22764         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
22765         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
22766         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
22767         * sysdeps/x86_64/dl-trampoline.S: Likewise.
22768         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
22769
22770 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
22771
22772         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
22773         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
22774
22775 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
22776
22777         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
22778         aix specific files.
22779         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
22780         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
22781         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
22782         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
22783         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
22784         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
22785         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
22786         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
22787
22788 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
22789             Roland McGrath  <roland@hack.frob.com>
22790
22791         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
22792         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
22793
22794 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22795
22796         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
22797         __executable_start symbol instead of _start.
22798
22799 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
22800
22801         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
22802         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
22803         Move macros to...
22804         * sysdeps/gnu/ldsodefs.h: ... this new file.
22805
22806         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
22807         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
22808         instead of ELFOSABI_LINUX.
22809
22810         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
22811         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
22812         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
22813         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
22814         Likewise.
22815         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
22816         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
22817         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
22818         Likewise.
22819         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
22820         (ibm_extended_long_double): Add ieee_nan member.
22821         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
22822         (do_test): New function.
22823
22824         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
22825         TEST_TRUNC.
22826         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
22827         functions, renamed from truncdfsf_test, trunctfsf_test,
22828         trunctfdf_test.
22829         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
22830         functions.
22831         (do_test): Run all these.
22832
22833 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
22834
22835         * argp/argp-help.c: Fix typos.
22836         * argp/argp-parse.c: Likewise.
22837         * debug/backtracesyms.c: Likewise.
22838         * elf/elf.h: Likewise.
22839         * malloc/malloc.c: Likewise.
22840         * nis/nis_print.c: Likewise.
22841         * resolv/res_comp.c: Likewise.
22842         * stdlib/stdlib.h: Likewise.
22843         * sunrpc/clnt_tcp.c: Likewise.
22844         * sunrpc/clnt_udp.c: Likewise.
22845         * sunrpc/clnt_unix.c: Likewise.
22846         * sysdeps/unix/bsd/ptsname.c: Likewise.
22847         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
22848         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
22849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
22850         Likewise.
22851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
22852         Likewise.
22853         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
22854         Likewise.
22855         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
22856
22857 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22858
22859         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
22860         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
22861
22862 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
22863
22864         [BZ #15897]
22865         * dlfcn/Makefile (tests): Add bug-dl-leaf.
22866         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
22867         ($(objpfx)bug-dl-leaf): New rule.
22868         ($(objpfx)bug-dl-leaf.so): Likewise.
22869         ($(objpfx)bug-dl-leaf.out): Likewise.
22870         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
22871         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
22872         * dlfcn/bug-dl-leaf.c: New test.
22873         * dlfcn/bug-dl-leaf-lib.c: Likewise.
22874         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
22875         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
22876         (dlclose): Likewise.
22877         (dlmopen): Likewise.
22878
22879 2013-08-27  Roland McGrath  <roland@hack.frob.com>
22880
22881         * include/netdb.h [!_ISOMAC]:
22882         Don't include <tls.h>.
22883         (h_errno, __libc_h_errno): Move declaration and macros out of
22884         [_LIBC_REENTRANT].
22885
22886         * include/resolv.h [_RESOLV_H_]:
22887         Don't include <tls.h>.
22888         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
22889         * resolv/res_libc.c: Don't include <tls.h>.
22890         (_res): Use __attribute__ ((nocommon)) in place of
22891         __attribute__ ((section (".bss"))).
22892
22893         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
22894         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
22895
22896         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
22897
22898         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
22899         only under [SIOCGIFCONF && SIOCGIFNETMASK].
22900
22901         * resolv/res_mkquery.c: Include <sys/time.h>.
22902
22903         * inet/ifreq.c: Moved to ...
22904         * sysdeps/unix/ifreq.c: ... here.
22905         * inet/ifreq.c: New file, true stub version.
22906
22907         * socket/sa_len.c: New file.
22908         * socket/Makefile (aux): Add it.
22909         * sysdeps/unix/sysv/linux/Makefile
22910         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
22911         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
22912         and #include <socket/sa_len.c>.
22913         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
22914         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
22915
22916         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
22917         * bits/socket.h: ... here.
22918
22919         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
22920         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
22921         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
22922
22923 2013-08-27  Andreas Schwab  <schwab@suse.de>
22924
22925         [BZ #15736]
22926         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
22927         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
22928         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
22929         * string/test-strcasecmp.c (test_main): Run tests in several
22930         locales.
22931         * string/test-strncasecmp.c (test_main): Likewise.
22932
22933         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
22934         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
22935         to __strcasecmp_nonascii and __strncasecmp_nonascii.
22936         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
22937         (__strncasecmp_ssse3) [PIC]: Likewise.
22938
22939 2013-08-26  Roland McGrath  <roland@hack.frob.com>
22940
22941         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
22942
22943         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
22944         instead of explicitly declaring xdecrypt.
22945         * nis/nss_nis/nis-publickey.c: Likewise.
22946
22947 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22948
22949         [BZ #15890]
22950         * nscd/aicache.c: Include res_hconf.h.
22951         (addhstaiX): Initialize res_hconf.
22952
22953 2013-08-26  Andreas Schwab  <schwab@suse.de>
22954
22955         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
22956         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
22957
22958 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22959
22960         * nscd/aicache.c (addhstaiX): Fix indentation.
22961
22962 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
22963
22964         * configure.ac: Quote $build_pt_chown test.
22965         * configure: Regenerated.
22966
22967 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
22968
22969         [BZ #15532]
22970         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
22971         * math/s_cexpf.c (__cexpf): Likewise.
22972         * math/s_cexpl.c (__cexpl): Likewise.
22973         * math/libm-test.inc (cexp_test_data): Correct expected return
22974         value for NaN + i0.  Add another test.
22975
22976 2013-08-22  David S. Miller  <davem@davemloft.net>
22977
22978         * po/ca.po: Update Catalan translation from translation project.
22979         * po/uk.po: Add Ukrainian translations from translation project.
22980
22981 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
22982
22983         [BZ #15797]
22984         * math/s_fdim.c (__fdim): Check for infinite arguments if result
22985         is infinite, not alongside NaN test.
22986         * math/s_fdimf.c (__fdimf): Likewise.
22987         * math/s_fdiml.c (__fdiml): Likewise.
22988         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
22989         errno is unchanged.
22990
22991 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
22992
22993         * argp/argp-help.c: Fix typos.
22994         * crypt/speeds.c: Likewise.
22995         * csu/check_fds.c: Likewise.
22996         * elf/dl-load.c: Likewise.
22997         * elf/dl-open.c: Likewise.
22998         * elf/reldep3.c: Likewise.
22999         * elf/reldep.c: Likewise.
23000         * elf/sprof.c: Likewise.
23001         * iconv/iconv_charmap.c: Likewise.
23002         * iconv/skeleton.c: Likewise.
23003         * iconv/strtab.c: Likewise.
23004         * io/lockf64.c: Likewise.
23005         * libio/libioP.h: Likewise.
23006         * resolv/gai_notify.c: Likewise.
23007         * resolv/ns_name.c: Likewise.
23008         * resolv/ns_samedomain.c: Likewise.
23009         * resolv/res_send.c: Likewise.
23010         * stdlib/random.c: Likewise.
23011         * sunrpc/rpc/xdr.h: Likewise.
23012         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
23013         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
23014         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
23015         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
23016         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
23017         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
23018         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
23019         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
23020         * sysdeps/mach/hurd/check_fds.c: Likewise.
23021         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
23022         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
23023         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23024         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
23025         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
23026         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
23027         * sysdeps/pthread/aio_notify.c: Likewise.
23028         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
23029         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
23030         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
23031         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
23032         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
23033
23034 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
23035
23036         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
23037         version if bit_Slow_SSE4_2 is set.
23038         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23039         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23040
23041 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23042
23043         [BZ #15867]
23044         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
23045         trampoline stack frame information.
23046         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
23047         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
23048         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
23049         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
23050         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
23051         * sysdeps/unix/sysv/linux/powerpc/init-first.c
23052         (_libc_vdso_platform_setup): Initialize the signal trampolines.
23053         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
23054         sa_flags value.
23055         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
23056         interrupting a syscall and set with option SA_SIGINFO.
23057
23058 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
23059
23060         [BZ #15531]
23061         * math/s_cproj.c (__cproj): Only return an infinity if one part of
23062         argument is infinite.
23063         * math/s_cprojf.c (__cprojf): Likewise.
23064         * math/s_cprojl.c (__cprojl): Likewise.
23065         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
23066         * math/libm-test.inc (cproj_test_data): Add more tests.
23067
23068         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
23069
23070         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
23071         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
23072         size.  Use __ffs to determine corresponding shift.
23073
23074 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
23075             Roland McGrath  <roland@hack.frob.com>
23076
23077         * Makefile (INSTALL): Remove trailing blank lines from output of
23078         makeinfo.
23079
23080 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23081
23082         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
23083         Align 32 bit compat elf_greg to 8 bytes.
23084
23085 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
23086
23087         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
23088
23089 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
23090
23091         * string/strcoll_l.c (coll_seq): New structure.
23092         (get_next_seq_cached): New function.
23093         (get_next_seq): New function.
23094         (do_compare): New function.
23095         (STRCOLL): Use GNU style definition.  Simplify implementation
23096         by using get_next_seq, get_next_seq_cached and do_compare.
23097
23098 2013-08-16  Florian Weimer  <fweimer@redhat.com>
23099
23100         [BZ #14699]
23101         CVE-2013-4237
23102         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
23103         member.
23104         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
23105         member.
23106         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
23107         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
23108         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
23109         conditional.
23110         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
23111         GETDENTS_64BIT_ALIGNED.
23112         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
23113         * manual/filesys.texi (Reading/Closing Directory): Document
23114         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
23115         strongly.
23116         * manual/conf.texi (Limits for Files): Add portability note to
23117         NAME_MAX, PATH_MAX.
23118         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
23119
23120 2013-08-13  Andreas Schwab  <schwab@suse.de>
23121
23122         [BZ #15749]
23123         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
23124         of fabs.
23125         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
23126         LDBL_MAX_EXP >= 16384]: Add tests for it.
23127
23128 2013-08-12  David S. Miller  <davem@davemloft.net>
23129
23130         * version.h (RELEASE): Set to "development".
23131         (VERSION): Set to "2.18.90".
23132         * NEWS: Add 2.19 section.
23133
23134 2013-08-03  David S. Miller  <davem@davemloft.net>
23135
23136         * po/ko.po: Update Korean translation from translation project.
23137
23138 2013-08-01  David S. Miller  <davem@davemloft.net>
23139
23140         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
23141         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
23142         Bilka.
23143
23144 2013-07-30  David S. Miller  <davem@davemloft.net>
23145
23146         * po/fr.po: Update French translation from translation project.
23147
23148 2013-07-28  David S. Miller  <davem@davemloft.net>
23149
23150         * po/cs.po: Update Czech translation from translation project.
23151
23152         * po/sv.po: Update Swedish translation from translation project.
23153
23154 2013-07-27  David S. Miller  <davem@davemloft.net>
23155
23156         * po/eo.po: Update Esperanto translation from translation project.
23157
23158         * po/vi.po: Update Vietnamese translation from translation project.
23159
23160         * po/de.po: Update German translation from translation project.
23161
23162 2013-07-26  David S. Miller  <davem@davemloft.net>
23163
23164         * po/bg.po: Update Bulgarian translation from translation project.
23165
23166         * po/nl.po: Update Dutch translation from translation project.
23167         * po/pl.po: Update Polish translation from translation project.
23168         * po/ru.po: Update Russian translation from translation project.
23169
23170 2013-07-24  David S. Miller  <davem@davemloft.net>
23171
23172         * po/libc.pot: Update.
23173
23174 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23175
23176         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
23177         variable page size.
23178         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
23179         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
23180         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
23181
23182 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23183
23184         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
23185
23186 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23187             Andreas Schwab  <schwab@suse.de>
23188             Roland McGrath  <roland@hack.frob.com>
23189             Joseph Myers  <joseph@codesourcery.com>
23190             Carlos O'Donell  <carlos@redhat.com>
23191
23192         [BZ #15755]
23193         * config.h.in: Define HAVE_PT_CHOWN.
23194         * config.make.in (build-pt-chown): New variable.
23195         * configure.in (--enable-pt_chown): New configure option.
23196         * configure: Regenerate.
23197         * login/Makefile: Include Makeconfig.  Build pt_chown only if
23198         build-pt-chown is enabled.
23199         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
23200         pt_chown to fix pty ownership.
23201         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
23202         CLOSE_ALL_FDS.
23203         * manual/install.texi (Configuring and compiling): Mention
23204         --enable-pt_chown. Add @findex for grantpt.
23205         * INSTALL: Regenerate.
23206
23207 2013-07-20  David S. Miller  <davem@davemloft.net>
23208
23209         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
23210         difference between 32-bit and 64-bit.
23211
23212 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
23213
23214         [BZ #15711]
23215         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
23216         Avoid system header dependency with -ffreestanding.
23217         ($(objpfx)bits/syscall%d): Likewise.
23218
23219 2013-07-13  David S. Miller  <davem@davemloft.net>
23220
23221         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
23222         underflows from atanl/atan2l due to bug 15319.
23223         (casinh_test_data): Likewise.
23224
23225 2013-07-07  David S. Miller  <davem@davemloft.net>
23226
23227         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
23228
23229 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
23230
23231         * sysdeps/i386/fpu/libm-test-ulps: Update.
23232         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23233
23234 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
23235
23236         * configure.in (--enable-lock-elision): Fix message text.
23237         * INSTALL: Regenerate.
23238         * configure: Regenerate.
23239
23240 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23241
23242         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23243
23244 2013-07-03  Andreas Jaeger  <aj@suse.de>
23245
23246         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
23247         define.
23248         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
23249         (ptrace_peeksiginfo_args): Add.
23250         (__ptrace_peeksiginfo_flags): Add.
23251         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23252         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23253         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23254
23255 2013-07-03  Allan McRae  <allan@archlinux.org>
23256
23257         * sysdeps/i386/fpu/libm-test-ulps: Update.
23258
23259 2013-07-02  David S. Miller  <davem@davemloft.net>
23260
23261         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23262
23263 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
23264
23265         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23266
23267 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
23268
23269         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
23270         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23271
23272 2013-07-02  Andi Kleen <ak@linux.intel.com>
23273
23274         * config.h.in (ENABLE_LOCK_ELISION): Add.
23275         * configure.in (--enable-lock-elision): Add option.
23276         * manual/install.texi: Document --enable lock elision.
23277         * configure: Regenerate
23278         * INSTALL: Regenerate.
23279
23280 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
23281
23282         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
23283         SSE4.2 strcasecmp for libc.a.
23284         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
23285
23286 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
23287
23288         [BZ #13304]
23289         * soft-fp/op-common.h (_FP_FMA): New macro.
23290         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
23291         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
23292         (_FP_MUL_MEAT_1_imm): ... here.
23293         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
23294         (_FP_MUL_MEAT_1_wide): ... here.
23295         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
23296         (_FP_MUL_MEAT_1_hard): ... here.
23297         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
23298         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
23299         (_FP_MUL_MEAT_2_wide): ... here.
23300         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
23301         (_FP_MUL_MEAT_2_wide_3mul): ... here.
23302         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
23303         (_FP_MUL_MEAT_2_gmp): ... here.
23304         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
23305         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
23306         (_FP_MUL_MEAT_4_wide): ... here.
23307         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
23308         (_FP_MUL_MEAT_4_gmp): ... here.
23309         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
23310         (_FP_WFRACBITS_DW_S): Likewise.
23311         (_FP_WFRACXBITS_DW_S): Likewise.
23312         (_FP_HIGHBIT_DW_S): Likewise.
23313         (FP_FMA_S): Likewise.
23314         (_FP_FRAC_HIGH_DW_S): Likewise.
23315         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
23316         (_FP_WFRACBITS_DW_D): Likewise.
23317         (_FP_WFRACXBITS_DW_D): Likewise.
23318         (_FP_HIGHBIT_DW_D): Likewise.
23319         (FP_FMA_D): Likewise.
23320         (_FP_FRAC_HIGH_DW_D): Likewise.
23321         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
23322         (_FP_WFRACBITS_DW_E): Likewise.
23323         (_FP_WFRACXBITS_DW_E): Likewise.
23324         (_FP_HIGHBIT_DW_E): Likewise.
23325         (FP_FMA_E): Likewise.
23326         (_FP_FRAC_HIGH_DW_E): Likewise.
23327         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
23328         (_FP_WFRACBITS_DW_Q): Likewise.
23329         (_FP_WFRACXBITS_DW_Q): Likewise.
23330         (_FP_HIGHBIT_DW_Q): Likewise.
23331         (FP_FMA_Q): Likewise.
23332         (_FP_FRAC_HIGH_DW_Q): Likewise.
23333         * soft-fp/fmasf4.c: New file.
23334         * soft-fp/fmadf4.c: Likewise.
23335         * soft-fp/fmatf4.c: Likewise.
23336
23337 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
23338
23339         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
23340         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
23341         Silvermont.
23342         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
23343         macro.
23344         (index_Slow_SSE4_2): Likewise.
23345         (index_Prefer_PMINUB_for_stringop): Likewise.
23346         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
23347         bit_Slow_SSE4_2 is set.
23348         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
23349         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23350
23351 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
23352
23353         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
23354         rtld_global._dl_hwcap2.
23355         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
23356         POWER8.
23357         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
23358         POWER8 feature descriptions defined in _dl_hwcap2.
23359         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
23360         string handling for POWER8 feature bits.
23361         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
23362         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
23363         _dl_powerpc_cap_flags.
23364         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
23365         * sysdeps/powerpc/rtld-global-offsets.sym
23366         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
23367         _dl_hwcap2 in the rtld_global_ro structure.
23368
23369 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
23370
23371         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
23372         hardware capabilities in support of AT_HWCAP2.
23373         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
23374         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
23375         GLRO(dl_hwcap2).
23376         (_dl_show_auxv): Add support for calling _dl_procinfo to display
23377         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
23378         explicitly the unknown a_type display mechanism is used.
23379         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
23380         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
23381         struct member.
23382         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
23383         to macro prototype for AT_HWCAP2 support.
23384         * sysdeps/i386/dl-procinfo.h: Likewise.
23385         * sysdeps/s390/dl-procinfo.h: Likewise.
23386         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
23387         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
23388         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
23389         return -1 for unknown a_type display fallback.
23390         * sysdeps/sparc/dl-procinfo.h: Likewise.
23391         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
23392         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
23393
23394 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
23395
23396         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
23397         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
23398
23399 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
23400
23401         [BZ #12492]
23402         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
23403         mprotect making __stack_prot writable.
23404
23405 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
23406             Joseph Myers  <joseph@codesourcery.com>
23407
23408         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
23409         as being properly aligned.
23410
23411 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
23412
23413         * dlfcn/modstatic5.c: New file.
23414         * dlfcn/tststatic5.c: New file.
23415         * dlfcn/Makefile (tests): Add tststatic5.
23416         (tests-static): Likewise.
23417         (modules-names): Add modstatic5.
23418         (tststatic5-ENV): New variable.
23419         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
23420
23421         [BZ #15022]
23422         * elf/dl-support.c (_dl_main_map): New variable.
23423         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
23424         (_dl_nns, _dl_load_adds): Set to 1.
23425         (_dl_initial_searchlist): Refer to _dl_main_map.
23426         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
23427         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
23428         call to _dl_get_origin.
23429         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
23430         around call_map.
23431         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
23432         * dlfcn/modstatic3.c: New file.
23433         * dlfcn/tststatic3.c: New file.
23434         * dlfcn/tststatic4.c: New file.
23435         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
23436         (tests-static): Likewise.
23437         (modules-names): Add modstatic3.
23438         (tststatic3-ENV, tststatic4-ENV): New variables.
23439         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
23440         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
23441
23442 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
23443
23444         * configure.in (CC): Require GCC version 4.4 or later.
23445         * configure: Regenerated.
23446         * manual/install.texi (Tools for Compilation): Update GCC version
23447         requirement.
23448         * INSTALL: Regenerated.
23449
23450 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
23451
23452         [BZ #15674]
23453         * string/test-memcmp.c (check2): New.
23454         (main): Call check2.
23455
23456         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
23457
23458 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
23459
23460         [BZ #15022]
23461         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
23462         over to...
23463         (dl_open_worker) [!SHARED]: ... here.
23464
23465 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
23466
23467         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
23468
23469 2013-06-25  Richard Henderson  <rth@redhat.com>
23470
23471         * locale/programs/locarchive.c: Include <libc-internal.h>
23472
23473 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
23474
23475         * manual/texinfo.tex: Update to version 2013-06-21.17, with
23476         trailing whitespace removed.
23477
23478 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
23479
23480         [BZ #10283]
23481         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
23482         * locale/programs/locarchive.c: Include libc-mmap.h.
23483         (prepare_address_space): Take two new outputs (the mmap base and len).
23484         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
23485         values.
23486         (create_archive): Declare new mmap base and len values for
23487         prepare_address_space, and store the result in ah.
23488         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
23489         (enlarge_archive): If ah->mmap_base is not NULL, use that and
23490         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
23491         Declare new mmap base and len values for
23492         prepare_address_space, and store the result in new_ah.
23493         (open_archive): Declare new mmap base and len values for
23494         prepare_address_space, and store the result in ah.
23495         (close_archive): If ah->mmap_base is not NULL, use that and
23496         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
23497         * sysdeps/generic/libc-mmap.h: New file.
23498
23499 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
23500
23501         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
23502         (ALIGN_UP): Likewise.
23503         (PTR_ALIGN_DOWN): Likewise.
23504         (PTR_ALIGN_UP): Likewise.
23505
23506 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
23507
23508         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
23509         entry mapped to PPC_PLATFORM_POWER8.
23510         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
23511         POWER8.
23512         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
23513         (_dl_string_platform): Add case for exporting platform position for
23514         POWER8.
23515         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
23516         search path to sysdeps/powerpc/powerpc32/power8 directory.
23517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
23518         search path to sysdeps/powerpc/powerpc64/power8 directory.
23519         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
23520         power7 directories.
23521         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
23522         power7 directories.
23523
23524 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
23525
23526         * INSTALL: Regenerate.
23527
23528         * nscd/connections.c (nscd_init): Fix comment.
23529
23530 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
23531
23532         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
23533
23534         [BZ #15667]
23535         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
23536         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
23537
23538 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
23539
23540         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
23541         DL_DST_REQ_STATIC.
23542         (DL_DST_REQ_STATIC): Remove macro.
23543
23544 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
23545
23546         [BZ #7006]
23547         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
23548         with a shift of 0 bits.
23549
23550 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
23551
23552         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
23553         $(tststatic-ENV).
23554
23555 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23556
23557         [BZ #15655]
23558         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
23559
23560 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23561
23562         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
23563         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
23564         accepts -fno-tree-loop-distribute-patterns.
23565         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
23566         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
23567         recursive call.
23568         * string/memset.c (memset): Likewise.
23569         * string/test-memmove.c (simple_memmove): Disable loop transformation
23570         to library calls.
23571         * string/test-memset.c (simple_memset): Likewise.
23572         * benchtests/bench-memmove.c (simple_memmove): Likewise.
23573         * benchtests/bench-memset.c (simple_memset): Likewise.
23574         * configure: Regenerated.
23575
23576 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
23577
23578         * math/test-misc.c (main): Ignore fesetround failure when failures
23579         of subsequent rounding tests would be ignored.
23580
23581         [BZ #15654]
23582         * math/fedisblxcpt.c (fedisableexcept): Return 0.
23583         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
23584         * math/fegetenv.c (__fegetenv): Return 0.
23585         * math/fegetexcept.c (fegetexcept): Return 0.
23586         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
23587         FE_TONEAREST.
23588         * math/feholdexcpt.c (feholdexcept): Return 0.
23589         * math/fesetenv.c (__fesetenv): Return 0.
23590         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
23591         argument FE_TONEAREST.
23592         * math/feupdateenv.c (__feupdateenv): Return 0.
23593         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
23594
23595 2013-06-18  Roland McGrath  <roland@hack.frob.com>
23596
23597         * elf/rtld-Rules (rtld-compile-command.S): New variable.
23598         (rtld-compile-command.s, rtld-compile-command.c): New variables.
23599         ($(objpfx)rtld-%.os rules): Use them.
23600
23601 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23602
23603         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
23604         fields.
23605
23606 2013-06-17  Roland McGrath  <roland@hack.frob.com>
23607
23608         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
23609         length of target pattern, then descending length of dependency pattern.
23610         * configure.in (AWK): Require gawk 3.1.2 or newer.
23611         * manual/install.texi (Tools for Compilation): Say that we do.
23612         * configure: Regenerated.
23613
23614         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
23615         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
23616         * scripts/sysd-rules.awk: ... this new script.
23617         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
23618         than a glob-style pattern.
23619
23620 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
23621
23622         * math/test-misc.c (main): Do not treat incorrectly rounded
23623         conversions as failure unless ROUNDING_TESTS passes.
23624
23625 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
23626
23627         [BZ #15631]
23628         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
23629         restore exception state around main square root computation, then
23630         check for inexactness explicitly.
23631
23632         * math/libm-test.inc (fma_test_data): Add another test.
23633
23634 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23635
23636         * manual/threads.texi (Non-POSIX Extensions): New document
23637         node.  Document pthread_getattr_default_np and
23638         pthread_setattr_default_np.
23639
23640         * Versions.def (libpthread): Add GLIBC_2.18.
23641         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
23642         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
23643         Likewise.
23644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
23645         Likewise.
23646         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23647         Likewise.
23648         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23649         Likewise.
23650         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
23651         Likewise.
23652         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
23653         Likewise.
23654         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
23655         Likewise.
23656         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
23657         Likewise.
23658         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
23659         Likewise.
23660
23661 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
23662
23663         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23664         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
23665
23666 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
23667             H.J. Lu  <hjl.tools@gmail.com>
23668
23669         [BZ #15627]
23670         * sysdeps/x86_64/rtld-memset.c: Remove file.
23671         * sysdeps/x86_64/rtld-memset.S: New file.
23672
23673 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
23674
23675         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
23676         (test_in_one_mode): Take arguments for whether the rounding mode
23677         is supported for each floating-point type.
23678         (do_test): Pass new arguments to test_in_one_mode using
23679         ROUNDING_TESTS.
23680
23681 2013-06-13  Roland McGrath  <roland@hack.frob.com>
23682
23683         * posix/tst-waitid.c (do_test): Distinguish different instances of
23684         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
23685         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
23686         before entering the kernel for waitpid.
23687
23688 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
23689
23690         * NEWS: Fix note on clock function precision.  Text by Roland
23691         McGrath.
23692
23693 2013-06-13  Roland McGrath  <roland@hack.frob.com>
23694
23695         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
23696         it into place only when and if the sanity check passes.
23697
23698 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
23699
23700         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
23701         output for whether conversion result is exact.  Take argument
23702         indicating whether type is IBM long double.
23703         (round_for_all): Change need_exact field to ibm_ld.
23704         * stdlib/tst-strtod-round.c (struct exactness): New type.
23705         (struct test): Change bool ld_ok field to struct exactness exact.
23706         (TEST): Update all definitions for change to field.
23707         (tests): Regenerate array contents.
23708         (test_in_one_mode): Take pointer to new field instead of old ld_ok
23709         field value.  Check for IBM long double here.
23710         (do_test): Update calls to test_in_one_mode.
23711
23712 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
23713
23714         [BZ #12515]
23715         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
23716         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
23717
23718 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23719
23720         [BZ #15605]
23721         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
23722         generated by the compiler on loop optimizations.
23723         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
23724         general definitions.
23725
23726 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
23727
23728         * math/bug-nextafter.c: Include <math-tests.h>.
23729         (main): Only test for exceptions if EXCEPTION_TESTS is true for
23730         the relevant type.
23731         * math/bug-nexttoward.c: Include <math-tests.h>.
23732         (main): Only test for exceptions if EXCEPTION_TESTS is true for
23733         the relevant type.
23734         * math/test-misc.c: Include <math-tests.h>.
23735         (main): Only test for exceptions if EXCEPTION_TESTS is true for
23736         the relevant type.
23737
23738 2013-06-12  Andreas Jaeger  <aj@suse.de>
23739
23740         * po/ia.po: Update Interlingua translation from translation
23741         project.
23742
23743 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
23744
23745         * include/fenv.h: Include stdbool.h.
23746         (struct rm_ctx): New structure.
23747         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
23748         Define macro.
23749         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
23750         (SET_RESTORE_ROUNDF): Likewise.
23751         (SET_RESTORE_ROUNDL): Likewise.
23752         (SET_RESTORE_ROUND_NOEX): Likewise.
23753         (SET_RESTORE_ROUND_NOEXF): Likewise.
23754         (SET_RESTORE_ROUND_NOEXL): Likewise.
23755         (SET_RESTORE_ROUND_53BIT): Likewise.
23756         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
23757         (libc_feresetround_noexf_ctx): Likewise.
23758         (libc_feresetround_noexl_ctx): Likewise.
23759         (libc_feholdsetround_53bit_ctx): Likewise.
23760         (libc_feresetround_53bit_ctx): Likewise.
23761         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
23762         (libc_feholdexcept_setround_sse_ctx): New function.
23763         (libc_fesetenv_sse_ctx): Likewise.
23764         (libc_feupdateenv_sse_ctx): Likewise.
23765         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
23766         (libc_feholdexcept_setround_387_ctx): Likewise.
23767         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
23768         (libc_feholdsetround_387_prec_ctx): Likewise.
23769         (libc_feholdsetround_387_ctx): Likewise.
23770         (libc_feholdsetround_387_53bit_ctx): Likewise.
23771         (libc_feholdsetround_sse_ctx): Likewise.
23772         (libc_feresetround_sse_ctx): Likewise.
23773         (libc_feresetround_387_ctx): Likewise.
23774         (libc_feupdateenv_387_ctx): Likewise.
23775         (libc_feholdexcept_setroundf_ctx): Define macro.
23776         (libc_fesetenvf_ctx): Likewise.
23777         (libc_feupdateenvf_ctx): Likewise.
23778         (libc_feholdsetroundf_ctx): Likewise.
23779         (libc_feresetroundf_ctx): Likewise.
23780         (libc_feholdexcept_setround_ctx): Likewise.
23781         (libc_fesetenv_ctx): Likewise.
23782         (libc_feupdateenv_ctx): Likewise.
23783         (libc_feholdsetround_ctx): Likewise.
23784         (libc_feresetround_ctx): Likewise.
23785         (libc_feholdexcept_setroundl_ctx): Likewise.
23786         (libc_feupdateenvl_ctx): Likewise.
23787         (libc_feholdsetroundl_ctx): Likewise.
23788         (libc_feresetroundl_ctx): Likewise.
23789         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
23790         (libc_feresetround_53bit_ctx): Likewise.
23791
23792 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
23793
23794         * locale/iso-639.def: Convert to UTF-8.
23795
23796 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
23797
23798         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
23799         (EXCEPTION_TESTS_double): Likewise.
23800         (EXCEPTION_TESTS_long_double): Likewise.
23801         (EXCEPTION_TESTS): Likewise.
23802         * math/libm-test.inc (test_exceptions): Only test exceptions if
23803         EXCEPTION_TESTS (FLOAT).
23804
23805 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
23806
23807         * benchtests/Makefile (string-bench): Add strcpy_chk and
23808         stpcpy_chk.
23809         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
23810         * benchtests/bench-stpcpy_chk.c: New file.
23811         * benchtests/bench-strcpy_chk-ifunc.c: New file.
23812         * benchtests/bench-strcpy_chk.c: New file.
23813         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
23814         code.
23815         (do_test): Likewise.
23816
23817 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
23818
23819         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
23820         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
23821         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
23822         with tabs where appropriate.
23823         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
23824         dl-procinfo.h.
23825         [PPC_PLATFORM_PPC440]: Likewise.
23826         [PPC_PLATFORM_PPC464]: Likewise.
23827         [PPC_PLATFORM_PPC476]: Likewise.
23828         (_dl_string_platform): Add support for detecting ppc405, ppc440,
23829         ppc464, and ppc476 platform strings merging from ports/
23830         dl-procinfo.h.
23831
23832 2013-06-11  Andreas Schwab  <schwab@suse.de>
23833
23834         [BZ #14991]
23835         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
23836         (from_ucs4_idx): Regenerate.
23837         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
23838         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
23839         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
23840         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
23841         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
23842         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
23843         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
23844         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
23845         from FROM_LOOP and TO_LOOP specific macros.
23846         (BODY): Handle combining characters.
23847         * iconvdata/BIG5HKSCS.irreversible: Update.
23848         * iconvdata/BIG5HKSCS.precomposed: New file.
23849         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
23850         characters.
23851         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
23852
23853 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
23854
23855         * include/sys/time.h: Fix indentation and add copyright header.
23856
23857         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
23858         (do_test): Likewise.
23859         * string/test-memchr.c (do_one_test): Likewise.
23860         (do_test): Likewise.
23861         * string/test-memcmp.c (do_one_test): Likewise.
23862         (do_test): Likewise.
23863         * string/test-memcpy.c (do_one_test): Likewise.
23864         (do_test): Likewise.
23865         * string/test-memmem.c (do_one_test): Likewise.
23866         (do_test): Likewise.
23867         (do_random_tests): Likewise.
23868         * string/test-memmove.c (do_one_test): Likewise.
23869         (do_test): Likewise.
23870         * string/test-memset.c (do_one_test): Likewise.
23871         (do_test): Likewise.
23872         * string/test-rawmemchr.c (do_one_test): Likewise.
23873         (do_test): Likewise.
23874         * string/test-strcasecmp.c (do_one_test): Likewise.
23875         (do_test): Likewise.
23876         * string/test-strcasestr.c (do_one_test): Likewise.
23877         (do_test): Likewise.
23878         * string/test-strcat.c (do_one_test): Likewise.
23879         (do_test): Likewise.
23880         * string/test-strchr.c (do_one_test): Likewise.
23881         (do_test): Likewise.
23882         * string/test-strcmp.c (do_one_test): Likewise.
23883         (do_test): Likewise.
23884         * string/test-strcpy.c (do_one_test): Likewise.
23885         (do_test): Likewise.
23886         * string/test-string.h: Likewise.
23887         (test_init): Likewise.
23888         * string/test-strlen.c (do_one_test): Likewise.
23889         (do_test): Likewise.
23890         * string/test-strncasecmp.c (do_one_test): Likewise.
23891         (do_test): Likewise.
23892         * string/test-strncat.c (do_one_test): Likewise.
23893         (do_test): Likewise.
23894         * string/test-strncmp.c (do_one_test): Likewise.
23895         (do_test_limit): Likewise.
23896         (do_test): Likewise.
23897         * string/test-strncpy.c (do_one_test): Likewise.
23898         (do_test): Likewise.
23899         * string/test-strnlen.c (do_one_test): Likewise.
23900         (do_test): Likewise.
23901         * string/test-strpbrk.c (do_one_test): Likewise.
23902         (do_test): Likewise.
23903         * string/test-strrchr.c (do_one_test): Likewise.
23904         (do_test): Likewise.
23905         * string/test-strspn.c (do_one_test): Likewise.
23906         (do_test): Likewise.
23907         * string/test-strstr.c (do_one_test): Likewise.
23908         (do_test): Likewise.
23909
23910         * benchtests/Makefile (string-bench): Add string benchmarks.
23911         * benchtests/bench-bcopy-ifunc.c: New file.
23912         * benchtests/bench-bcopy.c: New file.
23913         * benchtests/bench-bzero-ifunc.c: New file.
23914         * benchtests/bench-bzero.c: New file.
23915         * benchtests/bench-memccpy-ifunc.c: New file.
23916         * benchtests/bench-memccpy.c: New file.
23917         * benchtests/bench-memchr-ifunc.c: New file.
23918         * benchtests/bench-memchr.c: New file.
23919         * benchtests/bench-memcmp-ifunc.c: New file.
23920         * benchtests/bench-memcmp.c: New file.
23921         * benchtests/bench-memmem-ifunc.c: New file.
23922         * benchtests/bench-memmem.c: New file.
23923         * benchtests/bench-memmove-ifunc.c: New file.
23924         * benchtests/bench-memmove.c: New file.
23925         * benchtests/bench-mempcpy-ifunc.c: New file.
23926         * benchtests/bench-mempcpy.c: New file.
23927         * benchtests/bench-memset-ifunc.c: New file.
23928         * benchtests/bench-memset.c: New file.
23929         * benchtests/bench-rawmemchr-ifunc.c: New file.
23930         * benchtests/bench-rawmemchr.c: New file.
23931         * benchtests/bench-stpcpy-ifunc.c: New file.
23932         * benchtests/bench-stpcpy.c: New file.
23933         * benchtests/bench-stpncpy-ifunc.c: New file.
23934         * benchtests/bench-stpncpy.c: New file.
23935         * benchtests/bench-strcasecmp-ifunc.c: New file.
23936         * benchtests/bench-strcasecmp.c: New file.
23937         * benchtests/bench-strcasestr-ifunc.c: New file.
23938         * benchtests/bench-strcasestr.c: New file.
23939         * benchtests/bench-strcat-ifunc.c: New file.
23940         * benchtests/bench-strcat.c: New file.
23941         * benchtests/bench-strchr-ifunc.c: New file.
23942         * benchtests/bench-strchr.c: New file.
23943         * benchtests/bench-strchrnul-ifunc.c: New file.
23944         * benchtests/bench-strchrnul.c: New file.
23945         * benchtests/bench-strcmp-ifunc.c: New file.
23946         * benchtests/bench-strcmp.c: New file.
23947         * benchtests/bench-strcpy-ifunc.c: New file.
23948         * benchtests/bench-strcpy.c: New file.
23949         * benchtests/bench-strcspn-ifunc.c: New file.
23950         * benchtests/bench-strcspn.c: New file.
23951         * benchtests/bench-strlen-ifunc.c: New file.
23952         * benchtests/bench-strlen.c: New file.
23953         * benchtests/bench-strncasecmp-ifunc.c: New file.
23954         * benchtests/bench-strncasecmp.c: New file.
23955         * benchtests/bench-strncat-ifunc.c: New file.
23956         * benchtests/bench-strncat.c: New file.
23957         * benchtests/bench-strncmp-ifunc.c: New file.
23958         * benchtests/bench-strncmp.c: New file.
23959         * benchtests/bench-strncpy-ifunc.c: New file.
23960         * benchtests/bench-strncpy.c: New file.
23961         * benchtests/bench-strnlen-ifunc.c: New file.
23962         * benchtests/bench-strnlen.c: New file.
23963         * benchtests/bench-strpbrk-ifunc.c: New file.
23964         * benchtests/bench-strpbrk.c: New file.
23965         * benchtests/bench-strrchr-ifunc.c: New file.
23966         * benchtests/bench-strrchr.c: New file.
23967         * benchtests/bench-strspn-ifunc.c: New file.
23968         * benchtests/bench-strspn.c: New file.
23969         * benchtests/bench-strstr-ifunc.c: New file.
23970         * benchtests/bench-strstr.c: New file.
23971
23972         * benchtests/Makefile: Disable parallel execution of targets.
23973         (string-bench): Add memcpy.
23974         (benchset): New variable to store a list of benchmark sets.
23975         (bench-func): Renamed from bench.
23976         (bench-set): New target.
23977         (bench): Depend on bench-func and bench-set.
23978         * benchtests/README: Add section on benchmark sets.
23979         * benchtests/bench-memcpy-ifunc.c: New file.
23980         * benchtests/bench-memcpy.c: New file.
23981         * benchtests/bench-string.h: New file.
23982
23983 2013-06-11  Andreas Schwab  <schwab@suse.de>
23984
23985         [BZ #15577]
23986         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
23987         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
23988         values in the triple.
23989         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
23990         terminator in the group key.
23991
23992 2013-06-11  Andreas Jaeger  <aj@suse.de>
23993
23994         * po/zh_TW.po: Update Chinese (traditional) translation from
23995         translation project.
23996
23997 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
23998
23999         * include/time.h (__clock_gettime): Add libc_hidden_proto.
24000         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
24001         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
24002         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24003         (clock_getcpuclockid): Likewise.
24004         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
24005         Add weak_alias and libc_hidden_def.
24006         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
24007         * rt/clock_gettime.c (clock_gettime): Rename to
24008         __clock_gettime.  Add weak_alias and libc_hidden_def.
24009         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
24010         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
24011         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
24012         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
24013         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
24014         Likewise.
24015         * rt/clock_settime.c (clock_settime): Rename to
24016         __clock_settime.  Add weak_alias and libc_hidden_def.
24017         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
24018
24019 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
24020
24021         * mach/err_boot.sub: Remove trailing whitespace.
24022         * mach/err_ipc.sub: Likewise.
24023         * mach/err_mach.sub: Likewise.
24024
24025         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
24026         (ROUNDING_TESTS_double): Likewise.
24027         (ROUNDING_TESTS_long_double): Likewise.
24028         (ROUNDING_TESTS): Likewise.
24029         * math/libm-test.inc: Include <math-tests.h>.
24030         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
24031         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
24032         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
24033         (IF_ROUND_INIT_FE_UPWARD): Likewise.
24034
24035 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
24036
24037         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
24038         of assigning.
24039
24040 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
24041
24042         * sysdeps/gnu/errlist.awk: Do not generate space at end of
24043         otherwise empty TRANS lines.
24044         * sysdeps/gnu/errlist.c: Regenerated.
24045
24046         * catgets/gencat.c (error_print): Use (void) in function
24047         definition.
24048         * crypt/crypt_util.c (__init_des): Likewise.
24049         * crypt/speeds.c (Stop): Likewise.
24050         (main): Likewise.
24051         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
24052         * inet/ruserpass.c (token): Likewise.
24053         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
24054         * intl/localealias.c (extend_alias_table): Likewise.
24055         * intl/plural-exp.c (init_germanic_plural): Likewise.
24056         * libio/fcloseall.c (__fcloseall): Likewise.
24057         * libio/genops.c (_IO_flush_all): Likewise.
24058         (_IO_flush_all_linebuffered): Likewise.
24059         (_IO_cleanup): Likewise.
24060         (_IO_iter_begin): Likewise.
24061         (_IO_iter_end): Likewise.
24062         (_IO_list_lock): Likewise.
24063         (_IO_list_unlock): Likewise.
24064         (_IO_list_resetlock): Likewise.
24065         * libio/getchar.c (getchar): Likewise.
24066         * libio/getchar_u.c (getchar_unlocked): Likewise.
24067         * libio/getwchar.c (getwchar): Likewise.
24068         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
24069         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
24070         * login/getpt.c (__getpt): Likewise.
24071         * login/tst-utmp.c (main): Likewise.
24072         * malloc/hooks.c (__malloc_check_init): Likewise.
24073         * malloc/malloc.c (__malloc_stats): Likewise.
24074         * malloc/mtrace.c (tr_break): Likewise.
24075         (mtrace): Likewise.
24076         (muntrace): Likewise.
24077         * misc/fstab.c (endfsent): Likewise.
24078         * misc/getclktck.c (__getclktck): Likewise.
24079         * misc/getdtsz.c (__getdtablesize): Likewise.
24080         * misc/gethostid.c (gethostid): Likewise.
24081         * misc/getpagesize.c (__getpagesize): Likewise.
24082         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
24083         (__get_nprocs): Likewise.
24084         (__get_phys_pages): Likewise.
24085         (__get_avphys_pages): Likewise.
24086         * misc/getttyent.c (getttyent): Likewise.
24087         (setttyent): Likewise.
24088         (endttyent): Likewise.
24089         * misc/getusershell.c (getusershell): Likewise.
24090         (endusershell): Likewise.
24091         (setusershell): Likewise.
24092         (initshells): Likewise.
24093         * misc/hsearch.c (__hdestroy): Likewise.
24094         * misc/sync.c (sync): Likewise.
24095         * misc/syslog.c (closelog_internal): Likewise.
24096         (closelog): Likewise.
24097         * misc/ttyslot.c (ttyslot): Likewise.
24098         * misc/vhangup.c (vhangup): Likewise.
24099         * posix/fork.c (__fork): Likewise.
24100         * posix/getegid.c (__getegid): Likewise.
24101         * posix/geteuid.c (__geteuid): Likewise.
24102         * posix/getgid.c (__getgid): Likewise.
24103         * posix/getpid.c (__getpid): Likewise.
24104         * posix/getppid.c (__getppid): Likewise.
24105         * posix/getuid.c (__getuid): Likewise.
24106         * posix/pause.c (pause): Likewise.
24107         * posix/setpgrp.c (setpgrp): Likewise.
24108         * posix/setsid.c (__setsid): Likewise.
24109         * posix/test-vfork.c (noop): Likewise.
24110         * resolv/gethnamaddr.c (_endhtent): Likewise.
24111         (_gethtent): Likewise.
24112         (ht_endhostent): Likewise.
24113         (gethostent): Likewise.
24114         (dns_service): Likewise.
24115         * stdlib/drand48.c (drand48): Likewise.
24116         * stdlib/lrand48.c (lrand48): Likewise.
24117         * stdlib/mrand48.c (mrand48): Likewise.
24118         * stdlib/rand.c (rand): Likewise.
24119         * stdlib/random.c (__random): Likewise.
24120         * stdlib/setenv.c (clearenv): Likewise.
24121         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
24122         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
24123         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
24124         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
24125         (__get_nprocs): Likewise.
24126         (__get_phys_pages): Likewise.
24127         (__get_avphys_pages): Likewise.
24128         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
24129         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
24130         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
24131         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
24132         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
24133         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
24134         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
24135         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
24136         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
24137         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
24138         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
24139         * sysdeps/mach/hurd/sync.c (sync): Likewise.
24140         * sysdeps/posix/clock.c (clock): Likewise.
24141         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
24142         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
24143         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
24144         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
24145         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
24146         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
24147         (__get_nprocs_conf): Likewise.
24148         (__get_phys_pages): Likewise.
24149         (__get_avphys_pages): Likewise.
24150         * time/clock.c (clock): Likewise.
24151         * time/tzset.c (__tzname_max): Likewise.
24152
24153 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
24154
24155         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
24156         (__bswap_32): Do not use "register".
24157         * crypt/crypt.c (_ufc_doit_r): Likewise.
24158         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
24159         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
24160         * gmon/gmon.c (__monstartup): Likewise.
24161         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
24162         * hurd/hurdmalloc.c (more_memory): Likewise.
24163         (malloc): Likewise.
24164         (free): Likewise.
24165         (realloc): Likewise.
24166         (malloc_fork_prepare): Likewise.
24167         (malloc_fork_parent): Likewise.
24168         (malloc_fork_child): Likewise.
24169         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
24170         (_svcauth_des): Likewise.
24171         * inet/inet_lnaof.c (inet_lnaof): Likewise.
24172         * inet/inet_net.c (inet_network): Likewise.
24173         * inet/inet_netof.c (inet_netof): Likewise.
24174         * inet/rcmd.c (__validuser2_sa): Likewise.
24175         * io/fts.c (fts_open): Likewise.
24176         (fts_load): Likewise.
24177         (fts_close): Likewise.
24178         (fts_read): Likewise.
24179         (fts_children): Likewise.
24180         (fts_build): Likewise.
24181         (fts_stat): Likewise.
24182         (fts_sort): Likewise.
24183         (fts_alloc): Likewise.
24184         (fts_lfree): Likewise.
24185         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
24186         (_IO_file_xsgetn): Likewise.
24187         (_IO_file_xsgetn_mmap): Likewise.
24188         * libio/iofopncook.c (_IO_cookie_read): Likewise.
24189         (_IO_cookie_write): Likewise.
24190         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
24191         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
24192         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
24193         * malloc/obstack.c (_obstack_begin): Likewise.
24194         (_obstack_begin_1): Likewise.
24195         (_obstack_newchunk): Likewise.
24196         (_obstack_allocated_p): Likewise.
24197         (obstack_free): Likewise.
24198         (_obstack_memory_used): Likewise.
24199         * misc/getttyent.c (getttynam): Likewise.
24200         (getttyent): Likewise.
24201         (skip): Likewise.
24202         (value): Likewise.
24203         * misc/getusershell.c (initshells): Likewise.
24204         * misc/syslog.c (__vsyslog_chk): Likewise.
24205         * misc/ttyslot.c (ttyslot): Likewise.
24206         * nis/nis_hash.c (__nis_hash): Likewise.
24207         * posix/fnmatch_loop.c (FCT): Likewise.
24208         * posix/getconf.c (print_all): Likewise.
24209         (main): Likewise.
24210         * posix/getopt.c (exchange): Likewise.
24211         * posix/glob.c (globfree): Likewise.
24212         (prefix_array): Likewise.
24213         (__glob_pattern_type): Likewise.
24214         * resolv/arpa/nameser.h (NS_GET16): Likewise.
24215         (NS_GET32): Likewise.
24216         (NS_PUT16): Likewise.
24217         (NS_PUT32): Likewise.
24218         * resolv/gethnamaddr.c (getanswer): Likewise.
24219         (gethostbyname2): Likewise.
24220         (gethostbyaddr): Likewise.
24221         (_gethtent): Likewise.
24222         (_gethtbyname2): Likewise.
24223         (_gethtbyaddr): Likewise.
24224         * resolv/ns_print.c (dst_s_get_int16): Likewise.
24225         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
24226         * resolv/res_init.c (__res_vinit): Likewise.
24227         (net_mask): Likewise.
24228         * resolv/res_mkquery.c (outchar): Likewise.
24229         (PRINT): Likewise.
24230         * stdio-common/printf_fp.c (outchar): Likewise.
24231         (PRINT): Likewise.
24232         * stdio-common/printf_fphex.c (outchar): Likewise.
24233         (PRINT): Likewise.
24234         * stdio-common/printf_size.c (outchar): Likewise.
24235         (PRINT): Likewise.
24236         * stdio-common/test_rdwr.c (main): Likewise.
24237         * stdio-common/tfformat.c (matches): Likewise.
24238         * stdio-common/vfprintf.c (outchar): Likewise.
24239         (printf_unknown): Likewise.
24240         (buffered_vfprintf): Likewise.
24241         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
24242         * stdio-common/xbug.c (AppendToBuffer): Likewise.
24243         (ReadFile): Likewise.
24244         * stdlib/qsort.c (SWAP): Likewise.
24245         (_quicksort): Likewise.
24246         * stdlib/setenv.c (__add_to_environ): Likewise.
24247         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
24248         * stdlib/strtol_l.c (__strtol_l): Likewise.
24249         * stdlib/tst-strtod.c (main): Likewise.
24250         * stdlib/tst-strtol.c (main): Likewise.
24251         * stdlib/tst-strtoll.c (main): Likewise.
24252         * string/bits/string2.h (__strcmp_cc): Likewise.
24253         (__strcmp_cg): Likewise.
24254         (__strcspn_c1): Likewise.
24255         (__strcspn_c2): Likewise.
24256         (__strcspn_c3): Likewise.
24257         (__strspn_c1): Likewise.
24258         (__strspn_c2): Likewise.
24259         (__strspn_c3): Likewise.
24260         (__strsep_1c): Likewise.
24261         (__strsep_2c): Likewise.
24262         (__strsep_3c): Likewise.
24263         * string/memccpy.c (__memccpy): Likewise.
24264         * string/stpcpy.c (__stpcpy): Likewise.
24265         * string/strcmp.c (strcmp): Likewise.
24266         * string/strrchr.c (strrchr): Likewise.
24267         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
24268         Likewise.
24269         * sysdeps/mach/hurd/getcwd.c
24270         (_hurd_canonicalize_directory_name_internal): Likewise.
24271         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
24272         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
24273         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
24274         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
24275         Likewise, in both definitions.
24276         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
24277         definitions.
24278         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
24279         64] (__bswap_64): Likewise.
24280         * time/test_time.c (main): Likewise.
24281         * time/tzfile.c (__tzfile_read): Likewise.
24282         (__tzfile_compute): Likewise.
24283         * time/tzset.c (__tzset_parse_tz): Likewise.
24284         (tzset_internal): Likewise.
24285         (compute_change): Likewise.
24286         * wcsmbs/wcscat.c (__wcscat): Likewise.
24287         * wcsmbs/wcschr.c (wcschr): Likewise.
24288         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
24289         * wcsmbs/wcscspn.c (wcscspn): Likewise.
24290         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
24291         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
24292         * wcsmbs/wcsspn.c (wcsspn): Likewise.
24293         * wcsmbs/wcsstr.c (wcsstr): Likewise.
24294         * wcsmbs/wmemchr.c (wmemchr): Likewise.
24295         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
24296         * wcsmbs/wmemset.c (wmemset): Likewise.
24297
24298 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
24299
24300         * scripts/config.guess: Update to version 2013-05-16.
24301         * scripts/config.sub: Update to version 2013-04-24.
24302         * scripts/install-sh: Update to version 2011-11-20.07.
24303         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
24304         * scripts/move-if-change: Update to version 2012-01-06 07:23.
24305
24306 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
24307
24308         * debug/fgetws_u_chk.c: Fix leading whitespaces.
24309         * elf/sln.c: Likewise.
24310         * hurd/hurd/ioctl.h: Likewise.
24311         * hurd/hurdmalloc.c: Likewise.
24312         * hurd/xattr.c: Likewise.
24313         * include/shlib-compat.h: Likewise.
24314         * inet/ruserpass.c: Likewise.
24315         * libio/iofgets_u.c: Likewise.
24316         * libio/iofgetws_u.c: Likewise.
24317         * locale/programs/ld-identification.c: Likewise.
24318         * locale/programs/ld-time.c: Likewise.
24319         * mach/msg-destroy.c: Likewise.
24320         * nss/nss_files/files-netgrp.c: Likewise.
24321         * resolv/res_data.c: Likewise.
24322         * soft-fp/op-1.h: Likewise.
24323         * soft-fp/op-2.h: Likewise.
24324         * soft-fp/op-4.h: Likewise.
24325         * soft-fp/op-common.h: Likewise.
24326         * stdio-common/printf_fphex.c: Likewise.
24327         * stdlib/strtod_l.c: Likewise.
24328         * sunrpc/rpc/clnt.h: Likewise.
24329         * sysdeps/generic/framestate.c: Likewise.
24330         * sysdeps/i386/bsd-_setjmp.S: Likewise.
24331         * sysdeps/i386/bsd-setjmp.S: Likewise.
24332         * sysdeps/i386/__longjmp.S: Likewise.
24333         * sysdeps/i386/setjmp.S: Likewise.
24334         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24335         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24336         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24337         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
24338         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24339         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
24340         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24341         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24342         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24343         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
24344         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
24345         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
24346         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
24347         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
24348         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
24349         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24350         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
24351         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
24352         * sysdeps/ieee754/support.c: Likewise.
24353         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24354         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
24355         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
24356         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
24357         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
24358         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
24359         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
24360         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
24361         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
24362         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
24363         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
24364         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
24365         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
24366         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
24367         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
24368         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
24369         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
24370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
24371
24372 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
24373
24374         * posix/transbug.c: Remove executable mode.
24375
24376 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
24377
24378         * crypt/speeds.c: Remove trailing whitespace.
24379         * dlfcn/default.c: Likewise.
24380         * elf/ifuncdep2.c: Likewise.
24381         * elf/ifuncmain1.c: Likewise.
24382         * elf/ifuncmain1vis.c: Likewise.
24383         * elf/testobj.h: Likewise.
24384         * elf/tst-stackguard1.c: Likewise.
24385         * gmon/sys/gmon.h: Likewise.
24386         * hurd/hurdmsg.c: Likewise.
24387         * hurd/new-fd.c: Likewise.
24388         * hurd/ports-get.c: Likewise.
24389         * iconvdata/ibm1008_420.c: Likewise.
24390         * inet/tst-getni1.c: Likewise.
24391         * inet/tst-getni2.c: Likewise.
24392         * libio/ioungetc.c: Likewise.
24393         * libio/wfiledoalloc.c: Likewise.
24394         * manual/libm-err-tab.pl: Likewise.
24395         * math/w_dremf.c: Likewise.
24396         * misc/ftruncate.c: Likewise.
24397         * posix/bug-glob2.c: Likewise.
24398         * posix/tst-pcre.c: Likewise.
24399         * posix/wait4.c: Likewise.
24400         * resolv/README: Likewise.
24401         * resolv/res_debug.h: Likewise.
24402         * resolv/tst-inet_ntop.c: Likewise.
24403         * setjmp/bug269-setjmp.c: Likewise.
24404         * soft-fp/extended.h: Likewise.
24405         * soft-fp/op-1.h: Likewise.
24406         * soft-fp/op-2.h: Likewise.
24407         * soft-fp/op-4.h: Likewise.
24408         * soft-fp/op-8.h: Likewise.
24409         * soft-fp/testit.c: Likewise.
24410         * stdio-common/bug16.c: Likewise.
24411         * stdlib/random.c: Likewise.
24412         * sunrpc/rpcsvc/rquota.x: Likewise.
24413         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
24414         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24415         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24416         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24417         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24418         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24419         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24420         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24421         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24422         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24423         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24424         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
24425         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24426         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
24427         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24428         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
24429         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
24430         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24431         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
24432         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24433         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24434         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24435         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
24436         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
24437         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
24438         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
24439         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
24440         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
24441         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24442         * sysdeps/ieee754/s_lib_version.c: Likewise.
24443         * sysdeps/mach/hurd/check_fds.c: Likewise.
24444         * sysdeps/mach/hurd/getsockname.c: Likewise.
24445         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
24446         * sysdeps/mach/hurd/recvfrom.c: Likewise.
24447         * sysdeps/powerpc/bits/link.h: Likewise.
24448         * sysdeps/powerpc/dl-procinfo.c: Likewise.
24449         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
24450         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
24451         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
24452         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
24453         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
24454         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
24455         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
24456         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
24457         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
24458         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
24459         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
24460         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
24461         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
24462         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
24463         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
24464         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
24465         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
24466         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
24467         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
24468         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
24469         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
24470         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24471         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
24472         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
24473         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
24474         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
24475         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
24476         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
24477         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
24478         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
24479         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
24480         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24481         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
24482         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
24483         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
24484         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
24485         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
24486         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
24487         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
24488         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
24489         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
24490         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
24491         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
24492         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
24493         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
24494         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
24495         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
24496         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
24497         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
24498         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24499         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24500         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24501         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24502         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
24503         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
24504         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
24505         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24506         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
24507         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
24508         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
24509         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
24510         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
24511         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24512         * sysdeps/powerpc/sysdep.h: Likewise.
24513         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
24514         * sysdeps/s390/s390-64/sub_n.S: Likewise.
24515         * sysdeps/sh/dl-trampoline.S: Likewise.
24516         * sysdeps/sh/memset.S: Likewise.
24517         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
24518         * sysdeps/sh/strlen.S: Likewise.
24519         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
24520         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
24521         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
24522         * sysdeps/sparc/sparc32/rem.S: Likewise.
24523         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
24524         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
24525         * sysdeps/sparc/sparc32/strchr.S: Likewise.
24526         * sysdeps/sparc/sparc32/udiv.S: Likewise.
24527         * sysdeps/sparc/sparc32/urem.S: Likewise.
24528         * sysdeps/sparc/sparc64/add_n.S: Likewise.
24529         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
24530         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
24531         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
24532         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
24533         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
24534         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
24535         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
24536         * sysdeps/unix/bsd/times.c: Likewise.
24537         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
24538         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
24539         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
24540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
24541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
24542         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
24543         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
24544         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
24545         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
24546         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
24547         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
24548         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
24549         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
24550         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
24551         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
24552         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
24553         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
24554         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
24555         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
24556         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
24557         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
24558         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
24559         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
24560         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
24561         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
24562         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
24563         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
24564         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24565         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
24566         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
24567         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
24568         * sysdeps/x86_64/strcspn.S: Likewise.
24569
24570 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
24571
24572         * locale/C-translit.h: Revert #include <stdint.h> because this is a
24573         generated file.  Regenerate properly from gen-translit.pl.
24574         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
24575         locale/C-translit.h.
24576
24577 2013-06-05  Andreas Schwab  <schwab@suse.de>
24578
24579         [BZ #15100]
24580         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
24581         week as 6 instead of -1.
24582         * time/tst-strptime.c (day_tests): Add test case.
24583
24584 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
24585
24586         * sysdeps/generic/math_private.h
24587         (libc_feholdexcept_setround_53bit): Replace with
24588         libc_feholdsetround_53bit.
24589         (libc_feupdateenv_53bit): Replace with
24590         libc_feresetround_53bit.
24591         (SET_RESTORE_ROUND_53BIT): Adjust.
24592
24593 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
24594
24595         * string/test-strchrnul.c: Add copyright header.
24596
24597         * posix/tst-getaddrinfo4.c: Increase test timeout.
24598
24599 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
24600
24601         [BZ #15536]
24602         * math/libm-test.inc (MAX_EXP): Remove
24603         (MIN_EXP): Define.
24604         (ulp): Use MIN_EXP - MANT_DIG.
24605         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
24606
24607 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
24608
24609         * po/be.po: Revert last change.
24610         * po/zh_CN.po: Likewise.
24611         * po/header.pot: Likewise.
24612
24613 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
24614
24615         * Makefile ($(common-objpfx)linkobj/libc.so): Define
24616         link-libc-deps to empty as target-specific variable.
24617         * Makerules (link-libc-args): New variable.
24618         (libc-for-link): Likewise.
24619         (link-libc-deps): Likewise.
24620         (lib%.so): Depend on $(link-libc-deps).  Link with
24621         $(link-libc-args).
24622         (build-module): Link with $(link-libc-args).
24623         (build-module-asneeded): Likewise.
24624         (build-module-helper-objlist): Filter out $(link-libc-deps) from
24625         list of objects.
24626         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
24627         target-specific variable.
24628         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
24629         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
24630         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
24631         libc.
24632         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
24633         libc and ld.so.
24634         ($(objpfx)libpcprofile.so): Likewise.
24635         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
24636         libc_nonshared.a.
24637         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
24638         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
24639         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
24640         $(link-libc-deps).
24641         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
24642         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
24643         * login/Makefile ($(objpfx)libutil.so): Likewise.
24644         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
24645         * math/Makefile ($(objpfx)libm.so): Likewise.
24646         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
24647         $(objpfx)libnsl.so): Define libc-for-link as target-specific
24648         variable instead of depending directly on libc.
24649         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
24650         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
24651         $(link-libc-deps).
24652         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
24653         libc.
24654         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
24655         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
24656         ($(objpfx)libanl.so): Likewise.
24657         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
24658         ld.so.
24659         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
24660         $(link-libc-deps).
24661         * sysdeps/i386/fpu/Makefile: Remove file.
24662         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
24663         ($(objpfx)libm.so): Remove dependency on ld.so.
24664
24665 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
24666
24667         [BZ # 15553]
24668         * nis/yp_xdr.c (XDRMAXNAME): Define.
24669         (XDRMAXRECORD): Define.
24670         (xdr_domainname): Use XDRMAXNAME.
24671         (xdr_mapname): Likewise.
24672         (xdr_peername): Likewise.
24673         (xdr_keydat): Use XDRMAXRECORD.
24674         (xdr_valdat): Likewise.
24675
24676 2013-05-30  Jeff Law  <law@redhat.com>
24677
24678         [BZ #14256]
24679         * manual/errno.texi (ESTALE): Update to account for more than
24680         just NFS file systems.
24681         * sysdeps/gnu/errlist.c: Regenerated.
24682
24683 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
24684
24685         [BZ #15465]
24686         * elf/Makefile (tests): Add tst-null-argv.
24687         (modules-names):  Add tst-null-argv-lib.
24688         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
24689         (tst-null-argv-ENV): Set environment for tst-null-argv.
24690         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
24691         (RTLD_PROGNAME): New macro.
24692         * elf/tst-null-argv.c: New test case.
24693         * elf/tst-null-argv-lib.c: Library for test case.
24694         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
24695         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
24696         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
24697         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
24698         * elf/dl-init.c (call_init): Likewise.
24699         (_dl_init): Likewise.
24700         * elf/dl-load.c (print_search_path): Likewise.
24701         (_dl_map_object): Likewise.
24702         * elf/dl-lookup.c (do_lookup_x): Likewise.
24703         (add_dependency): Likewise.
24704         (_dl_lookup_symbol_x): Likewise.
24705         (_dl_debug_bindings): Likewise.
24706         * elf/dl-open.c (_dl_show_scope): Likewise.
24707         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
24708         * elf/dl-version.c (match_symbol): Likewise.
24709         (_dl_check_map_versions): Likewise.
24710         * elf/rtld.c (dl_main): Likewise.
24711         (print_unresolved): Use RTLD_PROGNAME.
24712         (print_missing_version): Likewise.
24713         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
24714         (elf_machine_rela): Likewise.
24715         * sysdeps/powerpc/powerpc32/dl-machine.c
24716         (__process_machine_rela): Likewise.
24717         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
24718         Likewise.
24719         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
24720         Likewise.
24721         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
24722         Likewise.
24723         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
24724         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
24725         Likewise.
24726         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
24727         Likewise.
24728         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
24729
24730 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
24731
24732         * po/be.po: Add descriptive title.
24733         * po/zh_CN.po: Likewise.
24734         * po/header.pot: Likewise.
24735
24736 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
24737
24738         * locale/programs/locarchive.c (create_archive): Inlucde fname in
24739         error message.
24740         (enlarge_archive): Likewise.
24741
24742 2013-05-28  Ben North  <ben@redfrontdoor.org>
24743
24744         * manual/arith.texi (frexp): It is the magnitude of the return
24745         value which lies in [0.5, 1), not the return value itself.
24746
24747 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24748
24749         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24750
24751 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
24752
24753         * stdio-common/bug26.c (main): Correct fscanf template.
24754
24755         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
24756         declare _dl_skip_args.
24757
24758         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
24759         Don't declare.
24760
24761         * manual/platform.texi: Add missing @end deftypefun.
24762
24763 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
24764
24765         [BZ #15529]
24766         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
24767         bit of mantissa of 2^16382.
24768         * math/libm-test.inc (hypot_test_data): Add more tests.
24769
24770         * math/libm-test.inc: Add drem and pow10 to list of tested
24771         functions.
24772         (pow10_test): New function.
24773         (drem_test): Likewise.
24774         (drem_test_tonearest): Likewise.
24775         (drem_test_towardzero): Likewise.
24776         (drem_test_downward): Likewise.
24777         (drem_test_upward): Likewise.
24778         (main): Call the new functions.
24779
24780         * math/libm-test.inc (finite_test_data): Remove.
24781         (finite_test): Run tests from isfinite_test_data.
24782         (gamma_test_data): Remove.
24783         (gamma_test): Run tests from lgamma_test_data.
24784         * sysdeps/i386/fpu/libm-test-ulps: Update.
24785         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24786
24787 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24788
24789         * manual/platform.texi: Add PowerPC PPR function set documentation.
24790         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
24791         implementation.
24792
24793 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
24794
24795         * math/libm-test.inc (MAX_EXP): Define.
24796         (ULPDIFF): Define.
24797         (ulp): New function.
24798         (check_float_internal): Use ULPDIFF.
24799         (cpow_test): Disable failing test.
24800         (check_ulp): Test ulp() implemetnation.
24801         (main): Call check_ulp before starting tests.
24802
24803 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
24804
24805         * math/gen-libm-test.pl (generate_testfile): Do not handle
24806         START_DATA and END_DATA.
24807         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
24808         END_DATA.
24809         (acos_tonearest_test_data): Likewise.
24810         (acos_towardzero_test_data): Likewise.
24811         (acos_downward_test_data): Likewise.
24812         (acos_upward_test_data): Likewise.
24813         (acosh_test_data): Likewise.
24814         (asin_test_data): Likewise.
24815         (asin_tonearest_test_data): Likewise.
24816         (asin_towardzero_test_data): Likewise.
24817         (asin_downward_test_data): Likewise.
24818         (asin_upward_test_data): Likewise.
24819         (asinh_test_data): Likewise.
24820         (atan_test_data): Likewise.
24821         (atanh_test_data): Likewise.
24822         (atan2_test_data): Likewise.
24823         (cabs_test_data): Likewise.
24824         (cacos_test_data): Likewise.
24825         (cacosh_test_data): Likewise.
24826         (carg_test_data): Likewise.
24827         (casin_test_data): Likewise.
24828         (casinh_test_data): Likewise.
24829         (catan_test_data): Likewise.
24830         (catanh_test_data): Likewise.
24831         (cbrt_test_data): Likewise.
24832         (ccos_test_data): Likewise.
24833         (ccosh_test_data): Likewise.
24834         (ceil_test_data): Likewise.
24835         (cexp_test_data): Likewise.
24836         (cimag_test_data): Likewise.
24837         (clog_test_data): Likewise.
24838         (clog10_test_data): Likewise.
24839         (conj_test_data): Likewise.
24840         (copysign_test_data): Likewise.
24841         (cos_test_data): Likewise.
24842         (cos_tonearest_test_data): Likewise.
24843         (cos_towardzero_test_data): Likewise.
24844         (cos_downward_test_data): Likewise.
24845         (cos_upward_test_data): Likewise.
24846         (cosh_test_data): Likewise.
24847         (cosh_tonearest_test_data): Likewise.
24848         (cosh_towardzero_test_data): Likewise.
24849         (cosh_downward_test_data): Likewise.
24850         (cosh_upward_test_data): Likewise.
24851         (cpow_test_data): Likewise.
24852         (cproj_test_data): Likewise.
24853         (creal_test_data): Likewise.
24854         (csin_test_data): Likewise.
24855         (csinh_test_data): Likewise.
24856         (csqrt_test_data): Likewise.
24857         (ctan_test_data): Likewise.
24858         (ctan_tonearest_test_data): Likewise.
24859         (ctan_towardzero_test_data): Likewise.
24860         (ctan_downward_test_data): Likewise.
24861         (ctan_upward_test_data): Likewise.
24862         (ctanh_test_data): Likewise.
24863         (ctanh_tonearest_test_data): Likewise.
24864         (ctanh_towardzero_test_data): Likewise.
24865         (ctanh_downward_test_data): Likewise.
24866         (ctanh_upward_test_data): Likewise.
24867         (erf_test_data): Likewise.
24868         (erfc_test_data): Likewise.
24869         (exp_test_data): Likewise.
24870         (exp_tonearest_test_data): Likewise.
24871         (exp_towardzero_test_data): Likewise.
24872         (exp_downward_test_data): Likewise.
24873         (exp_upward_test_data): Likewise.
24874         (exp10_test_data): Likewise.
24875         (exp2_test_data): Likewise.
24876         (expm1_test_data): Likewise.
24877         (fabs_test_data): Likewise.
24878         (fdim_test_data): Likewise.
24879         (finite_test_data): Likewise.
24880         (floor_test_data): Likewise.
24881         (fma_test_data): Likewise.
24882         (fma_towardzero_test_data): Likewise.
24883         (fma_downward_test_data): Likewise.
24884         (fma_upward_test_data): Likewise.
24885         (fmax_test_data): Likewise.
24886         (fmin_test_data): Likewise.
24887         (fmod_test_data): Likewise.
24888         (fpclassify_test_data): Likewise.
24889         (frexp_test_data): Likewise.
24890         (gamma_test_data): Likewise.
24891         (hypot_test_data): Likewise.
24892         (ilogb_test_data): Likewise.
24893         (isfinite_test_data): Likewise.
24894         (isgreater_test_data): Likewise.
24895         (isgreaterequal_test_data): Likewise.
24896         (isinf_test_data): Likewise.
24897         (isless_test_data): Likewise.
24898         (islessequal_test_data): Likewise.
24899         (islessgreater_test_data): Likewise.
24900         (isnan_test_data): Likewise.
24901         (isnormal_test_data): Likewise.
24902         (issignaling_test_data): Likewise.
24903         (isunordered_test_data): Likewise.
24904         (j0_test_data): Likewise.
24905         (j1_test_data): Likewise.
24906         (jn_test_data): Likewise.
24907         (ldexp_test_data): Likewise.
24908         (lgamma_test_data): Likewise.
24909         (lrint_test_data): Likewise.
24910         (lrint_tonearest_test_data): Likewise.
24911         (lrint_towardzero_test_data): Likewise.
24912         (lrint_downward_test_data): Likewise.
24913         (lrint_upward_test_data): Likewise.
24914         (llrint_test_data): Likewise.
24915         (llrint_tonearest_test_data): Likewise.
24916         (llrint_towardzero_test_data): Likewise.
24917         (llrint_downward_test_data): Likewise.
24918         (llrint_upward_test_data): Likewise.
24919         (log_test_data): Likewise.
24920         (log10_test_data): Likewise.
24921         (log1p_test_data): Likewise.
24922         (log2_test_data): Likewise.
24923         (logb_test_data): Likewise.
24924         (logb_downward_test_data): Likewise.
24925         (lround_test_data): Likewise.
24926         (llround_test_data): Likewise.
24927         (modf_test_data): Likewise.
24928         (nearbyint_test_data): Likewise.
24929         (nextafter_test_data): Likewise.
24930         (nexttoward_test_data): Likewise.
24931         (pow_test_data): Likewise.
24932         (pow_tonearest_test_data): Likewise.
24933         (pow_towardzero_test_data): Likewise.
24934         (pow_downward_test_data): Likewise.
24935         (pow_upward_test_data): Likewise.
24936         (remainder_test_data): Likewise.
24937         (remainder_tonearest_test_data): Likewise.
24938         (remainder_towardzero_test_data): Likewise.
24939         (remainder_downward_test_data): Likewise.
24940         (remainder_upward_test_data): Likewise.
24941         (remquo_test_data): Likewise.
24942         (rint_test_data): Likewise.
24943         (rint_tonearest_test_data): Likewise.
24944         (rint_towardzero_test_data): Likewise.
24945         (rint_downward_test_data): Likewise.
24946         (rint_upward_test_data): Likewise.
24947         (round_test_data): Likewise.
24948         (scalb_test_data): Likewise.
24949         (scalbn_test_data): Likewise.
24950         (scalbln_test_data): Likewise.
24951         (signbit_test_data): Likewise.
24952         (sin_test_data): Likewise.
24953         (sin_tonearest_test_data): Likewise.
24954         (sin_towardzero_test_data): Likewise.
24955         (sin_downward_test_data): Likewise.
24956         (sin_upward_test_data): Likewise.
24957         (sincos_test_data): Likewise.
24958         (sinh_test_data): Likewise.
24959         (sinh_tonearest_test_data): Likewise.
24960         (sinh_towardzero_test_data): Likewise.
24961         (sinh_downward_test_data): Likewise.
24962         (sinh_upward_test_data): Likewise.
24963         (sqrt_test_data): Likewise.
24964         (tan_test_data): Likewise.
24965         (tan_tonearest_test_data): Likewise.
24966         (tan_towardzero_test_data): Likewise.
24967         (tan_downward_test_data): Likewise.
24968         (tan_upward_test_data): Likewise.
24969         (tanh_test_data): Likewise.
24970         (tgamma_test_data): Likewise.
24971         (trunc_test_data): Likewise.
24972         (y0_test_data): Likewise.
24973         (y1_test_data): Likewise.
24974         (yn_test_data): Likewise.
24975         (significand_test_data): Likewise.
24976
24977         * math/gen-libm-test.pl (@functions): Remove variable.
24978         (generate_testfile): Don't handle START and END lines.
24979         * math/libm-test.inc (START): New macro.
24980         (END): Likewise.
24981         (END_COMPLEX): Likewise.
24982         (acos_test): Use END macro without arguments.
24983         (acos_test_tonearest): Likewise.
24984         (acos_test_towardzero): Likewise.
24985         (acos_test_downward): Likewise.
24986         (acos_test_upward): Likewise.
24987         (acosh_test): Likewise.
24988         (asin_test): Likewise.
24989         (asin_test_tonearest): Likewise.
24990         (asin_test_towardzero): Likewise.
24991         (asin_test_downward): Likewise.
24992         (asin_test_upward): Likewise.
24993         (asinh_test): Likewise.
24994         (atan_test): Likewise.
24995         (atanh_test): Likewise.
24996         (atan2_test): Likewise.
24997         (cabs_test): Likewise.
24998         (cacos_test): Use END_COMPLEX macro without arguments.
24999         (cacosh_test): Likewise.
25000         (carg_test): Use END macro without arguments.
25001         (casin_test): Use END_COMPLEX macro without arguments.
25002         (casinh_test): Likewise.
25003         (catan_test): Likewise.
25004         (catanh_test): Likewise.
25005         (cbrt_test): Use END macro without arguments.
25006         (ccos_test): Use END_COMPLEX macro without arguments.
25007         (ccosh_test): Likewise.
25008         (ceil_test): Use END macro without arguments.
25009         (cexp_test): Use END_COMPLEX macro without arguments.
25010         (cimag_test): Use END macro without arguments.
25011         (clog_test): Use END_COMPLEX macro without arguments.
25012         (clog10_test): Likewise.
25013         (conj_test): Likewise.
25014         (copysign_test): Use END macro without arguments.
25015         (cos_test): Likewise.
25016         (cos_test_tonearest): Likewise.
25017         (cos_test_towardzero): Likewise.
25018         (cos_test_downward): Likewise.
25019         (cos_test_upward): Likewise.
25020         (cosh_test): Likewise.
25021         (cosh_test_tonearest): Likewise.
25022         (cosh_test_towardzero): Likewise.
25023         (cosh_test_downward): Likewise.
25024         (cosh_test_upward): Likewise.
25025         (cpow_test): Use END_COMPLEX macro without arguments.
25026         (cproj_test): Likewise.
25027         (creal_test): Use END macro without arguments.
25028         (csin_test): Use END_COMPLEX macro without arguments.
25029         (csinh_test): Likewise.
25030         (csqrt_test): Likewise.
25031         (ctan_test): Likewise.
25032         (ctan_test_tonearest): Likewise.
25033         (ctan_test_towardzero): Likewise.
25034         (ctan_test_downward): Likewise.
25035         (ctan_test_upward): Likewise.
25036         (ctanh_test): Likewise.
25037         (ctanh_test_tonearest): Likewise.
25038         (ctanh_test_towardzero): Likewise.
25039         (ctanh_test_downward): Likewise.
25040         (ctanh_test_upward): Likewise.
25041         (erf_test): Use END macro without arguments.
25042         (erfc_test): Likewise.
25043         (exp_test): Likewise.
25044         (exp_test_tonearest): Likewise.
25045         (exp_test_towardzero): Likewise.
25046         (exp_test_downward): Likewise.
25047         (exp_test_upward): Likewise.
25048         (exp10_test): Likewise.
25049         (exp2_test): Likewise.
25050         (expm1_test): Likewise.
25051         (fabs_test): Likewise.
25052         (fdim_test): Likewise.
25053         (finite_test): Likewise.
25054         (floor_test): Likewise.
25055         (fma_test): Likewise.
25056         (fma_test_towardzero): Likewise.
25057         (fma_test_downward): Likewise.
25058         (fma_test_upward): Likewise.
25059         (fmax_test): Likewise.
25060         (fmin_test): Likewise.
25061         (fmod_test): Likewise.
25062         (fpclassify_test): Likewise.
25063         (frexp_test): Likewise.
25064         (gamma_test): Likewise.
25065         (hypot_test): Likewise.
25066         (ilogb_test): Likewise.
25067         (isfinite_test): Likewise.
25068         (isgreater_test): Likewise.
25069         (isgreaterequal_test): Likewise.
25070         (isinf_test): Likewise.
25071         (isless_test): Likewise.
25072         (islessequal_test): Likewise.
25073         (islessgreater_test): Likewise.
25074         (isnan_test): Likewise.
25075         (isnormal_test): Likewise.
25076         (issignaling_test): Likewise.
25077         (isunordered_test): Likewise.
25078         (j0_test): Likewise.
25079         (j1_test): Likewise.
25080         (jn_test): Likewise.
25081         (ldexp_test): Likewise.
25082         (lgamma_test): Likewise.
25083         (lrint_test): Likewise.
25084         (lrint_test_tonearest): Likewise.
25085         (lrint_test_towardzero): Likewise.
25086         (lrint_test_downward): Likewise.
25087         (lrint_test_upward): Likewise.
25088         (llrint_test): Likewise.
25089         (llrint_test_tonearest): Likewise.
25090         (llrint_test_towardzero): Likewise.
25091         (llrint_test_downward): Likewise.
25092         (llrint_test_upward): Likewise.
25093         (log_test): Likewise.
25094         (log10_test): Likewise.
25095         (log1p_test): Likewise.
25096         (log2_test): Likewise.
25097         (logb_test): Likewise.
25098         (logb_test_downward): Likewise.
25099         (lround_test): Likewise.
25100         (llround_test): Likewise.
25101         (modf_test): Likewise.
25102         (nearbyint_test): Likewise.
25103         (nextafter_test): Likewise.
25104         (nexttoward_test): Likewise.
25105         (pow_test): Likewise.
25106         (pow_test_tonearest): Likewise.
25107         (pow_test_towardzero): Likewise.
25108         (pow_test_downward): Likewise.
25109         (pow_test_upward): Likewise.
25110         (remainder_test): Likewise.
25111         (remainder_test_tonearest): Likewise.
25112         (remainder_test_towardzero): Likewise.
25113         (remainder_test_downward): Likewise.
25114         (remainder_test_upward): Likewise.
25115         (remquo_test): Likewise.
25116         (rint_test): Likewise.
25117         (rint_test_tonearest): Likewise.
25118         (rint_test_towardzero): Likewise.
25119         (rint_test_downward): Likewise.
25120         (rint_test_upward): Likewise.
25121         (round_test): Likewise.
25122         (scalb_test): Likewise.
25123         (scalbn_test): Likewise.
25124         (scalbln_test): Likewise.
25125         (signbit_test): Likewise.
25126         (sin_test): Likewise.
25127         (sin_test_tonearest): Likewise.
25128         (sin_test_towardzero): Likewise.
25129         (sin_test_downward): Likewise.
25130         (sin_test_upward): Likewise.
25131         (sincos_test): Likewise.
25132         (sinh_test): Likewise.
25133         (sinh_test_tonearest): Likewise.
25134         (sinh_test_towardzero): Likewise.
25135         (sinh_test_downward): Likewise.
25136         (sinh_test_upward): Likewise.
25137         (sqrt_test): Likewise.
25138         (tan_test): Likewise.
25139         (tan_test_tonearest): Likewise.
25140         (tan_test_towardzero): Likewise.
25141         (tan_test_downward): Likewise.
25142         (tan_test_upward): Likewise.
25143         (tanh_test): Likewise.
25144         (tgamma_test): Likewise.
25145         (trunc_test): Likewise.
25146         (y0_test): Likewise.
25147         (y1_test): Likewise.
25148         (yn_test): Likewise.
25149         (significand_test): Likewise.
25150
25151 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
25152
25153         [BZ #15381]
25154         * libio/genops.c (_IO_no_init): Initialize wide struct info.
25155
25156 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
25157
25158         [BZ #14894]
25159         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
25160         __ppc_mdoio and __ppc_mdoom.
25161         * manual/platform.texi: Document new functions __ppc_yield,
25162         __ppc_mdoio and __ppc_mdoom.
25163
25164 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
25165
25166         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
25167         (main): Mention "tls" pseudo-hwcap is legacy.
25168         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
25169
25170 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
25171
25172         * math/gen-libm-test.pl (parse_args): Output only string of
25173         arguments as text for test name, not full call or descriptions of
25174         tests for extra outputs.
25175         (generate_testfile): Do not pass function name to parse_args.
25176         Generate this_func variable from START.
25177         * math/libm-test.inc (struct test_f_f_data): Rename test_name
25178         field to arg_str.
25179         (struct test_ff_f_data): Likewise.
25180         (test_ff_f_data_nexttoward): Likewise.
25181         (struct test_fi_f_data): Likewise.
25182         (struct test_fl_f_data): Likewise.
25183         (struct test_if_f_data): Likewise.
25184         (struct test_fff_f_data): Likewise.
25185         (struct test_c_f_data): Likewise.
25186         (struct test_f_f1_data): Likewise.  Remove field extra_name.
25187         (struct test_fF_f1_data): Likewise.
25188         (struct test_ffI_f1_data): Likewise.
25189         (struct test_c_c_data): Rename test_name field to arg_str.
25190         (struct test_cc_c_data): Likewise.
25191         (struct test_f_i_data): Likewise.
25192         (struct test_ff_i_data): Likewise.
25193         (struct test_f_l_data): Likewise.
25194         (struct test_f_L_data): Likewise.
25195         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
25196         and extra2_name.
25197         (COMMON_TEST_SETUP): New macro.
25198         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
25199         (COMMON_TEST_CLEANUP): Likewise.
25200         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
25201         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
25202         macros.
25203         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
25204         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
25205         macros.
25206         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
25207         (RUN_TEST_fff_f): Take argument string.  Call new setup and
25208         cleanup macros.
25209         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
25210         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
25211         macros.
25212         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
25213         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
25214         macros.
25215         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
25216         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
25217         cleanup macros.
25218         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
25219         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
25220         cleanup macros.
25221         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
25222         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
25223         cleanup macros.
25224         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
25225         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
25226         macros.
25227         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
25228         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
25229         macros.
25230         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
25231         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
25232         macros.
25233         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
25234         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
25235         cleanup macros.
25236         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
25237         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
25238         cleanup macros.
25239         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
25240         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
25241         macros.
25242         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
25243         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
25244         cleanup macros.
25245         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
25246         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
25247         macros.
25248         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
25249         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
25250         macros.
25251         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
25252         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
25253         cleanup macros.
25254         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
25255
25256 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
25257
25258         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
25259         to _sifields.sigfault.
25260         (si_addr_lsb): Define new macro.
25261         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
25262         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
25263         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
25264
25265 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
25266
25267         [BZ #15441]
25268         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
25269         returns -1.
25270         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
25271         null return -1.
25272         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
25273         loading the domain.
25274
25275 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
25276
25277         * math/gen-libm-test.pl (parse_args): Do not include expected
25278         result in test name.
25279         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
25280         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25281         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
25282         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
25283         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
25284         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25285
25286 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
25287
25288         * benchtests/Makefile: Sort function entries.
25289
25290         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
25291         tanh, asinh, acosh, atanh.
25292         * benchtests/acos-inputs: New file.
25293         * benchtests/acosh-inputs: New file.
25294         * benchtests/asin-inputs: New file.
25295         * benchtests/asinh-inputs: New file.
25296         * benchtests/atanh-inputs: New file.
25297         * benchtests/cosh-inputs: New file.
25298         * benchtests/log-inputs: New file.
25299         * benchtests/sinh-inputs: New file.
25300         * benchtests/tanh-inputs: New file.
25301
25302 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
25303
25304         [BZ #15339]
25305         * posix/tst-getaddrinfo4.c: New test.
25306         * posix/Makefile (tests): Add it.
25307
25308 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
25309
25310         [BZ #15339]
25311         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
25312         when no services were used.
25313         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
25314         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
25315
25316 2013-05-21  Andreas Schwab  <schwab@suse.de>
25317
25318         [BZ #15014]
25319         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
25320         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
25321         successful.
25322         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
25323         redundant variable declarations and reallocation of buffer when
25324         parsing as IPv6 address.  Always set NSS status when called from
25325         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
25326         buffer too small.  Correct computation of needed size.
25327         * nss/Makefile (tests): Add test-digits-dots.
25328         * nss/test-digits-dots.c: New test.
25329
25330 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
25331
25332         * benchtests/Makefile: Remove instructions for adding
25333         benchmark tests.
25334         * benchtests/README: New file to explain how to execute and
25335         enhance the benchmark tests.
25336
25337 2013-05-21  Andreas Schwab  <schwab@suse.de>
25338
25339         [BZ #15493]
25340         * setjmp/Makefile (tests): Add tst-sigsetjmp.
25341         * setjmp/tst-sigsetjmp.c: New test.
25342
25343 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
25344
25345         * sysdeps/x86_64/memset.S (memset): New implementation.
25346         (__bzero): Likewise.
25347         (__memset_tail): New function.
25348
25349 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
25350
25351         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
25352         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
25353         __memcpy_sse2_unaligned ifunc selection.
25354         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
25355         Add memcpy-sse2-unaligned.S.
25356         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25357         Add: __memcpy_sse2_unaligned.
25358
25359 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
25360
25361         [BZ #15490]
25362         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
25363         math_force_eval before restoring floating-point envrionment.
25364         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
25365         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
25366         Likewise.
25367         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
25368         <math_private.h>.
25369         (__nearbyintl): Use math_force_eval before restoring
25370         floating-point environment.
25371         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
25372
25373         * math/gen-libm-test.pl (special_functions): Remove.
25374         (parse_args): Don't handle TEST_extra.  Handle functions with no
25375         return value.
25376         * math/libm-test.inc (struct test_sincos_data): Replace with
25377         struct test_fFF_11_data.
25378         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
25379         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
25380         (sincos_test_data): Change element type to struct
25381         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
25382         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
25383         RUN_TEST_LOOP_sincos.
25384         * math/README.libm-test: Don't mention special handling of
25385         individual functions.
25386         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
25387         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25388         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
25389         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
25390         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
25391         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25392
25393         * math/gen-libm-test.pl (get_variable): Remove function.
25394         (parse_args): Don't show pointer parameters to call in test
25395         names.  Use "extra output N" in test names for extra outputs
25396         rather than naming variables.
25397
25398 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
25399
25400         [BZ #15488]
25401         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
25402         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
25403         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
25404         double tests.
25405         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
25406         disable.
25407         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
25408         check_long_double.
25409
25410         * math/gen-libm-test.pl (@tests): Remove variable.
25411         ($count): Likewise.
25412         (new_test): Remove function.
25413         (show_exceptions): New function.
25414         (special_functions): Use show_exceptions instead of new_test.
25415         (parse_args): Likewise.
25416         (generate_testfile): Pass only function name in generated call to
25417         print_max_error or print_complex_max_error.
25418         (get_ulps): Do not handle complex tests specially.
25419         (output_test): Rename to ...
25420         (get_all_ulps_for_test): ... this.  Return a string rather than
25421         printing to a file.  Require ulps to be present.
25422         (output_ulps): Generate arrays rather than #defines.
25423         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
25424         (struct ulp_data): New type.
25425         (BUILD_COMPLEX_ULP): Remove macro.
25426         (compare_ulp_data): New function.
25427         (find_ulps): Likewise.
25428         (find_test_ulps): Likewise.
25429         (find_function_ulps): Likewise.
25430         (find_complex_function_ulps): Likewise.
25431         (print_max_error): Determine allowed ulps using
25432         find_function_ulps.
25433         (print_complex_max_error): Determine allowed ulps using
25434         find_complex_function_ulps.
25435         (check_float_internal): Determine max ulps using find_test_ulps.
25436         (check_float): Do not take max_ulp parameter.  Update call to
25437         check_float_internal.
25438         (check_complex): Likewise.
25439         (check_int): Do not take max_ulp parameter.
25440         (check_long): Likewise.
25441         (check_bool): Likewise.
25442         (check_longlong): Likewise.
25443         (struct test_f_f_data): Remove max_ulp field.
25444         (struct test_ff_f_data): Likewise.
25445         (struct test_ff_f_data_nexttoward): Likewise.
25446         (struct test_fi_f_data): Likewise.
25447         (struct test_fl_f_data): Likewise.
25448         (struct test_if_f_data): Likewise.
25449         (struct test_fff_f_data): Likewise.
25450         (struct test_c_f_data): Likewise.
25451         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
25452         (struct test_fF_f1_data): Likewise.
25453         (struct test_ffI_f1_data): Likewise.
25454         (struct test_c_c_data): Remove max_ulp field.
25455         (struct test_cc_c_data): Likewise.
25456         (struct test_f_i_data): Likewise.
25457         (struct test_ff_i_data): Likewise.
25458         (struct test_f_l_data): Likewise.
25459         (struct test_f_L_data): Likewise.
25460         (struct test_sincos_data): Likewise.
25461         (RUN_TEST_f_f): Do not handle ulps.
25462         (RUN_TEST_LOOP_f_f): Likewise.
25463         (RUN_TEST_2_f): Likewise.
25464         (RUN_TEST_LOOP_2_f): Likewise.
25465         (RUN_TEST_fff_f): Likewise.
25466         (RUN_TEST_LOOP_fff_f): Likewise.
25467         (RUN_TEST_c_f): Likewise.
25468         (RUN_TEST_LOOP_c_f): Likewise.
25469         (RUN_TEST_f_f1): Likewise.
25470         (RUN_TEST_LOOP_f_f1): Likewise.
25471         (RUN_TEST_fF_f1): Likewise.
25472         (RUN_TEST_LOOP_fF_f1): Likewise.
25473         (RUN_TEST_fI_f1): Likewise.
25474         (RUN_TEST_LOOP_fI_f1): Likewise.
25475         (RUN_TEST_ffI_f1): Likewise.
25476         (RUN_TEST_LOOP_ffI_f1): Likewise.
25477         (RUN_TEST_c_c): Likewise.
25478         (RUN_TEST_LOOP_c_c): Likewise.
25479         (RUN_TEST_cc_c): Likewise.
25480         (RUN_TEST_LOOP_cc_c): Likewise.
25481         (RUN_TEST_f_i): Likewise.
25482         (RUN_TEST_LOOP_f_i): Likewise.
25483         (RUN_TEST_f_i_tg): Likewise.
25484         (RUN_TEST_LOOP_f_i_tg): Likewise.
25485         (RUN_TEST_ff_i_tg): Likewise.
25486         (RUN_TEST_LOOP_ff_i_tg): Likewise.
25487         (RUN_TEST_f_b): Likewise.
25488         (RUN_TEST_LOOP_f_b): Likewise.
25489         (RUN_TEST_f_b_tg): Likewise.
25490         (RUN_TEST_LOOP_f_b_tg): Likewise.
25491         (RUN_TEST_f_l): Likewise.
25492         (RUN_TEST_LOOP_f_l): Likewise.
25493         (RUN_TEST_f_L): Likewise.
25494         (RUN_TEST_LOOP_f_L): Likewise.
25495         (RUN_TEST_sincos): Likewise.
25496         (RUN_TEST_LOOP_sincos): Likewise.
25497
25498 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
25499
25500         [BZ #15480]
25501         [BZ #15485]
25502         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
25503         main case of finite arguments, set rounding mode to FE_TONEAREST
25504         and discard exceptions.
25505         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
25506         exceptions.
25507         (remainder_tonearest_test_data): New variable.
25508         (remainder_test_tonearest): New function.
25509         (remainder_towardzero_test_data): New variable.
25510         (remainder_test_towardzero): New function.
25511         (remainder_downward_test_data): New variable.
25512         (remainder_test_downward): New function.
25513         (remainder_upward_test_data): New variable.
25514         (remainder_test_upward): New function.
25515         (main): Call the new test functions.
25516
25517         * math/libm-test.inc (struct test_f_f1_data): Remove field
25518         extra_init.
25519         (struct test_fF_f1_data): Likewise.
25520         (struct test_ffI_f1_data): Likewise.
25521         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
25522         based on value of EXTRA_EXPECTED.
25523         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
25524         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
25525         EXTRA_VAR based on value of EXTRA_EXPECTED.
25526         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
25527         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
25528         EXTRA_VAR based on value of EXTRA_EXPECTED.
25529         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
25530         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
25531         EXTRA_VAR based on value of EXTRA_EXPECTED.
25532         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
25533         * math/gen-libm-test.pl (parse_args): Don't output initializers
25534         for extra output values.
25535
25536         * math/libm-test.inc (check_int): Expect result to be exactly
25537         equal to expected value and do not handle ulps.
25538         (check_long): Likewise.
25539         (check_longlong): Likewise.
25540
25541         * math/libm-test.inc (ceil_test_data): Test for "inexact"
25542         exceptions.
25543         (cimag_test_data): Likewise.
25544         (conj_test_data): Likewise.
25545         (copysign_test_data): Likewise.
25546         (cproj_test_data): Likewise.
25547         (creal_test_data): Likewise.
25548         (fabs_test_data): Likewise.
25549         (fdim_test_data): Likewise.
25550         (finite_test_data): Likewise.
25551         (floor_test_data): Likewise.
25552         (fmax_test_data): Likewise.
25553         (fmin_test_data): Likewise.
25554         (fmod_test_data): Likewise.
25555         (fpclassify_test_data): Likewise.
25556         (frexp_test_data): Likewise.
25557         (ilogb_test_data): Likewise.
25558         (isfinite_test_data): Likewise.
25559         (isgreater_test_data): Likewise.
25560         (isgreaterequal_test_data): Likewise.
25561         (isinf_test_data): Likewise.
25562         (isless_test_data): Likewise.
25563         (islessequal_test_data): Likewise.
25564         (islessgreater_test_data): Likewise.
25565         (isnan_test_data): Likewise.
25566         (isnormal_test_data): Likewise.
25567         (issignaling_test_data): Likewise.
25568         (isunordered_test_data): Likewise.
25569         (ldexp_test_data): Likewise.
25570         (lrint_test_data): Likewise.
25571         (lrint_test_data) [TEST_FLOAT]: Disable one test.
25572         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
25573         (lrint_tonearest_test_data): Test for "inexact" exceptions.
25574         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
25575         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
25576         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
25577         test input.
25578         (lrint_towardzero_test_data): Test for "inexact" exceptions.
25579         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
25580         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
25581         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
25582         that test input.
25583         (lrint_downward_test_data): Test for "inexact" exceptions.
25584         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
25585         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
25586         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
25587         test input.
25588         (lrint_upward_test_data): Test for "inexact" exceptions.
25589         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
25590         test input.
25591         (llrint_test_data): Test for "inexact" exceptions.
25592         (llrint_test_data) [TEST_FLOAT]: Disable one test.
25593         (llrint_tonearest_test_data): Test for "inexact" exceptions.
25594         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
25595         (llrint_towardzero_test_data): Test for "inexact" exceptions.
25596         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
25597         (llrint_downward_test_data): Test for "inexact" exceptions.
25598         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
25599         (llrint_upward_test_data): Test for "inexact" exceptions.
25600         (logb_test_data): Likewise.
25601         (logb_downward_test_data): Likewise.
25602         (nextafter_test_data): Likewise.
25603         (nexttoward_test_data): Likewise.
25604         (remainder_test_data): Likewise.
25605         (remquo_test_data): Likewise.
25606         (scalbn_test_data): Likewise.
25607         (scalbln_test_data): Likewise.
25608         (signbit_test_data): Likewise.
25609         (sqrt_test_data): Likewise.
25610         (significand_test_data): Likewise.
25611
25612 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
25613
25614         [BZ #15424]
25615         * benchtests/bench-modf.c (struct args): Mark arg0 as
25616         volatile.
25617         * scripts/bench.pl: Mark members of struct args as volatile.
25618
25619 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25620
25621         [BZ # 15497]
25622         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
25623         negative infinity on POWER6 or lower.
25624         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
25625
25626 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
25627
25628         [BZ #15442]
25629         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
25630         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
25631         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
25632         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
25633         (_FP_SETQNAN): New macro.
25634         (_FP_SETQNAN_SEMIRAW): Likewise.
25635         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
25636         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
25637         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
25638         (FP_EXTEND): Use _FP_FRAC_SNANP.
25639         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
25640         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
25641         into account.
25642         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
25643         New macro.
25644         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
25645         Likewise.
25646
25647 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
25648
25649         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
25650         with DIVIDE_BY_ZERO_EXCEPTION.
25651         (gamma_test_data): Likewise.
25652         (lgamma_test_data): Likewise.
25653         (log_test_data): Likewise.
25654         (log10_test_data): Likewise.
25655         (log2_test_data): Likewise.
25656         (tgamma_test_data): Likewise.
25657
25658         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
25659         (acos_test_tonearest): Likewise.
25660         (acos_test_towardzero): Likewise.
25661         (acos_test_downward): Likewise.
25662         (acos_test_upward): Likewise.
25663         (acosh_test): Likewise.
25664         (asin_test): Likewise.
25665         (asin_test_tonearest): Likewise.
25666         (asin_test_towardzero): Likewise.
25667         (asin_test_downward): Likewise.
25668         (asin_test_upward): Likewise.
25669         (asinh_test): Likewise.
25670         (atan_test): Likewise.
25671         (atanh_test): Likewise.
25672         (atan2_test): Likewise.
25673         (cabs_test): Likewise.
25674         (cacos_test): Likewise.
25675         (cacosh_test): Likewise.
25676         (casin_test): Likewise.
25677         (casinh_test): Likewise.
25678         (catan_test): Likewise.
25679         (catanh_test): Likewise.
25680         (cbrt_test): Likewise.
25681         (ccos_test): Likewise.
25682         (ccosh_test): Likewise.
25683         (cexp_test): Likewise.
25684         (clog_test): Likewise.
25685         (clog10_test): Likewise.
25686         (cos_test): Likewise.
25687         (cos_test_tonearest): Likewise.
25688         (cos_test_towardzero): Likewise.
25689         (cos_test_downward): Likewise.
25690         (cos_test_upward): Likewise.
25691         (cosh_test): Likewise.
25692         (cosh_test_tonearest): Likewise.
25693         (cosh_test_towardzero): Likewise.
25694         (cosh_test_downward): Likewise.
25695         (cosh_test_upward): Likewise.
25696         (cpow_test): Likewise.
25697         (csin_test): Likewise.
25698         (csinh_test): Likewise.
25699         (csqrt_test): Likewise.
25700         (ctan_test): Likewise.
25701         (ctan_test_tonearest): Likewise.
25702         (ctan_test_towardzero): Likewise.
25703         (ctan_test_downward): Likewise.
25704         (ctan_test_upward): Likewise.
25705         (ctanh_test): Likewise.
25706         (ctanh_test_tonearest): Likewise.
25707         (ctanh_test_towardzero): Likewise.
25708         (ctanh_test_downward): Likewise.
25709         (ctanh_test_upward): Likewise.
25710         (erf_test): Likewise.
25711         (erfc_test): Likewise.
25712         (exp_test): Likewise.
25713         (exp_test_tonearest): Likewise.
25714         (exp_test_towardzero): Likewise.
25715         (exp_test_downward): Likewise.
25716         (exp_test_upward): Likewise.
25717         (exp10_test): Likewise.
25718         (exp2_test): Likewise.
25719         (expm1_test): Likewise.
25720         (fmod_test): Likewise.
25721         (gamma_test): Likewise.
25722         (hypot_test): Likewise.
25723         (j0_test): Likewise.
25724         (j1_test): Likewise.
25725         (jn_test): Likewise.
25726         (lgamma_test): Likewise.
25727         (log_test): Likewise.
25728         (log10_test): Likewise.
25729         (log1p_test): Likewise.
25730         (log2_test): Likewise.
25731         (logb_test_downward): Likewise.
25732         (pow_test): Likewise.
25733         (pow_test_tonearest): Likewise.
25734         (pow_test_towardzero): Likewise.
25735         (pow_test_downward): Likewise.
25736         (pow_test_upward): Likewise.
25737         (remainder_test): Likewise.
25738         (remquo_test): Likewise.
25739         (sin_test): Likewise.
25740         (sin_test_tonearest): Likewise.
25741         (sin_test_towardzero): Likewise.
25742         (sin_test_downward): Likewise.
25743         (sin_test_upward): Likewise.
25744         (sincos_test): Likewise.
25745         (sinh_test): Likewise.
25746         (sinh_test_tonearest): Likewise.
25747         (sinh_test_towardzero): Likewise.
25748         (sinh_test_downward): Likewise.
25749         (sinh_test_upward): Likewise.
25750         (sqrt_test): Likewise.
25751         (tan_test): Likewise.
25752         (tan_test_tonearest): Likewise.
25753         (tan_test_towardzero): Likewise.
25754         (tan_test_downward): Likewise.
25755         (tan_test_upward): Likewise.
25756         (tanh_test): Likewise.
25757         (tgamma_test): Likewise.
25758         (y0_test): Likewise.
25759         (y1_test): Likewise.
25760         (yn_test): Likewise.
25761
25762         * math/gen-libm-test.pl (adjust_arg): Remove function.
25763         (special_function): Remove argument $in_func.  Only handle
25764         generating output for tables of tests, not inside functions.
25765         (parse_args): Likewise.
25766         (generate_testfile): Remove variable $in_func.  Update call to
25767         parse_args.
25768         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
25769         (MINUS_ZERO_INIT): Rename macro to minus_zero.
25770         (PLUS_INFTY_INIT): Rename macro to plus_infty.
25771         (MINUS_INFTY_INIT): Rename macro to minus_infty.
25772         (QNAN_VALUE_INIT): Rename macro to qnan_value.
25773         (MAX_VALUE_INIT): Rename macro to max_value.
25774         (MIN_VALUE_INIT): Rename macro to min_value.
25775         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
25776         (plus_zero): Remove variable.
25777         (minus_zero): Likewise.
25778         (plus_infty): Likewise.
25779         (minus_infty): Likewise.
25780         (qnan_value): Likewise.
25781         (max_value): Likewise.
25782         (min_value): Likewise.
25783         (min_subnorm_value): Likewise.
25784
25785 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
25786
25787         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
25788         uint64_t or uint32_t usage.
25789         * crypt/sha256-block.c: Likewise.
25790         * crypt/sha256-crypt.c: Likewise.
25791         * crypt/sha256.c: Likewise.
25792         * crypt/sha512-block.c: Likewise.
25793         * crypt/sha512-crypt.c: Likewise.
25794         * crypt/sha512.c: Likewise.
25795         * debug/backtrace-tst.c: Likewise.
25796         * debug/pcprofiledump.c: Likewise.
25797         * elf/cache.c: Likewise.
25798         * elf/dl-cache.c: Likewise.
25799         * elf/dl-misc.c: Likewise.
25800         * elf/dl-profile.c: Likewise.
25801         * elf/dl-support.c: Likewise.
25802         * elf/ldconfig.c: Likewise.
25803         * elf/sprof.c: Likewise.
25804         * iconv/dummy-repertoire.c: Likewise.
25805         * iconv/iconv_charmap.c: Likewise.
25806         * iconv/skeleton.c: Likewise.
25807         * iconvdata/8bit-generic.c: Likewise.
25808         * iconvdata/cp737.h: Likewise.
25809         * iconvdata/cp775.h: Likewise.
25810         * iconvdata/ibm1008.h: Likewise.
25811         * iconvdata/ibm1025.h: Likewise.
25812         * iconvdata/ibm1046.h: Likewise.
25813         * iconvdata/ibm1097.h: Likewise.
25814         * iconvdata/ibm1112.h: Likewise.
25815         * iconvdata/ibm1122.h: Likewise.
25816         * iconvdata/ibm1123.h: Likewise.
25817         * iconvdata/ibm1124.h: Likewise.
25818         * iconvdata/ibm1129.h: Likewise.
25819         * iconvdata/ibm1130.h: Likewise.
25820         * iconvdata/ibm1132.h: Likewise.
25821         * iconvdata/ibm1133.h: Likewise.
25822         * iconvdata/ibm1137.h: Likewise.
25823         * iconvdata/ibm1140.h: Likewise.
25824         * iconvdata/ibm1141.h: Likewise.
25825         * iconvdata/ibm1142.h: Likewise.
25826         * iconvdata/ibm1143.h: Likewise.
25827         * iconvdata/ibm1144.h: Likewise.
25828         * iconvdata/ibm1145.h: Likewise.
25829         * iconvdata/ibm1146.h: Likewise.
25830         * iconvdata/ibm1147.h: Likewise.
25831         * iconvdata/ibm1148.h: Likewise.
25832         * iconvdata/ibm1149.h: Likewise.
25833         * iconvdata/ibm1153.h: Likewise.
25834         * iconvdata/ibm1154.h: Likewise.
25835         * iconvdata/ibm1155.h: Likewise.
25836         * iconvdata/ibm1156.h: Likewise.
25837         * iconvdata/ibm1157.h: Likewise.
25838         * iconvdata/ibm1158.h: Likewise.
25839         * iconvdata/ibm1160.h: Likewise.
25840         * iconvdata/ibm1161.h: Likewise.
25841         * iconvdata/ibm1162.h: Likewise.
25842         * iconvdata/ibm1163.h: Likewise.
25843         * iconvdata/ibm1164.h: Likewise.
25844         * iconvdata/ibm1166.h: Likewise.
25845         * iconvdata/ibm1167.h: Likewise.
25846         * iconvdata/ibm12712.h: Likewise.
25847         * iconvdata/ibm1390.h: Likewise.
25848         * iconvdata/ibm1399.h: Likewise.
25849         * iconvdata/ibm16804.h: Likewise.
25850         * iconvdata/ibm4517.h: Likewise.
25851         * iconvdata/ibm4899.h: Likewise.
25852         * iconvdata/ibm4909.h: Likewise.
25853         * iconvdata/ibm4971.h: Likewise.
25854         * iconvdata/ibm5347.h: Likewise.
25855         * iconvdata/ibm803.h: Likewise.
25856         * iconvdata/ibm856.h: Likewise.
25857         * iconvdata/ibm901.h: Likewise.
25858         * iconvdata/ibm902.h: Likewise.
25859         * iconvdata/ibm9030.h: Likewise.
25860         * iconvdata/ibm9066.h: Likewise.
25861         * iconvdata/ibm921.h: Likewise.
25862         * iconvdata/ibm922.h: Likewise.
25863         * iconvdata/ibm9448.h: Likewise.
25864         * iconvdata/isiri-3342.h: Likewise.
25865         * iconvdata/jis0201.h: Likewise.
25866         * include/link.h: Likewise.
25867         * include/netdb.h: Likewise.
25868         * inet/check_native.c: Likewise.
25869         * inet/check_pf.c: Likewise.
25870         * inet/getipv4sourcefilter.c: Likewise.
25871         * inet/getnameinfo.c: Likewise.
25872         * inet/getsourcefilter.c: Likewise.
25873         * inet/htonl.c: Likewise.
25874         * inet/setipv4sourcefilter.c: Likewise.
25875         * inet/setsourcefilter.c: Likewise.
25876         * inet/test-inet6_opt.c: Likewise.
25877         * inet/tst-network.c: Likewise.
25878         * locale/C-collate.c: Likewise.
25879         * locale/C-ctype.c: Likewise.
25880         * locale/C-time.c: Likewise.
25881         * locale/C-translit.h: Likewise.
25882         * locale/loadarchive.c: Likewise.
25883         * locale/programs/3level.h: Likewise.
25884         * locale/programs/charmap.c: Likewise.
25885         * locale/programs/charmap.h: Likewise.
25886         * locale/programs/ld-address.c: Likewise.
25887         * locale/programs/ld-collate.c: Likewise.
25888         * locale/programs/ld-ctype.c: Likewise.
25889         * locale/programs/ld-identification.c: Likewise.
25890         * locale/programs/ld-measurement.c: Likewise.
25891         * locale/programs/ld-messages.c: Likewise.
25892         * locale/programs/ld-monetary.c: Likewise.
25893         * locale/programs/ld-name.c: Likewise.
25894         * locale/programs/ld-numeric.c: Likewise.
25895         * locale/programs/ld-paper.c: Likewise.
25896         * locale/programs/ld-telephone.c: Likewise.
25897         * locale/programs/ld-time.c: Likewise.
25898         * locale/programs/linereader.c: Likewise.
25899         * locale/programs/locale.c: Likewise.
25900         * locale/programs/locarchive.c: Likewise.
25901         * locale/programs/locfile.h: Likewise.
25902         * locale/programs/repertoire.c: Likewise.
25903         * locale/programs/simple-hash.c: Likewise.
25904         * locale/programs/simple-hash.h: Likewise.
25905         * malloc/memusage.c: Likewise.
25906         * malloc/memusagestat.c: Likewise.
25907         * nis/nis_defaults.c: Likewise.
25908         * nis/nis_hash.c: Likewise.
25909         * nis/nis_print.c: Likewise.
25910         * nis/nis_xdr.c: Likewise.
25911         * nscd/connections.c: Likewise.
25912         * nscd/hstcache.c: Likewise.
25913         * nscd/nscd_gethst_r.c: Likewise.
25914         * nscd/nscd_getserv_r.c: Likewise.
25915         * nscd/nscd_helper.c: Likewise.
25916         * nscd/servicescache.c: Likewise.
25917         * nss/makedb.c: Likewise.
25918         * nss/nss_db/db-XXX.c: Likewise.
25919         * nss/nss_db/db-initgroups.c: Likewise.
25920         * nss/nss_db/db-netgrp.c: Likewise.
25921         * nss/nss_files/files-network.c: Likewise.
25922         * nss/nss_files/files-parse.c: Likewise.
25923         * posix/bug-regex5.c: Likewise.
25924         * posix/fnmatch_loop.c: Likewise.
25925         * posix/regcomp.c: Likewise.
25926         * posix/regexec.c: Likewise.
25927         * posix/tst-rfc3484-2.c: Likewise.
25928         * posix/tst-rfc3484-3.c: Likewise.
25929         * posix/tst-rfc3484.c: Likewise.
25930         * resolv/nss_dns/dns-canon.c: Likewise.
25931         * resolv/nss_dns/dns-network.c: Likewise.
25932         * resolv/res_init.c: Likewise.
25933         * resolv/res_mkquery.c: Likewise.
25934         * resolv/tst-aton.c: Likewise.
25935         * stdlib/cxa_atexit.c: Likewise.
25936         * stdlib/cxa_finalize.c: Likewise.
25937         * stdlib/gen-fpioconst.c: Likewise.
25938         * stdlib/strtol_l.c: Likewise.
25939         * string/tst-endian.c: Likewise.
25940         * sunrpc/auth_des.c: Likewise.
25941         * sunrpc/clnt_udp.c: Likewise.
25942         * sunrpc/rtime.c: Likewise.
25943         * sunrpc/svcauth_des.c: Likewise.
25944         * sunrpc/xdr.c: Likewise.
25945         * sunrpc/xdr_intXX_t.c: Likewise.
25946         * sunrpc/xdr_rec.c: Likewise.
25947         * sysdeps/generic/ldconfig.h: Likewise.
25948         * sysdeps/generic/ldsodefs.h: Likewise.
25949         * sysdeps/generic/memusage.h: Likewise.
25950         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
25951         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
25952         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
25953         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
25954         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25955         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25956         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
25957         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
25958         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
25959         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
25960         * sysdeps/posix/getaddrinfo.c: Likewise.
25961         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
25962         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
25963         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
25964         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
25965         * sysdeps/powerpc/test-gettimebase.c: Likewise.
25966         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
25967         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
25968         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
25969         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
25970         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
25971         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
25972         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
25973         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
25974         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
25975         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
25976         * sysdeps/x86_64/dl-tls.h: Likewise.
25977         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
25978         * time/alt_digit.c: Likewise.
25979         * time/era.c: Likewise.
25980         * wcsmbs/tst-c16c32-1.c: Likewise.
25981
25982 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
25983
25984         * math/libm-test.inc (struct test_sincos_data): New type.
25985         (RUN_TEST_LOOP_sincos): New macro.
25986         (sincos_test_data): New variable.
25987         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
25988
25989 2013-05-16  Richard Henderson  <rth@redhat.com>
25990
25991         * math/atest-exp2.c (LIMB64): New macro.
25992         (CONSTSZ): New macro.
25993         (mp_exp1, mp_exp_m1, mp_log2): New variables.
25994         (hexdig): Move ...
25995         (print_mpn_fp): ... to function scope.
25996         (read_mpn_hex): Remove.
25997         (get_log2): Remove.
25998         (exp2_mpn): Use mp_log2.
25999         (main): Use mp_exp1.
26000
26001 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
26002
26003         * math/libm-test.inc: Remove comment about not testing "inexact"
26004         exceptions.
26005         (INEXACT_EXCEPTION): New macro.
26006         (NO_INEXACT_EXCEPTION): Likewise.
26007         (INVALID_EXCEPTION_OK): Update value.
26008         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
26009         (OVERFLOW_EXCEPTION_OK): Likewise.
26010         (UNDERFLOW_EXCEPTION_OK): Likewise.
26011         (IGNORE_ZERO_INF_SIGN): Likewise.
26012         (ERRNO_UNCHANGED): Likewise.
26013         (ERRNO_EDOM): Likewise.
26014         (ERRNO_ERANGE): Likewise.
26015         (test_exceptions): Handle testing "inexact" exceptions.
26016         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
26017         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
26018         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
26019         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
26020         INEXACT_EXCEPTION.
26021         (rint_towardzero_test_data): Likewise.
26022         (rint_downward_test_data): Likewise.
26023         (rint_upward_test_data): Likewise.
26024
26025         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
26026         with OVERFLOW_EXCEPTION.
26027         (exp10_test_data): Likewise.
26028         (exp2_test_data): Likewise.
26029         (expm1_test_data): Likewise.
26030         (lgamma_test_data): Likewise.
26031         (pow_test_data): Likewise.
26032         (tgamma_test_data): Likewise.
26033         (yn_test_data): Remove duplicate test of overflow.
26034
26035         * math/libm-test.inc (struct test_cc_c_data): New type.
26036         (RUN_TEST_LOOP_cc_c): New macro.
26037         (cpow_test_data): New variable.
26038         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
26039
26040         * math/libm-test.inc (struct test_f_L_data): New type.
26041         (RUN_TEST_LOOP_f_L): New macro.
26042         (llrint_test_data): New variable.
26043         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
26044         (llrint_tonearest_test_data): New variable.
26045         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
26046         (llrint_towardzero_test_data): New variable.
26047         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
26048         (llrint_downward_test_data): New variable.
26049         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
26050         (llrint_upward_test_data): New variable.
26051         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
26052         (llround_test_data): New variable.
26053         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
26054
26055 2013-05-13  Peter Collingbourne  <pcc@google.com>
26056
26057         * math/atest-exp2.c (get_log2): Remove const attribute.
26058
26059 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
26060
26061         * math/libm-test.inc (struct test_f_l_data): New type.
26062         (RUN_TEST_LOOP_f_l): New macro.
26063         (lrint_test_data): New variable.
26064         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
26065         (lrint_tonearest_test_data): New variable.
26066         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
26067         (lrint_towardzero_test_data): New variable.
26068         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
26069         (lrint_downward_test_data): New variable.
26070         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
26071         (lrint_upward_test_data): New variable.
26072         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
26073         (lround_test_data): New variable.
26074         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
26075
26076 2013-05-15  Peter Collingbourne  <pcc@google.com>
26077
26078         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
26079         (EXTRACT_WORDS64) Use where appropriate.
26080         (INSERT_WORDS64) Likewise.
26081
26082         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
26083         constraints with x constraints.
26084         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
26085
26086         * malloc/obstack.c (_obstack_compat): Add initializer.
26087
26088 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
26089
26090         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
26091         si_trapno and add si_addr_lsb to _sifields.sigfault.
26092         (si_trapno): Remove macro.
26093         (si_addr_lsb): Define new macro.
26094         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
26095
26096 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
26097
26098         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
26099         instead of TEST_f_l.
26100         (llrint_test_tonearest): Likewise.
26101         (llrint_test_towardzero): Likewise.
26102         (llrint_test_downward): Likewise.
26103         (llrint_test_upward): Likewise.
26104         (llround_test): Likewise.
26105
26106         * math/libm-test.inc (struct test_f_i_data): Add comment.
26107         (RUN_TEST_LOOP_f_b): New macro.
26108         (RUN_TEST_LOOP_f_b_tg): Likewise.
26109         (finite_test_data): New variable.
26110         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
26111         (isfinite_test_data): New variable.
26112         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26113         (isinf_test_data): New variable.
26114         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26115         (isnan_test_data): New variable.
26116         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26117         (isnormal_test_data): New variable.
26118         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26119         (issignaling_test_data): New variable.
26120         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26121         (signbit_test_data): New variable.
26122         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26123
26124         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
26125         with INVALID_EXCEPTION.
26126         (acosh_test_data): Likewise.
26127         (asin_test_data): Likewise.
26128         (atanh_test_data): Likewise.
26129         (fmod_test_data): Likewise.
26130         (log_test_data): Likewise.
26131         (log10_test_data): Likewise.
26132         (log2_test_data): Likewise.
26133         (pow_test_data): Likewise.
26134         (sqrt_test_data): Likewise.
26135         (y0_test_data): Likewise.
26136         (y1_test_data): Likewise.
26137         (yn_test_data): Likewise.
26138
26139         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
26140         function contents.
26141
26142         * math/libm-test.inc (struct test_ff_i_data): New type.
26143         (RUN_TEST_LOOP_ff_i_tg): New macro.
26144         (isgreater_test_data): New variable.
26145         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26146         (isgreaterequal_test_data): New variable.
26147         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26148         (isless_test_data): New variable.
26149         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26150         (islessequal_test_data): New variable.
26151         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26152         (islessgreater_test_data): New variable.
26153         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26154         (isunordered_test_data): New variable.
26155         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26156
26157 2013-05-14  David S. Miller  <davem@davemloft.net>
26158
26159         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26160
26161 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
26162
26163         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
26164
26165         * math/libm-test.inc (struct test_fF_f1_data): Change type of
26166         extra_test to int.
26167         (struct test_f_i_data): Change type of max_ulp to int.
26168
26169         * math/libm-test.inc (test_ffI_f1_data): New type.
26170         (RUN_TEST_LOOP_ffI_f1): New macro.
26171         (remquo_test_data): New variable.
26172         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
26173
26174         * setjmp/tst-setjmp-fp.c: New file.
26175         * setjmp/Makefile (tests): Add tst-setjmp-fp.
26176         (link-libm): New variable.
26177         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
26178
26179         * math/libm-test.inc (struct test_f_i_data): New type.
26180         (RUN_TEST_LOOP_f_i): New macro.
26181         (RUN_TEST_LOOP_f_i_tg): Likewise.
26182         (fpclassify_test_data): New variable.
26183         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
26184         (ilogb_test_data): New variable.
26185         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
26186
26187         * math/libm-test.inc (scalbln_test): Correct function name in END
26188         call.
26189
26190         * math/libm-test.inc (struct test_f_f1_data): Add comment.
26191         (RUN_TEST_LOOP_fI_f1): New macro.
26192         (frexp_test_data): New variable.
26193         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
26194
26195         * math/libm-test.inc (struct test_fF_f1_data): New type.
26196         (RUN_TEST_LOOP_fF_f1): New macro.
26197         (modf_test_data): New variable.
26198         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
26199
26200         * math/libm-test.inc (struct test_f_f1_data): New type.
26201         (RUN_TEST_LOOP_f_f1): New macro.
26202         (gamma_test_data): New variable.
26203         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
26204         (lgamma_test_data): New variable.
26205         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
26206
26207 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
26208
26209         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
26210         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
26211         (main): Comment "tls" pseudo-hwcap.
26212
26213 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
26214
26215         * math/libm-test.inc (struct test_fl_f_data): New type.
26216         (RUN_TEST_LOOP_fl_f): New variable.
26217         (scalbln_test_data): New variable.
26218         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
26219
26220         * math/libm-test.inc (struct test_fi_f_data): New type.
26221         (RUN_TEST_LOOP_fi_f): New macro.
26222         (ldexp_test_data): New variable.
26223         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
26224         (scalbn_test_data): New variable.
26225         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
26226
26227         * math/libm-test.inc (struct test_c_f_data): New type.
26228         (RUN_TEST_LOOP_c_f): New macro.
26229         (cabs_test_data): New variable.
26230         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
26231         (carg_test_data): New variable.
26232         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
26233         (cimag_test_data): New variable.
26234         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
26235         (creal_test_data): New variable.
26236         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
26237
26238         * math/libm-test.inc (struct test_if_f_data): New type.
26239         (RUN_TEST_LOOP_if_f): New macro.
26240         (jn_test_data): New variable.
26241         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
26242         (yn_test_data): New variable.
26243         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
26244
26245         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
26246
26247 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26248
26249         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
26250         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
26251
26252 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
26253
26254         * benchtests/Makefile (CPPFLAGS-nonlib): Add
26255         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
26256         (bench-deps): Add bench-timing.h.
26257         * benchtests-bench-skeleton.c: Include bench-timing.h.
26258         (main): Use TIMING_* macros instead of clock_gettime.
26259         * benchtests/bench-timing.h: New file.
26260
26261         [BZ #14582]
26262         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
26263         Renamed from _LIB_VERSION.
26264         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
26265
26266 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
26267
26268         * math/libm-test.inc (struct test_fff_f_data): New type.
26269         (RUN_TEST_LOOP_fff_f): New macro.
26270         (fma_test_data): New variable.
26271         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
26272         (fma_towardzero_test_data): New variable.
26273         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
26274         (fma_downward_test_data): New variable.
26275         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
26276         (fma_upward_test_data): New variable.
26277         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
26278
26279         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
26280         (struct test_c_c_data): New type.
26281         (RUN_TEST_LOOP_c_c): New macro.
26282         (cacos_test_data): New variable.
26283         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
26284         (cacosh_test_data): New variable.
26285         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
26286         (casin_test_data): New variable.
26287         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
26288         (casinh_test_data): New variable.
26289         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
26290         (catan_test_data): New variable.
26291         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
26292         (catanh_test_data): New variable.
26293         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
26294         (ccos_test_data): New variable.
26295         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
26296         (ccosh_test_data): New variable.
26297         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
26298         (cexp_test_data): New variable.
26299         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
26300         (clog_test_data): New variable.
26301         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
26302         (clog10_test_data): New variable.
26303         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
26304         (conj_test_data): New variable.
26305         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
26306         (cproj_test_data): New variable.
26307         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
26308         (csin_test_data): New variable.
26309         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
26310         (csinh_test_data): New variable.
26311         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
26312         (csqrt_test_data): New variable.
26313         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
26314         (ctan_test_data): New variable.
26315         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
26316         (ctan_tonearest_test_data): New variable.
26317         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
26318         (ctan_towardzero_test_data): New variable.
26319         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
26320         (ctan_downward_test_data): New variable.
26321         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
26322         (ctan_upward_test_data): New variable.
26323         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
26324         (ctanh_test_data): New variable.
26325         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
26326         (ctanh_tonearest_test_data): New variable.
26327         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
26328         (ctanh_towardzero_test_data): New variable.
26329         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
26330         (ctanh_downward_test_data): New variable.
26331         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
26332         (ctanh_upward_test_data): New variable.
26333         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
26334         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
26335         of BUILD_COMPLEX.
26336
26337         * math/libm-test.inc (struct test_ff_f_data): New type.
26338         (struct test_ff_f_data_nexttoward): Likewise.
26339         (RUN_TEST_LOOP_2_f): New macro.
26340         (RUN_TEST_LOOP_ff_f): Likewise.
26341         (atan2_test_data): New variable.
26342         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
26343         (copysign_test_data): New variable.
26344         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
26345         (fdim_test_data): New variable.
26346         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
26347         (fmax_test_data): New variable.
26348         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
26349         (fmin_test_data): New variable.
26350         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
26351         (fmod_test_data): New variable.
26352         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
26353         (hypot_test_data): New variable.
26354         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
26355         (nextafter_test_data): New variable.
26356         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
26357         (nexttoward_test_data): New variable.
26358         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
26359         (pow_test_data): New variable.
26360         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
26361         (pow_tonearest_test_data): New variable.
26362         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
26363         (pow_towardzero_test_data): New variable.
26364         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
26365         (pow_downward_test_data): New variable.
26366         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
26367         (pow_upward_test_data): New variable.
26368         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
26369         (remainder_test_data): New variable.
26370         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
26371         (scalb_test_data): New variable.
26372         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
26373         * sysdeps/i386/fpu/libm-test-ulps: Update.
26374
26375 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
26376
26377         * math/libm-test.inc (fma_test): Use max_value instead of local
26378         variable fltmax.
26379         (nextafter_test): Likewise.
26380
26381         * math/libm-test.inc (acos_towardzero_test_data): New variable.
26382         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26383         (acos_downward_test_data): New variable.
26384         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26385         (acos_upward_test_data): New variable.
26386         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26387         (acosh_test_data): New variable.
26388         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
26389         (asin_test_data): New variable.
26390         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
26391         (asin_tonearest_test_data): New variable.
26392         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26393         (asin_towardzero_test_data): New variable.
26394         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26395         (asin_downward_test_data): New variable.
26396         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26397         (asin_upward_test_data): New variable.
26398         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26399         (asinh_test_data): New variable.
26400         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
26401         (atan_test_data): New variable.
26402         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
26403         (atanh_test_data): New variable.
26404         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
26405         (cbrt_test_data): New variable.
26406         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
26407         (ceil_test_data): New variable.
26408         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
26409         (cos_test_data): New variable.
26410         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
26411         (cos_tonearest_test_data): New variable.
26412         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26413         (cos_towardzero_test_data): New variable.
26414         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26415         (cos_downward_test_data): New variable.
26416         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26417         (cos_upward_test_data): New variable.
26418         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26419         (cosh_test_data): New variable.
26420         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
26421         (cosh_tonearest_test_data): New variable.
26422         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26423         (cosh_towardzero_test_data): New variable.
26424         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26425         (cosh_downward_test_data): New variable.
26426         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26427         (cosh_upward_test_data): New variable.
26428         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26429         (erf_test_data): New variable.
26430         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
26431         (erfc_test_data): New variable.
26432         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
26433         (exp_test_data): New variable.
26434         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
26435         (exp_tonearest_test_data): New variable.
26436         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26437         (exp_towardzero_test_data): New variable.
26438         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26439         (exp_downward_test_data): New variable.
26440         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26441         (exp_upward_test_data): New variable.
26442         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26443         (exp10_test_data): New variable.
26444         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
26445         (exp2_test_data): New variable.
26446         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
26447         (expm1_test_data): New variable.
26448         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
26449         (fabs_test_data): New variable.
26450         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
26451         (floor_test_data): New variable.
26452         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
26453         (j0_test_data): New variable.
26454         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
26455         (j1_test_data): New variable.
26456         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
26457         (log_test_data): New variable.
26458         (log_test): Run tests with RUN_TEST_LOOP_f_f.
26459         (log10_test_data): New variable.
26460         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
26461         (log1p_test_data): New variable.
26462         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
26463         (log2_test_data): New variable.
26464         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
26465         (logb_test_data): New variable.
26466         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
26467         (logb_downward_test_data): New variable.
26468         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26469         (nearbyint_test_data): New variable.
26470         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
26471         (rint_test_data): New variable.
26472         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
26473         (rint_tonearest_test_data): New variable.
26474         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26475         (rint_towardzero_test_data): New variable.
26476         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26477         (rint_downward_test_data): New variable.
26478         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26479         (rint_upward_test_data): New variable.
26480         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26481         (round_test_data): New variable.
26482         (round_test): Run tests with RUN_TEST_LOOP_f_f.
26483         (sin_test_data): New variable.
26484         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
26485         (sin_tonearest_test_data): New variable.
26486         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26487         (sin_towardzero_test_data): New variable.
26488         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26489         (sin_downward_test_data): New variable.
26490         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26491         (sin_upward_test_data): New variable.
26492         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26493         (sinh_test_data): New variable.
26494         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
26495         (sinh_tonearest_test_data): New variable.
26496         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26497         (sinh_towardzero_test_data): New variable.
26498         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26499         (sinh_downward_test_data): New variable.
26500         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26501         (sinh_upward_test_data): New variable.
26502         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26503         (sqrt_test_data): New variable.
26504         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
26505         (tan_test_data): New variable.
26506         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
26507         (tan_tonearest_test_data): New variable.
26508         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26509         (tan_towardzero_test_data): New variable.
26510         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26511         (tan_downward_test_data): New variable.
26512         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26513         (tan_upward_test_data): New variable.
26514         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26515         (tanh_test_data): New variable.
26516         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
26517         (tgamma_test_data): New variable.
26518         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
26519         (trunc_test_data): New variable.
26520         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
26521         (y0_test_data): New variable.
26522         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
26523         (y1_test_data): New variable.
26524         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
26525         (significand_test_data): New variable.
26526         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
26527
26528 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
26529
26530         [BZ #12387]
26531         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
26532
26533 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
26534
26535         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
26536
26537 2013-05-10  Andreas Jaeger  <aj@suse.de>
26538
26539         [BZ #15448]
26540         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
26541         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
26542
26543 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
26544
26545         * math/gen-libm-test.pl (adjust_arg): New function.
26546         (special_functions): Handle generating output in both functions
26547         and arrays.
26548         (parse_args): Likewise.
26549         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
26550         $in_func argument to parse_args.
26551         * math/libm-test.inc (struct test_f_f_data): New type.
26552         (IF_ROUND_INIT_): New macro.
26553         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
26554         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
26555         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
26556         (IF_ROUND_INIT_FE_UPWARD): Likewise.
26557         (ROUND_RESTORE_): Likewise.
26558         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
26559         (ROUND_RESTORE_FE_TONEAREST): Likewise.
26560         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
26561         (ROUND_RESTORE_FE_UPWARD): Likewise.
26562         (RUN_TEST_LOOP_f_f): New macro.
26563         (acos_test_data): New variable.
26564         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
26565         (acos_tonearest_test_data): New variable.
26566         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26567
26568 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26569
26570         * benchtests/bench-skeleton.c (startup): Fix coding style.
26571
26572 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
26573
26574         [BZ #6809]
26575         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
26576         negative infinity argument.
26577         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
26578         negative infinity argument.
26579         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
26580         negative infinity argument.
26581         * math/libm-test.inc (tgamma_test): Expect errno to be set for
26582         domain errors.
26583
26584 2013-05-10  Florian Weimer  <fweimer@redhat.com>
26585
26586         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
26587         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
26588         * iconv/iconv_prog.c (main): Likewise.
26589         * locale/programs/charmap-dir.c (charmap_readdir)
26590         (fopen_uncompressed): Likewise.
26591         * locale/programs/locfile.c (siblings_uncached)
26592         (write_locale_data): Use lstat64 instead of lstat.
26593         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
26594         stat.
26595
26596 2013-05-10  Andreas Jaeger  <aj@suse.de>
26597
26598         [BZ #15395]
26599         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
26600         localization.
26601         Include <locale.h>.
26602
26603 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
26604
26605         * elf/dl-close.c (_dl_close_worker): Add comments.
26606
26607 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
26608
26609         [BZ #15359]
26610         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
26611         high part of pi/2.
26612         (__ieee754_rem_pio2l): Update comments.
26613
26614         [BZ #15429]
26615         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
26616         high part of pi/2.
26617         (__ieee754_rem_pio2l): Update comments.
26618
26619         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
26620         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
26621
26622         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
26623         M_PI_4l.
26624
26625         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
26626         (M_PI_34_LOG10El): Likewise.
26627         (M_PI2_LOG10El): Likewise.
26628         (M_PI4_LOG10El): Likewise.
26629         (M_PI_LOG10El): Likewise.
26630
26631 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26632
26633         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26634
26635 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
26636
26637         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
26638         (MINUS_ZERO_INIT): Likewise.
26639         (PLUS_INFTY_INIT): Likewise.
26640         (MINUS_INFTY_INIT): Likewise.
26641         (QNAN_VALUE_INIT): Likewise.
26642         (MAX_VALUE_INIT): Likewise.
26643         (MIN_VALUE_INIT): Likewise.
26644         (MIN_SUBNORM_VALUE_INIT): Likewise.
26645         (plus_zero): Initialize with PLUS_ZERO_INIT.
26646         (minus_zero): Initialize with MINUS_ZERO_INIT.
26647         (plus_infty): Initialize with PLUS_INFTY_INIT.
26648         (minus_infty): Initialize with MINUS_INFTY_INIT.
26649         (qnan_value): Initialize with QNAN_VALUE_INIT.
26650         (max_value): Initialize with MAX_VALUE_INIT.
26651         (min_value): Initialize with MIN_VALUE_INIT.
26652         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
26653
26654         * math/libm-test.inc (RUN_TEST_if_f): New macro.
26655         (jn_test): Use TEST_if_f instead of TEST_ff_f.
26656         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
26657         (yn_test): Use TEST_if_f instead of TEST_ff_f.
26658
26659         * math/libm-test.inc (RUN_TEST_f_f): New macro.
26660         (RUN_TEST_2_f): Likewise.
26661         (RUN_TEST_ff_f): Likewise.
26662         (RUN_TEST_fi_f): Likewise.
26663         (RUN_TEST_fl_f): Likewise.
26664         (RUN_TEST_fff_f): Likewise.
26665         (RUN_TEST_c_f): Likewise.
26666         (RUN_TEST_f_f1): Likewise.
26667         (RUN_TEST_fF_f1): Likewise.
26668         (RUN_TEST_fI_f1): Likewise.
26669         (RUN_TEST_ffI_f1): Likewise.
26670         (RUN_TEST_c_c): Likewise.
26671         (RUN_TEST_cc_c): Likewise.
26672         (RUN_TEST_f_i): Likewise.
26673         (RUN_TEST_f_i_tg): Likewise.
26674         (RUN_TEST_ff_i_tg): Likewise.
26675         (RUN_TEST_f_b): Likewise.
26676         (RUN_TEST_f_b_tg): Likewise.
26677         (RUN_TEST_f_l): Likewise.
26678         (RUN_TEST_f_L): Likewise.
26679         (RUN_TEST_sincos): Likewise.
26680         * math/gen-libm-test.pl (new_test): Take new argument to indicate
26681         whether to show exceptions.  Do not include ");\n" in return
26682         value.
26683         (special_functions): Output call to RUN_TEST_sincos instead of
26684         check_float calls.  Update calls to new_test.
26685         (parse_args): Output call to single RUN_TEST_* macro instead of
26686         check_* calls and other assignments.  Update calls to new_test.
26687
26688         [BZ #2546]
26689         [BZ #2560]
26690         [BZ #5159]
26691         [BZ #15426]
26692         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
26693         input to result for tgamma overflow.
26694         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
26695         (gamma_coeff): New variable.
26696         (NCOEFF): New macro.
26697         (gamma_positive): New function.
26698         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
26699         underflow here.  Use gamma_positive instead of exp (lgamma) for
26700         other arguments.
26701         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
26702         (gamma_coeff): New variable.
26703         (NCOEFF): New macro.
26704         (gammaf_positive): New function.
26705         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
26706         underflow here.  Use gamma_positive instead of exp (lgamma) for
26707         other arguments.
26708         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
26709         (gamma_coeff): New variable.
26710         (NCOEFF): New macro.
26711         (gammal_positive): New function.
26712         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
26713         underflow here.  Use gamma_positive instead of exp (lgamma) for
26714         other arguments.
26715         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
26716         (gamma_coeff): New variable.
26717         (NCOEFF): New macro.
26718         (gammal_positive): New function.
26719         (__ieee754_gammal_r): Handle positive infinity, overflow and
26720         underflow here.  Handle NaN the same as positive infinity.  Remove
26721         check x < 0xffffffff for negative integers.  Use gamma_positive
26722         instead of exp (lgamma) for other arguments.
26723         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
26724         (gamma_coeff): New variable.
26725         (NCOEFF): New macro.
26726         (gammal_positive): New function.
26727         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
26728         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
26729         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
26730         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
26731         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
26732         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
26733         * sysdeps/generic/math_private.h (__gamma_productf): New
26734         prototype.
26735         (__gamma_product): Likewise.
26736         (__gamma_productl): Likewise.
26737         * math/Makefile (libm-calls): Add gamma_product.
26738         * math/libm-test.inc (tgamma_test): Add more tests.
26739         * sysdeps/i386/fpu/libm-test-ulps: Update.
26740         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26741
26742 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
26743
26744         * benchtests/bench-skeleton.c (main): Preheat CPU.
26745
26746 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
26747
26748         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
26749
26750 2013-05-07  Roland McGrath  <roland@hack.frob.com>
26751
26752         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
26753         and _dl_skip_args_internal.
26754
26755 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
26756
26757         * manual/message.texi (Message Translation): Talk about users.
26758         Message to key mapping impacts design.
26759
26760 2013-05-06  Roland McGrath  <roland@hack.frob.com>
26761
26762         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
26763
26764         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
26765
26766         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
26767         * sysdeps/wordsize-64/glob64.c: ... here.
26768
26769         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
26770         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
26771         New macros.
26772
26773         * debug/getlogin_r_chk.c: Moved to ...
26774         * login/getlogin_r_chk.c: ... here.
26775         * debug/Makefile (routines): Move getlogin_r_chk to ...
26776         * login/Makefile (routines): ... here.
26777         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
26778         * login/Versions (libc: GLIBC_2.4): ... here.
26779
26780         * io/poll.c (__poll): Renamed from poll.
26781         Add libc_hidden_def.
26782         (poll): Define as weak alias.
26783
26784         * debug/ptsname_r_chk.c: Moved to ...
26785         * login/ptsname_r_chk.c: ... here.
26786         * debug/Makefile (routines): Move ptsname_r_chk to ...
26787         * login/Makefile (routines): ... here.
26788         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
26789         * login/Versions (libc: GLIBC_2.4): ... here.
26790
26791         * posix/getlogin.c: Moved to ...
26792         * login/getlogin.c: ... here.
26793         * posix/getlogin_r.c: Moved to ...
26794         * login/getlogin_r.c: ... here.
26795         * posix/getlogin_r.c: Moved to ...
26796         * login/getlogin_r.c: ... here.
26797         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
26798         * login/Makefile (routines): ... here.
26799         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
26800         * login/Versions (libc: GLIBC_2.0): ... here.
26801
26802         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
26803         (setrlimit): Define as weak alias.
26804
26805         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
26806         Call __ names for open, ftruncate, and close.
26807         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
26808         (truncate): Define as weak alias.
26809
26810 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
26811
26812         * math/gen-libm-test.pl (parse_args): Initialize x before each
26813         test of frexp, modf and remquo.
26814
26815         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
26816         test signgam value.
26817
26818 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26819
26820         [BZ #15418]
26821         [BZ #15419]
26822         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
26823         internal tests.
26824         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26825
26826 2013-05-06  Roland McGrath  <roland@hack.frob.com>
26827
26828         * elf/dl-writev.h: New file.
26829         * elf/dl-misc.c: Include it.
26830         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
26831         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
26832
26833 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
26834
26835         * math/libm-test.inc (noXFails): Remove variable.
26836         (noXPasses): Likewise.
26837         (BUILD_COMPLEX_INT): Remove macro.
26838         (print_screen): Remove xfail argument.
26839         (print_screen_max_error): Likewise.
26840         (update_stats): Likewise.
26841         (print_max_error): Likewise.  Update calls to other affected
26842         functions.
26843         (print_complex_max_error): Likewise.
26844         (test_single_exception): Update calls to print_screen.
26845         (test_single_errno): Likewise.
26846         (check_float_internal): Remove xfail argument.  Update calls to
26847         other affected functions.
26848         (check_float): Likewise.
26849         (check_complex): Likewise.
26850         (check_int): Likewise.
26851         (check_long): Likewise.
26852         (check_bool): Likewise.
26853         (check_longlong): Likewise.
26854         (main): Don't print noXFails and noXPasses.
26855         * math/gen-libm-test.pl (top level): Don't mention expected
26856         failure handling in comment.
26857         (new_test): Don't handle expected failures.
26858         (parse_args): Don't mention expected failure handling in comment.
26859         (generate_testfile): Don't handle expected failures.
26860         (parse_ulps): Likewise.
26861         (print_ulps_file): Likewise.
26862         (get_failure): Remove function.
26863         (output_test): Don't handle expected failures.
26864         * make/README.libm-test: Don't mention expected failure handling.
26865
26866         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
26867         (minus_zero): Likewise.
26868         (plus_infty): Likewise.
26869         (minus_infty): Likewise.
26870         (qnan_value): Likewise.
26871         (max_value): Likewise.
26872         (min_value): Likewise.
26873         (min_subnorm_value): Likewise.
26874         (initialize): Do not initialize those variables dynamically.
26875
26876 2013-05-03  Roland McGrath  <roland@hack.frob.com>
26877
26878         * io/open.c (__open_2): Moved to ...
26879         * io/open_2.c: ... this new file.
26880         * io/open64.c (__open64_2): Moved to ...
26881         * io/open64_2.c: ... this new file.
26882         * io/openat.c (__openat_2): Moved to ...
26883         * io/openat_2.c: ... this new file.
26884         * io/openat64.c (__openat64_2): Moved to ...
26885         * io/openat64_2.c: ... this new file.
26886         * io/Makefile (routines): Add them.
26887         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
26888         * sysdeps/unix/sysv/linux/open_2.c: File removed.
26889         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
26890         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
26891         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
26892         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
26893         (__openat64): Add hidden_ver.
26894         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
26895         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
26896
26897         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
26898         Separately conditionalize setting of GLRO(dl_sysinfo) so
26899         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
26900         as well, but the actual setting is only under [NEED_DL_SYSINFO].
26901
26902 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26903
26904         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
26905         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
26906         definition.
26907         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
26908         * sysdeps/unix/sysv/linux/powerpc/init-first.c
26909         (_libc_vdso_platform_setup): Add __vdso_time initialization.
26910         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
26911         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
26912
26913 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
26914
26915         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
26916         test signgam value.
26917
26918         * math/libm-test.inc (hypot_test): Do not use
26919         IGNORE_ZERO_INF_SIGN.
26920
26921 2013-05-03  Andreas Jaeger  <aj@suse.de>
26922
26923         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
26924         Linux 3.9.
26925         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
26926         (PF_MAX): Adjust for VSOCK change.
26927
26928 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26929
26930         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26931
26932 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
26933
26934         [BZ #15264]
26935         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
26936         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
26937         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
26938
26939 2013-05-02  David S. Miller  <davem@davemloft.net>
26940
26941         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26942
26943 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
26944
26945         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
26946
26947 2013-05-01  Roland McGrath  <roland@hack.frob.com>
26948
26949         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
26950
26951 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
26952
26953         [BZ #14952]
26954         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
26955         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
26956         Use __attribute__ ((__gnu_inline__)).
26957         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
26958         Don't use __attribute__ ((__gnu_inline__)).
26959
26960 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
26961
26962         [BZ #15423]
26963         * math/s_catan.c (__catan): Handle small real or imaginary part of
26964         input specially to avoid spurious underflow.
26965         * math/s_catanf.c (__catanf): Likewise.
26966         * math/s_catanh.c (__catanh): Likewise.
26967         * math/s_catanhf.c (__catanhf): Likewise.
26968         * math/s_catanhl.c (__catanhl): Likewise.
26969         * math/s_catanl.c (__catanl): Likewise.
26970         * math/libm-test.inc (catan_test): Add more tests.
26971         (catanh_test): Likewise.
26972         * sysdeps/i386/fpu/libm-test-ulps: Update.
26973         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26974
26975 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26976
26977         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26978
26979 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
26980
26981         [BZ #15416]
26982         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
26983         accurately for denominator in atan2.
26984         * math/s_catanf.c (__catanf): Likewise.
26985         * math/s_catanh.c (__catanh): Likewise.
26986         * math/s_catanhf.c (__catanhf): Likewise.
26987         * math/s_catanhl.c (__catanhl): Likewise.
26988         * math/s_catanl.c (__catanl): Likewise.
26989         * math/libm-test.inc (catan_test): Add more tests.
26990         (catanh_test): Likewise.
26991         * sysdeps/i386/fpu/libm-test-ulps: Update.
26992         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26993
26994 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
26995
26996         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
26997
26998         * benchtests/Makefile (bench): Remove slow benchmarks.
26999         * benchtests/atan-inputs: Add slow benchmark inputs.
27000         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
27001         (BENCH_FUNC): Accept variant offset.
27002         (VARIANT): Define.
27003         * benchtests/bench-skeleton.c (main): Run benchmark for each
27004         variant.
27005         * benchtests/cos-inputs: Add slow benchmark inputs.
27006         * benchtests/exp-inputs: Likewise.
27007         * benchtests/pow-inputs: Likewise.
27008         * benchtests/sin-inputs: Likewise.
27009         * benchtests/slowatan-inputs: Remove.
27010         * benchtests/slowatan.c: Remove.
27011         * benchtests/slowcos-inputs: Remove.
27012         * benchtests/slowcos.c: Remove.
27013         * benchtests/slowexp-inputs: Remove.
27014         * benchtests/slowexp.c: Remove.
27015         * benchtests/slowpow-inputs: Remove.
27016         * benchtests/slowpow.c: Remove.
27017         * benchtests/slowsin-inputs: Remove.
27018         * benchtests/slowsin.c: Remove.
27019         * benchtests/slowtan-inputs: Remove.
27020         * benchtests/slowtan.c: Remove.
27021         * benchtests/tan-inputs: Add slow benchmark inputs.
27022         * scripts/bench.pl: Parse comments and directives.
27023
27024         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
27025         in CPPFLAGS.
27026         ($(objpfx)bench-%.c): Remove *-ITER.
27027         * benchtests/bench-modf.c: Remove definition of ITER.
27028         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
27029         (main): Loop for DURATION seconds instead of fixed number of
27030         iterations.
27031         * scripts/bench.pl: Don't expect iterations in parameters.
27032
27033 2013-04-29  Roland McGrath  <roland@hack.frob.com>
27034
27035         * io/fchdir.c (__fchdir): Renamed from fchdir.
27036         (fchdir): Define as weak alias.
27037
27038 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
27039
27040         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
27041         (ERRNO_EDOM): Likewise.
27042         (ERRNO_ERANGE): Likewise.
27043         (noErrnoTests): New variable.
27044         (init_max_error): Set errno to 0.
27045         (test_single_errno): New function.
27046         (test_errno): Likewise.
27047         (check_float_internal): Call test_errno.  Set errno to 0.
27048         (check_complex): Refer to errno tests in comment.
27049         (check_int): Call test_errno.  Set errno to 0.
27050         (check_long): Likewise.
27051         (check_bool): Likewise.
27052         (check_longlong): Likewise.
27053         (cos_test): Use ERRNO_* flags for errno tests instead of
27054         check_int.
27055         (expm1_test): Likewise.
27056         (fmod_test): Likewise.
27057         (ilogb_test): Likewise.
27058         (lgamma_test): Likewise.
27059         (pow_test): Likewise.
27060         (remainder_test): Likewise.
27061         (sin_test): Likewise.
27062         (tan_test): Likewise.
27063         (yn_test): Likewise.
27064         (initialize): Set errno to 0.
27065         (main): Print number of errno tests.
27066         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
27067
27068 2013-04-29  Andreas Jaeger  <aj@suse.de>
27069
27070         [BZ #15084]
27071         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
27072         and RES_USEVC.
27073
27074         [BZ #15085]
27075         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
27076         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
27077         unimplemented.
27078
27079         [BZ #15380]
27080         * stdlib/random.c (__initstate): Return NULL if
27081         __initstate fails.
27082
27083         [BZ #15086]
27084         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
27085         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
27086         RES_SNGLKUPREOP.
27087
27088 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27089
27090         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27091
27092 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
27093
27094         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
27095         of individual tests.
27096         (casin_test): Likewise.
27097         (casinh_test): Likewise.
27098
27099 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
27100
27101         [BZ #15409]
27102         * math/s_catan.c (__catan): Handle arguments with large real or
27103         imaginary part separately without squaring.
27104         * math/s_catanf.c (__catanf): Likewise.
27105         * math/s_catanh.c (__catanh): Likewise.
27106         * math/s_catanhf.c (__catanhf): Likewise.
27107         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
27108         and redefine.
27109         (__catanhl): Handle arguments with large real or imaginary part
27110         separately without squaring.
27111         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
27112         and redefine.
27113         (__catanl): Handle arguments with large real or imaginary part
27114         separately without squaring.
27115         * math/libm-test.inc (catan_test): Add more tests.
27116         (catanh_test): Likewise.
27117         * sysdeps/i386/fpu/libm-test-ulps: Update.
27118         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27119
27120 2013-04-27  Andreas Jaeger  <aj@suse.de>
27121
27122         [BZ #15007]
27123         * stdlib/stdlib.h: Update guards for qecvt.
27124         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
27125         <stdlib.h>.
27126
27127 2013-04-27  Allan McRae  <allan@archlinux.org>
27128
27129         * sysdeps/i386/fpu/libm-test-ulps: Update.
27130
27131 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
27132
27133         [BZ #15406]
27134         * math/s_catan.c: Include <float.h>.
27135         (__catan): Ensure underflow exception occurs for underflowed
27136         result.
27137         * math/s_catanf.c: Include <float.h>.
27138         (__catanf): Ensure underflow exception occurs for underflowed
27139         result.
27140         * math/s_catanh.c: Include <float.h>.
27141         (__catanh): Ensure underflow exception occurs for underflowed
27142         result.
27143         * math/s_catanhf.c: Include <float.h>.
27144         (__catanhf): Ensure underflow exception occurs for underflowed
27145         result.
27146         * math/s_catanhl.c: Include <float.h>.
27147         (__catanhl): Ensure underflow exception occurs for underflowed
27148         result.
27149         * math/s_catanl.c: Include <float.h>.
27150         (__catanl): Ensure underflow exception occurs for underflowed
27151         result.
27152         * math/libm-test.inc (catan_test): Add more tests.
27153         (catanh_test): Likewise.
27154
27155         [BZ #15405]
27156         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
27157         underflowed result.
27158         * math/s_ccoshf.c (__ccoshf): Likewise.
27159         * math/s_ccoshl.c (__ccoshl): Likewise.
27160         * math/s_csin.c (__csin): Likewise.
27161         * math/s_csinf.c (__csinf): Likewise.
27162         * math/s_csinh.c (__csinh): Likewise.
27163         * math/s_csinhf.c (__csinhf): Likewise.
27164         * math/s_csinhl.c (__csinhl): Likewise.
27165         * math/s_csinl.c (__csinl): Likewise.
27166         * math/libm-test.inc (ccos_test): Add more tests.
27167         (ccosh_test): Likewise.
27168         (csin_test): Likewise.
27169         (csinh_test): Likewise.
27170
27171 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27172
27173         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
27174         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
27175         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
27176         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
27177         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
27178         powerpc/power5+/fpu folders.
27179         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
27180
27181
27182 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
27183
27184         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27185
27186 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
27187
27188         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
27189         additions to variable.
27190         [$(config-machine) = x86_64] (modules-names): Likewise.
27191         ($(objpfx)tst-audit3): Remove dependency.
27192         ($(objpfx)tst-audit3.out): Likewise.
27193         ($(objpfx)tst-audit4): Likewise.
27194         ($(objpfx)tst-audit4.out): Likewise.
27195         ($(objpfx)tst-audit5): Likewise.
27196         ($(objpfx)tst-audit5.out): Likewise.
27197         ($(objpfx)tst-audit6): Likewise.
27198         ($(objpfx)tst-audit6.out): Likewise.
27199         ($(objpfx)tst-audit7): Likewise.
27200         ($(objpfx)tst-audit7.out): Likewise.
27201         (tst-audit3-ENV): Remove variable.
27202         (tst-audit4-ENV): Likewise.
27203         (tst-audit5-ENV): Likewise.
27204         (tst-audit6-ENV): Likewise.
27205         (tst-audit7-ENV): Likewise.
27206         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
27207         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
27208         addition to variable.
27209         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
27210         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
27211         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
27212         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
27213         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
27214         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
27215         tst-audit3, tst-audit4 and tst-audit5.
27216         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
27217         tst-audit6 and tst-audit7.
27218         [$(subdir) = elf] (modules-names): Add audit modules for those
27219         tests.
27220         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
27221         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
27222         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
27223         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
27224         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
27225         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
27226         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
27227         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
27228         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
27229         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
27230         [$(subdir) = elf] (tst-audit3-ENV): New variable.
27231         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
27232         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
27233         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
27234         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
27235         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
27236         Likewise.
27237         [$(subdir) = elf && $(config-cflags-avx) = yes]
27238         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
27239         [$(subdir) = elf && $(config-cflags-avx) = yes]
27240         (CFLAGS-tst-auditmod4a.c): Likewise.
27241         [$(subdir) = elf && $(config-cflags-avx) = yes]
27242         (CFLAGS-tst-auditmod4b.c): Likewise.
27243         [$(subdir) = elf && $(config-cflags-avx) = yes]
27244         (CFLAGS-tst-auditmod6b.c): Likewise.
27245         [$(subdir) = elf && $(config-cflags-avx) = yes]
27246         (CFLAGS-tst-auditmod6c.c): Likewise.
27247         [$(subdir) = elf && $(config-cflags-avx) = yes]
27248         (CFLAGS-tst-auditmod7b.c): Likewise.
27249         * elf/tst-audit3.c: Move to ...
27250         * sysdeps/x86_64/tst-audit3.c: ... here.
27251         * elf/tst-audit4.c: Move to ...
27252         * sysdeps/x86_64/tst-audit4.c: ... here.
27253         * elf/tst-audit5.c: Move to ...
27254         * sysdeps/x86_64/tst-audit5.c: ... here.
27255         * elf/tst-audit6.c: Move to ...
27256         * sysdeps/x86_64/tst-audit6.c: ... here.
27257         * elf/tst-audit7.c: Move to ...
27258         * sysdeps/x86_64/tst-audit7.c: ... here.
27259         * elf/tst-auditmod3a.c: Move to ...
27260         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
27261         * elf/tst-auditmod3b.c: Move to ...
27262         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
27263         * elf/tst-auditmod4a.c: Move to ...
27264         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
27265         * elf/tst-auditmod4b.c: Move to ...
27266         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
27267         * elf/tst-auditmod5a.c: Move to ...
27268         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
27269         * elf/tst-auditmod5b.c: Move to ...
27270         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
27271         * elf/tst-auditmod6a.c: Move to ...
27272         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
27273         * elf/tst-auditmod6b.c: Move to ...
27274         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
27275         * elf/tst-auditmod6c.c: Move to ...
27276         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
27277         * elf/tst-auditmod7a.c: Move to ...
27278         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
27279         * elf/tst-auditmod7b.c: Move to ...
27280         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
27281
27282 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
27283
27284         [BZ #15366]
27285         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
27286         define unconditionally.
27287         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
27288         define unconditionally.
27289         (INT8_C, INT16_C, etc.): Likewise.
27290
27291 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
27292
27293         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
27294         __ehdr_start with hidden visibility.
27295
27296         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
27297
27298 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
27299
27300         * math/libm-test.inc (cos_test): Use accurate hex constants.
27301         (sincost_test): Likewise.
27302
27303 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
27304
27305         * math/libm-test.inc (catan_test): Add more tests.
27306         (catanh_test): Likewise.
27307
27308         * math/s_catanf.c (__catanf): Use suffixed floating-point
27309         constants.
27310         * math/s_catanhf.c (__catanhf): Likewise.
27311         * math/s_catanhl.c (__catanhl): Likewise.
27312         * math/s_catanl.c (__catanl): Likewise.
27313
27314         [BZ #15394]
27315         * math/s_catan.c (__catan): Calculate imaginary part of result
27316         with log1p not log unless computing log of number close to 0.
27317         * math/s_catanf.c (__catanf): Likewise.
27318         * math/s_catanl.c (__catanl): Likewise.
27319         * math/s_catanh.c (__catanh): Calculate real part of result with
27320         log1p not log unless computing log of number close to 0.
27321         * math/s_catanhf.c (__catanhf): Likewise.
27322         * math/s_catanhl.c (__catanhl): Likewise.
27323         * math/libm-test.inc (catan_test): Add more tests.
27324         (catanh_test): Likewise.
27325         * sysdeps/i386/fpu/libm-test-ulps: Update.
27326         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27327
27328 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
27329
27330         * benchtests/Makefile: Mention files in which fast and slow
27331         paths of math functions are implemented.
27332
27333 2013-04-23  Roland McGrath  <roland@hack.frob.com>
27334
27335         * sysdeps/posix/timespec_get.c: New file.
27336
27337 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27338
27339         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
27340         POWER.
27341         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
27342         for POWER.
27343         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
27344         powerpc/power5/fpu folders.
27345         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
27346         * benchtests/Makefile: Add modf testcase.
27347         * benchtests/bench-modf.c: New file: Benchmark test for mo
27348
27349 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
27350
27351         [BZ #14888]
27352         * time/Makefile (tests): Add tst-strptime-whitespace.
27353         * time/strptime_l.c (get_number): Use ISSPACE.
27354         (__strptime_internal): Likewise.
27355         * time/tst-strptime-whitespace.c: New test case.
27356
27357 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
27358
27359         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
27360         member.
27361         (_nss_files_init): Set it here.
27362
27363 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
27364
27365         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
27366         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
27367         unsigned.
27368
27369 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
27370
27371         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
27372
27373 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
27374
27375         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
27376         size just once.
27377
27378 2013-04-21  David S. Miller  <davem@davemloft.net>
27379
27380         * po/ru.po: Update Russion translation from translation project.
27381
27382 2013-04-17  Adam Conrad  <adconrad@0c3.net>
27383
27384         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
27385         and setfsgid.
27386
27387 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
27388
27389         * configure.in: Remove i386 configure warning. Remove i386 case.
27390         * configure: Regenerate.
27391         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
27392         Add example to error message.
27393         * sysdeps/i386/configure: Regenerate.
27394
27395 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
27396
27397         * benchtests/Makefile (bench): Add cos, tan, slowcos and
27398         slowtan.
27399         * benchtests/cos-inputs: New file.
27400         * benchtests/slowcos-inputs: New file.
27401         * benchtests/slowcos.c: New file.
27402         * benchtests/slowtan-inputs: New file.
27403         * benchtests/slowtan.c: New file.
27404         * benchtests/tan-inputs: New file.
27405
27406 2013-04-16  Roland McGrath  <roland@hack.frob.com>
27407
27408         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
27409         considered kosher.
27410
27411 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27412
27413         * benchtests/Makefile: Include cppflags-iterator.mk to add
27414         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
27415
27416         * Makefile.in (bench-clean): New target.
27417         * benchtests/Makefile (bench-clean): Likewise.
27418
27419 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
27420
27421         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
27422
27423 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
27424
27425         * stdio-common/tstdiomisc.c: Fix coding-style violation.
27426
27427 2013-04-15  Andreas Schwab  <schwab@suse.de>
27428
27429         * nscd/grpcache.c (cache_addgr): Properly check for short write.
27430         * nscd/initgrcache.c (addinitgroupsX): Likewise.
27431         * nscd/pwdcache.c (cache_addpw): Likewise.
27432         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
27433         more than recsize.
27434
27435 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27436
27437         * benchtests/Makefile (bench): Write all output to
27438         bench-out.tmp together.
27439
27440 2013-04-15  Andreas Schwab  <schwab@suse.de>
27441
27442         * nscd/nscd.c (main): Don't fork again after closing files.
27443
27444 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27445
27446         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
27447
27448         * benchtests/Rules (bench-deps): Collect dependencies into a
27449         single variable.  Add Makefile to dependencies.
27450         ($(objpfx)bench-%.c): Depend on bench-deps.
27451
27452 2013-04-12  Roland McGrath  <roland@hack.frob.com>
27453             Xavier Roche  <roche+kml2@exalead.com>
27454
27455         [BZ #15361]
27456         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
27457         just that it's a file descriptor.
27458         * manual/llio.texi (Synchronizing AIO Operations): Update description
27459         for EBADF error from aio_fsync.
27460
27461 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
27462
27463         * Rules (bench): Move target definition...
27464         * benchtests/Makefile: ... here.
27465
27466 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
27467
27468         * math/libm-test.inc (cos_test): Fix PI/2 test.
27469         (sincos_test): Likewise.
27470         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
27471         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
27472
27473 2013-04-11  Andreas Schwab  <schwab@suse.de>
27474
27475         [BZ #13988]
27476         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
27477         accept exponent character only when digits were seen.
27478         * stdio-common/Makefile (tests): Add bug26.
27479         * stdio-common/bug26.c: New file.
27480
27481         [BZ #14293]
27482         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
27483         non-freeable.
27484
27485 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
27486
27487         * Makeconfig (rtld-prefix): Define built linker prefix.
27488         * Rules (run-bench): Use it.
27489         * math/Makefile (run-regen-ulps): Likewise.
27490
27491         * Rules (bench): Remove eval.
27492
27493 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
27494             Roland McGrath  <roland@hack.frob.com>
27495             Ondrej Bilka  <neleai@seznam.cz>
27496
27497         [BZ #15346]
27498         * time/getdate.c: Include ctype.h and alloca.h.
27499         (__getdate_r): Trim leading and trailing spaces of input.
27500         * time/tst-getdate.c (tests): Add tests with leading and
27501         trailing spaces.
27502
27503 2013-04-08  Roland McGrath  <roland@hack.frob.com>
27504
27505         [BZ #14280]
27506         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
27507         when computing value.
27508
27509 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
27510
27511         * math/README.libm-test (How can I generate "libm-test-ulps"?):
27512         Use testrun.sh to run libm tests.
27513
27514         [BZ #15309]
27515         * elf/dl-open.c (dl_open_worker): memset all of seen array.
27516
27517 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
27518
27519         [BZ #15264]
27520         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
27521
27522 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
27523
27524         * Makefile.in (regen-ulps): New target.
27525         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
27526         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
27527         [ifneq (no,$(PERL)] (regen-ulps): New target.
27528         [ifeq (no,$(PERL)] (regen-ulps): New target.
27529         * math/libm-test.inc (ulps_file_name): Define.
27530         (output_dir): New variable.
27531         (options): Add "output-dir" option.
27532         (parse_opt): Handle 'o' case.
27533         (main): If output_dir is non-NULL use it as a prefix
27534         otherwise use "".
27535         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
27536
27537 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
27538
27539         [BZ #10060, #10062]
27540         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
27541         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
27542         fail configure if __sync_val_compare_and_swap is not inlined.
27543         * sysdeps/i386/configure: Regenerate.
27544         * configure.in: Build for i686 when configured for i386.
27545         * configure: Regenerate.
27546         * README: Remove i386 reference.
27547
27548 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
27549
27550         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
27551         * sysdeps/s390/s390-64/sysdep.h: Likewise.
27552
27553 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
27554
27555         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
27556         (lmsnanval): New variables.
27557         (F): Add conversion tests.
27558         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
27559         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
27560
27561         * stdio-common/tstdiomisc.c (F): Properly collect individual
27562         tests' results.
27563
27564         [BZ #14686, #15336]
27565         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
27566         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
27567         Instead, use input NaN values or generate a qNaN by arithmetic
27568         operation.  Also fix bugs to comply with the standard.
27569         * math/libm-test.inc (remainder_test): Add more tests.
27570
27571         [BZ #15335, #15342]
27572         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
27573         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
27574         input NaN values or generate a qNaN by arithmetic operation.
27575
27576         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
27577         unreachable code.
27578
27579         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
27580         definitions.
27581
27582 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
27583
27584         [BZ #14478]
27585         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
27586         underflowed result.
27587         * math/s_cexpf.c (__cexpf): Likewise.
27588         * math/s_cexpl.c (__cexpl): Likewise.
27589         * math/libm-test.inc (cexp_test): Add more tests.
27590
27591 2013-04-03  Andreas Schwab  <schwab@suse.de>
27592
27593         [BZ #15330]
27594         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
27595         order arrays from heap if bigger than alloca cutoff.
27596
27597 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
27598
27599         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
27600         (SNAN_TESTS_double): Refer to GCC PR56831.
27601         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
27602         GCC PR56828.
27603
27604 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
27605
27606         * Rules (bench): Move bench.out after the run is complete.
27607
27608         * Rules (bench): Echo currently running benchmark.
27609
27610         * benchtests/Makefile (bench): Add atan and slowatan.
27611         * benchtests/atan-inputs: New file.
27612         * benchtests/slowatan-inputs: New file.
27613         * benchtests/slowatan.c: New file.
27614
27615         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
27616         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
27617         its value.
27618
27619         [BZ #15305]
27620         * sysdeps/unix/sysv/linux/kernel-features.h
27621         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
27622         __ASSUME_XFS_RESTRICTED_CHOWN.
27623         * sysdeps/unix/sysv/linux/pathconf.c
27624         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
27625         Save and restore errno.
27626
27627 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
27628
27629         [BZ #15327]
27630         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
27631         arguments using __kernel_casinh.
27632         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
27633         arguments using __kernel_casinhf.
27634         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
27635         arguments using __kernel_casinhl.
27636         * math/libm-test.inc (cacosh_test): Add more tests.
27637         * sysdeps/i386/fpu/libm-test-ulps: Update.
27638         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27639
27640 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27641
27642         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
27643         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
27644
27645         * bench/Makefile (bench): Add sin and slowsin.
27646         * benchtests/sin-inputs: New file.
27647         * benchtests/slowsin-inputs: New file.
27648         * benchtests/slowsin.c: New file.
27649
27650         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
27651         (bench): Add slowexp and slowpow.
27652         (exp-ITER): Increase iterations.
27653         (pow-ITER): Likewise.
27654         * benchtests/exp-inputs: Change input.
27655         * benchtests/pow-inputs: Likewise.
27656         * benchtests/slowexp-inputs: New file.
27657         * benchtests/slowexp.c: New file.
27658         * benchtests/slowpow-inputs: New file.
27659         * benchtests/slowpow.c: New file.
27660
27661 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27662
27663         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
27664         instructions.
27665         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
27666         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
27667         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
27668         * benchtests/Makefile: Add rint benchtest.
27669         * benchtests/rint-inputs: Input for rint benchtest.
27670
27671 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
27672
27673         * Versions.def (libm): Add GLIBC_2.18.
27674         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
27675         hidden libm prototypes.
27676         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
27677         * math/Makefile (libm-calls): Add s_issignaling.
27678         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
27679         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
27680         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
27681         declaration.
27682         * math/math.h [__USE_GNU] (issignaling): New macro.
27683         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
27684         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
27685         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
27686         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
27687         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
27688         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
27689         * manual/arith.texi (issignaling): New section.
27690         * manual/libm-err-tab.pl (@all_functions): Update comment.
27691         * math/gen-libm-test.pl (parse_args): Apply special handling for
27692         issignaling.
27693         * math/libm-test.inc (print_float, issignaling_test): New
27694         functions.
27695         (check_float_internal): Add issignaling checks.
27696         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
27697         default definition.
27698         * sysdeps/powerpc/math-tests.h: New file.
27699         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
27700         tests.
27701         * math/test-snan.c (TEST_FUNC): Likewise.
27702
27703 2013-03-30  David S. Miller  <davem@davemloft.net>
27704
27705         * po/de.po: Update from translation team.
27706
27707 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
27708
27709         [BZ #10357]
27710         * math/k_casinh.c (__kernel_casinh): Handle arguments with
27711         imaginary part less than 1.0 and real part less than 0.5
27712         specially.
27713         * math/k_casinhf.c (__kernel_casinhf): Likewise.
27714         * math/k_casinhl.c (__kernel_casinhl): Likewise.
27715         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
27716         (cacos_test): Add more tests.
27717         (casin_test): Likewise.
27718         (casinh_test): Likewise.
27719         * sysdeps/i386/fpu/libm-test-ulps: Update.
27720         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27721
27722 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
27723
27724         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
27725         ONE with its value.
27726
27727         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
27728         (__pow_mp): Replace ONE and MONE with their values.
27729         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
27730         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
27731         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
27732         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
27733         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
27734         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
27735
27736         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
27737
27738         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
27739         (__pow_mp): Replace ZERO and MZERO with their values.
27740         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
27741         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
27742         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
27743         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
27744         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
27745         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
27746         (__sqr): Likewise.
27747
27748         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
27749
27750         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
27751
27752 2013-03-28  Roland McGrath  <roland@hack.frob.com>
27753
27754         * include/stdlib.h [!SHARED] (__call_tls_dtors):
27755         Declare with __attribute__ ((weak)).
27756         * stdlib/exit.c (__libc_atexit) [!SHARED]:
27757         Call __call_tls_dtors only if it's not NULL.
27758
27759 2013-03-28  Roland McGrath  <roland@hack.frob.com>
27760
27761         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
27762         didn't do it already, then set _dl_phdr and _dl_phnum based on the
27763         magic __ehdr_start linker symbol if it's defined.
27764         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
27765         them up here if it was already done.
27766
27767         * elf/dl-support.c (_dl_phdr): Make pointer to const.
27768         (_dl_aux_init): Use const in cast when setting it.
27769         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
27770         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
27771         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
27772
27773         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
27774         Declare them here.
27775         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
27776         * csu/libc-tls.c: Nor here.
27777         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
27778
27779         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
27780         (__libc_message): Never call vsyslog.
27781
27782 2013-03-28  Alan Modra  <amodra@gmail.com>
27783
27784         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
27785         Define as empty.
27786         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
27787         Likewise.
27788
27789 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27790
27791         [BZ #15214]
27792         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
27793         underflow.
27794         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27795
27796 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27797
27798         [BZ #15304]
27799         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
27800         Don't add gid passed as argument.
27801
27802         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
27803
27804 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
27805
27806         [BZ #15307]
27807         * math/k_casinh.c (__kernel_casinh): Handle arguments with
27808         imaginary part between 1.0 and 1.5 and real part less than 0.5
27809         specially.
27810         * math/k_casinhf.c (__kernel_casinhf): Likewise.
27811         * math/k_casinhl.c (__kernel_casinhl): Likewise.
27812         * math/libm-test.inc (cacos_test): Add more tests.
27813         (casin_test): Likewise.
27814         (casinh_test): Likewise.
27815         * sysdeps/i386/fpu/libm-test-ulps: Update.
27816         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27817
27818 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
27819
27820         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
27821         constants.
27822         (norm): Likewise.
27823         (denorm): Likewise.
27824         (__dbl_mp): Likewise.
27825         (add_magnitudes): Likewise.
27826         (sub_magnitudes): Likewise.
27827         (__add): Likewise.
27828         (__sub): Likewise.
27829         (__mul): Likewise.
27830         (__sqr): Likewise.
27831         (__inv): Likewise.
27832         (__dvd): Likewise.
27833
27834         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
27835         commented code.
27836         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
27837         (__dubcos): Likewise.
27838         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
27839         (__ieee754_acos): Likewise.
27840         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
27841         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
27842         (__exp1): Likewise.
27843         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
27844         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
27845         (log1): Likewise.
27846         (my_log2): Likewise.
27847         (checkint): Likewise.
27848         * sysdeps/ieee754/dbl-64/e_remainder.c
27849         (__ieee754_remainder): Likewise.
27850         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
27851         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
27852         (bsloww): Likewise.
27853         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
27854
27855         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
27856         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
27857         MANTISSA_STORE_T to store computations on mantissa.  Use
27858         macros for rounding and division.
27859         (denorm): Likewise.
27860         (__dbl_mp): Likewise.
27861         (add_magnitudes): Likewise.
27862         (sub_magnitudes): Likewise.
27863         (__mul): Likewise.
27864         (__sqr): Likewise.
27865         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
27866         powers of two in terms of TWOPOW macro.
27867         (mp_no): Make type of mantissa as MANTISSA_T.
27868         [!RADIXI]: Define RADIXI.
27869         [!TWO52]: Define TWO52.
27870         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
27871
27872 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27873
27874         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
27875         llroundl symbol when building for PPC32.
27876
27877 2013-03-24  Mark H Weaver  <mhw@netris.org>
27878
27879         * manual/arith.texi (Normalization Functions): Fix prototypes for
27880         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
27881
27882 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27883
27884         [BZ #13889]
27885         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
27886         high value to check if expl overflow.
27887         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
27888         to check for underflow and overflow.
27889         * math/libm-test.inc: Add exp test.
27890
27891 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
27892
27893         [BZ #11120]
27894         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
27895         with NOT_IN_libc.
27896
27897 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27898
27899         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
27900         symbol.
27901
27902 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
27903
27904         * math/gen-libm-test.pl (parse_args, special_functions): Properly
27905         wrap blocks consisting of several statements.
27906
27907         * sysdeps/generic/math-tests.h: New file.
27908         * sysdeps/i386/fpu/math-tests.h: Likewise.
27909         * math/test-snan.c: Include it.
27910         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
27911
27912 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
27913
27914         [BZ #15285]
27915         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
27916         (__ieee754_j0l): Do not improve calculations using cos of twice
27917         input for inputs above LDBL_MAX / 2.0L.
27918         (__ieee754_y0l): Likewise.
27919         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
27920         (__ieee754_j1l): Do not improve calculations using cos of twice
27921         input for inputs above LDBL_MAX / 2.0L.
27922         (__ieee754_y1l): Likewise.
27923         * math/libm-test.inc (j0_test): Add another test.
27924         (j1_test): Likewise.
27925         (y0_test): Likewise.
27926         (y1_test): Likewise.
27927         * sysdeps/i386/fpu/libm-test-ulps: Update.
27928
27929 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
27930
27931         * Rules ($(objpfx)bench-%.c): Include code from a C source
27932         file.
27933
27934 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
27935
27936         [BZ #15287]
27937         * math/k_casinh.c (__kernel_casinh): Handle arguments with
27938         imaginary part 1.0 and real part less than 0.5 specially.
27939         * math/k_casinhf.c (__kernel_casinhf): Likewise.
27940         * math/k_casinhl.c (__kernel_casinhl): Likewise.
27941         * math/libm-test.inc (cacos_test): Add more tests.
27942         (casin_test): Likewise.
27943         (casinh_test): Likewise.
27944         * sysdeps/i386/fpu/libm-test-ulps: Update.
27945         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27946
27947 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
27948
27949         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
27950         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
27951
27952 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
27953
27954         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
27955         * config.make.in (config-cflags-sse4): Remove variable.
27956         (config-cflags-avx): Likewise.
27957         (config-cflags-sse2avx): Likewise.
27958         (config-cflags-novzeroupper): Likewise.
27959         (config-asflags-i686): Likewise.
27960         (have-mfma4): Likewise.
27961         (have-as-vis3): Likewise.
27962         (MIG): Likewise.
27963         * configure.in (MIG): Do not AC_SUBST.
27964         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
27965         (libc_cv_cc_sse4): Do not AC_SUBST.
27966         (libc_cv_cc_avx): Likewise.
27967         (libc_cv_cc_sse2avx): Likewise.
27968         (libc_cv_cc_novzeroupper): Likewise.
27969         (libc_cv_cc_fma4): Likewise.
27970         (libc_cv_as_i686): Likewise.
27971         (libc_cv_sparc_as_vis3): Likewise.
27972         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
27973         LIBC_CONFIG_VAR.
27974         (config-asflags-i686): Likewise.
27975         (config-cflags-avx): Likewise.
27976         (config-cflags-sse2avx): Likewise.
27977         (have-mfma4): Likewise.
27978         (config-cflags-novzeroupper): Likewise.
27979         * sysdeps/mach/configure.in (MIG): Likewise.
27980         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
27981         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
27982         LIBC_CONFIG_VAR.
27983         (config-cflags-avx): Likewise.
27984         (config-cflags-sse2avx): Likewise.
27985         (have-mfma4): Likewise.
27986         (config-cflags-novzeroupper): Likewise.
27987         * configure: Regenerated.
27988         * sysdeps/i386/configure: Likewise.
27989         * sysdeps/mach/configure: Likewise.
27990         * sysdeps/sparc/configure: Likewise.
27991         * sysdeps/x86_64/configure: Likewise.
27992
27993 2013-03-20  Roland McGrath  <roland@hack.frob.com>
27994
27995         [BZ #14812]
27996         * locale/programs/localedef.c (options): Put N_ translation marker
27997         on argument names, not just descriptions.
27998
27999 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28000
28001         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
28002
28003 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
28004
28005         [BZ #14176]
28006         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
28007
28008 2013-03-19  Roland McGrath  <roland@hack.frob.com>
28009
28010         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
28011         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
28012         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
28013         [!BEFORE_ABORT] (before_abort): New function.
28014         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
28015         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
28016         (writev_for_fatal): New function.
28017         (WRITEV_FOR_FATAL): New macro; call that.
28018         (backtrace_and_maps): New function.
28019         (BEFORE_ABORT): New macro; call that.
28020         (struct str_list): Type removed.
28021         (__libc_message, __libc_fatal): Functions removed.
28022         Include <sysdeps/posix/libc_fatal.c> instead.
28023
28024 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
28025
28026         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
28027         constants.
28028         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
28029         double constants.
28030
28031 2013-03-19  Andreas Schwab  <schwab@suse.de>
28032
28033         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
28034         * sysdeps/gnu/configure: Regenerate.
28035
28036         * configure.in: Substitute libc_cv_rtlddir.
28037         * configure: Regenerate.
28038         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
28039         * Makeconfig (rtlddir, inst_rtlddir): New variables.
28040         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
28041         * elf/Makefile (install-others, CFLAGS-interp.c)
28042         (ldso_install, common-ldd-rewrite): Likewise.
28043         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
28044         $(inst_slibdir)/$(rtld-installed-name).
28045         * scripts/rellns-sh: Add -p option.
28046         * Makerules (make-shlib-link): Use rellns-sh to get relative name
28047         for source.
28048
28049 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
28050
28051         * manual/nptl.texi: Renamed to ...
28052         * manual/threads.texi: ... this.
28053         * manual/Makefile (chapters): Update.
28054
28055 2013-03-18  Roland McGrath  <roland@hack.frob.com>
28056
28057         [BZ #14812]
28058         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
28059         on argument names, not just descriptions.
28060         * malloc/memusagestat.c (options): Likewise.
28061         * nss/getent.c (options): Likewise.
28062
28063 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
28064
28065         [BZ #14812]
28066         * iconv/iconv_prog.c (options): Put N_ translation marker
28067         on argument names, not just descriptions.
28068         * iconv/iconvconfig.c (options): Likewise.
28069
28070 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
28071
28072         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
28073         implementation which is faster on all x86_64 architectures.
28074         Tested on AMD, Intel Nehalem, SNB, IVB.
28075         * sysdeps/x86_64/strnlen.S: Likewise.
28076
28077         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
28078         Remove all multiarch strlen and strnlen versions.
28079         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
28080         Remove strlen and strnlen related parts.
28081
28082         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
28083         Inline strlen part.
28084         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
28085
28086         * sysdeps/x86_64/multiarch/strlen.S: Remove.
28087         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
28088         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
28089         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
28090         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
28091         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
28092
28093 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
28094
28095         * manual/memory.texi (Malloc Tunable Parameters):
28096         Sort parameters alphabetically. Add comments for missing entries.
28097
28098 2013-03-17  David S. Miller  <davem@davemloft.net>
28099
28100         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28101
28102 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
28103
28104         [BZ #15283]
28105         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
28106         for arguments at most half maximum finite value.
28107         * math/libm-test.inc (j0_test): Add more tests.
28108         (j1_test): Likewise.
28109         (y0_test): Likewise.
28110         (y1_test): Likewise.
28111         * sysdeps/i386/fpu/libm-test-ulps: Update.
28112         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28113
28114         [BZ #14155]
28115         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
28116         1 / x and functions P and Q for arguments above 0x1p256L.
28117         (__ieee754_y0l): Likewise.
28118         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
28119         (__ieee754_y1l): Likewise.
28120         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
28121         (j1_test): Likewise.
28122         (y0_test): Likewise.
28123         (y1_test): Likewise.
28124
28125 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
28126
28127         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
28128         variable.
28129
28130 2013-03-15  Roland McGrath  <roland@hack.frob.com>
28131
28132         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
28133         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
28134         zero since it's initialized to EXEC_PAGESIZE.
28135
28136         * sysdeps/unix/sysv/linux/ldsodefs.h
28137         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
28138         * sysdeps/generic/ldsodefs.h: ... here.
28139
28140 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
28141
28142         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
28143
28144         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
28145         math/test-snan.c.
28146         * math/test-snan.c: Renamed from
28147         sysdeps/powerpc/fpu/test-powerpc-snan.c.
28148         * math/Makefile (tests): Add test-snan.
28149         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
28150         test-powerpc-snan.
28151
28152         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
28153         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
28154         functions.
28155         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
28156         __builtin_nan family of functions.
28157         * math/libm-test.inc (initialize): Initialize qnan_value with
28158         __builtin_nan family of functions.
28159         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
28160         Remove variables.
28161         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
28162         Remove functions.
28163         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
28164         storage class.  Initialize qNaN_var and sNaN_var with
28165         __builtin_nan and __builtin_nans families of functions,
28166         respectively.
28167
28168         * math/libm-test.inc (acosh_test): Also test with qNaN input.
28169         (sqrt_test): Remove duplicate test with qNaN input.
28170         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
28171         (round_test, signbit_test, significand_test): Note missing +/-Inf
28172         as well as qNaN tests.
28173
28174         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
28175         qNaN_var.  Fix a few strings, too.
28176         * math/libm-test.inc (nan_value): Rename to qnan_value.
28177         * math/gen-libm-test.pl (%beautify): Adjust to that.
28178         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
28179         * math/test-misc.c (main): Likewise.
28180         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
28181         to __qnan_bytes, and __qnan_union, respectively.
28182         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
28183         Likewise.
28184         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
28185         and lqnanval, respectively.
28186         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
28187         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
28188         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
28189         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
28190
28191         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
28192         * math/test-misc.c (main) [__x86_64__]: Enable test for long
28193         doubles.
28194
28195         * math/test-misc.c (main): Fix copy'n'pastos.
28196         * misc/tst-efgcvt.c (special): Likewise.
28197
28198         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
28199         Remove declarations.
28200
28201 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
28202
28203         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
28204         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
28205         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
28206         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
28207
28208 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28209
28210         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
28211         macro to return vdso values correctly in IFUNC implementations.
28212         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
28213         Optimization by using IFUNC.
28214
28215 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
28216             Richard Henderson  <rth@redhat.com>
28217             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28218
28219         * Makefile.in (bench): New target.
28220         * NEWS: Mention the benchmark framework.
28221         * Rules (bench): Likewise.
28222         (binaries-bench): Generate binaries for functions to
28223         benchmark.
28224         * benchtests/Makefile: New makefile for benchmark tests.
28225         * benchtests/bench-skeleton.c: New skeleton file for benchmark
28226         programs.
28227         * benchtests/exp-inputs: New input file for EXP function.
28228         * benchtests/pow-inputs: New input file for POW function.
28229         * scripts/bench.pl: New script to generate source files for
28230         benchmark programs.
28231
28232 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
28233
28234         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
28235         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
28236         computations on mantissa.  Use macros for rounding and
28237         division.
28238         (denorm): Likewise.
28239         (__dbl_mp): Likewise.
28240         (add_magnitudes): Likewise.
28241         (sub_magnitudes): Likewise.
28242         (__mul): Likewise.
28243         (__sqr): Likewise.
28244         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
28245         powers of two in terms of TWOPOW macro.
28246         (mp_no): Make type of mantissa as MANTISSA_T.
28247         [!RADIXI]: Define RADIXI.
28248         [!TWO52]: Define TWO52.
28249         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
28250
28251         * manual/nptl.texi (cindex): Modify threads to pthreads.
28252
28253 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
28254
28255         * sysdeps/x86_64/preconfigure: Regenerated.
28256
28257 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
28258
28259         [BZ #14155]
28260         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
28261         0x1p28 and above.
28262         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
28263         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
28264         0x1p28 and above.
28265         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
28266         * math/libm-test.inc (j0_test): Do not allow one spurious
28267         underflow exception.
28268         (y1_test): Likewise.
28269
28270 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
28271
28272         * manual/Makefile (chapters): Add nptl.
28273         * manual/debug.texi (Debugging Support): Add link to Threads
28274         chapter.
28275         * manual/nptl.texi: New file.
28276
28277         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
28278
28279 2013-03-14  Petr Baudis  <pasky@ucw.cz>
28280
28281         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
28282         for non-NULL pointer before the memory validity test. Pointed
28283         out by Holger Brunck <holger.brunck@keymile.com>.
28284
28285 2013-03-13  Andreas Schwab  <schwab@suse.de>
28286
28287         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
28288         instead of .os.
28289
28290 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
28291
28292         * timezone/zic.c: Update from tzcode 2013b.
28293
28294 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
28295
28296         * manual/install.texi (Configuring and compiling):
28297         Mention i686 and i586.
28298         * INSTALL: Regenerate.
28299
28300 2013-03-12  Roland McGrath  <roland@hack.frob.com>
28301
28302         * sysdeps/init_array/elf-init.c: New file.
28303         * csu/elf-init.c
28304         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
28305         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
28306
28307         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
28308         __gmon_start__ as global, but as static with a .preinit_array pointer.
28309         * sysdeps/init_array/gmon-start.c: New file.  Use that.
28310         * sysdeps/init_array/crti.S: New file, empty except for comments.
28311         * sysdeps/init_array/crtn.S: Likewise.
28312
28313 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
28314
28315         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
28316         definining bcopy.
28317         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28318         Remove Prefer_SSE_for_memop.
28319         * sysdeps/x86_64/multiarch/init-arch.h: Remove
28320         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
28321         HAS_PREFER_SSE_FOR_MEMOP.
28322         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
28323         memset-x86-64.
28324         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28325         Remove bzero, memset ifunc support.
28326         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
28327         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
28328         * sysdeps/x86_64/multiarch/memset.S: Likewise.
28329         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28330
28331 2013-03-11  Andreas Schwab  <schwab@suse.de>
28332
28333         [BZ #15234]
28334         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
28335         by SHLIB_COMPAT.
28336         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
28337         (GLIBC_2.16): Remove pthread_atfork.
28338
28339 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
28340
28341         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
28342         (ptestcases.h): Likewise.
28343
28344 2013-03-08  Roland McGrath  <roland@hack.frob.com>
28345
28346         * Makeconfig ($(common-objpfx)config.status): Depend on
28347         sysdeps/*/preconfigure{,.in} too.
28348
28349 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
28350
28351         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
28352         (__free_hook): Use void * instead of __malloc_ptr_t.
28353         (__malloc_hook): Likewise.
28354         (__realloc_hook): Likewise.
28355         (__memalign_hook): Likewise.
28356         (__after_morecore_hook): Likewise.
28357         * malloc/arena.c (save_malloc_hook): Likewise.
28358         (save_free_hook): Likewise.
28359         * malloc/hooks.c (malloc_hook_ini): Likewise.
28360         (realloc_hook_ini): Likewise.
28361         (memalign_hook_ini): Likewise.
28362         * malloc/malloc.c (malloc_hook_ini): Likewise.
28363         (realloc_hook_ini): Likewise.
28364         (memalign_hook_ini): Likewise.
28365         (__free_hook): Likewise.
28366         (__malloc_hook): Likewise.
28367         (__realloc_hook): Likewise.
28368         (__memalign_hook): Likewise.
28369         (__libc_malloc): Likewise.
28370         (__libc_free): Likewise.
28371         (__libc_realloc): Likewise.
28372         (__libc_memalign): Likewise.
28373         (__libc_valloc): Likewise.
28374         (__libc_pvalloc): Likewise.
28375         (__libc_calloc): Likewise.
28376         (__posix_memalign): Likewise.
28377         * malloc/morecore.c (__sbrk): Likewise.
28378         (__default_morecore): Likewise.
28379
28380         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
28381
28382         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
28383         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
28384         __malloc_ptrdiff_t.
28385
28386         * malloc/malloc.h (__malloc_size_t): Remove macro.
28387         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
28388         __malloc_size_t.
28389         (old_memalign_hook): Likewise.
28390         (old_realloc_hook): Likewise.
28391         (struct hdr): Likewise.
28392         (flood): Likewise.
28393         (mallochook): Likewise.
28394         (memalignhook): Likewise.
28395         (reallochook): Likewise.
28396         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
28397         (tr_old_realloc_hook): Likewise.
28398         (tr_old_memalign_hook): Likewise.
28399         (tr_mallochook): Likewise.
28400         (tr_reallochook): Likewise.
28401         (tr_memalignhook): Likewise.
28402
28403 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28404
28405         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
28406         default_ldbl_pack and using as default implementation.
28407         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
28408         implementation.
28409         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
28410         redundant definition.
28411         (ldbl_insert_mantissa): Likewise.
28412         (ldbl_canonicalize): Likewise.
28413         (ldbl_nearbyint): Likewise.
28414         (ldbl_pack): Rename to ldbl_pack_ppc.
28415         (ldbl_unpack): Rename to ldbl_unpack_ppc.
28416         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
28417         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
28418
28419 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
28420
28421         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
28422         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
28423         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
28424         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
28425         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
28426         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
28427         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
28428         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
28429
28430 2013-03-07  Andreas Jaeger  <aj@suse.de>
28431
28432         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28433         bits/mman-linux.h.
28434
28435 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
28436
28437         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
28438         Include mpa.h and declare __MPEXP.
28439         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
28440         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
28441         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
28442         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
28443         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
28444         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
28445         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
28446
28447         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
28448         (__slowpow): Use long double EXPL and LOGL functions to
28449         compute POW.
28450         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
28451         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
28452         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
28453         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
28454         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
28455         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
28456
28457         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
28458         intermediate variable to calculate exponent.
28459         (__sqr): Likewise.
28460         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
28461         Likewise.
28462         (__sqr): Likewise.
28463
28464         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
28465         [!NO__SQR]: Define __sqr.
28466         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
28467         and NO__SQR.  Remove all code except __mul and __sqr.  Include
28468         sysdeps/ieee754/dbl-64/mpa.c.
28469         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28470
28471         [BZ #12723]
28472         * posix/Makefile (tests): Add tst-pathconf.
28473         * posix/tst-pathconf.c: New test case.
28474         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
28475         _PC_PIPE_BUF.
28476         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
28477
28478 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
28479
28480         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
28481
28482 2013-03-06  Andreas Jaeger  <aj@suse.de>
28483
28484         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
28485         definition via __MAP_ANONYMOUS.
28486
28487         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
28488         it's not part of Linux headers.
28489
28490         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
28491         (MAP_HUGE_MASK): Define.
28492
28493         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
28494         Define.
28495         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28496         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
28497         Define.
28498         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28499         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
28500         Define.
28501         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28502         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
28503         Define.
28504         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28505
28506         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
28507         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
28508         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
28509         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
28510         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
28511         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
28512
28513         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
28514         Handle f2fs.
28515
28516         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28517         Handle f2fs and efivarfs.
28518
28519         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
28520         f2fs.
28521
28522         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
28523         (EFIVARFS_MAGIC): Add.
28524         (F2FS_LINK_MAX): Add.
28525
28526 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
28527
28528         * stdio-common/vfprintf.c: Replace __builtin_expect with
28529         __glibc_unlikely.
28530
28531 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
28532
28533         [BZ #13550]
28534         * sysdeps/generic/bp-sym.h: Remove file.
28535         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
28536         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
28537         <bp-sym.h> and <bp-asm.h>.
28538         (__longjmp): Don't use BP_SYM.
28539         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
28540         and <bp-asm.h>.
28541         (memcpy): Don't use BP_SYM.
28542         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
28543         <bp-sym.h> and <bp-asm.h>.
28544         (memcpy): Don't use BP_SYM.
28545         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
28546         <bp-asm.h>.
28547         (memcpy): Don't use BP_SYM.
28548         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
28549         <bp-asm.h>.
28550         (memset): Don't use BP_SYM.
28551         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28552         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28553         (__bzero): Don't use BP_SYM.
28554         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28555         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28556         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
28557         <bp-sym.h> and <bp-asm.h>.
28558         (memcmp): Don't use BP_SYM.  Remove comment about bounded
28559         pointers.
28560         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
28561         <bp-sym.h> and <bp-asm.h>.
28562         (memcpy): Don't use BP_SYM.
28563         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
28564         <bp-sym.h> and <bp-asm.h>.
28565         (memset): Don't use BP_SYM.
28566         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28567         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28568         (__bzero): Don't use BP_SYM.
28569         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28570         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28571         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
28572         <bp-sym.h> and <bp-asm.h>.
28573         (strncmp): Don't use BP_SYM.  Remove comment about bounded
28574         pointers.
28575         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
28576         <bp-sym.h> and <bp-asm.h>.
28577         (memcpy): Don't use BP_SYM.
28578         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
28579         <bp-sym.h> and <bp-asm.h>.
28580         (memset): Don't use BP_SYM.
28581         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28582         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28583         (__bzero): Don't use BP_SYM.
28584         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28585         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28586         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
28587         <bp-sym.h> and <bp-asm.h>.
28588         (__memchr): Don't use BP_SYM.
28589         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
28590         <bp-sym.h> and <bp-asm.h>.
28591         (memcmp): Don't use BP_SYM.  Remove comment about bounded
28592         pointers.
28593         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
28594         <bp-sym.h> and <bp-asm.h>.
28595         (memcpy): Don't use BP_SYM.
28596         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
28597         <bp-sym.h> and <bp-asm.h>.
28598         (__mempcpy): Don't use BP_SYM.
28599         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
28600         <bp-sym.h> and <bp-asm.h>.
28601         (__memrchr): Don't use BP_SYM.
28602         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
28603         <bp-sym.h> and <bp-asm.h>.
28604         (memset): Don't use BP_SYM.
28605         (__bzero): Likewise.
28606         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
28607         <bp-sym.h> and <bp-asm.h>.
28608         (__rawmemchr): Don't use BP_SYM.
28609         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
28610         <bp-sym.h> and <bp-asm.h>.
28611         (__STRCMP): Don't use BP_SYM.
28612         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
28613         <bp-sym.h> and <bp-asm.h>.
28614         (strchr): Don't use BP_SYM.
28615         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
28616         <bp-sym.h> and <bp-asm.h>.
28617         (__strchrnul): Don't use BP_SYM.
28618         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
28619         <bp-sym.h> and <bp-asm.h>.
28620         (strlen): Don't use BP_SYM.
28621         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
28622         <bp-sym.h> and <bp-asm.h>.
28623         (strncmp): Don't use BP_SYM.  Remove comment about bounded
28624         pointers.
28625         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
28626         <bp-sym.h> and <bp-asm.h>.
28627         (__strnlen): Don't use BP_SYM.
28628         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
28629         <bp-sym.h> and <bp-asm.h>.
28630         (__GI__setjmp): Don't use BP_SYM.
28631         (_setjmp): Likewise.
28632         (__sigsetjmp): Likewise.
28633         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
28634         (L(start_addresses)): Don't use BP_SYM.
28635         (_start): Likewise.
28636         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
28637         <bp-asm.h>.
28638         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
28639         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
28640         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28641         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28642         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
28643         <bp-asm.h>.
28644         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
28645         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
28646         about bounded pointers.
28647         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
28648         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28649         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
28650         <bp-asm.h>.
28651         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
28652         about bounded pointers.  Remove GKM FIXME comments.
28653         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
28654         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
28655         <bp-asm.h>.
28656         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
28657         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
28658         Remove GKM FIXME comments.
28659         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28660         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28661         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
28662         <bp-asm.h>.
28663         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
28664         about bounded pointers.  Remove GKM FIXME comment.
28665         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
28666         and <bp-asm.h>.
28667         (strncmp): Don't use BP_SYM.  Remove comment about bounded
28668         pointers.
28669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
28670         <bp-sym.h> and <bp-asm.h>.
28671         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
28672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
28673         <bp-sym.h> and <bp-asm.h>.
28674         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
28675         comment.
28676
28677 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
28678
28679         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
28680         call free(NULL).
28681
28682 2013-03-05  David S. Miller  <davem@davemloft.net>
28683
28684         * po/es.po: Update from translation team.
28685
28686 2013-03-05  Andreas Jaeger  <aj@suse.de>
28687
28688         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
28689         <bits/mman-linux.h>.
28690         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
28691         is fine.
28692         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
28693         <bits/mman-linux.h> to end of file.
28694         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
28695         is fine.
28696         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
28697         <bits/mman-linux.h> to end of file.
28698         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
28699         is fine.
28700         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
28701         <bits/mman-linux.h> to end of file.
28702
28703         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
28704         (MCL_CURRENT, MCL_FUTURE): Define here.
28705
28706 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28707
28708         [BZ #15232]
28709         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
28710         attribute_hidden.
28711         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
28712
28713 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28714
28715         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
28716         fourth parameter needed for rt_sigprocmask syscall.
28717         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
28718         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
28719         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
28720         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
28721         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
28722         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
28723
28724 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
28725
28726         [BZ #13550]
28727         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
28728         comment about bounded pointers.
28729         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
28730         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
28731
28732 2013-03-04  Andreas Jaeger  <aj@suse.de>
28733
28734         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
28735         common definitions.
28736
28737         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
28738         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
28739         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
28740         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
28741         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
28742         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
28743
28744 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28745
28746         [BZ #15055]
28747         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
28748         __ieee754_sqrl instead of __sqrl.
28749
28750 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
28751
28752         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
28753         * sysdeps/powerpc/fpu_control.h: ... here.
28754         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
28755         * sysdeps/powerpc/bits/fenvinline.h: ... here.
28756         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
28757         * sysdeps/powerpc/bits/mathinline.h: ... here.
28758
28759 2013-03-01  Roland McGrath  <roland@hack.frob.com>
28760
28761         * elf/dl-hwcaps.c (_dl_important_hwcaps):
28762         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
28763         to just [NEED_DL_SYSINFO_DSO].
28764         * elf/dl-support.c: Likewise.
28765         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
28766         * elf/rtld.c (dl_main): Likewise.
28767         * elf/setup-vdso.h (setup_vdso): Likewise.
28768         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
28769         * sysdeps/unix/sysv/linux/dl-sysdep.c
28770         (_dl_discover_osversion): Likewise.
28771
28772 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
28773
28774         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
28775         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
28776
28777 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
28778
28779         * NEWS: Mention libm performance improvements and non-x86 PI
28780         futex support.
28781
28782         * csu/libc-start.c (__pthread_initialize_minimal): Change
28783         function arguments.
28784         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
28785
28786 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
28787
28788         [BZ #13550]
28789         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
28790         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
28791         <bp-sym.h> and <bp-asm.h>.
28792         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
28793         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
28794         and <bp-asm.h>.
28795         (memcpy): Don't use BP_SYM.
28796         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
28797         <bp-asm.h>.
28798         (__mpn_add_n): Don't use BP_SYM.
28799         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
28800         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
28801         and <bp-asm.h>.
28802         (__mpn_addmul_1): Don't use BP_SYM.
28803         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28804         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
28805         <bp-sym.h>.
28806         (_setjmp): Don't use BP_SYM.
28807         (__novmx_setjmp): Likewise.
28808         (__GI__setjmp): Likewise.
28809         (__vmx_setjmp): Likewise.
28810         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
28811         <bp-sym.h>.
28812         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
28813         (__bzero): Don't use BP_SYM.
28814         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28815         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28816         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
28817         <bp-sym.h> and <bp-asm.h>.
28818         (memcpy): Don't use BP_SYM.
28819         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
28820         <bp-sym.h> and <bp-asm.h>.
28821         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
28822         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
28823         <bp-sym.h> and <bp-asm.h>.
28824         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
28825         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
28826         <bp-asm.h>.
28827         (__mpn_lshift): Don't use BP_SYM.
28828         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28829         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
28830         <bp-asm.h>.
28831         (memset): Don't use BP_SYM.
28832         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28833         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28834         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
28835         <bp-asm.h>.
28836         (__mpn_mul_1): Don't use BP_SYM.
28837         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28838         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
28839         <bp-sym.h> and <bp-asm.h>.
28840         (memcmp): Don't use BP_SYM.
28841         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
28842         <bp-sym.h> and <bp-asm.h>.
28843         (memcpy): Don't use BP_SYM.
28844         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
28845         <bp-sym.h> and <bp-asm.h>.
28846         (memset): Don't use BP_SYM.
28847         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
28848         <bp-sym.h> and <bp-asm.h>.
28849         (strncmp): Don't use BP_SYM.
28850         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
28851         <bp-sym.h> and <bp-asm.h>.
28852         (memcpy): Don't use BP_SYM.
28853         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
28854         <bp-sym.h> and <bp-asm.h>.
28855         (memset): Don't use BP_SYM.
28856         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
28857         <bp-sym.h> and <bp-asm.h>.
28858         (__memchr): Don't use BP_SYM.
28859         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
28860         <bp-sym.h> and <bp-asm.h>.
28861         (memcmp): Don't use BP_SYM.
28862         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
28863         <bp-sym.h> and <bp-asm.h>.
28864         (memcpy): Don't use BP_SYM.
28865         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
28866         <bp-sym.h> and <bp-asm.h>.
28867         (__mempcpy): Don't use BP_SYM.
28868         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
28869         <bp-sym.h> and <bp-asm.h>.
28870         (__memrchr): Don't use BP_SYM.
28871         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
28872         <bp-sym.h> and <bp-asm.h>.
28873         (memset): Don't use BP_SYM.
28874         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
28875         <bp-sym.h> and <bp-asm.h>.
28876         (__rawmemchr): Don't use BP_SYM.
28877         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
28878         <bp-sym.h> and <bp-asm.h>.
28879         (__STRCMP): Don't use BP_SYM.
28880         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
28881         <bp-sym.h> and <bp-asm.h>.
28882         (strchr): Don't use BP_SYM.
28883         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
28884         <bp-sym.h> and <bp-asm.h>.
28885         (__strchrnul): Don't use BP_SYM.
28886         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
28887         <bp-sym.h> and <bp-asm.h>.
28888         (strlen): Don't use BP_SYM.
28889         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
28890         <bp-sym.h> and <bp-asm.h>.
28891         (strncmp): Don't use BP_SYM.
28892         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
28893         <bp-sym.h> and <bp-asm.h>.
28894         (__strnlen): Don't use BP_SYM.
28895         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
28896         <bp-asm.h>.
28897         (__mpn_rshift): Don't use BP_SYM.
28898         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28899         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
28900         <bp-sym.h> and <bp-asm.h>.
28901         (__sigsetjmp): Don't use BP_SYM.
28902         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
28903         (L(start_addresses)): Don't use BP_SYM.
28904         (_start): Likewise.
28905         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
28906         <bp-asm.h>.
28907         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
28908         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28909         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28910         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
28911         <bp-asm.h>.
28912         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
28913         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
28914         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28915         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
28916         <bp-asm.h>.
28917         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
28918         comments.
28919         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
28920         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
28921         <bp-asm.h>.
28922         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
28923         FIXME comments.
28924         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28925         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28926         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
28927         <bp-asm.h>.
28928         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
28929         comment.
28930         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
28931         and <bp-asm.h>.
28932         (strncmp): Don't use BP_SYM,
28933         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
28934         <bp-asm.h>.
28935         (__mpn_sub_n): Don't use BP_SYM.
28936         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28937         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
28938         and <bp-asm.h>.
28939         (__mpn_submul_1): Don't use BP_SYM.
28940         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
28942         <bp-sym.h> and <bp-asm.h>.
28943         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
28944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
28945         <bp-sym.h> and <bp-asm.h>.
28946         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
28947         comment.
28948
28949 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28950
28951         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
28952         Use ZK to minimize writes to Z.
28953         (sub_magnitudes): Simplify code a bit.
28954         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
28955         Use ZK to minimize writes to Z.
28956         (sub_magnitudes): Simplify code a bit.
28957
28958 2013-02-27  Roland McGrath  <roland@hack.frob.com>
28959
28960         * csu/gmon-start.c: Add special exception to license text.
28961
28962 2013-02-27  Richard Henderson  <rth@redhat.com>
28963
28964         * scripts/config.guess: Update from config.git.
28965         * scripts/config.sub: Likewise.
28966
28967 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
28968
28969         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
28970
28971         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
28972
28973         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
28974
28975         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
28976
28977         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
28978
28979 2013-02-26  Roland McGrath  <roland@hack.frob.com>
28980
28981         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
28982         [$(build-shared = yes].
28983
28984 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
28985
28986         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
28987         (__mul): Reduce iterations for calculating mantissa.
28988
28989         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
28990         MPTWO.
28991         (__mpranred): Likewise.
28992
28993         [BZ #15160]
28994         * malloc/memusagestat.c (main): Draw graphs for heap and stack
28995         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
28996
28997 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
28998
28999         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
29000         Define __attribute__.
29001
29002 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
29003
29004         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
29005         unused.
29006         * posix/regex_internal.h (__attribute): Remove.
29007         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
29008         (re_string_context_at): Likewise.
29009         (bitset_not): Use __attribute__ and mark function as possibly
29010         unused.
29011         (bitset_merge): Likewise.
29012         (bitset_mask): Likewise.
29013         (re_string_char_size_at): Likewise.
29014         (re_string_wchar_at): Likewise.
29015         (re_string_elem_size_at): Likewise.
29016
29017 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
29018
29019         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
29020         code.
29021         (cc32): Likewise.
29022
29023         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
29024         (__acr): Likewise.
29025         (__cpy): Likewise.
29026         (norm): Likewise.
29027         (denorm): Likewise.
29028         (__dbl_mp): Likewise.
29029         (add_magnitudes): Likewise.
29030         (sub_magnitudes): Likewise.
29031         (__mul): Likewise.
29032         (__inv): Likewise.
29033
29034         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
29035         style.
29036
29037         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
29038         style.
29039
29040         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
29041         code.
29042
29043         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
29044         up changes with default code.
29045         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
29046         Likewise.
29047
29048 2013-02-24  Allan McRae  <allan@archlinux.org>
29049
29050         * manual/socket.texi (The Internet Namespace): Order menu items
29051         to match that in the file.
29052
29053         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
29054         node listing of the info page menu.
29055
29056 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
29057
29058         [BZ #13550]
29059         * sysdeps/i386/bp-asm.h: Remove file.
29060         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
29061         (PARMS): Do not use macros from bp-asm.h.
29062         (S1): Likewise.
29063         (S2): Likewise.
29064         (SIZE): Likewise.
29065         (__mpn_add_n): Do not use BP_SYM
29066         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
29067         "bp-asm.h".
29068         (PARMS): Do not use macros from bp-asm.h.
29069         (S1): Likewise.
29070         (SIZE): Likewise.
29071         (__mpn_addmul_1): Do not use BP_SYM
29072         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
29073         "bp-asm.h".
29074         (PARMS): Do not use macros from bp-asm.h.
29075         (SIGMSK): Likewise.
29076         (_setjmp): Likewise.  Do not use BP_SYM.
29077         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
29078         "bp-asm.h".
29079         (PARMS): Do not use macros from bp-asm.h.
29080         (SIGMSK): Likewise.
29081         (setjmp): Likewise.  Do not use BP_SYM.
29082         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
29083         "bp-asm.h".
29084         (PARMS): Do not use macros from bp-asm.h.
29085         (__frexp): Do not use BP_SYM.
29086         (frexp): Likewise.
29087         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
29088         "bp-asm.h".
29089         (PARMS): Do not use macros from bp-asm.h.
29090         (__frexpf): Do not use BP_SYM.
29091         (frexpf): Likewise.
29092         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
29093         "bp-asm.h".
29094         (PARMS): Do not use macros from bp-asm.h.
29095         (__frexpl): Do not use BP_SYM.
29096         (frexpl): Likewise.
29097         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
29098         "bp-asm.h".
29099         (PARMS): Do not use macros from bp-asm.h.
29100         (__remquo): Do not use BP_SYM.
29101         (remquo): Likewise.
29102         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
29103         "bp-asm.h".
29104         (PARMS): Do not use macros from bp-asm.h.
29105         (__remquof): Do not use BP_SYM.
29106         (remquof): Likewise.
29107         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
29108         "bp-asm.h".
29109         (PARMS): Do not use macros from bp-asm.h.
29110         (__remquol): Do not use BP_SYM.
29111         (remquol): Likewise.
29112         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
29113         "bp-asm.h".
29114         (PARMS): Do not use macros from bp-asm.h.
29115         (DEST): Likewise.
29116         (SRC): Likewise.
29117         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
29118         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
29119         "bp-asm.h".
29120         (PARMS): Do not use macros from bp-asm.h.
29121         (strlen): Do not use BP_SYM.
29122         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
29123         "bp-asm.h".
29124         (PARMS): Do not use macros from bp-asm.h.
29125         (S1): Likewise.
29126         (S2): Likewise.
29127         (SIZE): Likewise.
29128         (__mpn_add_n): Do not use BP_SYM.
29129         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
29130         "bp-asm.h".
29131         (PARMS): Do not use macros from bp-asm.h.
29132         (S1): Likewise.
29133         (SIZE): Likewise.
29134         (__mpn_addmul_1): Do not use BP_SYM.
29135         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
29136         weak_alias.
29137         (bzero): Likewise.
29138         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
29139         "bp-asm.h".
29140         (PARMS): Do not use macros from bp-asm.h.
29141         (S): Likewise.
29142         (SIZE): Likewise.
29143         (__mpn_lshift): Do not use BP_SYM.
29144         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
29145         "bp-asm.h".
29146         (PARMS): Do not use macros from bp-asm.h.
29147         (DEST): Likewise.
29148         (SRC): Likewise.
29149         (LEN): Likewise.
29150         (memcpy): Likewise.  Do not use BP_SYM.
29151         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
29152         libc_hidden_def and weak_alias.
29153         (mempcpy): Do not use BP_SYM in weak_alias.
29154         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
29155         "bp-asm.h".
29156         (PARMS): Do not use macros from bp-asm.h.
29157         (DEST): Likewise.
29158         (LEN): Likewise.
29159         [!BZERO_P] (CHR): Likewise.
29160         (memset): Likewise.  Do not use BP_SYM.
29161         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
29162         "bp-asm.h".
29163         (PARMS): Do not use macros from bp-asm.h.
29164         (S1): Likewise.
29165         (SIZE): Likewise.
29166         (__mpn_mul_1): Do not use BP_SYM.
29167         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
29168         "bp-asm.h".
29169         (PARMS): Do not use macros from bp-asm.h.
29170         (S): Likewise.
29171         (SIZE): Likewise.
29172         (__mpn_rshift): Do not use BP_SYM.
29173         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
29174         "bp-asm.h".
29175         (PARMS): Do not use macros from bp-asm.h.
29176         (STR): Likewise.
29177         (CHR): Likewise.
29178         (strchr): Likewise.  Do not use BP_SYM.
29179         (index): Do not use BP_SYM in weak_alias.
29180         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
29181         "bp-asm.h".
29182         (PARMS): Do not use macros from bp-asm.h.
29183         (DEST): Likewise.
29184         (SRC): Likewise.
29185         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
29186         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
29187         "bp-asm.h".
29188         (PARMS): Do not use macros from bp-asm.h.
29189         (strlen): Do not use BP_SYM.
29190         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
29191         "bp-asm.h".
29192         (PARMS): Do not use macros from bp-asm.h.
29193         (S1): Likewise.
29194         (S2): Likewise.
29195         (SIZE): Likewise.
29196         (__mpn_sub_n): Do not use BP_SYM.
29197         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
29198         "bp-asm.h".
29199         (PARMS): Do not use macros from bp-asm.h.
29200         (S1): Likewise.
29201         (SIZE): Likewise.
29202         (__mpn_submul_1): Do not use BP_SYM.
29203         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
29204         "bp-asm.h".
29205         (PARMS): Do not use macros from bp-asm.h.
29206         (S1): Likewise.
29207         (S2): Likewise.
29208         (SIZE): Likewise.
29209         (__mpn_add_n): Do not use BP_SYM.
29210         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
29211         weak_alias.
29212         (bzero): Likewise.
29213         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
29214         "bp-asm.h".
29215         (PARMS): Do not use macros from bp-asm.h.
29216         (BLK2): Likewise.
29217         (LEN): Likewise.
29218         (memcmp): Do not use BP_SYM.
29219         (bcmp): Do not use BP_SYM in weak_alias.
29220         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
29221         "bp-asm.h".
29222         (PARMS): Do not use macros from bp-asm.h.
29223         (DEST): Likewise.
29224         (SRC): Likewise.
29225         (LEN): Likewise.
29226         (memcpy): Likewise.  Do not use BP_SYM.
29227         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
29228         "bp-asm.h".
29229         (PARMS): Do not use macros from bp-asm.h.
29230         (DEST): Likewise.
29231         (SRC): Likewise.
29232         (LEN): Likewise.
29233         (memmove): Likewise.  Do not use BP_SYM.
29234         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
29235         "bp-asm.h".
29236         (PARMS): Do not use macros from bp-asm.h.
29237         (DEST): Likewise.
29238         (SRC): Likewise.
29239         (LEN): Likewise.
29240         (__mempcpy): Likewise.  Do not use BP_SYM.
29241         (mempcpy): Do not use BP_SYM in weak_alias.
29242         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
29243         "bp-asm.h".
29244         (PARMS): Do not use macros from bp-asm.h.
29245         (DEST): Likewise.
29246         (LEN): Likewise.
29247         [!BZERO_P] (CHR): Likewise.
29248         (memset): Likewise.  Do not use BP_SYM.
29249         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
29250         "bp-asm.h".
29251         (PARMS): Do not use macros from bp-asm.h.
29252         (STR2): Likewise.
29253         (strcmp): Do not use BP_SYM.
29254         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
29255         "bp-asm.h".
29256         (PARMS): Do not use macros from bp-asm.h.
29257         (STR): Likewise.
29258         (DELIM): Likewise.
29259         [USE_AS_STRTOK_R] (SAVE): Likewise.
29260         (FUNCTION): Likewise.  Do not use BP_SYM.
29261         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
29262         aliases.
29263         (strtok_r): Likewise.
29264         (__GI___strtok_r): Likewise.
29265         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
29266         (PARMS): Do not use macros from bp-asm.h.
29267         (S): Likewise.
29268         (SIZE): Likewise.
29269         (__mpn_lshift): Do not use BP_SYM.
29270         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
29271         (PARMS): Do not use macros from bp-asm.h.
29272         (STR): Likewise.
29273         (CHR): Likewise.
29274         (__memchr): Do not use BP_SYM.
29275         (memchr): Do not use BP_SYM in weak_alias.
29276         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
29277         (PARMS): Do not use macros from bp-asm.h.
29278         (BLK2): Likewise.
29279         (LEN): Likewise.
29280         (memcmp): Do not use BP_SYM.
29281         (bcmp): Do not use BP_SYM in weak_alias.
29282         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
29283         (PARMS): Do not use macros from bp-asm.h.
29284         (S1): Likewise.
29285         (SIZE): Likewise.
29286         (__mpn_mul_1): Do not use BP_SYM.
29287         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
29288         "bp-asm.h".
29289         (PARMS): Do not use macros from bp-asm.h.
29290         (STR): Likewise.
29291         (CHR): Likewise.
29292         (__rawmemchr): Do not use BP_SYM.
29293         (rawmemchr): Do not use BP_SYM in weak_alias.
29294         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
29295         (PARMS): Do not use macros from bp-asm.h.
29296         (S): Likewise.
29297         (SIZE): Likewise.
29298         (__mpn_rshift): Do not use BP_SYM.
29299         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
29300         (PARMS): Do not use macros from bp-asm.h.
29301         (SIGMSK): Likewise.
29302         (__sigsetjmp): Likewise.  Do not use BP_SYM.
29303         * sysdeps/i386/start.S: Do not include "bp-sym.h".
29304         (_start): Do not use BP_SYM.
29305         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
29306         (PARMS): Do not use macros from bp-asm.h.
29307         (DEST): Likewise.
29308         (SRC): Likewise.
29309         (__stpcpy): Likewise.  Do not use BP_SYM.
29310         (stpcpy): Do not use BP_SYM in weak_alias.
29311         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
29312         "bp-asm.h".
29313         (PARMS): Do not use macros from bp-asm.h.
29314         (DEST): Likewise.
29315         (SRC): Likewise.
29316         (LEN): Likewise.
29317         (__stpncpy): Likewise.  Do not use BP_SYM.
29318         (stpncpy): Do not use BP_SYM in weak_alias.
29319         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
29320         (PARMS): Do not use macros from bp-asm.h.
29321         (STR): Likewise.
29322         (CHR): Likewise.
29323         (strchr): Likewise.  Do not use BP_SYM.
29324         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
29325         "bp-asm.h".
29326         (PARMS): Do not use macros from bp-asm.h.
29327         (STR): Likewise.
29328         (CHR): Likewise.
29329         (__strchrnul): Likewise.  Do not use BP_SYM.
29330         (strchrnul): Do not use BP_SYM in weak_alias.
29331         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
29332         "bp-asm.h".
29333         (PARMS): Do not use macros from bp-asm.h.
29334         (STOP): Likewise.
29335         (strcspn): Do not use BP_SYM.
29336         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
29337         "bp-asm.h".
29338         (PARMS): Do not use macros from bp-asm.h.
29339         (STR): Likewise.
29340         (STOP): Likewise.
29341         (strpbrk): Likewise.  Do not use BP_SYM.
29342         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
29343         "bp-asm.h".
29344         (PARMS): Do not use macros from bp-asm.h.
29345         (STR): Likewise.
29346         (CHR): Likewise.
29347         (strrchr): Likewise.  Do not use BP_SYM.
29348         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
29349         (PARMS): Do not use macros from bp-asm.h.
29350         (SKIP): Likewise.
29351         (strspn): Do not use BP_SYM.
29352         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
29353         (PARMS): Do not use macros from bp-asm.h.
29354         (STR): Likewise.
29355         (DELIM): Likewise.
29356         (SAVE): Likewise.
29357         (FUNCTION): Likewise.  Do not use BP_SYM.
29358         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
29359         aliases.
29360         (strtok_r): Likewise.
29361         (__GI___strtok_r): Likewise.
29362         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
29363         (PARMS): Do not use macros from bp-asm.h.
29364         (S1): Likewise.
29365         (S2): Likewise.
29366         (SIZE): Likewise.
29367         (__mpn_sub_n): Do not use BP_SYM.
29368         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
29369         "bp-asm.h".
29370         (PARMS): Do not use macros from bp-asm.h.
29371         (S1): Likewise.
29372         (SIZE): Likewise.
29373         (__mpn_submul_1): Do not use BP_SYM.
29374         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
29375         <bp-sym.h>.
29376         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
29377         and <bp-asm.h>.
29378         (PARMS): Do not use macros from bp-asm.h.
29379         (FLAGS): Likewise.
29380         (PTID): Likewise.
29381         (TLS): Likewise.
29382         (CTID): Likewise.
29383         (__clone): Do not use BP_SYM.
29384         (clone): Do not use BP_SYM in weak_alias.
29385         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
29386         and <bp-asm.h>.
29387         (PARMS): Do not use macros from bp-asm.h.
29388         (LEN): Likewise.
29389         (__mmap64): Do not use BP_SYM.
29390         (mmap64): Do not use BP_SYM in weak_alias.
29391         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
29392         <bp-sym.h> and <bp-asm.h>.
29393         (PARMS): Do not use macros from bp-asm.h.
29394         (__posix_fadvise64_l64): Do not use BP_SYM.
29395         * sysdeps/unix/sysv/linux/i386/semtimedop.S
29396         (PARMS): Do not use macros from bp-asm.h.
29397         (NSOPS): Likewise.
29398         (semtimedop): Do not use BP_SYM.
29399         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
29400         and <bp-asm.h>.
29401
29402 2013-02-21  Allan McRae  <allan@archlinux.org>
29403
29404         * manual/message.texi (Charset conversion in gettext):
29405         Move @end statement to beginning of line.
29406
29407 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
29408
29409         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
29410         static.
29411         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
29412         Likewise.
29413
29414         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
29415         (denorm): Likewise.
29416         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
29417         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
29418
29419 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29420
29421         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
29422         tail-call to the resolved function if pltexit isn't needed.
29423
29424 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
29425
29426         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
29427         or Y being zero as being unlikely.
29428         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
29429         Likewise.
29430
29431 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
29432
29433         * manual/nss.texi (System Databases and Name Service Switch):
29434         Remove frobnicate @pxref.
29435
29436 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
29437
29438         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
29439         __attribute__ ((unused)) to __attribute__ ((__unused__)).
29440
29441 2013-02-20  Petr Machata  <pmachata@redhat.com>
29442
29443         * elf/elf.h (R_ARM_TARGET1): New macro.
29444         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
29445         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
29446         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
29447         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
29448         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
29449         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
29450         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
29451         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
29452         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
29453         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
29454         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
29455         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
29456         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
29457         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
29458         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
29459         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
29460         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
29461         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
29462         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
29463         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
29464         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
29465         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
29466         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
29467         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
29468         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
29469         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
29470         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
29471         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
29472         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
29473         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
29474         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
29475         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
29476         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
29477         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
29478         (R_ARM_THM_GOT_BREL12): Likewise.
29479         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
29480         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
29481         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
29482         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
29483         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
29484         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
29485         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
29486         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
29487         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
29488
29489 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
29490
29491         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
29492         __attribute_used__ to __attribute__ ((unused)).
29493
29494 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
29495
29496         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
29497         powerpc mpa.c.
29498         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
29499         comment formatting.
29500         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
29501
29502 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
29503
29504         [BZ #13550]
29505         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
29506         Remove macro.
29507         (ENTER): Remove both macro definitions.
29508         (LEAVE): Likewise.
29509         (CHECK_BOUNDS_LOW): Likewise.
29510         (CHECK_BOUNDS_HIGH): Likewise.
29511         (CHECK_BOUNDS_BOTH): Likewise.
29512         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
29513         (RETURN_BOUNDED_POINTER): Likewise.
29514         (RETURN_NULL_BOUNDED_POINTER): Likewise.
29515         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
29516         (POP_ERRNO_LOCATION_RETURN): Likewise.
29517         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
29518         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29519         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
29520         macros.
29521         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29522         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
29523         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
29524         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
29525         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
29526         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
29527         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
29528         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
29529         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
29530         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
29531         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
29532         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
29533         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29534         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
29535         removed macros.
29536         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29537         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
29538         macros.
29539         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29540         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
29541         * sysdeps/i386/i586/memset.S (memset): Likewise.
29542         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
29543         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29544         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
29545         macros.
29546         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29547         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
29548         Change uses of L(2) to L(out).
29549         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
29550         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
29551         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
29552         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29553         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
29554         removed macros.
29555         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29556         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
29557         macros.
29558         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29559         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
29560         (RETURN): Do not use macro LEAVE.
29561         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
29562         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
29563         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
29564         * sysdeps/i386/i686/memset.S (memset): Likewise.
29565         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
29566         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
29567         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
29568         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
29569         Likewise.
29570         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29571         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
29572         L(1_2) and L(1_3) into L(1).
29573         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
29574         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
29575         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29576         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
29577         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
29578         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
29579         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
29580         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29581         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
29582         macros.
29583         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
29584         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29585         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
29586         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
29587         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
29588         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29589         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
29590         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
29591         * sysdeps/i386/strcspn.S (strcspn): Likewise.
29592         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
29593         * sysdeps/i386/strrchr.S (strrchr): Likewise.
29594         * sysdeps/i386/strspn.S (strspn): Likewise.
29595         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
29596         conditional code.
29597         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29598         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
29599         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
29600         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
29601         L(1_3) into L(1_1).
29602         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
29603         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29604         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
29605         macros.
29606         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29607
29608 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
29609
29610         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
29611         macro.
29612
29613 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
29614
29615         * math/atest-exp.c (exp_mpn): Remove ROUND.
29616         * math/atest-exp2.c (exp_mpn): Likewise.
29617         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
29618
29619         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
29620         * stdlib/tst-tls-atexit-lib.c: Likewise.
29621         * stdlib/tst-tls-atexit.c: Likewise.
29622
29623 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
29624
29625         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
29626         and __attribute_alloc_size__.
29627
29628 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
29629
29630         * include/programs/xmalloc.h: Change __attribute_alloc_size to
29631         __attribute_alloc_size__.
29632         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
29633         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
29634
29635 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
29636
29637         * include/programs/xmalloc.h: New file.
29638         * catgets/gencat.c: Include it.
29639         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
29640         * elf/pldd.c: Likewise.
29641         * iconv/iconv_charmap.c: Likewise.
29642         * iconv/iconvconfig.c: Likewise.
29643         * iconv/strtab.c: Likewise.
29644         * locale/programs/locale.c: Likewise.
29645         * locale/programs/localedef.h: Likewise.
29646         * locale/programs/simple-hash.c: Likewise.
29647         * nscd/nscd.h: Likewise.
29648         * nss/makedb.c: Likewise.
29649         * sysdeps/generic/ldconfig.h: Likewise.
29650
29651 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
29652
29653         * Versions.def: Add GLIBC_2.18.
29654         * include/link.h (struct link_map): New member l_tls_dtor_count.
29655         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
29656         (__call_tls_dtors): Likewise.
29657         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
29658         __cxa_thread_atexit_impl.
29659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29660         Likewise.
29661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29662         Likewise.
29663         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
29664         Likewise.
29665         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
29666         Likewise.
29667         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29668         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
29669         Likewise.
29670         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
29671         Likewise.
29672         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29673         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
29674         Likewise.
29675         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
29676         (tests): Add test case tst-tls-atexit.
29677         (modules-names): Add shared library for tst-tls-atexit.
29678         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
29679         (GLIBC_PRIVATE): Add __call_tls_dtors.
29680         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
29681         for libstdc++.
29682         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
29683         * stdlib/tst-tls-atexit.c: New test case.
29684         * stdlib/tst-tls-atexit-lib.c: New test case.
29685
29686         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
29687
29688         * elf/Versions (ld): Add _dl_find_dso_for_object.
29689         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
29690         * elf/dl-open.c (_dl_find_dso_for_object): New function.
29691         (dl_open_worker): Use _dl_find_dso_for_object.
29692         * elf/dl-sym.c (do_sym): Likewise.
29693         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
29694
29695 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29696
29697         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
29698         Syntactic changes only.
29699         (_dl_runtime_profile): Do a tail-call to the resolved function.
29700
29701 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
29702
29703         [BZ #13550]
29704         * sysdeps/x86_64/bp-asm.h: Remove file.
29705         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
29706         <bp-sym.h> and <bp-asm.h>.
29707         (__clone): Do not use BP_SYM.
29708         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
29709         <bp-sym.h> and <bp-asm.h>.
29710         * sysdeps/unix/x86_64/sysdep.S: Likewise.
29711         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
29712         "bp-asm.h".
29713         (_setjmp): Do not use BP_SYM.
29714         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
29715         "bp-asm.h".
29716         (setjmp): Do not use BP_SYM.
29717         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
29718         libc_hidden_def.
29719         (mempcpy): Do not use BP_SYM in weak_alias.
29720         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
29721         "bp-asm.h".
29722         (strchr): Do not use BP_SYM.
29723         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
29724         "bp-asm.h".
29725         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
29726         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
29727         (_start): Do not use BP_SYM.
29728         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
29729         "bp-asm.h".
29730         (strcat): Do not use BP_SYM.
29731         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
29732         "bp-asm.h".
29733         (STRCMP): Do not use BP_SYM.
29734         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
29735         "bp-asm.h".
29736         (STRCPY): Do not use BP_SYM.
29737         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
29738         "bp-asm.h".
29739         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
29740         "bp-asm.h".
29741         (FUNCTION): Do not use BP_SYM.
29742         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
29743         weak_alias.
29744         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
29745
29746 2013-02-17  Andreas Jaeger  <aj@suse.de>
29747
29748         * time/Versions: Sort entries.
29749         * string/Versions: Likewise.
29750         * resolv/Versions: Likewise.
29751         * posix/Versions: Likewise.
29752         * iconv/Versions: Likewise.
29753         * elf/Versions: Likewise.
29754         * wcsmbs/Versions: Likewise.
29755
29756 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
29757
29758         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
29759         loop termination condition.
29760
29761         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
29762         variable to calculate EZ.
29763         (__sqr): Likewise.
29764
29765         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
29766         the lower precision input.
29767
29768 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
29769
29770         [BZ #13550]
29771         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
29772         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
29773         (run-via-rtld-prefix): Do not handle %-bp tests.
29774         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
29775         (all-object-suffixes): Remove .ob.
29776         (bppfx): Remove variable.
29777         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
29778         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
29779         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
29780         [$(build-bounded) = yes] (libtype.ob): Likewise.
29781         * Makerules (elide-routines.ob): Remove variable.
29782         (do-tests-clean): Do not handle *-bp.out.
29783         (common-mostlyclean): Do not handle *-bp and *-bp.out.
29784         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
29785         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
29786         (tests): Do not include $(tests-bp.out).
29787         (xtests): Do not include $(xtests-bp.out).
29788         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
29789         [$(build-bounded) = yes] ($(addprefix
29790         $(objpfx),$(binaries-bounded))): Remove rule.
29791         ($(objpfx)%-bp.out): Remove rule.
29792         * config.make.in (build-bounded): Remove variable.
29793         * crypt/Makefile [$(build-bounded) = yes]
29794         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
29795         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
29796         append to variable.
29797         [$(build-bounded) = yes] (install-lib): Likewise.
29798         [$(build-bounded) = yes] (generated): Likewise.
29799         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
29800         Remove rule.
29801         * intl/Makefile [$(build-bounded) = yes]
29802         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
29803         * math/Makefile [$(build-bounded) = yes]
29804         ($(tests:%=$(objpfx)%-bp): Likewise.
29805         * misc/Makefile [$(build-bounded) = yes]
29806         ($(objpfx)tst-tsearch-bp): Likewise.
29807         * nptl/Makeconfig (bounded-thread-library): Remove variable.
29808         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
29809         Remove dependency.
29810         * string/Makefile (o-objects.ob): Remove variable.
29811         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
29812         (CFLAGS-.ob): Remove variable.
29813         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
29814         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
29815         both definitions of variable.
29816         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
29817         (ASFLAGS-.ob): Remove variable.
29818
29819 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
29820
29821         [BZ #13550]
29822         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
29823         Remove __BOUNDED_POINTERS__ from condition.
29824         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
29825         * string/bits/string2.h [!__NO_STRING_INLINES &&
29826         !__BOUNDED_POINTERS__]: Likewise.
29827         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
29828         Likewise.
29829         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
29830         Remove conditional code.
29831         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
29832         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
29833         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
29834         condition.
29835
29836         [BZ #13550]
29837         * csu/libc-start.c: Do not include <bp-sym.h>.
29838         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
29839         * elf/dl-open.c: Do not include <bp-sym.h>.
29840         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
29841         * math/fegetenv.c: Do not include <bp-sym.h>.
29842         (fegetenv): Do not use BP_SYM in versioned symbols.
29843         * nptl/sysdeps/pthread/bits/libc-lockP.h
29844         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
29845         <bp-sym.h>.
29846         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29847         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
29848         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29849         (__pthread_mutex_destroy): Likewise.
29850         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29851         (__pthread_mutex_lock): Likewise.
29852         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29853         (__pthread_mutex_trylock): Likewise.
29854         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29855         (__pthread_mutex_unlock): Likewise.
29856         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29857         (__pthread_mutexattr_init): Likewise.
29858         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29859         (__pthread_mutexattr_destroy): Likewise.
29860         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29861         (__pthread_mutexattr_settype): Likewise.
29862         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29863         (__pthread_rwlock_init): Likewise.
29864         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29865         (__pthread_rwlock_destroy): Likewise.
29866         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29867         (__pthread_rwlock_rdlock): Likewise.
29868         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29869         (__pthread_rwlock_tryrdlock): Likewise.
29870         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29871         (__pthread_rwlock_wrlock): Likewise.
29872         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29873         (__pthread_rwlock_trywrlock): Likewise.
29874         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29875         (__pthread_rwlock_unlock): Likewise.
29876         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29877         (__pthread_key_create): Likewise.
29878         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29879         (__pthread_setspecific): Likewise.
29880         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29881         (__pthread_getspecific): Likewise.
29882         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
29883         Likewise.
29884         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29885         (_pthread_cleanup_push_defer): Likewise.
29886         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29887         (_pthread_cleanup_pop_restore): Likewise.
29888         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29889         (pthread_setcancelstate): Likewise.
29890         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
29891         <bp-sym.h>.
29892         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
29893         (memchr): Do not use BP_SYM in weak_alias.
29894         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
29895         (fegetenv): Do not use BP_SYM in versioned symbols.
29896         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
29897         (fesetenv): Do not use BP_SYM in versioned symbols.
29898         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
29899         (feupdateenv): Do not use BP_SYM in versioned symbols.
29900         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
29901         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
29902         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
29903         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
29904         (open64): Do not use BP_SYM in weak_alias.
29905         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
29906         (fegetenv): Do not use BP_SYM in versioned symbols.
29907         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
29908         (fesetenv): Do not use BP_SYM in versioned symbols.
29909         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
29910         (feupdateenv): Do not use BP_SYM in versioned symbols.
29911         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
29912         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
29913         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
29914         (feraiseexcept): Do not use BP_SYM in versioned symbols.
29915         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
29916         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
29917         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
29918         <bp-sym.h>.
29919         (__libc_start_main): Do not use BP_SYM.
29920
29921 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
29922
29923         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
29924         redundant return line.
29925         (norm): Likewise.
29926         (denorm): Likewise.
29927         (dbl_mp): Likewise.
29928         (sub_magnitudes): Likewise.
29929         (__add): Likewise.
29930         (__sub): Likewise.
29931         (__mul): Likewise.
29932         (__inv): Likewise.
29933         (__dvd): Likewise.
29934         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
29935         (norm): Likewise.
29936         (denorm): Likewise.
29937         (dbl_mp): Likewise.
29938         (sub_magnitudes): Likewise.
29939         (__add): Likewise.
29940         (__sub): Likewise.
29941         (__mul): Likewise.
29942         (__inv): Likewise.
29943         (__dvd): Likewise.
29944
29945         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
29946         instead of __mul.
29947         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
29948         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
29949         (cc32): Likewise.
29950
29951         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
29952         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
29953         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
29954         of __mul for squares.
29955         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
29956         function
29957         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
29958         Likewise.
29959         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
29960         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
29961
29962 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
29963
29964         [BZ #13550]
29965         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
29966         code.
29967         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
29968         prototype or function definition.  Rename ubp_* variables and
29969         parameters.  Remove argv definitions conditional on
29970         [__BOUNDED_POINTERS__].
29971         * debug/backtrace.c (__backtrace): Do not use __unbounded.
29972         * elf/dl-runtime.c (_dl_fixup): Likewise.
29973         * include/set-hooks.h (RUN_HOOK): Likewise.
29974         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
29975         definition.
29976         * string/strcpy.c (strcpy): Do not use __unbounded.
29977         * sysdeps/generic/frame.h (struct layout): Likewise.
29978         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
29979         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
29980         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
29981         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
29982         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
29983         (__backtrace): Likewise.
29984         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
29985         use __ptrvalue.
29986         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
29987         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
29988         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
29989         Likewise.
29990         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
29991         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
29992         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
29993         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
29994         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
29995         Do not use __unbounded.
29996         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
29997         Rename __unboundedrlimits parameter to rlimits in prototype.
29998         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
29999         Do not use __unbounded.
30000         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
30001         not use __ptrvalue.
30002         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
30003         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
30004         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
30005         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
30006         __ptrvalue or __unbounded.
30007         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
30008         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
30009         use __unbounded.
30010         (__new_msgctl): Do not use __ptrvalue.
30011         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
30012         __unbounded.
30013         (__libc_msgrcv): Do not use __ptrvalue.
30014         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
30015         startup_info): Do not use __unbounded.
30016         (__libc_start_main): Likewise.  Rename ubp_* variables and
30017         parameters.  Remove argv definitions conditional on
30018         [__BOUNDED_POINTERS__].
30019         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
30020         __ptrvalue.
30021         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
30022         use __unbounded.
30023         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
30024         or __ptrvalue.
30025         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
30026         use __unbounded.
30027         (__new_shmctl): Do not use __ptrvalue.
30028         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
30029         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
30030         Likewise.
30031         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
30032         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
30033         (__libc_sigaction): Likewise.
30034         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
30035         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
30036         Likewise.
30037         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
30038
30039 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
30040
30041         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
30042
30043         * string/mempcpy.c: Implement by calling memcpy.
30044
30045 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
30046
30047         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
30048
30049         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
30050         evaluation.
30051
30052         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
30053         values in the mantissa.
30054
30055         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
30056         minimize writes to Z.
30057         (sub_magnitudes): Simplify code a bit.
30058
30059 2013-02-12  Roland McGrath  <roland@hack.frob.com>
30060
30061         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
30062         from the message.  The linker prefixes all warnings with that already.
30063
30064 2013-02-12  Andreas Schwab  <schwab@suse.de>
30065
30066         [BZ #15078]
30067         * posix/regexec.c (extend_buffers): Add parameter min_len.
30068         (check_matching): Pass minimum needed length.
30069         (clean_state_log_if_needed): Likewise.
30070         (get_subexp): Likewise.
30071         * posix/Makefile (tests): Add bug-regex34.
30072         (bug-regex34-ENV): Define.
30073         * posix/bug-regex34.c: New file.
30074
30075         [BZ #11561]
30076         * posix/regcomp.c (parse_bracket_exp): When looking up collating
30077         elements compare against the byte sequence of it, not its name.
30078         * posix/Makefile (tests): Add bug-regex35.
30079         (bug-regex35-ENV): Define.
30080         * posix/bug-regex35.c: New file.
30081
30082 2013-02-11  Tom de Vries  <tom@codesourcery.com>
30083
30084         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
30085         comment.
30086         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
30087         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
30088         (CHECK_EOL): Add undef.
30089
30090 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
30091
30092         * bits/stdlib-bsearch.h: New file.
30093         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
30094         * stdlib/stdlib.h: Likewise.
30095
30096 2013-02-11  Roland McGrath  <roland@hack.frob.com>
30097
30098         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
30099         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
30100         declaration.
30101         * manual/search.texi (Array Search Function): Add missing const in
30102         lfind prototype.
30103         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
30104         declaration to use rlim_t.
30105         (Basic Scheduling Functions): Remove erroneous const from
30106         sched_getparam prototype.  Remove erroneous * from
30107         sched_get_priority_max and sched_get_priority_min prototypes.
30108         (Resource Usage): Fix summary @comment on vtimes to refer to
30109         sys/vtimes.h rather than vtimes.h.
30110         Add missing *s in vtimes prototype.
30111         (Limits on Resources): Fix ulimit prototype to return long int.
30112         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
30113         prototypes to use long int rather than double.
30114         (BSD Random): Fix initstate and setstate to use char *, not void *.
30115         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
30116         prototype to make second argument 'struct aiocb64 *const[]'.
30117         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
30118         (Status of AIO Operations): Remove erroneous const in aio_return and
30119         aio_return64 prototypes.
30120         (Synchronizing I/O): Fix sync prototype to return void.
30121         * manual/startup.texi (Suboptions): Remove an erroneous const in
30122         getsubopt prototype.
30123         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
30124         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
30125         use size_t rather than int.
30126         (Scanning All Users): Likewise for getpwent_r.
30127         (Setting Groups): Add missing const to setgroups prototype.
30128         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
30129         * manual/socket.texi (Host Names): Fix gethostbyaddr and
30130         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
30131         'const void *' rather than 'const char *'.
30132         (Host Address Functions): Likewise for inet_ntop.
30133         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
30134         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
30135         ssize_t for return value.
30136         (Sending Data): Likewise for send, sendto, sendmsg.
30137         (Socket Option Functions): Add a missing const in setsockopt prototype.
30138         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
30139         use wchar_t for the argument.
30140         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
30141         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
30142         take no arguments.
30143         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
30144         double/float/long double for second argument.
30145         Fix return types of significand, significandf, significandl.
30146         * manual/filesys.texi (Setting Permissions): Use mode_t for second
30147         argument in fchmod prototype.
30148         (File Owner): Use uid_t and gid_t in fchown prototype.
30149         (File Times): Add const to utimes, futimes, and lutimes prototypes.
30150         (Making Special Files): Use mode_t and dev_t in mknod prototype.
30151         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
30152         use 'const struct dirent **' as argument types to CMP function pointer
30153         argument.
30154         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
30155         (File Times): Fix summary magic @comment for struct utimbuf and utime
30156         to refer to utime.h, not time.h.
30157         * manual/string.texi (Argz Functions): Add missing const in
30158         argz_extract and argz_next prototypes.
30159         (Finding Tokens in a String): Likewise for basename.
30160         (String/Array Comparison): Fix typo in wcscasecmp prototype.
30161         (Copying and Concatenation): Fix typo in wmemmove prototype.
30162         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
30163         (Signal Stack): Remove erroneous const in sigstack prototype.
30164         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
30165         prototype.
30166         (Simple Calendar Time): Likewise for stime.
30167         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
30168         prototype.
30169         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
30170         say sys/sysctl.h instead.
30171         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
30172         and vsyslog prototypes.
30173
30174 2013-02-11  Tom de Vries  <tom@codesourcery.com>
30175
30176         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
30177         Remove.
30178
30179 2013-02-11  Roland McGrath  <roland@hack.frob.com>
30180
30181         * misc/sys/mman.h: Fix typo in mremap comment.
30182
30183 2013-02-08  Roland McGrath  <roland@hack.frob.com>
30184
30185         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
30186         the '\0' terminator.
30187
30188 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
30189
30190         [BZ #13550]
30191         * debug/segfault.c: Don't include <bp-checks.h>.
30192         * sysdeps/generic/bp-checks.h: Remove file.
30193         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
30194         (__GETDENTS): Don't use CHECK_N.
30195         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
30196         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
30197         (__getgroups): Don't use CHECK_N.
30198         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
30199         (setgroups): Don't use CHECK_N.
30200         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
30201         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
30202         (__libc_msgrcv): Don't use CHECK_N.
30203         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
30204         (__libc_msgsnd): Don't use CHECK_N.
30205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
30206         <bp-checks.h>.
30207         (__libc_pread): Don't use CHECK_N.
30208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
30209         include <bp-checks.h>.
30210         (__libc_pread64): Don't use CHECK_N.
30211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
30212         include <bp-checks.h>.
30213         (__libc_pwrite): Don't use CHECK_N.
30214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
30215         include <bp-checks.h>.
30216         (__libc_pwrite64): Don't use CHECK_N.
30217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
30218         <bp-checks.h>.
30219         (__libc_pread): Don't use CHECK_N.
30220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
30221         include <bp-checks.h>.
30222         (__libc_pread64): Don't use CHECK_N.
30223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
30224         include <bp-checks.h>.
30225         (__libc_pwrite): Don't use CHECK_N.
30226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
30227         include <bp-checks.h>.
30228         (__libc_pwrite64): Don't use CHECK_N.
30229         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
30230         (do_pread): Don't use CHECK_N.
30231         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
30232         (do_pread64): Don't use CHECK_N.
30233         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
30234         (do_pwrite): Don't use CHECK_N.
30235         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
30236         (do_pwrite64): Don't use CHECK_N.
30237         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
30238         (__libc_readv): Don't use CHECK_N.
30239         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
30240         (semop): Don't use CHECK_N.
30241         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
30242         <bp-checks.h>.
30243         (semtimedop): Don't use CHECK_N.
30244         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
30245         (__libc_pread): Don't use CHECK_N.
30246         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
30247         <bp-checks.h>.
30248         (__libc_pread64): Don't use CHECK_N.
30249         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
30250         <bp-checks.h>.
30251         (__libc_pwrite): Don't use CHECK_N.
30252         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
30253         <bp-checks.h>.
30254         (__libc_pwrite64): Don't use CHECK_N.
30255         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
30256         <bp-checks.h>.
30257         (__libc_msgrcv): Don't use CHECK_N.
30258         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
30259         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
30260         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
30261         (__libc_writev): Don't use CHECK_N.
30262
30263 2013-02-08  Roland McGrath  <roland@hack.frob.com>
30264
30265         * string/strcpy.c: Removed unused variable.
30266
30267         * Makeconfig (+sysdep-includes): Define with := rather than =.
30268         Use an existing include/ subdir of each sysdeps dir before it.
30269
30270 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
30271
30272         * nscd/connection.c (register_traced_file): Comment function.
30273         [HAVE_INOTIFY] (union __inev): Define.
30274         [HAVE_INOTIFY] (inotify_check_files): New function.
30275         [HAVE_INOTIFY] (clear_db_cache): Likewise.
30276         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
30277         clear_db_cache.
30278         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
30279
30280 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
30281
30282         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
30283         loaded if not already and that a failure is permanent.
30284
30285 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
30286
30287         [BZ #15006]
30288         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
30289         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
30290
30291 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
30292
30293         [BZ #13550]
30294         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
30295         (CHECK_1_NULL_OK): Likewise.
30296         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
30297         (__fxstat): Do not use CHECK_1.
30298         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
30299         <bp-checks.h>.
30300         (___fxstat64): Do not use CHECK_1.
30301         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
30302         <bp-checks.h>.
30303         (__fxstatat): Do not use CHECK_1.
30304         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
30305         <bp-checks.h>.
30306         (__fxstatat64): Do not use CHECK_1.
30307         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
30308         <bp-checks.h>.
30309         (__fxstat): Do not use CHECK_1.
30310         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
30311         <bp-checks.h>.
30312         (__fxstatat): Do not use CHECK_1.
30313         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
30314         <bp-checks.h>.
30315         (__getresgid): Do not use CHECK_1.
30316         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
30317         <bp-checks.h>.
30318         (__getresuid): Do not use CHECK_1.
30319         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
30320         <bp-checks.h>.
30321         (__lxstat): Do not use CHECK_1.
30322         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
30323         <bp-checks.h>.
30324         (__old_msgctl): Do not use CHECK_1.
30325         (__new_msgctl): Likewise.
30326         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
30327         <bp-checks.h>.
30328         (__new_setrlimit): Do not use CHECK_1.
30329         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
30330         <bp-checks.h>.
30331         (__old_shmctl): Do not use CHECK_1.
30332         (__new_shmctl): Likewise.
30333         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
30334         <bp-checks.h>.
30335         (__xstat): Do not use CHECK_1.
30336         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
30337         (__lxstat): Do not use CHECK_1.
30338         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
30339         <bp-checks.h>.
30340         (___lxstat64): Do not use CHECK_1.
30341         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
30342         (__old_msgctl): Do not use CHECK_1.
30343         (__new_msgctl): Likewise.
30344         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
30345         <bp-checks.h>.
30346         (__gettimeofday): Do not use CHECK_1.
30347         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
30348         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
30349         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
30350         <bp-checks.h>.
30351         (__gettimeofday): Do not use CHECK_1.
30352         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
30353         (__old_shmctl): Do not use CHECK_1_NULL_OK.
30354         (__new_shmctl): Do not use CHECK_1.
30355         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
30356         <bp-checks.h>.
30357         (do_sigtimedwait): Do not use CHECK_1.
30358         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
30359         <bp-checks.h>.
30360         (do_sigwaitinfo): Do not use CHECK_1.
30361         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
30362         <bp-checks.h>.
30363         (msgctl): Do not use CHECK_1.
30364         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
30365         <bp-checks.h>.
30366         (shmctl): Do not use CHECK_1.
30367         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
30368         (ustat): Do not use CHECK_1.
30369         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
30370         <bp-checks.h>.
30371         (__fxstat): Do not use CHECK_1.
30372         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
30373         <bp-checks.h>.
30374         (__fxstatat): Do not use CHECK_1.
30375         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
30376         <bp-checks.h>.
30377         (__lxstat): Do not use CHECK_1.
30378         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
30379         <bp-checks.h>.
30380         (__xstat): Do not use CHECK_1.
30381         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
30382         (__xstat): Do not use CHECK_1.
30383         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
30384         (___xstat64): Do not use CHECK_1.
30385
30386         [BZ #13550]
30387         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
30388         definitions.
30389         (CHECK_BOUNDS_HIGH): Likewise.
30390         * string/strcpy.c: Do not include <bp-checks.h>.
30391         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
30392
30393 2013-02-07  Roland McGrath  <roland@hack.frob.com>
30394
30395         * nscd/nscd-client.h (__nscd_drop_map_ref):
30396         Add __attribute__ ((unused)).
30397         * nis/nss-nisplus.h (niserr2nss): Likewise.
30398
30399         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
30400         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
30401
30402         * csu/libc-tls.c (init_static_tls, init_slotinfo):
30403         Remove inline keyword.
30404         * include/rounding-mode.h (round_away): Likewise.
30405         * libio/wfileops.c (adjust_wide_data): Likewise.
30406         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
30407         (__m128i_strloadu_tolower): Likewise.
30408         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
30409         (__m128i_strloadu_tolower): Likewise.
30410         * time/mktime.c (ydhms_diff): Likewise.
30411         * locale/elem-hash.h (elem_hash): Likewise.
30412         * locale/setlocale.c (setdata): Likewise.
30413         * posix/regex_internal.h (re_string_char_size_at): Likewise.
30414         (re_string_wchar_at): Likewise.
30415         (bitset_not, bitset_merge, bitset_mask): Likewise.
30416         [!(__GNUC__ > 3)] (inline): Remove macro.
30417         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
30418         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
30419         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
30420         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
30421         * string/memcmp.c (memcmp_bytes): Likewise.
30422         * locale/programs/locarchive.c (compute_hashval): Likewise.
30423         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
30424         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
30425         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
30426         * nss/getent.c (print_rpc, print_protocols): Likewise.
30427         (print_passwd, print_group, print_aliases): Likewise.
30428         * nis/nss-nisplus.h (niserr2nss): Likewise.
30429         * nscd/connections.c (restart_p): Likewise.
30430         Change return type to bool.
30431
30432 2013-02-05  Roland McGrath  <roland@hack.frob.com>
30433
30434         * Makeconfig (all-Depend-files): Add existing
30435         $(sorted-subdirs:=/Depend) files.
30436         (all-subdirs): Remove nss.
30437         * sysdeps/unix/inet/Subdirs: Add it here instead.
30438         * hesiod/Depend: New file.
30439
30440         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
30441         instead of calling alloca.
30442
30443         * io/lseek.c (__lseek): Rename to __libc_lseek.
30444         Define __lseek as an alias.
30445
30446         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
30447
30448 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
30449
30450         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
30451         else clause and remove check for non-standard endianness.
30452
30453 2013-02-04  David S. Miller  <davem@davemloft.net>
30454
30455         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30456
30457 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
30458
30459         [BZ #13550]
30460         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
30461         (__ubp_memchr): Remove prototype.
30462         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
30463         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
30464         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
30465         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
30466         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
30467         Remove alias.
30468         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
30469         (__ubp_memchr): Likewise.
30470         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
30471         (__ubp_memchr): Likewise.
30472         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
30473         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
30474         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
30475         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
30476         CHECK_STRING.
30477         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
30478         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
30479         (__getcwd): Do not use CHECK_STRING.
30480         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
30481         <bp-checks.h>.
30482         (__real_chown): Do not use CHECK_STRING.
30483         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
30484         <bp-checks.h>.
30485         (fchownat): Do not use CHECK_STRING.
30486         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
30487         CHECK_STRING.
30488         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
30489         <bp-checks.h>.
30490         (__lchown): Do not use CHECK_STRING.
30491         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
30492         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
30493         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
30494         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
30495         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
30496         include <bp-checks.h>.
30497         (truncate64): Do not use CHECK_STRING.
30498         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
30499         <bp-checks.h>.
30500         (__real_chown): Do not use CHECK_STRING.
30501         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
30502         <bp-checks.h>.
30503         (__lchown): Do not use CHECK_STRING.
30504         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
30505         <bp-checks.h>.
30506         (__chown): Do not use CHECK_STRING.
30507         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
30508         <bp-checks.h>.
30509         (truncate64): Do not use CHECK_STRING.
30510         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
30511         Likewise.
30512         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
30513         (__xmknod): Do not use CHECK_STRING.
30514         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
30515         <bp-checks.h>.
30516         (__xmknodat): Do not use CHECK_STRING.
30517         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
30518         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
30519
30520 2013-02-04  Andreas Schwab  <schwab@suse.de>
30521
30522         [BZ #14142]
30523         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
30524         * include/netdb.h: Likewise for h_errno.
30525         * elf/tst-stackguard1.c: Include <tls.h>.
30526
30527 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
30528
30529         * elf/link.h (struct link_map): Extend the l_addr comment.
30530         * include/link.h (struct link_map): Likewise.
30531
30532 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
30533
30534         [BZ #13550]
30535         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
30536         (BOUNDED_1): Remove macro.
30537         * debug/backtrace.c: Don't include <bp-checks.h>.
30538         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
30539         (__backtrace): Likewise.
30540         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
30541         <bp-checks.h>.
30542         (__backtrace): Don't use BOUNDED_1.
30543         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
30544         <bp-checks.h>.
30545         (__backtrace): Don't use BOUNDED_1.
30546         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
30547         (__backtrace): Don't use BOUNDED_1.
30548         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
30549         (shmat): Don't use BOUNDED_N.
30550
30551 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
30552
30553         [BZ #13550]
30554         * sysdeps/generic/bp-start.h: Remove file.
30555         * csu/libc-start.c: Don't include <bp-start.h>.
30556         (LIBC_START_MAIN): Set up __environ directly instead of using
30557         INIT_ARGV_and_ENVIRON.
30558         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
30559         <bp-start.h>.
30560
30561         [BZ #13550]
30562         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
30563         definitions.
30564         (CHECK_FCNTL): Likewise.
30565         (CHECK_N_PAGES): Likewise.
30566
30567         [BZ #13550]
30568         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
30569         definitions.
30570         (CHECK_SIGSET_NULL_OK): Likewise.
30571         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
30572         <bp-checks.h>.
30573         (sigpending): Don't use CHECK_SIGSET.
30574         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
30575         <bp-checks.h>.
30576         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
30577         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
30578         <bp-checks.h>.
30579         (do_sigsuspend): Don't use CHECK_SIGSET.
30580         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
30581         use CHECK_SIGSET.
30582         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
30583         (do_sigwait): Don't use CHECK_SIGSET.
30584         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
30585         use CHECK_SIGSET.
30586         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
30587         include <bp-checks.h>.
30588         (sigpending): Don't use CHECK_SIGSET.
30589         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
30590         include <bp-checks.h>.
30591         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
30592         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
30593         <bp-checks.h>.
30594         (sigpending): Don't use CHECK_SIGSET.
30595         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
30596         <bp-checks.h>.
30597         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
30598
30599         [BZ #13550]
30600         * sysdeps/generic/bp-semctl.h: Remove file.
30601         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
30602         <bp-checks.h> and <bp-semctl.h>.
30603         (__old_semctl): Don't use CHECK_SEMCTL.
30604         (__new_semctl): Likewise.
30605         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
30606         and <bp-semctl.h>.
30607         (__old_semctl): Don't use CHECK_SEMCTL.
30608         (__new_semctl): Likewise.
30609         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
30610         <bp-checks.h> and <bp-semctl.h>.
30611         (__old_semctl): Don't use CHECK_SEMCTL.
30612         (__new_semctl): Likewise.
30613         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
30614         <bp-checks.h> and <bp-semctl.h>.
30615         (semctl): Don't use CHECK_SEMCTL.
30616
30617         [BZ #13550]
30618         * Makerules (elide-bp-thunks): Remove variable.
30619         (elide-routines.oS): Don't use $(elide-bp-thunks).
30620         (elide-routines.os): Likewise.
30621         (elide-routines.o): Likewise.
30622         (elide-routines.op): Likewise.
30623         (elide-routines.og): Likewise.
30624         (objects): Don't use $(bp-thunks).
30625         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
30626         include.
30627         (common-generated): Do not add s-proto-bp.d.
30628         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
30629         (int): Likewise.
30630         (typ): Likewise.
30631         Do not generate makefile rules for bounded-pointer thunks.
30632         * sysdeps/generic/bp-thunks.h: Remove file.
30633         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
30634         * sysdeps/unix/s-proto-bp.S: Likewise.
30635
30636         [BZ #15062]
30637         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
30638         parts of result separately when argument is not close to line from
30639         -i to i and one part of argument is small.
30640         * math/k_casinhf.c (__kernel_casinhf): Likewise.
30641         * math/k_casinhl.c (__kernel_casinhl): Likewise.
30642         * math/libm-test.inc (cacos_test): Add more tests.
30643         (casin_test): Likewise.
30644         (casinh_test): Likewise.
30645         * sysdeps/i386/fpu/libm-test-ulps: Update.
30646         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30647
30648 2013-01-31  David S. Miller  <davem@davemloft.net>
30649
30650         * po/de.po: Update from translation team.
30651
30652 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
30653
30654         * time/tzfile.c: Include stdint.h for SIZE_MAX.
30655
30656 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
30657
30658         * configure.in (_AC_PROG_CC_C89): New definition.
30659         * configure: Regenerate.
30660
30661         * configure.in (AC_PROG_CPP): New definition.
30662         * configure: Regenerate.
30663
30664 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
30665
30666         * debug/tst-backtrace.h: New file.
30667         * debug/tst-backtrace2.c: Include tst-backtrace.h.
30668         (ret): Remove variable.
30669         (x): Likewise.
30670         (FAIL): Remove macro.
30671         (NO_INLINE): Likewise.
30672         (fn1): Use match function instead of strstr.
30673         * debug/tst-backtrace3.c: Include tst-backtrace.h.
30674         (ret): Remove variable.
30675         (x): Likewise.
30676         (FAIL): Remove macro.
30677         (NO_INLINE): Likewise.
30678         (fn): Use match function instead of strstr.
30679         * debug/tst-backtrace4.c: Include tst-backtrace.h.
30680         (ret): Remove variable.
30681         (x): Likewise.
30682         (FAIL): Remove macro.
30683         (NO_INLINE): Likewise.
30684         (handle_signal): Use match function instead of strstr.
30685         * debug/tst-backtrace5.c: Include tst-backtrace.h.
30686         (ret): Remove variable.
30687         (x): Likewise.
30688         (FAIL): Remove macro.
30689         (NO_INLINE): Likewise.
30690         (handle_signal): Use match function instead of strstr.
30691
30692 2013-01-23  Roland McGrath  <roland@hack.frob.com>
30693
30694         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
30695
30696 2013-01-23  David S. Miller  <davem@davemloft.net>
30697
30698         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
30699         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
30700         argument of CAS if possible.
30701         * sysdeps/sparc/sparc64/bits/atomic.h
30702         (__arch_compare_and_exchange_val_32_acq): Likewise.
30703         (__arch_compare_and_exchange_val_64_acq): Likewise.
30704
30705 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
30706
30707         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
30708         * sysdeps/posix/ulimit.c: ... this.
30709         Include <limits.h>.
30710         * sysdeps/unix/bsd/ulimit.c: Remove file.
30711
30712 2013-01-23  Adam Conrad  <adconrad@0c3.net>
30713
30714         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
30715         (LDFLAGS-tst-array5): Likewise.
30716
30717 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
30718
30719         [BZ #15036]
30720         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
30721         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
30722         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
30723         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
30724
30725 2013-01-21  David S. Miller  <davem@davemloft.net>
30726
30727         * sysdeps/sparc/backtrace.c: New file.
30728         * sysdeps/sparc/sparc32/backtrace.h: New file.
30729         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
30730         * sysdeps/sparc/sparc64/backtrace.h: New file.
30731         * sysdeps/sparc/sparc64/backtrace.c: Delete.
30732         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
30733         -funwind-tables.
30734
30735 2013-01-21  Andreas Schwab  <schwab@suse.de>
30736
30737         [BZ #15020]
30738         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
30739         closed its stdout.
30740
30741 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
30742
30743         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
30744         "mpa2.h".
30745         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30746
30747 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
30748             Mark Mitchell  <mark@codesourcery.com>
30749             Tom de Vries  <tom@codesourcery.com>
30750             Paul Pluzhnikov  <ppluzhnikov@google.com>
30751
30752         * debug/tst-backtrace2.c: New file.
30753         * debug/tst-backtrace3.c: Likewise.
30754         * debug/tst-backtrace4.c: Likewise.
30755         * debug/tst-backtrace5.c: Likewise.
30756         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
30757         (CFLAGS-tst-backtrace3.c): Likewise.
30758         (CFLAGS-tst-backtrace4.c): Likewise.
30759         (CFLAGS-tst-backtrace5.c): Likewise.
30760         (LDFLAGS-tst-backtrace2): Likewise.
30761         (LDFLAGS-tst-backtrace3): Likewise.
30762         (LDFLAGS-tst-backtrace4): Likewise.
30763         (LDFLAGS-tst-backtrace5): Likewise.
30764         (tests): Add new tests tst-backtrace2, tst-backtrace3,
30765         tst-backtrace4 and tst-backtrace5.
30766
30767 2013-01-18  Anton Blanchard  <anton@samba.org>
30768             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30769
30770         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
30771         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
30772         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
30773         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
30774         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
30775         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
30776         "+r" and remove output regs list as redundant.  Add explicit inline
30777         asm to specify register of return val to work around compiler codegen
30778         bug.  Remove (int) cast on return value.  Add return type parameter to
30779         use in macro so that this macro does not truncate return value for
30780         64-bit values.
30781         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
30782         pass to INTERNAL_VSYSCALL_NCS.
30783         (INLINE_VSYSCALL): Add 'long int' as return type to
30784         INTERNAL_VSYSCALL_NCS macro invocation.
30785         (INTERNAL_VSYSCALL): Add 'long int' as return type to
30786         INTERNAL_VSYSCALL_NCS macro invocation.
30787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30788
30789 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
30790
30791         [BZ #14496]
30792         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
30793         Fix application of SIMD FP exception mask.
30794
30795         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
30796         mp_no from a power of two.
30797         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
30798         __mpexp_twomm1.  Use __pow_mp.
30799
30800         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
30801         multiplication.
30802
30803 2013-01-17  David S. Miller  <davem@davemloft.net>
30804
30805         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30806
30807 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
30808
30809         [BZ #15023]
30810         * include/complex.h: Condition contents on [!_COMPLEX_H].
30811         (__kernel_casinhf): New prototype.
30812         (__kernel_casinh): Likewise.
30813         (__kernel_casinhl): Likewise.
30814         * math/Makefile (libm_calls): Add k_casinh.
30815         * math/k_casinh.c: New file.
30816         * math/k_casinhf.c: Likewise.
30817         * math/k_casinhl.c: Likewise.
30818         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
30819         finite nonzero arguments.
30820         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
30821         finite nonzero arguments.
30822         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
30823         finite nonzero arguments.
30824         * math/s_casinh.c: Do not include <float.h>.
30825         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
30826         * math/s_casinhf.c: Do not include <float.h>.
30827         (__casinhf): Move code for finite nonzero arguments to
30828         k_casinhf.c.
30829         * math/s_casinhl.c: Do not include <float.h>.
30830         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
30831         redefine.
30832         (__casinhl): Move code for finite nonzero arguments to
30833         k_casinhl.c.
30834         * math/libm-test.inc (cacos_test): Add more tests.
30835         * sysdeps/i386/fpu/libm-test-ulps: Update.
30836         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30837
30838 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
30839
30840         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
30841         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
30842         [!HAVE_MREMAP]: Remove [defined linux] case.
30843         * malloc/arena.c: Do not include <malloc-sysdep.h>.
30844
30845 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
30846
30847         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
30848
30849 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
30850
30851         * elf/elf.h (R_386_SIZE32): New relocation.
30852         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
30853         R_386_SIZE32.
30854         (elf_machine_rela): Likewise.
30855         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
30856         R_X86_64_SIZE64 and R_X86_64_SIZE32.
30857
30858 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
30859
30860         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
30861         (FP_FAST_FMA): Do not define.
30862         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
30863         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
30864         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
30865         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
30866         !_SOFT_FLOAT]: Likewise.
30867         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
30868         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
30869         value.
30870         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
30871         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
30872         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
30873         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
30874         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
30875         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
30876         file.
30877
30878 2013-01-16  Andreas Schwab  <schwab@suse.de>
30879
30880         [BZ #14327]
30881         * include/stdlib.h (__mktemp): Add declaration.
30882         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
30883         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
30884
30885 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
30886
30887         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
30888         definitions.
30889         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
30890         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
30891         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
30892         definitions here.
30893         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
30894         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
30895         definitions.
30896         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
30897         and ONE.
30898         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
30899         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
30900         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
30901         definitions.
30902         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
30903         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
30904         definitions.
30905         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
30906
30907         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
30908
30909 2013-01-15  David S. Miller  <davem@davemloft.net>
30910
30911         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
30912         trunc{,f} to libm-sysdep_routes.
30913         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
30914         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
30915         file.
30916         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
30917         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
30918         file.
30919         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
30920         file.
30921         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
30922         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
30923         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
30924         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
30925         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
30926         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
30927         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
30928         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
30929
30930         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
30931         nearbyint{,f} to libm-sysdep_routes.
30932         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
30933         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
30934         New file.
30935         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
30936         file.
30937         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
30938         New file.
30939         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
30940         file.
30941         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
30942         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
30943         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
30944         file.
30945         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
30946         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
30947         file.
30948         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
30949         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
30950         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
30951
30952         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
30953         libc_feholdexcept and libc_fesetenv.
30954
30955 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
30956
30957         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
30958
30959 2013-01-14  David S. Miller  <davem@davemloft.net>
30960
30961         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
30962         (SPARC_ASM_VIS2_IFUNC): Likewise.
30963         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
30964         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
30965         use of 'siam' instruction.
30966         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
30967         Likewise.
30968         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
30969         Likewise.
30970         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
30971         Likewise.
30972         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
30973         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
30974         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
30975         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
30976         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
30977         file.
30978         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
30979         file.
30980         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
30981         file.
30982         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
30983         file.
30984         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
30985         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
30986         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
30987         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
30988         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
30989         new VIS2 routines.
30990         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
30991         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
30992         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
30993         Likewise.
30994         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
30995         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
30996         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
30997         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
30998         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
30999         routines to libm-sysdep_routines.
31000         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
31001
31002         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
31003         fdim/fdimf to libm-sysdep_routines.
31004         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
31005         file.
31006         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
31007         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
31008         file.
31009         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
31010         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
31011         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
31012         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
31013         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
31014         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
31015         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
31016
31017 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
31018
31019         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
31020         to optimize copies.
31021
31022         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
31023         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
31024         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31025
31026         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
31027         local variable MPTWO.
31028         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
31029         Likewise.
31030
31031 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
31032
31033         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
31034         GLOB_NOESCAPE.
31035
31036 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
31037
31038         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
31039
31040 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
31041
31042         * manual/pattern.texi (glob_t): Document gl_flags.
31043         (glob64_t): Likewise.
31044
31045 2013-01-11  David S. Miller  <davem@davemloft.net>
31046
31047         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
31048         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
31049         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
31050         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
31051         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
31052         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
31053         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
31054         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
31055         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
31056         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
31057         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
31058         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
31059         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
31060
31061         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
31062         sparc V9 rather than using V8 code.
31063         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
31064         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
31065
31066         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
31067         Move to...
31068         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
31069         Here.
31070
31071 2013-01-11  Roland McGrath  <roland@hack.frob.com>
31072
31073         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
31074         not in the main loop.
31075         * configure: Regenerated.
31076
31077 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
31078
31079         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
31080         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
31081         to just #else.
31082         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
31083         [!__GLIBC_HAVE_LONG_LONG] case.
31084         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
31085         condition to just #else.
31086         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
31087         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
31088         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
31089         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
31090         unconditional.
31091         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
31092         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
31093         #elif condition to just #else.
31094         * sysdeps/unix/sysv/linux/sys/sysmacros.h
31095         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
31096         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
31097         #elif condition to just #else.
31098
31099 2013-01-11  Steve Ellcey  <sellcey@mips.com>
31100
31101         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
31102         (EF_MIPS_ARCH_64): Fix value.
31103         (EF_MIPS_ARCH_32R2): New.
31104         (EF_MIPS_ARCH_64R2): New.
31105
31106 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
31107
31108         * Makeconfig (+link-pie-before-libc): New.
31109         (+link-pie-after-libc): Likewise.
31110         (+link-pie-tests): Likewise.
31111         (+link-pie): Rewritten.
31112         (link-before-libc): Remove $(config-LDFLAGS).
31113         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
31114         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
31115         (config-LDFLAGS): Renamed to ...
31116         (rtld-LDFLAGS): This.
31117         (rtld-tests-LDFLAGS): New macro.
31118         (link-libc-rpath-link): Likewise.
31119         (link-libc-tests-rpath-link): Likewise.
31120         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
31121         (link-libc): Prepand $(link-libc-rpath-link).
31122         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
31123         (test-program-prefix): New macro.
31124         (test-via-rtld-prefix): Likewise.
31125         (test-program-cmd): Likewise.
31126         (host-test-program-cmd): Likewise.
31127         * Makefile ($(common-objpfx)testrun.sh): Replace
31128         $(run-program-prefix) with $(test-program-prefix).
31129         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
31130         $(rtld-LDFLAGS).
31131         ($(common-objpfx)shlib.lds): Likewise.
31132         (build-module-helper): Likewise.
31133         ($(common-objpfx)format.lds): Likewise.
31134         * Rules (binaries-pie-tests): New.
31135         (binaries-pie-notests): Likewise.
31136         (binaries-pie): Rewritten.
31137         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
31138         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
31139         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
31140         (make-test-out): Replace $(host-built-program-cmd) with
31141         $(host-test-program-cmd).
31142         * config.make.in (build-hardcoded-path-in-tests): New variable.
31143         * configure.in (--enable-hardcoded-path-in-tests): New configure
31144         option.
31145         (hardcoded_path_in_tests): New AC_SUBST.
31146         * configure: Regenerated.
31147         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
31148         $(built-program-cmd) with $(test-program-cmd).
31149         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
31150         (test_program_cmd): This.
31151         * elf/Makefile ($(objpfx)order.out): Run test with
31152         $(test-program-prefix).
31153         ($(objpfx)order2.out): Likewise.
31154         ($(objpfx)tst-initorder.out): Likewise.
31155         ($(objpfx)tst-initorder2.out): Likewise.
31156         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
31157         $(test-program-cmd).
31158         ($(objpfx)tst-array1-static.out): Likewise.
31159         ($(objpfx)tst-array2.out): Likewise.
31160         ($(objpfx)tst-array3.out): Likewise.
31161         ($(objpfx)tst-array4.out): Likewise.
31162         ($(objpfx)tst-array5.out): Likewise.
31163         ($(objpfx)tst-array5-static.out): Likewise.
31164         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
31165         $(test-program-cmd).
31166         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
31167         $(run-program-prefix) with $(test-program-prefix).
31168         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
31169         (test_program_prefix): This.
31170         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
31171         $(run-program-prefix) with $(test-program-prefix).
31172         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
31173         (test_program_prefix): This.
31174         * iconvdata/tst-tables.sh: Likewise.
31175         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
31176         $(run-program-prefix) with $(test-program-prefix).
31177         ($(objpfx)tst-translit.out): Likewise.
31178         ($(objpfx)tst-gettext2.out): Likewise.
31179         ($(objpfx)tst-gettext4.out): Likewise.
31180         ($(objpfx)tst-gettext6.out): Likewise.
31181         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
31182         (test_program_prefix): This.
31183         * intl/tst-gettext2.sh: Likewise.
31184         * intl/tst-gettext4.sh  Likewise.
31185         * intl/tst-gettext6.sh: Likewise.
31186         * intl/tst-translit.sh: Likewise.
31187         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
31188         with $(test-program-cmd).
31189         * libio/Makefile ($(objpfx)test-freopen.out): Replace
31190         $(run-program-prefix) with $(test-program-prefix).
31191         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
31192         (test_program_prefix): This.
31193         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
31194         $(run-program-prefix) with $(test-program-prefix).
31195         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
31196         (test_program_prefix): This.
31197         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
31198         * posix/Makefile ($(objpfx)globtest.out): Replace
31199         $(run-via-rtld-prefix) and $(test-wrapper) with
31200         $(test-program-prefix) and $(test-via-rtld-prefix).
31201         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
31202         $(test-program-prefix).
31203         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
31204         $(host-test-program-cmd).
31205         (tst-spawn-ARGS): Likewise.
31206         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
31207         $(test-program-prefix).
31208         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
31209         (test_via_rtld_prefix): This.
31210         (test_wrapper): Renamed to ...
31211         (test_program_prefix): This.
31212         (run_program_prefix): Replaced by test_program_prefix.
31213         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
31214         (test_program_prefix): This.
31215         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
31216         with $(host-test-program-cmd).
31217         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
31218         $(run-program-prefix) with $(test-program-prefix).
31219         ($(objpfx)tst-printf.out): Likewise.
31220         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
31221         $(test-program-cmd).
31222         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
31223         (test_program_prefix): This.
31224         * stdio-common/tst-unbputc.sh: Likewise.
31225         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
31226         $(run-program-prefix) with $(test-program-prefix).
31227         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
31228         (test_program_prefix): This.
31229         * string/Makefile ($(objpfx)tst-svc.out):  Replace
31230         $(built-program-cmd) with $(test-program-cmd).
31231
31232 2013-01-11  Andreas Jaeger  <aj@suse.de>
31233
31234         [BZ #15003]
31235         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
31236         value. Sync with Linux 3.7.
31237
31238 2013-01-10  David S. Miller  <davem@davemloft.net>
31239
31240         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
31241         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
31242         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
31243
31244 2013-01-10  Roland McGrath  <roland@hack.frob.com>
31245
31246         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
31247         never set.
31248         * configure: Regenerated.
31249
31250 2013-01-10  David S. Miller  <davem@davemloft.net>
31251
31252         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
31253         sparc V9 rather than using V8 code.
31254         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
31255         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
31256
31257 2013-01-10  Roland McGrath  <roland@hack.frob.com>
31258
31259         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
31260         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
31261         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
31262         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
31263         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
31264         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
31265         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
31266         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
31267         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
31268         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
31269         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
31270         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
31271         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
31272         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
31273         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
31274         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
31275         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
31276         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
31277         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
31278         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
31279         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
31280         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
31281         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
31282         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
31283         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
31284         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
31285         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
31286
31287 2013-01-10  David S. Miller  <davem@davemloft.net>
31288
31289         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31290
31291 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
31292
31293         * posix/Makefile (tests-static): New variable.
31294         (tests): Add $(tests-static).
31295         (tst-exec-static-ARGS): New variable.
31296         (tst-spawn-static-ARGS): Likewise.
31297         * posix/tst-exec-static.c: New file.
31298         * posix/tst-spawn-static.c: Likewise.
31299         * posix/tst-exec.c: Support run directly.
31300         * posix/tst-spawn.c: Likewise.
31301
31302 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
31303
31304         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
31305         long.
31306         * math/bits/mathcalls.h (llrint): Likewise.
31307         (llround): Likewise.
31308         * stdlib/stdlib.h (struct drand48_data): Likewise.
31309         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
31310         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
31311         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
31312         Likewise.
31313         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
31314         Likewise.
31315         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
31316         (elf_greg_t): Likewise.
31317         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
31318         (__jmp_buf): Likewise.
31319         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
31320         definitions.
31321         (llrint): Likewise, for all definitions.
31322         (llrintl): Likewise.
31323
31324         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
31325         Remove [__GNUC__] condition.
31326         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
31327         condition to just [__USE_ISOC99].
31328         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
31329
31330 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
31331
31332         [BZ #14200]
31333         * sysdeps/unix/sysv/linux/x86/bits/environments.h
31334         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
31335         defined.
31336         (_POSIX_V6_ILP32_OFF32): Likewise.
31337         (_XBS5_ILP32_OFF32): Likewise.
31338         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
31339         (__ILP32_OFFBIG_LDFLAGS): Likewise.
31340
31341 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
31342
31343         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
31344
31345         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
31346         doubles __mpexp_twomm1.  Adjust usage.
31347         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
31348         Remove.
31349
31350 2013-01-10  Andreas Schwab  <schwab@suse.de>
31351
31352         [BZ #14964]
31353         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
31354         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
31355
31356 2013-01-09  David S. Miller  <davem@davemloft.net>
31357
31358         [BZ #15003]
31359         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
31360         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
31361         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
31362         (TCP_FASTOPEN): Define.
31363         (tcp_repair_opt): New structure.
31364         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
31365         enum values.
31366         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
31367         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
31368         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
31369         (tcp_cookie_transactions): New structure.
31370
31371 2013-01-09  Anton Blanchard  <anton@samba.org>
31372
31373         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
31374         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
31375         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
31376         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
31377
31378 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
31379
31380         * include/features.h (__USE_ANSI): Remove.
31381
31382 2013-01-09  Roland McGrath  <roland@hack.frob.com>
31383
31384         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
31385
31386         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
31387
31388 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
31389
31390         * sysdeps/s390/fpu/libm-test-ulps: Update.
31391
31392         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31393
31394         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
31395         (__acr): Likewise.
31396         (__cpy): Likewise.
31397         (norm): Likewise.
31398         (denorm): Likewise.
31399         (__mp_dbl): Likewise.
31400         (__dbl_mp): Likewise.
31401         (add_magnitudes): Likewise.
31402         (sub_magnitudes): Likewise.
31403         (__add): Likewise.
31404         (__sub): Likewise.
31405         (__mul): Likewise.
31406         (__inv): Likewise.
31407         (__dvd): Likewise.
31408         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
31409         (__acr): Likewise.
31410         (__cpy): Likewise.
31411         (norm): Likewise.
31412         (denorm): Likewise.
31413         (__mp_dbl): Likewise.
31414         (__dbl_mp): Likewise.
31415         (add_magnitudes): Likewise.
31416         (sub_magnitudes): Likewise.
31417         (__add): Likewise.
31418         (__sub): Likewise.
31419         (__mul): Likewise.
31420         (__inv): Likewise.
31421         (__dvd): Likewise.
31422         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
31423         (__acr): Likewise.
31424         (__cpy): Likewise.
31425         (norm): Likewise.
31426         (denorm): Likewise.
31427         (__mp_dbl): Likewise.
31428         (__dbl_mp): Likewise.
31429         (add_magnitudes): Likewise.
31430         (sub_magnitudes): Likewise.
31431         (__add): Likewise.
31432         (__sub): Likewise.
31433         (__mul): Likewise.
31434         (__inv): Likewise.
31435         (__dvd): Likewise.
31436
31437 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
31438
31439         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
31440         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
31441         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
31442         2 && __USE_EXTERN_INLINES]: Likewise.
31443
31444 2013-01-08  Andreas Jaeger  <aj@suse.de>
31445
31446         [BZ# 14985]
31447         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
31448         Remove.
31449         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
31450         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
31451
31452 2013-01-07  Anton Blanchard  <anton@samba.org>
31453
31454         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
31455         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
31456         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
31457         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
31458         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
31459         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
31460         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
31461         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
31462         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
31463         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
31464         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31465         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31466         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
31467         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
31468         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
31469         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31470         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31471         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
31472         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
31473         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
31474         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
31475         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
31476         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
31477         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
31478         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
31479         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
31480         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
31481         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
31482         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
31483         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
31484         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
31485         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31486         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
31487         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
31488         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
31489         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
31490         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
31491         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
31492         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
31493         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
31494         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
31495         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31496         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
31497
31498 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
31499
31500         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
31501         (__MALLOC_PMT): Likewise.
31502         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
31503         [__GNUC__], only on [_LIBC].
31504         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
31505         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
31506         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
31507         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
31508         forward declaration.
31509         (realloc_hook_ini): Likewise.
31510         (memalign_hook_ini): Likewise.
31511         (__libc_memalign): Do not use __MALLOC_PMT in variable
31512         declaration.
31513         (__libc_valloc): Likewise.
31514         (__libc_pvalloc): Likewise.
31515         (__libc_calloc): Likewise.
31516         (__posix_memalign): Likewise.
31517
31518         [BZ #14996]
31519         * math/s_casinh.c: Include <float.h>.
31520         (__casinh): Do not do computation with squaring and square root
31521         for large arguments.
31522         * math/s_casinhf.c: Include <float.h>.
31523         (__casinhf): Do not do computation with squaring and square root
31524         for large arguments.
31525         * math/s_casinhl.c: Include <float.h>.
31526         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
31527         (__casinhl): Do not do computation with squaring and square root
31528         for large arguments.
31529         * math/libm-test.inc (casin_test): Add more tests.
31530         (casinh_test): Likewise.
31531         * sysdeps/i386/fpu/libm-test-ulps: Update.
31532         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31533
31534 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
31535
31536         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
31537         (__x86_64_raw_data_cache_size): Likewise.
31538         (__x86_64_data_cache_size_half): Likewise.
31539         (__x86_64_raw_data_cache_size_half): Likewise.
31540         (__x86_64_shared_cache_size): Likewise.
31541         (__x86_64_raw_shared_cache_size): Likewise.
31542         (__x86_64_shared_cache_size_half): Likewise.
31543         (__x86_64_raw_shared_cache_size_half): Likewise.
31544         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
31545         to ...
31546         (__x86_data_cache_size): This.
31547         (__x86_64_raw_data_cache_size): Renamed to ...
31548         (__x86_raw_data_cache_size): This.
31549         (__x86_64_data_cache_size_half): Renamed to ...
31550         (__x86_data_cache_size_half): This.
31551         (__x86_64_raw_data_cache_size_half): Renamed to ...
31552         (__x86_raw_data_cache_size_half): This.
31553         (__x86_64_shared_cache_size): Renamed to ...
31554         (__x86_shared_cache_size): This.
31555         (__x86_64_raw_shared_cache_size): Renamed to ...
31556         (__x86_raw_shared_cache_size): This.
31557         (__x86_64_shared_cache_size_half): Renamed to ...
31558         (__x86_shared_cache_size_half): This.
31559         (__x86_64_raw_shared_cache_size_half): Renamed to ...
31560         (__x86_raw_shared_cache_size_half): This.
31561         * sysdeps/x86_64/memcpy.S: Updated.
31562         * sysdeps/x86_64/memset.S: Likewise.
31563         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
31564         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
31565         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
31566
31567 2013-01-04  David S. Miller  <davem@davemloft.net>
31568
31569         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31570
31571 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
31572
31573         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
31574         1 to avoid redefinition warning.
31575         (__USE_GNU): Don't define.
31576         (init_signaling_nan): Protoize.
31577
31578         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31579
31580 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
31581
31582         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
31583         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
31584         (__cpymn): Likewise.
31585         (norm): Remove commented code.
31586         (denorm): Likewise.
31587         (__mp_dbl): Likewise.
31588         (__inv): Likewise.
31589         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
31590         (__cpymn): Likewise.
31591         (norm): Remove commented code.
31592         (denorm): Likewise.
31593         (__mp_dbl): Likewise.
31594         (__inv): Likewise.
31595
31596         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
31597         mp_no value for 1.0 and 2.0.
31598         (norm): Use RADIXI instead of radixi.d.
31599         (denorm): Likewise.
31600         (__mul): Use 0.0 instead of zero.d.
31601         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
31602         mp_no value for 1.0 and 2.0.
31603         (norm): Use RADIXI instead of radixi.d.
31604         (denorm): Likewise.
31605         (__mul): Use 0.0 instead of zero.d.
31606
31607 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
31608
31609         [BZ #14994]
31610         * math/s_casinh.c (__casinh): Reduce finite argument to first
31611         quadrant then set signs of results at the end.
31612         * math/s_casinhf.c (__casinhf): Likewise.
31613         * math/s_casinhl.c (__casinhl): Likewise.
31614         * math/libm-test.inc (casin_test): Add more tests.
31615         (casinh_test): Likewise.
31616         * sysdeps/i386/fpu/libm-test-ulps: Update.
31617         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31618
31619 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
31620
31621         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
31622
31623         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
31624
31625         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
31626         declarations.
31627         (denorm): Likewise.
31628         (__mp_dbl): Likewise.
31629         (__inv): Likewise.
31630
31631         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
31632         and adjust the header comment.
31633
31634         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
31635         variable name from declaration.
31636
31637 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
31638
31639         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31640         Initialize COMMON_CPUID_INDEX_7 element.
31641         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
31642         (CPUID_RTM): Likewise.
31643         (HAS_RTM): Likewise.
31644         (COMMON_CPUID_INDEX_7): New enum.
31645
31646 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
31647
31648         [BZ #14981]
31649         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
31650         size is zero, record memory as freed.
31651
31652 2013-01-03  Andreas Jaeger  <aj@suse.de>
31653
31654         * po/ia.po: Add new Interlingua translation.
31655
31656 2012-01-03  Allan McRae  <allan@archlinux.org>
31657
31658         * locale/programs/localedef.c: Fix description of '--posix' flag.
31659
31660 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
31661
31662         * NEWS: Update dates in second copyright notice.
31663         * README: Update copyright dates in example.
31664         * manual/libc.texinfo: Update copyright dates.
31665         * scripts/test-installation.pl: Update copyright date in --version
31666         output.
31667
31668         * hurd/ctty-input.c: Fix copyright notice formatting.
31669         * hurd/ctty-output.c: Likewise.
31670         * hurd/dtable.c: Likewise.
31671         * hurd/hurd-raise.c: Likewise.
31672         * hurd/hurdprio.c: Likewise.
31673         * hurd/msgportdemux.c: Likewise.
31674         * misc/sys/file.h: Likewise.
31675         * misc/sys/ioctl.h: Likewise.
31676         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
31677         * sysdeps/mach/hurd/chdir.c: Likewise.
31678         * sysdeps/mach/hurd/fchdir.c: Likewise.
31679         * sysdeps/mach/hurd/rename.c: Likewise.
31680         * sysdeps/mach/hurd/rmdir.c: Likewise.
31681         * sysdeps/mach/hurd/seekdir.c: Likewise.
31682         * sysdeps/mach/hurd/setsid.c: Likewise.
31683         * sysdeps/posix/wait3.c: Likewise.
31684
31685         * All files with FSF copyright notices: Update copyright dates
31686         using scripts/update-copyrights.
31687         * intl/plural.c: Regenerated.
31688         * locale/programs/charmap-kw.h: Likewise.
31689         * locale/programs/locfile-kw.h: Likewise.
31690
31691 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31692
31693         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
31694         four values.
31695
31696         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
31697         calculation loop and add branch prediction.
31698
31699         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
31700         check access beyond bounds of m1np.
31701
31702         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
31703         MPTWO.
31704         (__inv): Remove local variable MPTWO to use the global
31705         constant.
31706         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
31707         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
31708         variable MPTWO.
31709         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
31710         MP3HALFS static const.
31711
31712 2013-01-01  David S. Miller  <davem@davemloft.net>
31713
31714         * po/ca.po: Update from translation team.
31715
31716 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
31717
31718         * scripts/update-copyrights: New file.
31719         * Makeconfig: Reformat copyright notice.
31720         * ctype/ctype.h: Likewise.
31721         * debug/swprintf_chk.c: Likewise.
31722         * elf/dl-cache.c: Likewise.
31723         * elf/dl-debug.c: Likewise.
31724         * elf/dl-object.c: Likewise.
31725         * grp/initgroups.c: Likewise.
31726         * hurd/Makefile: Likewise.
31727         * hurd/hurd/signal.h: Likewise.
31728         * hurd/hurdfault.c: Likewise.
31729         * hurd/hurdioctl.c: Likewise.
31730         * hurd/hurdlookup.c: Likewise.
31731         * hurd/intr-msg.c: Likewise.
31732         * iconv/gconv_open.c: Likewise.
31733         * libio/swprintf.c: Likewise.
31734         * locale/lc-ctype.c: Likewise.
31735         * locale/nl_langinfo.c: Likewise.
31736         * mach/Machrules: Likewise.
31737         * mach/Makefile: Likewise.
31738         * malloc/obstack.h: Likewise.
31739         * manual/Makefile: Likewise.
31740         * manual/tsort.awk: Likewise.
31741         * misc/bits/stab.def: Likewise.
31742         * nis/nis_print_group_entry.c: Likewise.
31743         * nis/nis_table.c: Likewise.
31744         * nis/nss_compat/compat-pwd.c: Likewise.
31745         * nis/nss_compat/compat-spwd.c: Likewise.
31746         * po/Makefile: Likewise.
31747         * posix/fnmatch.c: Likewise.
31748         * posix/regex.h: Likewise.
31749         * resolv/Makefile: Likewise.
31750         * resolv/nss_dns/dns-network.c: Likewise.
31751         * resolv/res_hconf.c: Likewise.
31752         * scripts/gen-sorted.awk: Likewise.
31753         * soft-fp/soft-fp.h: Likewise.
31754         * stdio-common/printf.h: Likewise.
31755         * stdlib/monetary.h: Likewise.
31756         * stdlib/random.c: Likewise.
31757         * stdlib/random_r.c: Likewise.
31758         * sysdeps/generic/Makefile: Likewise.
31759         * sysdeps/gnu/Makefile: Likewise.
31760         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
31761         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31762         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
31763         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31764         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31765         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31766         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31767         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
31768         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
31769         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31770         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
31771         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
31772         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
31773         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
31774         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
31775         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
31776         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
31777         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31778         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
31779         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31780         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
31781         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
31782         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
31783         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
31784         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
31785         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
31786         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
31787         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
31788         * sysdeps/mach/hurd/errnos.awk: Likewise.
31789         * sysdeps/mach/hurd/fork.c: Likewise.
31790         * sysdeps/mach/hurd/getcwd.c: Likewise.
31791         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
31792         * sysdeps/mach/hurd/mmap.c: Likewise.
31793         * sysdeps/mach/hurd/utimes.c: Likewise.
31794         * sysdeps/mach/hurd/xmknod.c: Likewise.
31795         * sysdeps/posix/profil.c: Likewise.
31796         * sysdeps/posix/readdir_r.c: Likewise.
31797         * sysdeps/powerpc/bits/mathdef.h: Likewise.
31798         * sysdeps/powerpc/bits/setjmp.h: Likewise.
31799         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
31800         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
31801         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
31802         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
31803         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
31804         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
31805         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31806         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
31807         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
31808         * sysdeps/pthread/lio_listio.c: Likewise.
31809         * sysdeps/sparc/dl-procinfo.h: Likewise.
31810         * sysdeps/unix/i386/sysdep.S: Likewise.
31811         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
31812         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
31813         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
31814         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
31815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31816         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
31817         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
31818         * sysdeps/unix/sysv/linux/speed.c: Likewise.
31819         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
31820         * sysdeps/wordsize-32/divdi3.c: Likewise.
31821         * time/sys/time.h: Likewise.
31822         * wcsmbs/Makefile: Likewise.
31823
31824 2013-01-01  David S. Miller  <davem@davemloft.net>
31825
31826         * po/fr.po: Update from translation team.
31827
31828         * catgets/gencat.c: Update copyright year.
31829         * csu/version.c: Likewise.
31830         * debug/catchsegv.sh: Likewise.
31831         * debug/pcprofiledump.c: Likewise.
31832         * debug/xtrace.sh: Likewise.
31833         * elf/ldconfig.c: Likewise.
31834         * elf/ldd.bash.in: Likewise.
31835         * elf/pldd.c: Likewise.
31836         * elf/sotruss.ksh: Likewise.
31837         * elf/sprof.c: Likewise.
31838         * iconv/iconv_prog.c: Likewise.
31839         * iconv/iconvconfig.c: Likewise.
31840         * locale/programs/locale.c: Likewise.
31841         * locale/programs/localedef.c: Likewise.
31842         * login/programs/pt_chown.c: Likewise.
31843         * malloc/memusage.sh: Likewise.
31844         * malloc/memusagestat.c: Likewise.
31845         * malloc/mtrace.pl: Likewise.
31846         * nscd/nscd.c: Likewise.
31847         * nss/getent.c: Likewise.
31848         * nss/makedb.c: Likewise.
31849         * posix/getconf.c: Likewise.
31850
31851 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
31852
31853         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
31854         numbers.
31855
31856 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
31857
31858         * math/bits/mathcalls.h (modf): Use __nonnull.
31859
31860 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
31861
31862         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
31863         (split): Use macro CN instead of the bare value.
31864         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
31865         could be used.
31866         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
31867         instead of the bare value.
31868         (power1): Likewise.
31869
31870 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31871
31872         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
31873         __ATAN_TWOM.
31874         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
31875
31876         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
31877         their values.
31878         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
31879         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
31880         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
31881         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
31882
31883 2012-12-28  Andreas Jaeger  <aj@suse.de>
31884
31885         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
31886         values are from Linux 3.7.
31887
31888         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
31889         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
31890
31891 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31892
31893         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
31894         TRUE case.
31895
31896         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
31897         (norm): Likewise.
31898         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
31899         variables with preprocessor constants.
31900         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
31901         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
31902         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
31903
31904 2012-12-27  Bruno Haible  <bruno@clisp.org>
31905
31906         [BZ #14317]
31907         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
31908         only if needed.
31909
31910 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
31911
31912         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
31913         and use variable directly.
31914         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
31915
31916         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
31917         MPONE.
31918         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
31919         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
31920         variable MPONE.
31921         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
31922         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
31923         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
31924         include directive.  Remove local variable MPONE.
31925         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
31926         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
31927         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
31928
31929 2012-12-25  David S. Miller  <davem@davemloft.net>
31930
31931         * version.h (RELEASE): Set to "development".
31932         (VERSION): Set to "2.17.90".
31933         * NEWS: Add 2.18 section.
31934
31935 2012-12-21  David S. Miller  <davem@davemloft.net>
31936
31937         * po/hr.po: Update from translation team.
31938
31939 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31940
31941         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
31942
31943 2012-12-19  Steve Ellcey  <sellcey@mips.com>
31944
31945         * NEWS:  Mention new memcpy for MIPS.
31946
31947 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
31948
31949         * manual/contrib.texi (Contributors): Spelling correction.
31950
31951 2012-12-15  David S. Miller  <davem@davemloft.net>
31952
31953         * po/ru.po: Update from translation team.
31954
31955 2012-12-13  David S. Miller  <davem@davemloft.net>
31956
31957         * NEWS: Mention IFUNC testsuite enhancements.
31958
31959         * po/pl.po: Update from translation team.
31960         * po/bg.po: Likewise.
31961
31962         * manual/contrib.texi (Contributors): Update entries for Hongjiu
31963         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
31964
31965 2012-12-11  David S. Miller  <davem@davemloft.net>
31966
31967         * po/sv.po: Update from translation team.
31968
31969         * po/vi.po: Update from translation team.
31970
31971         * po/cs.po: Update from translation team.
31972
31973         * po/de.po: Update from translation team.
31974         * po/eo.po: Likewise.
31975         * po/nl.po: Likewise.
31976
31977 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
31978
31979         [BZ #14246]
31980         * manual/argp.texi (Argp Helper Functions): Move node to follow
31981         Argp Parsing State.
31982
31983         [BZ #14872]
31984         * manual/conf.texi (Limits on File System Capacity): Mention if
31985         terminating null is included in the max size.
31986
31987 2012-12-10  Andreas Jaeger  <aj@suse.de>
31988
31989         * po/cs.po: Update from translation team.
31990
31991 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
31992
31993         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
31994         void pointer and cast to uintptr_t.
31995         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
31996         path.
31997         * sysdeps/s390/s390-64/memcpy.S: Likewise.
31998         * sysdeps/s390/s390-64/memset.S: Likewise.
31999
32000 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
32001
32002         [BZ #14833]
32003         * menual/message.texi (Message Translation): Fix typos.
32004         (Helper programs for gettext): Likewise.
32005
32006 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
32007
32008         [BZ #14898]
32009         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
32010         Change to -1.
32011
32012 2012-12-07  David S. Miller  <davem@davemloft.net>
32013
32014         * po/libc.pot: Update.
32015
32016 2012-12-07  Richard Henderson  <rth@redhat.com>
32017
32018         [BZ #10114]
32019         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
32020         normal/normal case to before the switch.
32021         (_FP_DIV): Likewise.
32022
32023 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
32024             Mike Frysinger  <vapier@gentoo.org>
32025
32026         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
32027         check for __NR_fadvise64_64.
32028
32029 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
32030
32031         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
32032         0, not just to plain "0" as a statement.
32033         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
32034         with cw.
32035
32036 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
32037
32038         * NEWS: Use sourceware.org in Bugzilla URL.
32039
32040 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
32041
32042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
32043         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
32044
32045         * stdio-common/tst-put-error.c (do_test): Add newline to the
32046         padded test to ensure flush.
32047
32048 2012-12-05  Jeff Law  <law@redhat.com>
32049
32050         * sunrpc/etc.rpc (fedfs_admin): Add entry.
32051
32052 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
32053
32054         * README: Don't refer to ports add-on as distributed separately.
32055         Mention AArch64 in list of systems supported in the ports add-on.
32056
32057         * LICENSES: Add more non-FSF copyright and license notices.
32058
32059         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
32060         ((unused)).
32061
32062         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
32063
32064         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
32065         10000 as width of padded output.
32066
32067 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
32068
32069         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
32070
32071         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
32072         variable LX with __attribute__ ((unused)).
32073         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
32074         Likewise.
32075         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
32076         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32077         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
32078         with __attribute__ ((unused)).
32079
32080 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
32081
32082         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
32083
32084 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
32085
32086         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
32087         (CFLAGS-nldbl-acos.c): New variable.
32088         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
32089         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
32090         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
32091         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
32092         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
32093         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
32094         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
32095         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
32096         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
32097         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
32098         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
32099         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
32100         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
32101         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
32102         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
32103         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
32104         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
32105         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
32106         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
32107         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
32108         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
32109         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
32110         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
32111         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
32112         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
32113         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
32114         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
32115         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
32116         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
32117         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
32118         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
32119         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
32120         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
32121         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
32122         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
32123         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
32124         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
32125         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
32126         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
32127         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
32128         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
32129         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
32130         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
32131         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
32132         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
32133         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
32134         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
32135         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
32136         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
32137         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
32138         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
32139         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
32140         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
32141         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
32142         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
32143         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
32144         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
32145         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
32146         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
32147         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
32148         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
32149         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
32150         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
32151         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
32152         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
32153         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
32154         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
32155         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
32156         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
32157         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
32158         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
32159         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
32160         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
32161         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
32162         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
32163         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
32164         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
32165         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
32166         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
32167         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
32168         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
32169         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
32170         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
32171         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
32172         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
32173         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
32174         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
32175         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
32176         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
32177         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
32178         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
32179         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
32180         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
32181         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
32182         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
32183         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
32184         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
32185
32186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
32187         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
32188
32189         [BZ #14914]
32190         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
32191         whole low double instead of just low 47 bits when splitting values
32192         into two parts.
32193
32194 2012-12-03  Allan McRae  <allan@archlinux.org>
32195
32196         * manual/stdio.texi (Predefined Printf Handlers): Remove
32197         @hsep and @vsep usage.
32198
32199 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
32200
32201         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
32202         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
32203
32204 2012-12-03  Jeff Law  <law@redhat.com>
32205
32206         * time/sys/time.h (settimeofday): Do not mark TV argument
32207         as __nonnull.
32208
32209 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
32210
32211         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
32212         when currently writing and seek to current position when not.
32213         * libio/Makefile (tests): Remove bug-fclose1.
32214         * libio/bug-fclose1.c: Delete.
32215
32216 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
32217
32218         * manual/arith.texi (feenableexcept): Fix typo.
32219         (fedisableexcept): Likewise.
32220
32221 2012-11-30  Roland McGrath  <roland@hack.frob.com>
32222
32223         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
32224         second, differently-typed declaration, rather than a cast.
32225
32226 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
32227
32228         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
32229         * include/rpc/svc.h: ... here.
32230
32231 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
32232
32233         [BZ #13013]
32234         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
32235         depending n and resplen2 to catch cases where answer
32236         equals answerp2.
32237
32238 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
32239
32240         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
32241         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
32242
32243 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
32244
32245         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
32246
32247 2012-11-29  Roland McGrath  <roland@hack.frob.com>
32248
32249         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
32250
32251 2012-11-28  Jeff Law  <law@redhat.com>
32252
32253         [BZ #13761]
32254         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
32255         dataset_temporary.  Track alloca usage into alloca_used.
32256         If dataset is large allocate and release it via malloc/free.
32257
32258 2012-06-04  Florian Weimer  <fweimer@redhat.com>
32259
32260         [BZ #14197]
32261         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
32262
32263 2012-11-28  David S. Miller  <davem@davemloft.net>
32264
32265         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32266
32267 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
32268
32269         [BZ #14803]
32270         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
32271         of pi/2 rounded to nearest to 64 bits.
32272         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
32273         nearest to 64 bits.
32274         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
32275         bits.
32276
32277 2012-11-28  Jeff Law <law@redhat.com>
32278             Martin Osvald <mosvald@redhat.com>
32279
32280         [BZ #14889]
32281         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
32282         * sunrpc/svc.c: Include time.h.
32283         (__svc_accept_failed): New function.
32284         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
32285         any reason other than EINTR, call __svc_accept_failed.
32286         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
32287         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
32288
32289 2012-11-28  Andreas Schwab  <schwab@suse.de>
32290
32291         * scripts/abilist.awk: Also handle indirect functions in .opd
32292         section.
32293
32294 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
32295
32296         [BZ #13881]
32297         * sysdeps/x86/fpu/powl_helper.c: New file.
32298         * sysdeps/x86/fpu/Makefile: Likewise.
32299         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
32300         (p3): New object.
32301         (__ieee754_powl): Use __powl_helper for finite arguments except
32302         integer exponents below 8.
32303         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
32304         (p3): New object.
32305         (__ieee754_powl): Use __powl_helper for finite arguments except
32306         integer exponents below 8.
32307         * math/libm-test.inc (pow_test): Add more tests and enable some
32308         previously disabled tests.
32309         * sysdeps/i386/fpu/libm-test-ulps: Update.
32310         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32311
32312 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
32313             Carlos O'Donell  <carlos_odonell@mentor.com>
32314
32315         * nss/makedb.c (is_prime): Assert that input is odd and greater
32316         than 4.  Note that fact in a comment too.
32317         (next_prime): Add 4 to input.
32318
32319 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
32320
32321         [BZ #11741]
32322         * libio/Makefile (tests): Add test case tst-fwrite-error.
32323         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
32324         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
32325         * libio/tst-fwrite-error.c: New test case.
32326
32327 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
32328
32329         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
32330         before casting to void *.
32331         * include/libc-internal.h (__pointer_type): New macro.
32332         (__integer_if_pointer_type_sub): Likewise.
32333         (__integer_if_pointer_type): Likewise.
32334         (cast_to_integer): Likewise.
32335         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
32336         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
32337         before casting to atomic64_t.
32338         (atomic_exchange_acq): Likewise.
32339         (__arch_exchange_and_add_body): Likewise.
32340         (__arch_add_body): Likewise.
32341         (atomic_add_negative): Likewise.
32342         (atomic_add_zero): Likewise.
32343
32344 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
32345
32346         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
32347         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
32348         (add_fdes): Likewise.
32349         (linear_search_fdes): Likewise.
32350         (binary_search_unencoded_fdes): Likewise.
32351
32352 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
32353
32354         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
32355
32356 2012-11-24  Adam Conrad  <adconrad@0c3.net>
32357
32358         * configure.in: Autodetect C++ header directories.
32359         * configure: Regenerated.
32360
32361 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
32362
32363         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
32364
32365 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
32366
32367         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32368
32369 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
32370
32371         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
32372         LDBL_MANT_DIG == 106]: Disable some tests.
32373         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
32374         Likewise.
32375         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
32376         Likewise.
32377
32378         [BZ #14871]
32379         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
32380         input for small inputs.  Return +/- pi/2 for large inputs.
32381         * math/libm-test.inc (atan_test): Add more tests.
32382
32383         * sysdeps/generic/unwind-dw2-fde-glibc.c
32384         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
32385         __attribute__ ((unused)).
32386
32387         [BZ #14645]
32388         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
32389         x * y if x and y are nonzero and z is zero.
32390
32391         [BZ #14811]
32392         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
32393         nonzero exponents with absolute value below 0x1p-117 to +/-
32394         0x1p-117.
32395
32396         [BZ #14869]
32397         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
32398         up arguments below 2**-450, not just those below 2**-500.
32399         * math/libm-test.inc (hypot_test): Add another test.
32400
32401         [BZ #14868]
32402         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
32403         Return a+b for ratio over 2**120, not 2**60.
32404         * math/libm-test.inc (hypot_test): Add another test.
32405
32406         * math/libm-test.inc (clog_test): Use
32407         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
32408         (clog10_test): Likewise.
32409
32410         [BZ #6778]
32411         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
32412
32413 2012-11-22  Andreas Schwab  <schwab@suse.de>
32414
32415         * sysdeps/i386/fpu/libm-test-ulps: Update.
32416
32417 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
32418
32419         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
32420         printf output with newline.
32421
32422 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
32423
32424         [BZ #14865]
32425         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
32426         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
32427         -z nodlopen, -z initfirst and -z execstack support.
32428         * configure: Regenerated.
32429
32430         * elf/elf.h (DF_1_NODIRECT): New macro.
32431         (DF_1_IGNMULDEF): Likewise.
32432         (DF_1_NOKSYMS): Likewise.
32433         (DF_1_NOHDR): Likewise.
32434         (DF_1_EDITED): Likewise.
32435         (DF_1_NORELOC): Likewise.
32436         (DF_1_SYMINTPOSE): Likewise.
32437         (DF_1_GLOBAUDIT): Likewise.
32438         (DF_1_SINGLETON): Likewise.
32439         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
32440         DT_1_SUPPORTED_MASK bits.
32441         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
32442
32443 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
32444
32445         * sysdeps/unix/make-syscalls.sh: Document prefixes.
32446
32447 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
32448
32449         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
32450         macro.
32451
32452         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
32453         (sendmmsg): Move declarations...
32454         * socket/sys/socket.h: ... here.
32455         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
32456         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
32457         include it from...
32458         * socket/recvmmsg.c: ... this new file.
32459         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
32460         (sendmmsg): Rename to __sendmmsg, create weak alias and make
32461         definition of __sendmmsg hidden.
32462         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
32463         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
32464         Move ENOSYS stub into and include it from...
32465         * socket/sendmmsg.c: ... this new file.
32466         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
32467         (sysdep_routines): Move recvmmsg and sendmmsg...
32468         * socket/Makefile (routines): ... here.
32469         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
32470         (GLIBC_PRIVATE): Add __sendmmsg.
32471         * include/sys/socket.h (__sendmmsg): Add declarations.
32472         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
32473         sendmmsg.
32474
32475 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
32476
32477         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
32478         variable I1 with __attribute__ ((unused)).
32479         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
32480
32481 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
32482
32483         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
32484         DUMMY variables with __attribute__ ((unused)).
32485
32486         * bits/byteswap.h: Include <bits/types.h>.
32487         (__bswap_64): Use __uint64_t instead of unsigned long long int.
32488
32489 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
32490
32491         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
32492         string_t.  Do not manually set errno.
32493         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
32494         length with __strnlen.  Make sure to both set errno and return it on
32495         failure.
32496
32497 2012-11-19  David S. Miller  <davem@davemloft.net>
32498
32499         With help from Joseph Myers.
32500         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
32501         very large arguments properly.
32502         * math/libm-test.inc (atan_test): New tests.
32503         (atan2_test): New tests.
32504         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32505         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32506
32507 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
32508
32509         [BZ #14856]
32510         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
32511         Define to 3.
32512
32513         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
32514         [POSIX] (EADDRNOTAVAIL): Likewise.
32515         [POSIX] (EAFNOSUPPORT): Likewise.
32516         [POSIX] (EALREADY): Likewise.
32517         [POSIX] (ECONNABORTED): Likewise.
32518         [POSIX] (ECONNREFUSED): Likewise.
32519         [POSIX] (ECONNRESET): Likewise.
32520         [POSIX] (EDESTADDRREQ): Likewise.
32521         [POSIX] (EDQUOT): Likewise.
32522         [POSIX] (EHOSTUNREACH): Likewise.
32523         [POSIX] (EIDRM): Likewise.
32524         [POSIX] (EISCONN): Likewise.
32525         [POSIX] (ELOOP): Likewise.
32526         [POSIX] (EMULTIHOP): Likewise.
32527         [POSIX] (ENETDOWN): Likewise.
32528         [POSIX] (ENETUNREACH): Likewise.
32529         [POSIX] (ENOBUFS): Likewise.
32530         [POSIX] (ENODATA): Likewise.
32531         [POSIX] (ENOLINK): Likewise.
32532         [POSIX] (ENOMSG): Likewise.
32533         [POSIX] (ENOPROTOOPT): Likewise.
32534         [POSIX] (ENOSR): Likewise.
32535         [POSIX] (ENOSTR): Likewise.
32536         [POSIX] (ENOTCONN): Likewise.
32537         [POSIX] (ENOTSOCK): Likewise.
32538         [POSIX] (EOPNOTSUPP): Likewise.
32539         [POSIX] (EOVERFLOW): Likewise.
32540         [POSIX] (EPROTO): Likewise.
32541         [POSIX] (EPROTONOSUPPORT): Likewise.
32542         [POSIX] (EPROTOTYPE): Likewise.
32543         [POSIX] (ESTALE): Likewise.
32544         [POSIX] (ETIME): Likewise.
32545         [POSIX] (ETXTBSY): Likewise.
32546         [POSIX] (EWOULDBLOCK): Likewise.
32547         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
32548         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
32549         [POSIX] (SEEK_CUR): Likewise.
32550         [POSIX] (SEEK_END): Likewise.
32551         [POSIX || UNIX98] (mode_t): Do not require.
32552         [POSIX] (off_t): Likewise.
32553         [POSIX] (pid_t): Likewise.
32554         [POSIX] (sys/stat.h): Do not allow header.
32555         [POSIX] (unistd.h): Likewise.
32556         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
32557         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
32558         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
32559         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
32560         require.
32561         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
32562         sigevent): Specify elements.
32563         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
32564         entry.
32565         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
32566         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
32567
32568         * conform/data/cpio.h-data [POSIX]: Disable whole file.
32569         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
32570         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
32571         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
32572         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
32573         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
32574         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
32575         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
32576         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
32577         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
32578         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
32579         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
32580         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
32581         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
32582         Likewise.
32583         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
32584         Likewise.
32585         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
32586         Likewise.
32587         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
32588         Likewise.
32589         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
32590         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
32591         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
32592         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
32593         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
32594         Specify lower bound on value.
32595         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
32596         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
32597         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
32598         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
32599         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
32600         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
32601         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
32602         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
32603         value.
32604         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
32605         as optional.
32606         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
32607         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
32608         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
32609         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
32610         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
32611         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
32612         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
32613         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
32614         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
32615         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
32616         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
32617         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
32618         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
32619         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
32620         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
32621         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
32622         entry.
32623         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
32624         optional.
32625         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
32626         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
32627         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
32628         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
32629         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
32630         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
32631         Likewise.
32632         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
32633         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
32634         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
32635         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
32636         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
32637         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
32638         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
32639         as optional.
32640         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
32641         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
32642         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
32643         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
32644         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
32645         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
32646         specify as optional.
32647         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
32648         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
32649         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
32650         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
32651         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
32652         [XPG3] (NL_LANGMAX): Likewise.
32653         [POSIX || XPG3] (NL_MSGMAX): Likewise.
32654         [POSIX || XPG3] (NL_NMAX): Likewise.
32655         [POSIX || XPG3] (NL_SETMAX): Likewise.
32656         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
32657         [XPG3] (NZERO): Likewise.
32658         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
32659         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
32660         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
32661         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
32662         (REG_ERANGE): Expect.
32663         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
32664         optional-constant.
32665         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
32666         Use (void) in prototype.
32667         [POSIX] (*_t): Allow.
32668         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
32669         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
32670         (WRDE_BADVAL): Expect.
32671
32672         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
32673         expect.
32674         [XPG3 || XPG4] (O_RSYNC): Likewise.
32675         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
32676         Likewise.
32677         [XPG3 || XPG4] (pthread_sigmask): Likewise.
32678         [XPG3 || XPG4] (sigqueue): Likewise.
32679         [XPG3 || XPG4] (sigtimedwait): Likewise.
32680         [XPG3 || XPG4] (sigwaitinfo): Likewise.
32681         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
32682         [XPG3 || XPG4] (vsnprintf): Likewise.
32683         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
32684         Likewise.
32685         [XPG3 || XPG4] (blksize_t): Likewise.
32686         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
32687         Likewise.
32688         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
32689         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
32690         [XPG3 || XPG4] (struct itimerspec): Likewise.
32691         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
32692         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
32693         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
32694         [XPG3 || XPG4] (clockid_t): Likewise.
32695         [XPG3 || XPG4] (timer_t): Likewise.
32696         [XPG3 || XPG4] (clock_getres): Likewise.
32697         [XPG3 || XPG4] (clock_gettime): Likewise.
32698         [XPG3 || XPG4] (clock_settime): Likewise.
32699         [XPG3 || XPG4] (nanosleep): Likewise.
32700         [XPG3 || XPG4] (timer_create): Likewise.
32701         [XPG3 || XPG4] (timer_delete): Likewise.
32702         [XPG3 || XPG4] (timer_gettime): Likewise.
32703         [XPG3 || XPG4] (timer_getoverrun): Likewise.
32704         [XPG3 || XPG4] (timer_settime): Likewise.
32705         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
32706         [XPG3 || XPG4] (getlogin_r): Likewise.
32707         [XPG3 || XPG4] (pread): Likewise.
32708         [XPG3 || XPG4] (pthread_atfork): Likewise.
32709         [XPG3 || XPG4] (pwrite): Likewise.
32710
32711         [BZ #14835]
32712         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
32713         <bits/siginfo.h>.
32714
32715 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
32716
32717         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
32718         finalizing MALLSTREAM.
32719
32720         * sysdeps/mach/hurd/syncfs.c: New file.
32721
32722 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
32723
32724         [BZ #14719]
32725         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
32726         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
32727         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
32728         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
32729         (_nss_dns_gethostbyname4_r): Likewise.
32730         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
32731         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
32732
32733 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
32734
32735         [BZ #13763]
32736         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
32737
32738 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
32739
32740         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
32741         * elf/cache.c (print_entry): Print ",AArch64" for
32742         FLAG_AARCH64_LIB64
32743
32744         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
32745         * elf/cache.c (print_entry): Print ",hard-float" for
32746         FLAG_ARM_LIBHF.
32747
32748 2012-11-18  David S. Miller  <davem@davemloft.net>
32749
32750         With help from Joseph Myers.
32751         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
32752         cutoff to 2**-13.
32753         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
32754         cutoff to 2**-25.
32755         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
32756         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
32757         small.
32758         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
32759         * math/libm-test.inc (y0_test): New tests.
32760         (y1_test): New tests.
32761         * sysdeps/i386/fpu/libm-test-ulps: Update.
32762         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32763         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32764
32765 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
32766
32767         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
32768         64-bit targets.
32769         * configure: Regenerated.
32770
32771 2012-11-17  David S. Miller  <davem@davemloft.net>
32772
32773         [BZ #14811]
32774         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
32775         nonzero exponents with absolute value below 0x1p-128 to +/-
32776         0x1p-128.
32777
32778 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
32779
32780         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
32781
32782         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
32783
32784         * posix/getconf-speclist.c: New file.
32785         * posix/posix-envs.def: Likewise.
32786         * posix/confstr.c (START_ENV_GROUP): New macro.
32787         (END_ENV_GROUP): Likewise.
32788         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
32789         (KNOWN_PRESENT_ENV_STRING): Likewise.
32790         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
32791         (UNKNOWN_ENVIRONMENT): Likewise.
32792         (confstr): Include posix-envs.def instead of handling
32793         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
32794         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
32795         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
32796         (END_ENV_GROUP): Likewise.
32797         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
32798         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
32799         (UNKNOWN_ENVIRONMENT): Likewise.
32800         (__sysconf): Include posix-envs.def instead of handling associated
32801         cases directly here.
32802         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
32803         preprocessing getconf-speclist.c rather than running getconf or
32804         generating empty file.
32805
32806 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
32807
32808         * scripts/check-local-headers.sh: Ignore 'mach' headers.
32809
32810 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
32811
32812         [BZ #14672]
32813         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
32814
32815 2012-11-16  David S. Miller  <davem@davemloft.net>
32816
32817         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
32818         smaller than LDBL_EPSILON/2.0L, just return xm1.
32819
32820 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
32821
32822         * elf/tst-array1.c (init): Set constructor priority to 1000.
32823         (fini): Set destructor priority to 1000.
32824         * elf/tst-array2dep.c: Likewise.
32825
32826 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
32827
32828         [BZ #11741]
32829         * libio/fileops.c (_IO_new_file_write): Correctly return error.
32830         (_IO_new_file_xsputn): Also return EOF if none of the input
32831         data was written when overflow failed.
32832         * libio/iopadn.c (_IO_padn): Likewise.
32833         * libio/iowpadn.c (_IO_wpadn): Likewise.
32834         * stdio-common/tst-put-error.c: Add copyright notice.
32835         (do_test): Add case for printing padded string.
32836         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
32837         _IO_padn returned error.
32838         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
32839         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
32840         return EOF.
32841
32842 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
32843
32844         * libio/libioP.h: Add comment note that the references to C++
32845         bits are now obsolete.
32846
32847 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
32848
32849         * math/libm-test.inc (check_complex): Use asprintf.
32850
32851 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
32852
32853         * debug/pcprofiledump.c (print_version): Update copyright year.
32854         * malloc/memusagestat.c (print_version): Likewise.
32855
32856 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
32857
32858         [BZ #14831]
32859         * elf/Makefile (tests): Add tst-audit8.
32860         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
32861         ($(objpfx)tst-audit8.out): New target.
32862         (tst-audit8-ENV): New variable.
32863         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
32864         audit if l_reloc_result is NULL.
32865         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
32866         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
32867         * elf/tst-audit8.c: New file.
32868
32869 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
32870
32871         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
32872         * misc/Makefile (CFLAGS-select.c): Define.
32873         * posix/Makefile (CFLAGS-pause.c): Define.
32874
32875 2012-11-13  David S. Miller  <davem@davemloft.net>
32876
32877         * crypt/Makefile: Move test targets after toplevel Rules
32878         inclusion.  Grab any necessary sysdep routines when linking.
32879         * crypt/md5.c (md5_process_block): Remove define, we will always
32880         name it __md5_process_block.
32881         (md5_finish_ctx): Update md5_process_block call.
32882         (md5_stream): Likewise.
32883         (md5_process_bytes): Likewise.
32884         (md5_process_block): Rename to __md5_process_block and move to ...
32885         * crypt/md5-block.c: ... here.
32886         * crypt/sha256.c (sha256_process_block): Move to ...
32887         * crypt/sha256-block.c: ... here.
32888         * crypt/sha512.c (sha512_process_block): Move to ...
32889         * crypt/sha512-block.c: ... here.
32890         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
32891         path.
32892         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
32893         * sysdeps/sparc/sparc64/multiarch/Makefile
32894         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
32895         crypt subdir.
32896         (localedef-aux): Add md5 crypto assembler when in locale subdir.
32897         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
32898         multiarch changes.
32899         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
32900         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
32901         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
32902         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
32903         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
32904         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
32905         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
32906         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
32907         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
32908         file.
32909         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
32910         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
32911         file.
32912         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
32913
32914 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
32915
32916         * timezone/tzselect.ksh: Update from tzcode git revision
32917         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
32918         * timezone/zdump.c: Likewise.
32919         * timezone/zic.c: Likewise.
32920         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
32921         in TZVERSION setting, not $(PKGVERSION).
32922         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
32923         REPORT_BUGS_TO settings.
32924
32925         [BZ #14838]
32926         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
32927         macro.
32928
32929 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
32930
32931         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
32932         detection to immediately after _FP_ROUND().
32933         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
32934         bits are 0.
32935
32936 2012-11-11  David S. Miller  <davem@davemloft.net>
32937
32938         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
32939         inttypes.h
32940         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
32941         __close rather than their public counterparts.
32942
32943 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
32944
32945         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
32946         file.
32947         [UNIX98] (sem_timedwait): Do not expect.
32948         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
32949         [XPG4 || UNIX98] (sockatmark): Do not expect.
32950         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
32951         (clock_getcpuclockid): Do not expect.
32952         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
32953         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
32954         Do not expect.
32955         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
32956         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
32957         [UNIX98] (vwscanf): Likewise.
32958         [UNIX98] (vswscanf): Likewise.
32959
32960 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
32961
32962         * timezone/version.h: Remove file.
32963         * timezone/README: Do not refer to version.h.
32964         * timezone/Makefile ($(objpfx)zic.o): New dependency on
32965         $(objpfx)version.h.
32966         ($(objpfx)zdump.o): Likewise.
32967         ($(objpfx)version.h): New target.
32968
32969         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
32970         2012i.
32971         * timezone/README: Don't mention modification to tzselect.ksh.
32972         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
32973         work on unmodified tzselect.ksh.  Substitute version numbers in
32974         tzselect.ksh.
32975
32976         * Makefile (format-me): Remove.
32977         (INSTALL): Adjust indentation.  Use commands directly instead of
32978         using $(format-me).
32979
32980         * aclocal.m4 (ACX_PKGVERSION): New macro.
32981         (ACX_BUGURL): Likewise.
32982         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
32983         (PKGVERSION): New AC_DEFINE_UNQUOTED.
32984         (REPORT_BUGS_TO): Likewise.
32985         * configure: Regenerated.
32986         * config.h.in (PKGVERSION): New macro.
32987         (REPORT_BUGS_TO): Likewise.
32988         * config.make.in (PKGVERSION): New variable.
32989         (PKGVERSION_TEXI): Likewise.
32990         (REPORT_BUGS_TO): Likewise.
32991         (REPORT_BUGS_TEXI): Likewise.
32992         * Makefile (format-me): Use -I$(common-objpfx)manual.
32993         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
32994         ($(common-objpfx)manual/%): New target.
32995         (manual/%): Remove target.
32996         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
32997         (print_version): Use PKGVERSION.
32998         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
32999         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
33000         and REPORT_BUGS_TO.
33001         ($(objpfx)xtrace): Likewise.
33002         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
33003         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
33004         (print_version): Use PKGVERSION.
33005         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
33006         (do_version): Use PKGVERSION.
33007         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
33008         REPORT_BUGS_TO.
33009         (common-ldd-rewrite): Likewise.
33010         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
33011         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
33012         (print_version): Use PKGVERSION.
33013         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
33014         * elf/pldd.c (argp_program_bug_address): Remove variable.
33015         (more_help): New function.
33016         (argp): Use more_help.
33017         (print_version): Use PKGVERSION.
33018         * elf/sln.c (main): Use PKGVERSION.
33019         (usage): Use REPORT_BUGS_TO.
33020         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
33021         (top level): Use PKGVERSION.
33022         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
33023         (print_version): Use PKGVERSION.
33024         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
33025         (print_version): Use PKGVERSION.
33026         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
33027         (print_version): Use PKGVERSION.
33028         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
33029         (print_version): Use PKGVERSION.
33030         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
33031         (print_version): Use PKGVERSION.
33032         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
33033         (print_version): Use PKGVERSION.
33034         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
33035         and BUGURL.
33036         ($(objpfx)memusage): Likewise.
33037         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
33038         (do_version): Use PKGVERSION.
33039         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
33040         (print_version): Use PKGVERSION.
33041         * malloc/mtrace.pl ($PACKAGE): Remove variable.
33042         ($PKGVERSION): New variable.
33043         ($REPORT_BUGS_TO): Likewise.
33044         (usage): Use $REPORT_BUGS_TO.
33045         (top level): Use $PKGVERSION.
33046         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
33047         ($(objpfx)pkgvers.texi): New rule.
33048         ($(objpfx)stamp-pkgvers): Likewise.
33049         * manual/install.texi: Include pkgvers.texi.
33050         (--with-pkgversion): Document new configure option.
33051         (--with-bugurl): Likewise.
33052         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
33053         than necessarily for this particular distribution.  Use
33054         REPORT_BUGS_TO for where to report bugs.
33055         * INSTALL: Regenerated.
33056         * manual/libc.texinfo: Include pkgvers.texi.
33057         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
33058         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
33059         (print_version): Use PKGVERSION.
33060         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
33061         (print_version): Use PKGVERSION.
33062         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
33063         (print_version): Use PKGVERSION.
33064         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
33065         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
33066         macro.
33067         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
33068         (print_version): Use PKGVERSION.
33069         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
33070         (print_version): Use PKGVERSION.
33071         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
33072         and PKGVERSION.
33073
33074         * timezone/checktab.awk: Update from tzcode 2012i.
33075         * timezone/ialloc.c: Likewise.
33076         * timezone/private.h: Likewise.
33077         * timezone/scheck.c: Likewise.
33078         * timezone/tzfile.h: Likewise.
33079         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
33080         (TZVERSION): Hardcode tzcode version number.
33081         * timezone/zdump.c: Update from tzcode 2012i.
33082         * timezone/zic.c: Likewise.
33083         * timezone/version.h: New file.
33084         * timezone/README: Describe version.h.  Update upstream location.
33085
33086         [BZ #14824]
33087         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
33088         (mktemp): Enable declaration.
33089         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
33090         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
33091         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
33092         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
33093         Likewise.
33094         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
33095         Likewise.
33096         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
33097         Likewise.
33098         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
33099         Likewise.
33100         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
33101         Likewise.
33102         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
33103         Likewise.
33104
33105         [BZ #14821]
33106         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
33107         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
33108         for copies of such integer values.
33109         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
33110         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
33111
33112 2012-11-09  Andreas Jaeger  <aj@suse.de>
33113
33114         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
33115         definitions and declarations that are provided by
33116         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
33117
33118 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33119
33120         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
33121         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
33122         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
33123         definition.
33124
33125 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
33126
33127         * elf/elf.h: Update comment before AArch64 relocations.
33128
33129 2012-11-07  David S. Miller  <davem@davemloft.net>
33130
33131         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
33132         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
33133         (__start_context): Declare.
33134         (__makecontext_ret): Delete.
33135         (__makecontext): Hook up __start_context instead of
33136         __makecontext_ret.
33137         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
33138         (sysdep_routines): Add __start_context when in stdlib.
33139
33140 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
33141
33142         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
33143         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
33144         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
33145         hardcoded "nm".
33146         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
33147         (READELF): New variable.  Use it instead of hardcoded "readelf".
33148
33149 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
33150
33151         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
33152         * sysdeps/x86/Makefile: Here.
33153         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
33154         * sysdeps/x86/tst-xmmymm.sh: This.
33155
33156 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
33157
33158         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
33159         expectations.
33160         [UNIX98] (pthread_barrier_t): Do not expect.
33161         [UNIX98] (pthread_barrierattr_t): Likewise.
33162         [UNIX98] (pthread_spinlock_t): Likewise.
33163         [UNIX98] (pthread_barrier_destroy): Likewise.
33164         [UNIX98] (pthread_barrier_init): Likewise.
33165         [UNIX98] (pthread_barrier_wait): Likewise.
33166         [UNIX98] (pthread_barrierattr_destroy): Likewise.
33167         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
33168         [UNIX98] (pthread_barrierattr_init): Likewise.
33169         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
33170         [UNIX98] (pthread_getcpuclockid): Likewise.
33171         [UNIX98] (pthread_mutex_timedlock): Likewise.
33172         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
33173         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
33174         [UNIX98] (pthread_sigmask): Likewise.
33175         [UNIX98] (pthread_spin_destroy): Likewise.
33176         [UNIX98] (pthread_spin_init): Likewise.
33177         [UNIX98] (pthread_spin_lock): Likewise.
33178         [UNIX98] (pthread_spin_trylock): Likewise.
33179         [UNIX98] (pthread_spin_unlock): Likewise.
33180         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
33181         Do not expect.
33182         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
33183         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
33184         [XPG3 || XPG4] (pthread_cond_t): Likewise.
33185         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
33186         [XPG3 || XPG4] (pthread_key_t): Likewise.
33187         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
33188         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
33189         [XPG3 || XPG4] (pthread_once_t): Likewise.
33190         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
33191         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
33192         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
33193         [XPG3 || XPG4] (pthread_t): Likewise.
33194
33195         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
33196         not expect.
33197         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
33198
33199         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
33200         Change function return type to int.
33201
33202         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
33203         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
33204         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
33205         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
33206         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
33207         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
33208         [!POSIX] (posix_madvise): Likewise.
33209         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
33210         && !UNIX98].
33211         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
33212         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
33213         (mode_t): Likewise.
33214         (posix_mem_offset): Likewise.
33215         (posix_typed_mem_get_info): Likewise.
33216         (posix_typed_mem_open): Likewise.
33217
33218         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
33219         Change condition to [XOPEN2K8].
33220
33221         * conform/conformtest.pl: Preprocess allow-header data with -x c
33222         instead of from stdin.
33223         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
33224         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
33225         [C99-based standards] (cerfc): Likewise.
33226         [C99-based standards] (cexp2): Likewise.
33227         [C99-based standards] (cexpm1): Likewise.
33228         [C99-based standards] (clog10): Likewise.
33229         [C99-based standards] (clog1p): Likewise.
33230         [C99-based standards] (clog2): Likewise.
33231         [C99-based standards] (clgamma): Likewise.
33232         [C99-based standards] (ctgamma): Likewise.
33233         [C99-based standards] (cerff): Likewise.
33234         [C99-based standards] (cerfcf): Likewise.
33235         [C99-based standards] (cexp2f): Likewise.
33236         [C99-based standards] (cexpm1f): Likewise.
33237         [C99-based standards] (clog10f): Likewise.
33238         [C99-based standards] (clog1pf): Likewise.
33239         [C99-based standards] (clog2f): Likewise.
33240         [C99-based standards] (clgammaf): Likewise.
33241         [C99-based standards] (ctgammaf): Likewise.
33242         [C99-based standards] (cerfl): Likewise.
33243         [C99-based standards] (cerfcl): Likewise.
33244         [C99-based standards] (cexp2l): Likewise.
33245         [C99-based standards] (cexpm1l): Likewise.
33246         [C99-based standards] (clog10l): Likewise.
33247         [C99-based standards] (clog1pl): Likewise.
33248         [C99-based standards] (clog2l): Likewise.
33249         [C99-based standards] (clgammal): Likewise.
33250         [C99-based standards] (ctgammal): Likewise.
33251         * conform/data/inttypes.h-data [C99-based standards]: Include
33252         stdint.h-data.  Remove all expectations for stdint.h contents.
33253         [C99-based standards] (PRI*): Do not allow.
33254         [C99-based standards] (SCN*): Likewise.
33255         [C99-based standards] (*_t): Likewise.
33256         [C99-based-standards] (PRId8): Expect macro.
33257         [C99-based-standards] (PRIi8): Likewise.
33258         [C99-based-standards] (PRIo8): Likewise.
33259         [C99-based-standards] (PRIu8): Likewise.
33260         [C99-based-standards] (PRIx8): Likewise.
33261         [C99-based-standards] (PRIX8): Likewise.
33262         [C99-based-standards] (SCNd8): Likewise.
33263         [C99-based-standards] (SCNi8): Likewise.
33264         [C99-based-standards] (SCNo8): Likewise.
33265         [C99-based-standards] (SCNu8): Likewise.
33266         [C99-based-standards] (SCNx8): Likewise.
33267         [C99-based-standards] (PRIdLEAST8): Likewise.
33268         [C99-based-standards] (PRIiLEAST8): Likewise.
33269         [C99-based-standards] (PRIoLEAST8): Likewise.
33270         [C99-based-standards] (PRIuLEAST8): Likewise.
33271         [C99-based-standards] (PRIxLEAST8): Likewise.
33272         [C99-based-standards] (PRIXLEAST8): Likewise.
33273         [C99-based-standards] (SCNdLEAST8): Likewise.
33274         [C99-based-standards] (SCNiLEAST8): Likewise.
33275         [C99-based-standards] (SCNoLEAST8): Likewise.
33276         [C99-based-standards] (SCNuLEAST8): Likewise.
33277         [C99-based-standards] (SCNxLEAST8): Likewise.
33278         [C99-based-standards] (PRIdFAST8): Likewise.
33279         [C99-based-standards] (PRIiFAST8): Likewise.
33280         [C99-based-standards] (PRIoFAST8): Likewise.
33281         [C99-based-standards] (PRIuFAST8): Likewise.
33282         [C99-based-standards] (PRIxFAST8): Likewise.
33283         [C99-based-standards] (PRIXFAST8): Likewise.
33284         [C99-based-standards] (SCNdFAST8): Likewise.
33285         [C99-based-standards] (SCNiFAST8): Likewise.
33286         [C99-based-standards] (SCNoFAST8): Likewise.
33287         [C99-based-standards] (SCNuFAST8): Likewise.
33288         [C99-based-standards] (SCNxFAST8): Likewise.
33289         [C99-based-standards] (PRId16): Likewise.
33290         [C99-based-standards] (PRIi16): Likewise.
33291         [C99-based-standards] (PRIo16): Likewise.
33292         [C99-based-standards] (PRIu16): Likewise.
33293         [C99-based-standards] (PRIx16): Likewise.
33294         [C99-based-standards] (PRIX16): Likewise.
33295         [C99-based-standards] (SCNd16): Likewise.
33296         [C99-based-standards] (SCNi16): Likewise.
33297         [C99-based-standards] (SCNo16): Likewise.
33298         [C99-based-standards] (SCNu16): Likewise.
33299         [C99-based-standards] (SCNx16): Likewise.
33300         [C99-based-standards] (PRIdLEAST16): Likewise.
33301         [C99-based-standards] (PRIiLEAST16): Likewise.
33302         [C99-based-standards] (PRIoLEAST16): Likewise.
33303         [C99-based-standards] (PRIuLEAST16): Likewise.
33304         [C99-based-standards] (PRIxLEAST16): Likewise.
33305         [C99-based-standards] (PRIXLEAST16): Likewise.
33306         [C99-based-standards] (SCNdLEAST16): Likewise.
33307         [C99-based-standards] (SCNiLEAST16): Likewise.
33308         [C99-based-standards] (SCNoLEAST16): Likewise.
33309         [C99-based-standards] (SCNuLEAST16): Likewise.
33310         [C99-based-standards] (SCNxLEAST16): Likewise.
33311         [C99-based-standards] (PRIdFAST16): Likewise.
33312         [C99-based-standards] (PRIiFAST16): Likewise.
33313         [C99-based-standards] (PRIoFAST16): Likewise.
33314         [C99-based-standards] (PRIuFAST16): Likewise.
33315         [C99-based-standards] (PRIxFAST16): Likewise.
33316         [C99-based-standards] (PRIXFAST16): Likewise.
33317         [C99-based-standards] (SCNdFAST16): Likewise.
33318         [C99-based-standards] (SCNiFAST16): Likewise.
33319         [C99-based-standards] (SCNoFAST16): Likewise.
33320         [C99-based-standards] (SCNuFAST16): Likewise.
33321         [C99-based-standards] (SCNxFAST16): Likewise.
33322         [C99-based-standards] (PRId32): Likewise.
33323         [C99-based-standards] (PRIi32): Likewise.
33324         [C99-based-standards] (PRIo32): Likewise.
33325         [C99-based-standards] (PRIu32): Likewise.
33326         [C99-based-standards] (PRIx32): Likewise.
33327         [C99-based-standards] (PRIX32): Likewise.
33328         [C99-based-standards] (SCNd32): Likewise.
33329         [C99-based-standards] (SCNi32): Likewise.
33330         [C99-based-standards] (SCNo32): Likewise.
33331         [C99-based-standards] (SCNu32): Likewise.
33332         [C99-based-standards] (SCNx32): Likewise.
33333         [C99-based-standards] (PRIdLEAST32): Likewise.
33334         [C99-based-standards] (PRIiLEAST32): Likewise.
33335         [C99-based-standards] (PRIoLEAST32): Likewise.
33336         [C99-based-standards] (PRIuLEAST32): Likewise.
33337         [C99-based-standards] (PRIxLEAST32): Likewise.
33338         [C99-based-standards] (PRIXLEAST32): Likewise.
33339         [C99-based-standards] (SCNdLEAST32): Likewise.
33340         [C99-based-standards] (SCNiLEAST32): Likewise.
33341         [C99-based-standards] (SCNoLEAST32): Likewise.
33342         [C99-based-standards] (SCNuLEAST32): Likewise.
33343         [C99-based-standards] (SCNxLEAST32): Likewise.
33344         [C99-based-standards] (PRIdFAST32): Likewise.
33345         [C99-based-standards] (PRIiFAST32): Likewise.
33346         [C99-based-standards] (PRIoFAST32): Likewise.
33347         [C99-based-standards] (PRIuFAST32): Likewise.
33348         [C99-based-standards] (PRIxFAST32): Likewise.
33349         [C99-based-standards] (PRIXFAST32): Likewise.
33350         [C99-based-standards] (SCNdFAST32): Likewise.
33351         [C99-based-standards] (SCNiFAST32): Likewise.
33352         [C99-based-standards] (SCNoFAST32): Likewise.
33353         [C99-based-standards] (SCNuFAST32): Likewise.
33354         [C99-based-standards] (SCNxFAST32): Likewise.
33355         [C99-based-standards] (PRId64): Likewise.
33356         [C99-based-standards] (PRIi64): Likewise.
33357         [C99-based-standards] (PRIo64): Likewise.
33358         [C99-based-standards] (PRIu64): Likewise.
33359         [C99-based-standards] (PRIx64): Likewise.
33360         [C99-based-standards] (PRIX64): Likewise.
33361         [C99-based-standards] (SCNd64): Likewise.
33362         [C99-based-standards] (SCNi64): Likewise.
33363         [C99-based-standards] (SCNo64): Likewise.
33364         [C99-based-standards] (SCNu64): Likewise.
33365         [C99-based-standards] (SCNx64): Likewise.
33366         [C99-based-standards] (PRIdLEAST64): Likewise.
33367         [C99-based-standards] (PRIiLEAST64): Likewise.
33368         [C99-based-standards] (PRIoLEAST64): Likewise.
33369         [C99-based-standards] (PRIuLEAST64): Likewise.
33370         [C99-based-standards] (PRIxLEAST64): Likewise.
33371         [C99-based-standards] (PRIXLEAST64): Likewise.
33372         [C99-based-standards] (SCNdLEAST64): Likewise.
33373         [C99-based-standards] (SCNiLEAST64): Likewise.
33374         [C99-based-standards] (SCNoLEAST64): Likewise.
33375         [C99-based-standards] (SCNuLEAST64): Likewise.
33376         [C99-based-standards] (SCNxLEAST64): Likewise.
33377         [C99-based-standards] (PRIdFAST64): Likewise.
33378         [C99-based-standards] (PRIiFAST64): Likewise.
33379         [C99-based-standards] (PRIoFAST64): Likewise.
33380         [C99-based-standards] (PRIuFAST64): Likewise.
33381         [C99-based-standards] (PRIxFAST64): Likewise.
33382         [C99-based-standards] (PRIXFAST64): Likewise.
33383         [C99-based-standards] (SCNdFAST64): Likewise.
33384         [C99-based-standards] (SCNiFAST64): Likewise.
33385         [C99-based-standards] (SCNoFAST64): Likewise.
33386         [C99-based-standards] (SCNuFAST64): Likewise.
33387         [C99-based-standards] (SCNxFAST64): Likewise.
33388         [C99-based-standards] (PRIdMAX): Likewise.
33389         [C99-based-standards] (PRIiMAX): Likewise.
33390         [C99-based-standards] (PRIoMAX): Likewise.
33391         [C99-based-standards] (PRIuMAX): Likewise.
33392         [C99-based-standards] (PRIxMAX): Likewise.
33393         [C99-based-standards] (PRIXMAX): Likewise.
33394         [C99-based-standards] (SCNdMAX): Likewise.
33395         [C99-based-standards] (SCNiMAX): Likewise.
33396         [C99-based-standards] (SCNoMAX): Likewise.
33397         [C99-based-standards] (SCNuMAX): Likewise.
33398         [C99-based-standards] (SCNxMAX): Likewise.
33399         [C99-based-standards] (PRIdPTR): Likewise.
33400         [C99-based-standards] (PRIiPTR): Likewise.
33401         [C99-based-standards] (PRIoPTR): Likewise.
33402         [C99-based-standards] (PRIuPTR): Likewise.
33403         [C99-based-standards] (PRIxPTR): Likewise.
33404         [C99-based-standards] (PRIXPTR): Likewise.
33405         [C99-based-standards] (SCNdPTR): Likewise.
33406         [C99-based-standards] (SCNiPTR): Likewise.
33407         [C99-based-standards] (SCNoPTR): Likewise.
33408         [C99-based-standards] (SCNuPTR): Likewise.
33409         [C99-based-standards] (SCNxPTR): Likewise.
33410         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
33411         allow.
33412         * conform/data/stdint.h-data: Update comments to clarify
33413         requirements.
33414         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
33415         type.
33416         [C99-based standards] (INT8_MAX): Likewise.
33417         [C99-based standards] (INT16_MIN): Likewise.
33418         [C99-based standards] (INT16_MAX): Likewise.
33419         [C99-based standards] (INT32_MIN): Likewise.
33420         [C99-based standards] (INT32_MAX): Likewise.
33421         [C99-based standards] (INT64_MIN): Likewise.
33422         [C99-based standards] (INT64_MAX): Likewise.
33423         [C99-based standards] (UINT8_MAX): Likewise.
33424         [C99-based standards] (UINT16_MAX): Likewise.
33425         [C99-based standards] (UINT32_MAX): Likewise.
33426         [C99-based standards] (UINT64_MAX): Likewise.
33427         [C99-based standards] (INT_LEAST8_MIN): Likewise.
33428         [C99-based standards] (INT_LEAST8_MAX): Likewise.
33429         [C99-based standards] (INT_LEAST16_MIN): Likewise.
33430         [C99-based standards] (INT_LEAST16_MAX): Likewise.
33431         [C99-based standards] (INT_LEAST32_MIN): Likewise.
33432         [C99-based standards] (INT_LEAST32_MAX): Likewise.
33433         [C99-based standards] (INT_LEAST64_MIN): Likewise.
33434         [C99-based standards] (INT_LEAST64_MAX): Likewise.
33435         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
33436         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
33437         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
33438         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
33439         [C99-based standards] (INT_FAST8_MIN): Likewise.
33440         [C99-based standards] (INT_FAST8_MAX): Likewise.
33441         [C99-based standards] (INT_FAST16_MIN): Likewise.
33442         [C99-based standards] (INT_FAST16_MAX): Likewise.
33443         [C99-based standards] (INT_FAST32_MIN): Likewise.
33444         [C99-based standards] (INT_FAST32_MAX): Likewise.
33445         [C99-based standards] (INT_FAST64_MIN): Likewise.
33446         [C99-based standards] (INT_FAST64_MAX): Likewise.
33447         [C99-based standards] (UINT_FAST8_MAX): Likewise.
33448         [C99-based standards] (UINT_FAST16_MAX): Likewise.
33449         [C99-based standards] (UINT_FAST32_MAX): Likewise.
33450         [C99-based standards] (UINT_FAST64_MAX): Likewise.
33451         [C99-based standards] (INTPTR_MIN): Likewise.
33452         [C99-based standards] (INTPTR_MAX): Likewise.
33453         [C99-based standards] (UINTPTR_MAX): Likewise.
33454         [C99-based standards] (INTMAX_MIN): Likewise.
33455         [C99-based standards] (INTMAX_MAX): Likewise.
33456         [C99-based standards] (UINTMAX_MAX): Likewise.
33457         [C99-based standards] (PTRDIFF_MIN): Likewise.
33458         [C99-based standards] (PTRDIFF_MAX): Likewise.
33459         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
33460         [C99-based standards] (SIZE_MAX): Likewise.
33461         [C99-based standards] (WCHAR_MAX): Likewise.
33462         [C99-based standards] (WINT_MAX): Likewise.
33463         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
33464         constraint on value.
33465         [C99-based standards] (WCHAR_MIN): Likewise.
33466         [C99-based standards] (WINT_MIN): Likewise.
33467         [C99-based standards] (*_t): Allow.
33468         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
33469         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
33470         Include math.h-data and complex.h-data.  Remove all expectations
33471         of math.h and complex.h contents.
33472         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
33473         at end of line.
33474         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
33475         (struct tm): Expect tag.
33476         [C99-based-standards] (wcstof): Expect function.
33477         [C99-based-standards] (wcstold): Likewise.
33478         [C99-based-standards] (wcstoll): Likewise.
33479         [C99-based-standards] (wcstoull): Likewise.
33480         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
33481         macro-int-constant.  Specify type.
33482         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
33483         constraint on value.
33484         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
33485         Specify type.
33486         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
33487         Specify value.
33488         [ISO C standards]: Do not allow headers.
33489         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
33490         wcs[abcdefghijklmnopqrstuvwxyz]*.
33491         [ISO C standards] (*_t): Do not allow.
33492         * conform/data/wctype.h-data [C99-based standards] (iswblank):
33493         Expect function.
33494         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
33495         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
33496         Specify type.
33497         [ISO C standards]: Do not allow headers.
33498         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
33499         is[abcdefghijklmnopqrstuvwxyz]*.
33500         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
33501         to[abcdefghijklmnopqrstuvwxyz]*.
33502         [ISO C standards] (*_t): Do not allow.
33503         * conform/data/stdalign.h-data: New file.
33504         * conform/data/stdbool.h-data: Likewise.
33505         * conform/data/stdnoreturn.h-data: Likewise.
33506
33507 2012-11-07  Roland McGrath  <roland@hack.frob.com>
33508
33509         [BZ #14815]
33510         * manual/filesys.texi (Directory Entries): Typo fix.
33511         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
33512
33513 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
33514
33515         * elf/elf.h (EM_AARCH64): New macro.
33516         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
33517         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
33518         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
33519         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
33520         (R_AARCH64_TLSDESC): Likewise.
33521         (NT_ARM_TLS): Likewise.
33522         (NT_ARM_HW_BREAK): Likewise.
33523         (NT_ARM_HW_WATCH): Likewise.
33524
33525 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
33526
33527         [BZ #14811]
33528         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
33529         (__ieee754_powl): Saturate nonzero exponents with absolute value
33530         below 0x1p-79 to +/- 0x1p-79.
33531         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
33532         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
33533         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
33534         nonzero exponents with absolute value below 0x1p-32 to +/-
33535         0x1p-32.
33536         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
33537         (__ieee754_powl): Saturate nonzero exponents with absolute value
33538         below 0x1p-79 to +/- 0x1p-79.
33539         * math/libm-test.inc (pow_test): Add more tests.
33540
33541 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33542
33543         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
33544         _dl_s390_cap_flags with kernel. Increase string length.
33545         (_dl_s390_platforms): Add z196 and zEC12.
33546
33547 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
33548
33549         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
33550         Change XOPEN21K to XOPEN2K.
33551
33552 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
33553
33554         * string/memmove.c: Use memcpy when possible.
33555
33556 2012-11-06  Andreas Jaeger  <aj@suse.de>
33557
33558         * po/eo.po: Update from translation team.
33559
33560 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
33561
33562         [BZ #14793]
33563         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
33564         exponent and small x and y exponents, scale x or y up.  Increase
33565         by 2 the exponent used in scaling up.
33566         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33567         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33568         * math/libm-test.inc (fma_test): Add more tests.
33569         (fma_test_towardzero): Likewise.
33570         (fma_test_downward): Likewise.
33571         (fma_test_upward): Likewise.
33572
33573 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
33574
33575         [BZ #14805]
33576         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
33577         fenv_t *.
33578
33579         [BZ #14801]
33580         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
33581         namespace for names of struct fields.
33582         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
33583         fenv_t fields.
33584         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
33585         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
33586
33587 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33588
33589         [BZ #3665]
33590         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
33591
33592 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
33593
33594         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
33595         PTR_DEMANGLE.
33596
33597         [BZ #5246]
33598         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
33599         PTR_DEMANGLE.
33600
33601 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
33602
33603         [BZ #14797]
33604         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
33605         definitely overflow as x * y not x * y + z.
33606         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33607         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33608         * math/libm-test.inc (fma_test): Add more tests.
33609         (fma_test_towardzero): Likewise.
33610         (fma_test_downward): Likewise.
33611         (fma_test_upward): Likewise.
33612
33613 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
33614
33615         [BZ #157]
33616
33617         * include/stub-tag.h: Remove file.
33618         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
33619         '#include' of it.
33620         * manual/maint.texi (Porting): Don't reference it.
33621         * Makerules ($(objpfx)stubs): Likewise.
33622         * dirent/closedir.c: Don't include <stub-tag.h>.
33623         * dirent/dirfd.c: Likewise.
33624         * dirent/fdopendir.c: Likewise.
33625         * dirent/getdents.c: Likewise.
33626         * dirent/getdents64.c: Likewise.
33627         * dirent/opendir.c: Likewise.
33628         * dirent/readdir.c: Likewise.
33629         * dirent/readdir64.c: Likewise.
33630         * dirent/readdir64_r.c: Likewise.
33631         * dirent/readdir_r.c: Likewise.
33632         * dirent/rewinddir.c: Likewise.
33633         * dirent/seekdir.c: Likewise.
33634         * dirent/telldir.c: Likewise.
33635         * gmon/profil.c: Likewise.
33636         * grp/setgroups.c: Likewise.
33637         * inet/if_index.c: Likewise.
33638         * io/access.c: Likewise.
33639         * io/chdir.c: Likewise.
33640         * io/chmod.c: Likewise.
33641         * io/chown.c: Likewise.
33642         * io/close.c: Likewise.
33643         * io/dup.c: Likewise.
33644         * io/dup2.c: Likewise.
33645         * io/dup3.c: Likewise.
33646         * io/euidaccess.c: Likewise.
33647         * io/faccessat.c: Likewise.
33648         * io/fchdir.c: Likewise.
33649         * io/fchmod.c: Likewise.
33650         * io/fchmodat.c: Likewise.
33651         * io/fchown.c: Likewise.
33652         * io/fchownat.c: Likewise.
33653         * io/fcntl.c: Likewise.
33654         * io/flock.c: Likewise.
33655         * io/fstatfs.c: Likewise.
33656         * io/fstatfs64.c: Likewise.
33657         * io/fstatvfs.c: Likewise.
33658         * io/fstatvfs64.c: Likewise.
33659         * io/futimens.c: Likewise.
33660         * io/fxstat.c: Likewise.
33661         * io/fxstat64.c: Likewise.
33662         * io/fxstatat.c: Likewise.
33663         * io/fxstatat64.c: Likewise.
33664         * io/getcwd.c: Likewise.
33665         * io/isatty.c: Likewise.
33666         * io/lchmod.c: Likewise.
33667         * io/lchown.c: Likewise.
33668         * io/link.c: Likewise.
33669         * io/linkat.c: Likewise.
33670         * io/lseek.c: Likewise.
33671         * io/lseek64.c: Likewise.
33672         * io/lxstat64.c: Likewise.
33673         * io/mkdir.c: Likewise.
33674         * io/mkdirat.c: Likewise.
33675         * io/mkfifo.c: Likewise.
33676         * io/mkfifoat.c: Likewise.
33677         * io/open.c: Likewise.
33678         * io/open64.c: Likewise.
33679         * io/openat.c: Likewise.
33680         * io/openat64.c: Likewise.
33681         * io/pipe.c: Likewise.
33682         * io/pipe2.c: Likewise.
33683         * io/poll.c: Likewise.
33684         * io/posix_fadvise.c: Likewise.
33685         * io/posix_fadvise64.c: Likewise.
33686         * io/posix_fallocate.c: Likewise.
33687         * io/posix_fallocate64.c: Likewise.
33688         * io/read.c: Likewise.
33689         * io/readlink.c: Likewise.
33690         * io/readlinkat.c: Likewise.
33691         * io/rmdir.c: Likewise.
33692         * io/sendfile.c: Likewise.
33693         * io/sendfile64.c: Likewise.
33694         * io/statfs.c: Likewise.
33695         * io/statfs64.c: Likewise.
33696         * io/statvfs.c: Likewise.
33697         * io/statvfs64.c: Likewise.
33698         * io/symlink.c: Likewise.
33699         * io/symlinkat.c: Likewise.
33700         * io/ttyname.c: Likewise.
33701         * io/ttyname_r.c: Likewise.
33702         * io/umask.c: Likewise.
33703         * io/unlink.c: Likewise.
33704         * io/unlinkat.c: Likewise.
33705         * io/utime.c: Likewise.
33706         * io/utimensat.c: Likewise.
33707         * io/write.c: Likewise.
33708         * io/xmknod.c: Likewise.
33709         * io/xmknodat.c: Likewise.
33710         * io/xstat.c: Likewise.
33711         * io/xstat64.c: Likewise.
33712         * login/getpt.c: Likewise.
33713         * login/grantpt.c: Likewise.
33714         * login/unlockpt.c: Likewise.
33715         * math/e_acoshl.c: Likewise.
33716         * math/e_acosl.c: Likewise.
33717         * math/e_asinl.c: Likewise.
33718         * math/e_atan2l.c: Likewise.
33719         * math/e_atanhl.c: Likewise.
33720         * math/e_coshl.c: Likewise.
33721         * math/e_expl.c: Likewise.
33722         * math/e_fmodl.c: Likewise.
33723         * math/e_gammal_r.c: Likewise.
33724         * math/e_hypotl.c: Likewise.
33725         * math/e_j0l.c: Likewise.
33726         * math/e_j1l.c: Likewise.
33727         * math/e_jnl.c: Likewise.
33728         * math/e_lgammal_r.c: Likewise.
33729         * math/e_log10l.c: Likewise.
33730         * math/e_log2l.c: Likewise.
33731         * math/e_logl.c: Likewise.
33732         * math/e_powl.c: Likewise.
33733         * math/e_rem_pio2l.c: Likewise.
33734         * math/e_sinhl.c: Likewise.
33735         * math/e_sqrtl.c: Likewise.
33736         * math/fclrexcpt.c: Likewise.
33737         * math/fedisblxcpt.c: Likewise.
33738         * math/feenablxcpt.c: Likewise.
33739         * math/fegetenv.c: Likewise.
33740         * math/fegetexcept.c: Likewise.
33741         * math/fegetround.c: Likewise.
33742         * math/feholdexcpt.c: Likewise.
33743         * math/fesetenv.c: Likewise.
33744         * math/fesetround.c: Likewise.
33745         * math/feupdateenv.c: Likewise.
33746         * math/fgetexcptflg.c: Likewise.
33747         * math/fraiseexcpt.c: Likewise.
33748         * math/fsetexcptflg.c: Likewise.
33749         * math/ftestexcept.c: Likewise.
33750         * math/k_cosl.c: Likewise.
33751         * math/k_rem_pio2l.c: Likewise.
33752         * math/k_sinl.c: Likewise.
33753         * math/k_tanl.c: Likewise.
33754         * math/s_asinhl.c: Likewise.
33755         * math/s_atanl.c: Likewise.
33756         * math/s_cbrtl.c: Likewise.
33757         * math/s_erfl.c: Likewise.
33758         * math/s_expm1l.c: Likewise.
33759         * math/s_log1pl.c: Likewise.
33760         * math/s_tanhl.c: Likewise.
33761         * misc/acct.c: Likewise.
33762         * misc/brk.c: Likewise.
33763         * misc/chflags.c: Likewise.
33764         * misc/chroot.c: Likewise.
33765         * misc/fchflags.c: Likewise.
33766         * misc/fgetxattr.c: Likewise.
33767         * misc/flistxattr.c: Likewise.
33768         * misc/fremovexattr.c: Likewise.
33769         * misc/fsetxattr.c: Likewise.
33770         * misc/fsync.c: Likewise.
33771         * misc/ftruncate.c: Likewise.
33772         * misc/futimes.c: Likewise.
33773         * misc/futimesat.c: Likewise.
33774         * misc/getdomain.c: Likewise.
33775         * misc/getdtsz.c: Likewise.
33776         * misc/gethostid.c: Likewise.
33777         * misc/gethostname.c: Likewise.
33778         * misc/getloadavg.c: Likewise.
33779         * misc/getpagesize.c: Likewise.
33780         * misc/getsysstats.c: Likewise.
33781         * misc/getxattr.c: Likewise.
33782         * misc/gtty.c: Likewise.
33783         * misc/ioctl.c: Likewise.
33784         * misc/lgetxattr.c: Likewise.
33785         * misc/listxattr.c: Likewise.
33786         * misc/llistxattr.c: Likewise.
33787         * misc/lremovexattr.c: Likewise.
33788         * misc/lsetxattr.c: Likewise.
33789         * misc/lutimes.c: Likewise.
33790         * misc/madvise.c: Likewise.
33791         * misc/mincore.c: Likewise.
33792         * misc/mlock.c: Likewise.
33793         * misc/mlockall.c: Likewise.
33794         * misc/mmap.c: Likewise.
33795         * misc/mprotect.c: Likewise.
33796         * misc/msync.c: Likewise.
33797         * misc/munlock.c: Likewise.
33798         * misc/munlockall.c: Likewise.
33799         * misc/munmap.c: Likewise.
33800         * misc/preadv.c: Likewise.
33801         * misc/preadv64.c: Likewise.
33802         * misc/ptrace.c: Likewise.
33803         * misc/pwritev.c: Likewise.
33804         * misc/pwritev64.c: Likewise.
33805         * misc/readv.c: Likewise.
33806         * misc/reboot.c: Likewise.
33807         * misc/remap_file_pages.c: Likewise.
33808         * misc/removexattr.c: Likewise.
33809         * misc/revoke.c: Likewise.
33810         * misc/select.c: Likewise.
33811         * misc/setdomain.c: Likewise.
33812         * misc/setegid.c: Likewise.
33813         * misc/seteuid.c: Likewise.
33814         * misc/sethostid.c: Likewise.
33815         * misc/sethostname.c: Likewise.
33816         * misc/setregid.c: Likewise.
33817         * misc/setreuid.c: Likewise.
33818         * misc/setxattr.c: Likewise.
33819         * misc/sstk.c: Likewise.
33820         * misc/stty.c: Likewise.
33821         * misc/swapoff.c: Likewise.
33822         * misc/swapon.c: Likewise.
33823         * misc/sync.c: Likewise.
33824         * misc/syncfs.c: Likewise.
33825         * misc/syscall.c: Likewise.
33826         * misc/truncate.c: Likewise.
33827         * misc/ualarm.c: Likewise.
33828         * misc/usleep.c: Likewise.
33829         * misc/ustat.c: Likewise.
33830         * misc/utimes.c: Likewise.
33831         * misc/vhangup.c: Likewise.
33832         * misc/writev.c: Likewise.
33833         * posix/_exit.c: Likewise.
33834         * posix/alarm.c: Likewise.
33835         * posix/execve.c: Likewise.
33836         * posix/fexecve.c: Likewise.
33837         * posix/fork.c: Likewise.
33838         * posix/fpathconf.c: Likewise.
33839         * posix/getaddrinfo.c: Likewise.
33840         * posix/getegid.c: Likewise.
33841         * posix/geteuid.c: Likewise.
33842         * posix/getgid.c: Likewise.
33843         * posix/getgroups.c: Likewise.
33844         * posix/getlogin.c: Likewise.
33845         * posix/getlogin_r.c: Likewise.
33846         * posix/getpgid.c: Likewise.
33847         * posix/getpid.c: Likewise.
33848         * posix/getppid.c: Likewise.
33849         * posix/getresgid.c: Likewise.
33850         * posix/getresuid.c: Likewise.
33851         * posix/getsid.c: Likewise.
33852         * posix/getuid.c: Likewise.
33853         * posix/glob64.c: Likewise.
33854         * posix/nanosleep.c: Likewise.
33855         * posix/pathconf.c: Likewise.
33856         * posix/pause.c: Likewise.
33857         * posix/posix_madvise.c: Likewise.
33858         * posix/pread.c: Likewise.
33859         * posix/pread64.c: Likewise.
33860         * posix/pwrite.c: Likewise.
33861         * posix/pwrite64.c: Likewise.
33862         * posix/sched_getaffinity.c: Likewise.
33863         * posix/sched_getp.c: Likewise.
33864         * posix/sched_gets.c: Likewise.
33865         * posix/sched_primax.c: Likewise.
33866         * posix/sched_primin.c: Likewise.
33867         * posix/sched_rr_gi.c: Likewise.
33868         * posix/sched_setaffinity.c: Likewise.
33869         * posix/sched_setp.c: Likewise.
33870         * posix/sched_sets.c: Likewise.
33871         * posix/sched_yield.c: Likewise.
33872         * posix/setgid.c: Likewise.
33873         * posix/setlogin.c: Likewise.
33874         * posix/setpgid.c: Likewise.
33875         * posix/setresgid.c: Likewise.
33876         * posix/setresuid.c: Likewise.
33877         * posix/setsid.c: Likewise.
33878         * posix/setuid.c: Likewise.
33879         * posix/sleep.c: Likewise.
33880         * posix/spawni.c: Likewise.
33881         * posix/sysconf.c: Likewise.
33882         * posix/times.c: Likewise.
33883         * posix/wait.c: Likewise.
33884         * posix/wait3.c: Likewise.
33885         * posix/wait4.c: Likewise.
33886         * posix/waitpid.c: Likewise.
33887         * resolv/gai_sigqueue.c: Likewise.
33888         * resource/getpriority.c: Likewise.
33889         * resource/getrlimit.c: Likewise.
33890         * resource/getrusage.c: Likewise.
33891         * resource/nice.c: Likewise.
33892         * resource/setpriority.c: Likewise.
33893         * resource/setrlimit.c: Likewise.
33894         * resource/ulimit.c: Likewise.
33895         * rt/aio_cancel.c: Likewise.
33896         * rt/aio_fsync.c: Likewise.
33897         * rt/aio_read.c: Likewise.
33898         * rt/aio_sigqueue.c: Likewise.
33899         * rt/aio_suspend.c: Likewise.
33900         * rt/aio_write.c: Likewise.
33901         * rt/clock_getres.c: Likewise.
33902         * rt/clock_gettime.c: Likewise.
33903         * rt/clock_nanosleep.c: Likewise.
33904         * rt/clock_settime.c: Likewise.
33905         * rt/lio_listio.c: Likewise.
33906         * rt/mq_close.c: Likewise.
33907         * rt/mq_getattr.c: Likewise.
33908         * rt/mq_notify.c: Likewise.
33909         * rt/mq_open.c: Likewise.
33910         * rt/mq_receive.c: Likewise.
33911         * rt/mq_send.c: Likewise.
33912         * rt/mq_setattr.c: Likewise.
33913         * rt/mq_timedreceive.c: Likewise.
33914         * rt/mq_timedsend.c: Likewise.
33915         * rt/mq_unlink.c: Likewise.
33916         * rt/shm_open.c: Likewise.
33917         * rt/shm_unlink.c: Likewise.
33918         * rt/timer_create.c: Likewise.
33919         * rt/timer_delete.c: Likewise.
33920         * rt/timer_getoverr.c: Likewise.
33921         * rt/timer_gettime.c: Likewise.
33922         * rt/timer_settime.c: Likewise.
33923         * setjmp/__longjmp.c: Likewise.
33924         * setjmp/setjmp.c: Likewise.
33925         * signal/kill.c: Likewise.
33926         * signal/killpg.c: Likewise.
33927         * signal/raise.c: Likewise.
33928         * signal/sigaction.c: Likewise.
33929         * signal/sigaltstack.c: Likewise.
33930         * signal/sigblock.c: Likewise.
33931         * signal/sigignore.c: Likewise.
33932         * signal/sigintr.c: Likewise.
33933         * signal/signal.c: Likewise.
33934         * signal/sigpause.c: Likewise.
33935         * signal/sigpending.c: Likewise.
33936         * signal/sigqueue.c: Likewise.
33937         * signal/sigreturn.c: Likewise.
33938         * signal/sigset.c: Likewise.
33939         * signal/sigsetmask.c: Likewise.
33940         * signal/sigstack.c: Likewise.
33941         * signal/sigsuspend.c: Likewise.
33942         * signal/sigtimedwait.c: Likewise.
33943         * signal/sigvec.c: Likewise.
33944         * signal/sigwait.c: Likewise.
33945         * signal/sigwaitinfo.c: Likewise.
33946         * signal/sysv_signal.c: Likewise.
33947         * socket/accept.c: Likewise.
33948         * socket/accept4.c: Likewise.
33949         * socket/bind.c: Likewise.
33950         * socket/connect.c: Likewise.
33951         * socket/getpeername.c: Likewise.
33952         * socket/getsockname.c: Likewise.
33953         * socket/getsockopt.c: Likewise.
33954         * socket/isfdtype.c: Likewise.
33955         * socket/listen.c: Likewise.
33956         * socket/recv.c: Likewise.
33957         * socket/recvfrom.c: Likewise.
33958         * socket/recvmsg.c: Likewise.
33959         * socket/send.c: Likewise.
33960         * socket/sendmsg.c: Likewise.
33961         * socket/sendto.c: Likewise.
33962         * socket/setsockopt.c: Likewise.
33963         * socket/shutdown.c: Likewise.
33964         * socket/sockatmark.c: Likewise.
33965         * socket/socket.c: Likewise.
33966         * socket/socketpair.c: Likewise.
33967         * stdio-common/ctermid.c: Likewise.
33968         * stdio-common/cuserid.c: Likewise.
33969         * stdio-common/remove.c: Likewise.
33970         * stdio-common/rename.c: Likewise.
33971         * stdio-common/renameat.c: Likewise.
33972         * stdio-common/tempname.c: Likewise.
33973         * stdlib/getcontext.c: Likewise.
33974         * stdlib/makecontext.c: Likewise.
33975         * stdlib/setcontext.c: Likewise.
33976         * stdlib/swapcontext.c: Likewise.
33977         * stdlib/system.c: Likewise.
33978         * streams/fattach.c: Likewise.
33979         * streams/fdetach.c: Likewise.
33980         * streams/getmsg.c: Likewise.
33981         * streams/getpmsg.c: Likewise.
33982         * streams/putmsg.c: Likewise.
33983         * streams/putpmsg.c: Likewise.
33984         * sysdeps/unix/bsd/getpt.c: Likewise.
33985         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
33986         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
33987         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
33988         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
33989         Likewise.
33990         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
33991         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
33992         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
33993         * sysvipc/msgctl.c: Likewise.
33994         * sysvipc/msgget.c: Likewise.
33995         * sysvipc/msgrcv.c: Likewise.
33996         * sysvipc/msgsnd.c: Likewise.
33997         * sysvipc/semctl.c: Likewise.
33998         * sysvipc/semget.c: Likewise.
33999         * sysvipc/semop.c: Likewise.
34000         * sysvipc/semtimedop.c: Likewise.
34001         * sysvipc/shmat.c: Likewise.
34002         * sysvipc/shmctl.c: Likewise.
34003         * sysvipc/shmdt.c: Likewise.
34004         * sysvipc/shmget.c: Likewise.
34005         * termios/tcdrain.c: Likewise.
34006         * termios/tcflow.c: Likewise.
34007         * termios/tcflush.c: Likewise.
34008         * termios/tcgetattr.c: Likewise.
34009         * termios/tcgetpgrp.c: Likewise.
34010         * termios/tcsendbrk.c: Likewise.
34011         * termios/tcsetattr.c: Likewise.
34012         * termios/tcsetpgrp.c: Likewise.
34013         * time/adjtime.c: Likewise.
34014         * time/clock.c: Likewise.
34015         * time/getitimer.c: Likewise.
34016         * time/gettimeofday.c: Likewise.
34017         * time/setitimer.c: Likewise.
34018         * time/settimeofday.c: Likewise.
34019         * time/stime.c: Likewise.
34020         * time/time.c: Likewise.
34021
34022 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
34023
34024         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
34025         /usr/old/bin.
34026
34027         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
34028         instead of spaces.
34029         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
34030
34031 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
34032
34033         [BZ #14796]
34034         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
34035         FE_TONEAREST before applying Dekker multiplication and Knuth
34036         addition.  Clear inexact exceptions and check for exact zero
34037         results afterwards.
34038         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34039         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
34040         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34041         * math/libm-test.inc (fma_test): Add more tests.
34042         (fma_test_towardzero): Likewise.
34043         (fma_test_downward): Likewise.
34044         (fma_test_upward): Likewise.
34045         * sysdeps/generic/math_private.h (default_libc_fesetround): New
34046         function.
34047         (libc_fesetround): New macro.
34048         (libc_fesetroundf): Likewise.
34049         (libc_fesetroundl): Likewise.
34050         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
34051         function.
34052         (libc_fesetround_387): Likewise.
34053         (libc_fesetroundf): New macro.
34054         (libc_fesetround): Likewise.
34055         (libc_fesetroundl): Likewise.
34056         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
34057         function.
34058         (libc_fesetroundf): New macro.
34059         (libc_fesetround): Likewise.
34060         (libc_fesetroundl): Likewise.
34061         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
34062         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
34063         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
34064         libm_hidden_ver.
34065         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
34066         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
34067         libm_hidden_def.
34068         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
34069         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
34070         libm_hidden_ver.
34071         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
34072         libm_hidden_def.
34073
34074         [BZ #3439]
34075         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
34076         integer constant usable in #if and use that to give value to enum
34077         constant.
34078         (FE_DIVBYZERO): Likewise.
34079         (FE_UNDERFLOW): Likewise.
34080         (FE_OVERFLOW): Likewise.
34081         (FE_INVALID): Likewise.
34082         (FE_INVALID_SNAN): Likewise.
34083         (FE_INVALID_ISI): Likewise.
34084         (FE_INVALID_IDI): Likewise.
34085         (FE_INVALID_ZDZ): Likewise.
34086         (FE_INVALID_IMZ): Likewise.
34087         (FE_INVALID_COMPARE): Likewise.
34088         (FE_INVALID_SOFTWARE): Likewise.
34089         (FE_INVALID_SQRT): Likewise.
34090         (FE_INVALID_INTEGER_CONVERSION): Likewise.
34091         (FE_TONEAREST): Likewise.
34092         (FE_TOWARDZERO): Likewise.
34093         (FE_UPWARD): Likewise.
34094         (FE_DOWNWARD): Likewise.
34095         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
34096         (FE_DIVBYZERO): Likewise.
34097         (FE_OVERFLOW): Likewise.
34098         (FE_UNDERFLOW): Likewise.
34099         (FE_INEXACT): Likewise.
34100         (FE_TONEAREST): Likewise.
34101         (FE_DOWNWARD): Likewise.
34102         (FE_UPWARD): Likewise.
34103         (FE_TOWARDZERO): Likewise.
34104         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
34105         (FE_UNDERFLOW): Likewise.
34106         (FE_OVERFLOW): Likewise.
34107         (FE_DIVBYZERO): Likewise.
34108         (FE_INVALID): Likewise.
34109         (FE_TONEAREST): Likewise.
34110         (FE_TOWARDZERO): Likewise.
34111         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
34112         (FE_OVERFLOW): Likewise.
34113         (FE_UNDERFLOW): Likewise.
34114         (FE_DIVBYZERO): Likewise.
34115         (FE_INEXACT): Likewise.
34116         (FE_TONEAREST): Likewise.
34117         (FE_TOWARDZERO): Likewise.
34118         (FE_UPWARD): Likewise.
34119         (FE_DOWNWARD): Likewise.
34120         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
34121         (FE_DIVBYZERO): Likewise.
34122         (FE_OVERFLOW): Likewise.
34123         (FE_UNDERFLOW): Likewise.
34124         (FE_INEXACT): Likewise.
34125         (FE_TONEAREST): Likewise.
34126         (FE_DOWNWARD): Likewise.
34127         (FE_UPWARD): Likewise.
34128         (FE_TOWARDZERO): Likewise.
34129
34130 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
34131
34132         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
34133
34134 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
34135
34136         * scripts/cross-test-ssh.sh (command): Use newlines to separate
34137         commands.  Quote $PWD.
34138         (blacklist_exports): Don't use remove_newlines.  Replace "declare
34139         -x" by "export".
34140         (remove_newlines): Remove.
34141
34142 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
34143
34144         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
34145         * stdlib/stdlib.h (atof): Moved to ...
34146         * include/bits/stdlib-float.h: Here.  New file.
34147         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
34148         * stdlib/bits/stdlib-float.h: New file.
34149         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
34150         -mno-sse -mno-mmx.
34151         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
34152         <xmmintrin.h>.
34153
34154 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
34155
34156         * conform/conformtest.pl (@headers): Add fenv.h.
34157         * conform/data/fenv.h-data: New file.
34158         * include/fenv.h [_ISOMAC]: Disable all contents of file except
34159         include of <math/fenv.h>.
34160
34161         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
34162         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
34163         && !UNIX98].  Enables tests for XOPEN2K8.
34164         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
34165         POSIX2008]: Likewise.
34166
34167         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
34168         (struct rusage): Do not expect type or its members.
34169
34170         [BZ #3439]
34171         * math/math.h (FP_NAN): Define macro to integer constant usable in
34172         #if and use that to give value to enum constant.
34173         (FP_INFINITE): Likewise.
34174         (FP_ZERO): Likewise.
34175         (FP_SUBNORMAL): Likewise.
34176         (FP_NORMAL): Likewise.
34177
34178 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
34179
34180         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
34181         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
34182         arguments.
34183
34184 2012-11-02  Roland McGrath  <roland@hack.frob.com>
34185
34186         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
34187         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
34188         autoconf-time if not.
34189         * configure.in: Remove AC_PREREQ.
34190
34191 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
34192
34193         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
34194         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
34195         of the internal implementation.
34196
34197 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
34198
34199         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
34200         except include of <misc/sys/syslog.h>.
34201
34202 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
34203
34204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
34205         function returns with a NULL context exit with zero.
34206
34207 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
34208
34209         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
34210
34211 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
34212
34213         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
34214         (run_program_cmd): This.
34215         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
34216         (tst_langinfo): New variable.  Use it.
34217
34218 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
34219
34220         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
34221         floating point opcodes.
34222
34223 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
34224
34225         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
34226         variable.
34227
34228         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
34229
34230         * sysdeps/mach/hurd/powerpc: Remove directory.
34231         * sysdeps/mach/powerpc: Likewise.
34232
34233 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
34234
34235         * scripts/check-local-headers.sh: Ignore c++ headers.
34236
34237 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
34238
34239         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
34240         __libc_cleanup_region_start argument.
34241
34242 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
34243
34244         [BZ #14784]
34245         [BZ #14785]
34246         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
34247         x * y using scaling, not as x * y + z.
34248         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34249         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34250         * math/libm-test.inc (fma_test): Add more tests.
34251         (fma_test_towardzero): Likewise.
34252         (fma_test_downward): Likewise.
34253         (fma_test_upward): Likewise.
34254
34255 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
34256
34257         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
34258
34259 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
34260
34261         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
34262         New variable.
34263
34264 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
34265
34266         * rt/tst-shm.c (worker): Correct checking for mmap failure.
34267
34268 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
34269
34270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34271         Fix sort order.
34272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34273         Likewise.
34274
34275 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
34276
34277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34278         Fix the order of the list for glibc 2.17.
34279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34280         Likewise.
34281
34282 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
34283
34284         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34285
34286 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
34287
34288         [BZ #14610]
34289         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
34290         for low part of x being zero before using __atanl (y).
34291         * math/libm-test.inc (atan2_test): Add another test.
34292
34293         * manual/install.texi (Configuring and compiling): Document
34294         general use of test-wrapper and test-wrapper-env.
34295         * INSTALL: Regenerated.
34296
34297         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
34298         (__fma): Do not extract and scale down low bits on after-rounding
34299         systems when result rounded to normal precision would have normal
34300         exponent.
34301         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
34302         (__fmal): Do not extract and scale down low bits on after-rounding
34303         systems when result rounded to normal precision would have normal
34304         exponent.
34305         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
34306         (__fmal): Do not extract and scale down low bits on after-rounding
34307         systems when result rounded to normal precision would have normal
34308         exponent.
34309         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
34310         macro.
34311         (fma_test): Add more tests.
34312         (fma_test_towardzero): Likewise.
34313         (fma_test_downward): Likewise.
34314         (fma_test_upward): Likewise.
34315
34316 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
34317
34318         * sysdeps/i386/tininess.h: Renamed to ...
34319         * sysdeps/x86/tininess.h: This.
34320         * sysdeps/x86_64/tininess.h: Removed.
34321
34322 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
34323
34324         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
34325         input.  Use $(build-program-cmd).
34326         ($(objpfx)tst-array1-static.out): Likewise.
34327         ($(objpfx)tst-array2.out): Likewise.
34328         ($(objpfx)tst-array3.out): Likewise.
34329         ($(objpfx)tst-array4.out): Likewise.
34330         ($(objpfx)tst-array5.out): Likewise.
34331         ($(objpfx)tst-array5-static.out): Likewise.
34332
34333 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
34334
34335         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
34336         if defined.
34337
34338         * nss/nsswitch.h (nss_interface_function): Provide new
34339         macro for use with NSS functions.
34340         * grp/initgroups.c: Use new macro.
34341         * nss/getXXbyYY.c: Likewise.
34342         * nss/getXXbyYY_r.c: Likewise.
34343         * nss/getXXent.c: Likewise.
34344         * nss/getXXent_r.c: Likewise.
34345         * sysdeps/posix/getaddrinfo.c: Likewise.
34346
34347 2012-10-30  Andreas Jaeger  <aj@suse.de>
34348
34349         * po/ru.po: Update Russion translation from translation project.
34350
34351 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
34352
34353         [BZ #14152]
34354         [BZ #14783]
34355         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
34356         result and shift together with sticky bit instead of replicating
34357         round-to-nearest rounding.
34358         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34359         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34360         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
34361         missing underflow exceptions.
34362         (fma_test_towardzero): Add more tests.
34363         (fma_test_downward): Likewise.
34364         (fma_test_upward): Likewise.
34365
34366         [BZ #14047]
34367         * sysdeps/generic/tininess.h: New file.
34368         * sysdeps/i386/tininess.h: Likewise.
34369         * sysdeps/sh/tininess.h: Likewise.
34370         * sysdeps/x86_64/tininess.h: Likewise.
34371         * stdlib/tst-strtod-underflow.c: Likewise.
34372         * stdlib/tst-tininess.c: Likewise.
34373         * stdlib/strtod_l.c: Include <tininess.h>.
34374         (round_and_return): Do not set errno for exact underflow cases.
34375         Force an underflow exception when setting errno for underflow.
34376         Determine underflow based on rounding to normal precision if
34377         TININESS_AFTER_ROUNDING.
34378         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
34379         ERANGE for exact underflow cases.
34380         * stdlib/Makefile (tests): Add tst-tininess and
34381         tst-strtod-underflow.
34382         ($(objpfx)tst-tininess): Use $(link-libm).
34383         ($(objpfx)tst-strtod-underflow): Likewise.
34384
34385 2012-10-30  Andreas Jaeger  <aj@suse.de>
34386
34387         [BZ#14767]
34388         * elf/Makefile (tests): Remove conditional for have-initfini-array
34389         since this is now always required and the variable does not exist
34390         anymore.
34391         (tests-static): Likewise.
34392         (modules-names): Likewise.
34393
34394         * po/eo.po: Add Esperanto translation from translation project.
34395
34396         * elf/tst-array1.c (fini_array): Make writeable so that it can be
34397         merged with constructor/destructor.
34398         (init_array): Likewise.
34399         * elf/tst-array2dep.c (fini_array): Likewise.
34400         (init_array): Likewise.
34401
34402 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
34403
34404         * manual/message.texi: Delete @cartouche tags.
34405
34406 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
34407
34408         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
34409         EOPNOTSUPP.
34410         * sysdeps/mach/hurd/fsync.c: Likewise.
34411
34412         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
34413         [_POSIX_REALTIME_SIGNALS]: Change condition to
34414         [_POSIX_REALTIME_SIGNALS > 0].
34415
34416 2012-10-27  Andreas Jaeger  <aj@suse.de>
34417
34418         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
34419         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
34420         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
34421         [__WORDSIZE != 64]: Likewise.
34422
34423 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
34424
34425         *  iconvdata/tst-table.sh: Remove ${SHELL}.
34426         *  iconvdata/tst-tables.sh: Likewise.
34427
34428 2012-10-25  David S. Miller  <davem@davemloft.net>
34429
34430         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34431         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
34432         of strtoull.
34433
34434         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
34435         ifunc-impl-list.c
34436         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34437         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
34438         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
34439         file.
34440
34441 2012-10-25  Roland McGrath  <roland@hack.frob.com>
34442
34443         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34444         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
34445         __getdirentries.
34446
34447 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
34448             Jim Blandy  <jimb@codesourcery.com>
34449
34450         * scripts/cross-test-ssh.sh: New file.
34451         * manual/install.texi (Configuring and compiling): Document use of
34452         cross-test-ssh.sh.
34453         * INSTALL: Regenerated.
34454
34455 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
34456
34457         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
34458         EOPNOTSUPP.
34459
34460 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
34461
34462         * Makeconfig (run-program-prefix): Fix comment.
34463
34464 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
34465             Jim Blandy  <jimb@codesourcery.com>
34466
34467         * Makeconfig (test-wrapper): New variable,
34468         (test-wrapper-env): Likewise.
34469         [$(cross-compiling) = yes && $(test-wrapper) != ""]
34470         (run-built-tests): Define to yes.
34471         (run-program-prefix): Use $(test-wrapper).
34472         (built-program-cmd): Likewise.
34473         * Rules (make-test-out): Use $(test-wrapper-env) and
34474         $(host-built-program-cmd).
34475         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
34476         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
34477         tst-pathopt.sh.
34478         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
34479         $(test-wrapper-env) to tst-rtld-load-self.sh.
34480         ($(objpfx)order2.out): Use $(test-wrapper).
34481         ($(objpfx)tst-initorder.out): Likewise.
34482         ($(objpfx)tst-initorder2.out): Likewise.
34483         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
34484         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
34485         (test_wrapper_env): New variable.  Use it to run ld.so.
34486         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
34487         Use it to run ld.so.
34488         (test_wrapper_env): Likewise.
34489         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
34490         $(test-wrapper) to run-iconv-test.sh.
34491         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
34492         (ICONV): Use $test_wrapper.
34493         * posix/Makefile ($(objpfx)globtest.out): Pass
34494         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
34495         globtest.sh, not $(run-program-prefix).
34496         * posix/globtest.sh (run_via_rtld_prefix): New variable.
34497         (test_wrapper): Likewise.
34498         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
34499         set together with run_via_rtld_prefix.
34500         (run_program_prefix): Define in terms of test_wrapper and
34501         run_via_rtld_prefix.
34502
34503 2012-10-24  Roland McGrath  <roland@hack.frob.com>
34504
34505         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
34506         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
34507         Targets removed.
34508
34509         [BZ #14743]
34510         * include/time.h: Remove librt_hidden_proto (clock_gettime).
34511         Declare __clock_getres, __clock_gettime, __clock_settime,
34512         __clock_nanosleep, and __clock_getcpuclockid.
34513         * rt/clock_gettime.c: Define __clock_gettime as an alias.
34514         Remove librt_hidden_def (clock_gettime).
34515         * sysdeps/unix/clock_gettime.c: Likewise.
34516         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
34517         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
34518         * rt/clock_getres.c: Define __clock_getres as an alias.
34519         * sysdeps/posix/clock_getres.c: Likewise.
34520         * rt/clock_settime.c: Define __clock_settime as an alias.
34521         * sysdeps/unix/clock_settime.c: Likewise.
34522         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
34523         * sysdeps/unix/clock_nanosleep.c: Likewise.
34524         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
34525         * rt/clock-compat.c: New file.
34526         * rt/Makefile (librt-routines): Add clock-compat and move
34527         $(clock-routines) to ...
34528         (routines): ... here, new variable.
34529         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
34530         Don't add get_clockfreq here.
34531         * rt/Versions (libc: GLIBC_2.17): New version set.
34532         Add clock_* symbols here.
34533         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
34534         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
34535         (GLIBC_2.17): Add clock_* symbols.
34536         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
34537         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
34538         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
34539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34540         Likewise.
34541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34542         Likewise.
34543         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
34544         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
34545         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
34546         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
34547         * NEWS: Mention the move.
34548
34549         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
34550         Use __open, __read, __close rather than their public counterparts.
34551         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34552         (__get_clockfreq_via_cpuinfo): Likewise.
34553         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
34554         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
34555
34556         * config.h.in (HAVE_IFUNC): New #undef.
34557         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
34558         was successful.
34559         * configure: Regenerated.
34560
34561 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
34562
34563         * configure.in: Move READELF check to start of file.
34564         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
34565         libc_cv_asm_gnu_indirect_function in the process.
34566         * configure: Regenerated.
34567
34568 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
34569
34570         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
34571         send the output to /dev/null.
34572         (libc_cv_cc_with_libunwind): Likewise.
34573         (libc_cv_as_noexecstack): Likewise.
34574         * configure: Regenerate.
34575
34576 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
34577
34578         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
34579
34580         * posix/globtest.sh (TMPDIR): Do not set.
34581         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
34582         (testout): Likewise.
34583
34584 2012-10-24  Andreas Jaeger  <aj@suse.de>
34585
34586         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
34587         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
34588         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
34589         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
34590         posix_fadvise64, posix_fallocate64.
34591
34592         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
34593         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
34594         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
34595         Likewise.
34596         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
34597         Likewise.
34598         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
34599
34600         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
34601         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
34602         <bits/fcntl-linux.h>.
34603         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
34604
34605         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
34606         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
34607         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
34608         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
34609         [__WORDSIZE != 64]: Likewise.
34610
34611 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
34612
34613         * Makeconfig (run-built-tests): New variable.
34614         * Rules [$(cross-compiling) = yes]: Change condition to
34615         [$(run-built-tests) = no].
34616         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
34617         to [$(run-built-tests) = yes].
34618         * elf/Makefile [$(cross-compiling) = no]: Likewise
34619         * grp/Makefile [$(cross-compiling) = no]: Likewise.
34620         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
34621         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
34622         * intl/Makefile [$(cross-compiling) = no]: Likewise.
34623         * io/Makefile [$(cross-compiling) = no]: Likewise.
34624         * libio/Makefile [$(cross-compiling) = no]: Likewise.
34625         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
34626         * misc/Makefile [$(cross-compiling) = no]: Likewise.
34627         * posix/Makefile [$(cross-compiling) = no]: Likewise.
34628         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
34629         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
34630         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
34631         * string/Makefile [$(cross-compiling) = no]: Likewise.
34632
34633         * posix/Makefile ($(objpfx)globtest.out): Pass
34634         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
34635         $(rtld-installed-name).
34636         * posix/globtest.sh (elf_objpfx): Remove variable.
34637         (rtld_installed_name): Likewise.
34638         (library_path): Likewise.
34639         (run_program_prefix): New variable.  Use for running globtest
34640         binary.
34641
34642 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
34643             Joseph Myers  <joseph@codesourcery.com>
34644
34645         * Makeconfig (host-built-program-cmd): New variable.
34646         * elf/Makefile (tst-stackguard1-ARGS): Use
34647         $(host-built-program-cmd).
34648         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
34649         (tst-spawn-ARGS): Likewise.
34650         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
34651
34652 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
34653             Jim Blandy  <jimb@codesourcery.com>
34654
34655         * Makeconfig (run-via-rtld-prefix): New variable.
34656         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
34657         (built-program-cmd): Likewise.
34658
34659 2012-10-22  Andreas Jaeger  <aj@suse.de>
34660
34661         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
34662         __O_RSYNC if it exists, otherwise to O_SYNC.
34663
34664 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
34665             Joseph Myers  <joseph@codesourcery.com>
34666
34667         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
34668         /dev/null.
34669         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
34670         from /dev/null
34671         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
34672         /dev/null.
34673
34674 2012-10-22  Andreas Jaeger  <aj@suse.de>
34675
34676         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
34677         Define always.
34678         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
34679
34680         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34681         bits/fcntl-linux.h.
34682
34683         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
34684         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
34685
34686         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
34687         to __O_LARGEFILE.
34688         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
34689         to __O_LARGEFILE.
34690
34691 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
34692             Joseph Myers  <joseph@codesourcery.com>
34693
34694         * config.make.in (NM): New variable.
34695
34696 2012-10-21  Andreas Jaeger  <aj@suse.de>
34697
34698         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
34699         definitions and declarations that are provided by
34700         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
34701
34702 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
34703
34704         [BZ #14683]
34705         * elf/Makefile (tests-static): Add tst-leaks1-static.
34706         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
34707         ($(objpfx)tst-leaks1-static): New rule.
34708         ($(objpfx)tst-leaks1-static-mem): Likewise.
34709         (tst-leaks1-static-ENV): New macro.
34710         * elf/dl-open.c (dl_open_worker): Check the main application
34711         only if SHARED is defined.
34712         * elf/tst-leaks1-static.c: New file.
34713
34714 2012-10-20  Andreas Jaeger  <aj@suse.de>
34715
34716         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
34717         generic values for Linux.
34718         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
34719         and declarations that are provided by <bits/fcntl-linux.h> and
34720         include <bits/fcntl-linux.h>.
34721         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34722         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34723
34724 2012-10-20  Roland McGrath  <roland@hack.frob.com>
34725
34726         * io/fcntl.h: Move include of <bits/types.h> to the top and
34727         include it unconditionally.
34728
34729 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
34730
34731         * wcsmbs/Makefile (tests-ifunc): New variable.
34732         (tests): Add $(tests-ifunc).
34733         * wcsmbs/test-wcschr-ifunc.c: New file.
34734         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
34735         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
34736         * wcsmbs/test-wcslen-ifunc.c: Likewise.
34737         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
34738         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
34739
34740         * string/Makefile (tests-ifunc): New variable.
34741         (tests): Add $(tests-ifunc).
34742         * string/test-memccpy.c (TEST_NAME): New macro.
34743         * string/test-memchr.c (TEST_NAME): Likewise.
34744         * string/test-memcmp.c (TEST_NAME): Likewise.
34745         * string/test-memcpy.c (TEST_NAME): Likewise.
34746         * string/test-memmem.c (TEST_NAME): Likewise.
34747         * string/test-memmove.c (TEST_NAME): Likewise.
34748         * string/test-memset.c (TEST_NAME): Likewise.
34749         * string/test-rawmemchr.c (TEST_NAME): Likewise.
34750         * string/test-stpcpy.c (TEST_NAME): Likewise.
34751         * string/test-stpncpy.c (TEST_NAME): Likewise.
34752         * string/test-strcasecmp.c (TEST_NAME): Likewise.
34753         * string/test-strcasestr.c (TEST_NAME): Likewise.
34754         * string/test-strcat.c (TEST_NAME): Likewise.
34755         * string/test-strchr.c (TEST_NAME): Likewise.
34756         * string/test-strcmp.c(TEST_NAME): Likewise.
34757         * string/test-strcpy.c (TEST_NAME): Likewise.
34758         * string/test-strcspn.c (TEST_NAME): Likewise.
34759         * string/test-strlen.c (TEST_NAME): Likewise.
34760         * string/test-strncasecmp.c (TEST_NAME): Likewise.
34761         * string/test-strncmp.c (TEST_NAME): Likewise.
34762         * string/test-strncpy.c (TEST_NAME): Likewise.
34763         * string/test-strnlen.c (TEST_NAME): Likewise.
34764         * string/test-strpbrk.c (TEST_NAME): Likewise.
34765         * string/test-strrchr.c (TEST_NAME): Likewise.
34766         * string/test-strspn.c (TEST_NAME): Likewise.
34767         * string/test-strstr.c (TEST_NAME): Likewise.
34768         * string/test-bcopy-ifunc.c: New file.
34769         * string/test-bzero-ifunc.c: Likewise.
34770         * string/test-memccpy-ifunc.c: Likewise.
34771         * string/test-memchr-ifunc.c: Likewise.
34772         * string/test-memcmp-ifunc.c: Likewise.
34773         * string/test-memcpy-ifunc.c: Likewise.
34774         * string/test-memmem-ifunc.c: Likewise.
34775         * string/test-memmove-ifunc.c: Likewise.
34776         * string/test-mempcpy-ifunc.c: Likewise.
34777         * string/test-memset-ifunc.c: Likewise.
34778         * string/test-rawmemchr-ifunc.c: Likewise.
34779         * string/test-stpcpy-ifunc.c: Likewise.
34780         * string/test-stpncpy-ifunc.c: Likewise.
34781         * string/test-strcasecmp-ifunc.c: Likewise.
34782         * string/test-strcasestr-ifunc.c: Likewise.
34783         * string/test-strcat-ifunc.c: Likewise.
34784         * string/test-strchr-ifunc.c: Likewise.
34785         * string/test-strchrnul-ifunc.c: Likewise.
34786         * string/test-strcmp-ifunc.c: Likewise.
34787         * string/test-strcpy-ifunc.c: Likewise.
34788         * string/test-strcspn-ifunc.c: Likewise.
34789         * string/test-strlen-ifunc.c: Likewise.
34790         * string/test-strncasecmp-ifunc.c: Likewise.
34791         * string/test-strncat-ifunc.c: Likewise.
34792         * string/test-strncmp-ifunc.c: Likewise.
34793         * string/test-strncpy-ifunc.c: Likewise.
34794         * string/test-strnlen-ifunc.c: Likewise.
34795         * string/test-strpbrk-ifunc.c: Likewise.
34796         * string/test-strrchr-ifunc.c: Likewise.
34797         * string/test-strspn-ifunc.c: Likewise.
34798         * string/test-strstr-ifunc.c: Likewise.
34799
34800         * debug/Makefile (tests-ifunc): New variable.
34801         (tests): Add $(tests-ifunc).
34802         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
34803         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
34804         * debug/test-stpcpy_chk-ifunc.c: New file.
34805         * debug/test-strcpy_chk-ifunc.c: Likewise.
34806
34807 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
34808
34809         [BZ #13601]
34810         * elf/dl-load.c (open_verify): Retry read if the entire ELF
34811         header is not read in.
34812
34813 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
34814
34815         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
34816         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
34817         directly.  Pass built executable to script as
34818         $(built-program-cmd).
34819         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
34820         $testprogram without using LD_LIBRARY_PATH and $ldso.
34821
34822         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
34823         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
34824         $(rtld-installed-name).
34825         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
34826         (rtld_installed_name): Likewise.
34827         (library_path): Likewise.
34828         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
34829         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
34830         $(run-program-prefix) to tst-tables.sh.
34831         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
34832         it to run tst-table-from and tst-table-to.
34833         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
34834         Pass it to tst-table.sh.
34835         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
34836         $(run-program-prefix) to tst-gettext.sh.
34837         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
34838         tst-translit.sh.
34839         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
34840         tst-gettext2.sh.
34841         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
34842         to run tst-gettext.
34843         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
34844         to run tst-gettext2.
34845         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
34846         to run tst-translit.
34847         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
34848         $(run-program-prefix) to tst-mtrace.sh.
34849         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
34850         to run tst-mtrace.
34851         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
34852         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
34853         $(rtld-installed-name).
34854         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
34855         (rtld_installed_name): Likewise.
34856         (run_program_prefix): New variable.  Use it to run wordexp-test.
34857
34858         * Makeconfig (ARCH): Remove all definitions.
34859         (machine): Likewise.
34860         [ARCH]: Remove conditional code.
34861         [!objdir]: Give error.
34862         [!objdir] (objpfx): Remove.
34863         [!objdir] (common-objpfx): Likewise.
34864         [!objdir] (common-objdir): Likewise.
34865         * configure.in (config_makefile): Remove.  Hardcode Makefile in
34866         AC_CONFIG_FILES call.
34867         * configure: Regenerated.
34868
34869         [BZ #13888]
34870         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
34871         or TMPDIR.
34872         (testout): Likewise.
34873
34874         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
34875         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
34876         $(rtld-installed-name).
34877         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
34878         (rtld_installed_name): Likwise.
34879         (runit): Remove function.
34880         (run_getconf): New variable,  Use it for running getconf binary.
34881
34882 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
34883
34884         [BZ #14716]
34885         * string/test-memmem.c (check_result): New function.
34886         (do_one_test): Use it.
34887         (check1): New function.
34888         (test_main): Use it.
34889
34890 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
34891
34892         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
34893
34894 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
34895
34896         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
34897         (_G_LSEEK64): Likewise.
34898         (_G_MMAP64): Likewise.
34899         (_G_FSTAT64): Likewise.
34900         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
34901         (_G_LSEEK64): Likewise.
34902         (_G_MMAP64): Likewise.
34903         (_G_FSTAT64): Likewise.
34904         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
34905         unconditional.  Call __mmap64 directly.
34906         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
34907         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
34908         __lseek64 directly.
34909         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
34910         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
34911         __mmap64 directly.
34912         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
34913         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
34914         __lseek64 directly.
34915         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
34916         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
34917         __lseek64 directly.
34918         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
34919         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
34920         __lseek64 directly.
34921         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
34922         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
34923         __fxstat64 directly.
34924         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
34925         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
34926         unconditional.
34927         (freopen64) [!_G_OPEN64]: Remove conditional code.
34928         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
34929         unconditional.
34930         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
34931         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
34932         unconditional.
34933         (ftello64) [!_G_LSEEK64]: Remove conditional code.
34934         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
34935         unconditional.
34936         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
34937         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
34938         unconditional.
34939         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
34940         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
34941         unconditional.
34942         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
34943         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
34944         unconditional.
34945         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
34946         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
34947         unconditional.
34948         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
34949
34950 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
34951
34952         [BZ #12140]
34953         * manual/memory.texi (Malloc Tunable Parameters): Add note
34954         about free list pointers overwriting some perturb bytes.
34955         Wording suggested by Roland McGrath.
34956
34957 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
34958
34959         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
34960         (lgamma_test): Likewise.
34961         (tgamma_test): Likewise.
34962
34963 2012-10-16  Florian Weimer  <fweimer@redhat.com>
34964
34965         [BZ #14700]
34966         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
34967         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
34968
34969 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
34970
34971         * NEWS: Mention BZ #14716.
34972         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
34973         when removing AVAILABLE1_USES_J macro.
34974
34975 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
34976
34977         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
34978         (__bswap_64): __uint64_t for unsigned 64-bit int.
34979
34980 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
34981
34982         * include/string.h (memmem): Declare libc hidden alias.
34983         * string/memmem.c (memmem): Define libc hidden alias.
34984         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
34985         __read, __close instead of open, read, close.
34986
34987 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
34988
34989         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
34990         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
34991         global and hidden.
34992         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
34993         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
34994         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
34995         Likewise.
34996         (__rawmemchr_sse2): Likewise.
34997         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
34998         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
34999         (__strchr_sse2): Likewise.
35000         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
35001         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
35002         (__strcasecmp_sse2): Likewise.
35003         (__strncasecmp_sse2): Likewise.
35004         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
35005         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
35006         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
35007         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
35008         (__strrchr_sse2): Likewise.
35009         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
35010         ifunc-impl-list.c.
35011         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
35012         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
35013         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
35014         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
35015         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
35016         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
35017         * sysdeps/x86_64/multiarch/memset.S: Likewise.
35018         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
35019         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
35020         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
35021         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
35022         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
35023         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
35024         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
35025         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
35026         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
35027         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
35028         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
35029         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
35030         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
35031         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
35032         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
35033         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
35034         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
35035         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
35036         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
35037         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
35038         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
35039         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
35040         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
35041
35042         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
35043         global and hidden.
35044         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
35045         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
35046         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
35047         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
35048         Likewise.
35049         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
35050         Likewise.
35051         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
35052         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
35053         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
35054         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
35055         ifunc-impl-list.c.
35056         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35057         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35058         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35059         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35060         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35061         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35062         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35063         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35064         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35065         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35066         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35067         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35068         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35069         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
35070         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
35071         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
35072         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
35073         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
35074         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35075         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
35076         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35077         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35078         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35079         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35080         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35081         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
35082         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
35083         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
35084         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
35085         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35086         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
35087         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35088         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35089         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
35090         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35091         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35092         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35093         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35094         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35095         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35096         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
35097
35098         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
35099         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
35100         * include/ifunc-impl-list.h: New file.
35101         * misc/ifunc-impl-list.c: Likewise.
35102         * misc/Makefile (routines): Add ifunc-impl-list.
35103         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
35104         * string/test-string.h: Include <ifunc-impl-list.h>.
35105         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
35106         TEST_NAME]: New variables.
35107         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
35108         are defined.
35109         (test_init): Call __libc_ifunc_impl_list to initialize
35110         func_list if TEST_IFUNC and TEST_NAME are defined.
35111
35112         * string/Makefile (strop-tests): Add bcopy and bzero.
35113         * string/test-bcopy.c: New file.
35114         * string/test-bzero.c: Likewise.
35115         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
35116         defined.
35117         * string/test-memset.c: Support bzero test if TEST_BZERO is
35118         defined.
35119         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
35120         __libc_memmove.
35121         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
35122         __libc_memset.
35123         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
35124         of memset.
35125
35126 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
35127
35128         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
35129         * configure: Regenerated.
35130
35131         * Makeconfig (+link-static-before-libc): Don't include
35132         $(link-static-libc).
35133
35134         * libio/libio.h (_IO_pos_t): Remove.
35135
35136 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
35137
35138         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
35139         McGrath.
35140
35141 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
35142
35143         * crypt/crypt-entry.c: Include fips-private.h.
35144         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
35145         * crypt/md5c-test.c (main): Tolerate disabled MD5.
35146         * sysdeps/unix/sysv/linux/fips-private.h: New file.
35147         * sysdeps/generic/fips-private.h: New file, dummy fallback.
35148
35149 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
35150
35151         * crypt/crypt-private.h: Include stdbool.h.
35152         (_ufc_setup_salt_r): Return bool.
35153         * crypt/crypt-entry.c: Include errno.h.
35154         (__crypt_r): Return NULL with EINVAL for bad salt.
35155         * crypt/crypt_util.c (bad_for_salt): New.
35156         (_ufc_setup_salt_r): Check that salt is long enough and within
35157         the specified alphabet.
35158         * crypt/badsalttest.c: New file.
35159         * crypt/Makefile (tests): Add it.
35160         ($(objpfx)badsalttest): New.
35161
35162 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
35163
35164         * NEWS: Add entry for BZ #14602.
35165
35166 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
35167
35168         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
35169         type-generic.
35170         * math/libm-test.inc: Update comment listing what functions and
35171         macros are tested.
35172         (isgreater_test): New function.
35173         (isgreaterequal_test): Likewise.
35174         (isless_test): Likewise.
35175         (islessequal_test): Likewise.
35176         (islessgreater_test): Likewise.
35177         (isunordered_test): Likewise.
35178         (main): Call the new functions.
35179
35180 2012-10-09  Roland McGrath  <roland@hack.frob.com>
35181
35182         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
35183         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
35184         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
35185         * sysdeps/i386/configure: Regenerated.
35186         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
35187         * sysdeps/mach/configure: Regenerated.
35188         * sysdeps/mach/hurd/configure: Regenerated.
35189         * sysdeps/powerpc/configure: Regenerated.
35190         * sysdeps/powerpc/powerpc32/configure: Regenerated.
35191         * sysdeps/powerpc/powerpc64/configure: Regenerated.
35192         * sysdeps/s390/s390-32/configure: Regenerated.
35193         * sysdeps/s390/s390-64/configure: Regenerated.
35194         * sysdeps/sh/configure: Regenerated.
35195         * sysdeps/sparc/configure: Regenerated.
35196         * sysdeps/unix/sysv/linux/configure: Regenerated.
35197         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
35198         * sysdeps/x86_64/configure: Regenerated.
35199
35200         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
35201         defined.  Don't check if MAP is NULL.
35202
35203 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
35204
35205         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
35206         (_G_stat64): Likewise.
35207         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
35208         (_G_stat64): Likewise.
35209         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
35210         instead of struct _G_stat64.
35211         * libio/fileops.c (mmap_remap_check): Likewise.
35212         (decide_maybe_mmap): Likewise.
35213         (_IO_new_file_seekoff): Likewise.
35214         (_IO_file_stat): Likewise.
35215         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
35216         _G_off64_t.
35217         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
35218         instead of struct _G_stat64.
35219         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
35220
35221 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
35222
35223         [BZ #14602]
35224         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
35225         Replace with ...
35226         (CHECK_EOL): New macro.
35227         (two_way_short_needle): Check beginning of haystack for EOL.  Use
35228         CHECK_EOL.
35229         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
35230         Replace with CHECK_EOL.
35231         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
35232         Replace with CHECK_EOL.
35233
35234 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
35235
35236         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
35237         type-generic.
35238         * math/libm-test.inc: Update comment listing what functions and
35239         macros are tested.
35240         (finite_test): New function.
35241         (isinf_test): Likewise.
35242         (isnan_test): Likewise.
35243         (fpclassify_test): Test subnormal input.
35244         (isfinite_test): Likewise.
35245         (isnormal_test): Likewise.
35246         (main): Call the new functions.
35247
35248 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
35249
35250         [BZ #14660]
35251         * Makerules (%.dynsym): Force C locale when running
35252         $(OBJDUMP) --dynamic-syms.
35253
35254 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
35255
35256         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
35257         <stdint.h>.
35258
35259 2012-10-06  David S. Miller  <davem@davemloft.net>
35260
35261         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
35262         upper 32-bits of the length value in %o2 since we use branch-on-register
35263         tests which consider the entire 64-bit register.
35264
35265 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
35266
35267         * string/test-strstr.c (check2): Add a test for page boundary.
35268
35269 2012-10-05  David S. Miller  <davem@davemloft.net>
35270
35271         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
35272         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
35273         file.
35274         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
35275         sysdep_routines.
35276         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
35277         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
35278         and bzero when HWCAP_SPARC_CRYPTO is present.
35279
35280 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
35281
35282         [BZ #14602]
35283         * string/test-strstr.c (check2): New function.
35284         (test_main): Call check2.
35285
35286         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
35287         and bug-strchr1.
35288         * string/bug-strcasestr1.c (do_test): Moved to ...
35289         * string/test-strcasestr.c (check1): Here.  New function.
35290         (do_one_test): Break out result checking code into ...
35291         (check_result): This.  New function.
35292         (do_one_test): Call check_result.
35293         (test_main): Call check1.
35294         * string/bug-strchr1.c (do_test): Moved to ...
35295         * string/test-strchr.c (check1): Here.  New function.
35296         (do_one_test): Break out result checking code into ...
35297         (check_result): This.  New function.
35298         (do_one_test): Call check_result.
35299         (test_main): Call check1.
35300         * string/bug-strstr1.c (main): Moved to ...
35301         * string/test-strstr.c (check1): Here.  New function.
35302         (do_one_test): Break out result checking code into ...
35303         (check_result): This.  New function.
35304         (do_one_test): Call check_result.
35305         (test_main): Call check1.
35306         * string/bug-strcasestr1.c: Removed.
35307         * string/bug-strchr1.c: Likewise.
35308         * string/bug-strstr1.c: Likewise.
35309
35310         * elf/Makefile (dl-routines): Add hwcaps.
35311         * elf/dl-support.c (_dl_important_hwcaps): Removed.
35312         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
35313         (_dl_important_hwcaps): Moved to ...
35314         * elf/dl-hwcaps.c: Here.  New file.
35315         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
35316
35317         [BZ #14557]
35318         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
35319         if IS_IN_rtld isn't defined.
35320
35321         * elf/dl-support.c (_dl_sysinfo_map): New.
35322         Include "get-dynamic-info.h" and "setup-vdso.h".
35323         (_dl_non_dynamic_init): Call setup_vdso.
35324         * elf/dynamic-link.h: Don't include <assert.h>.
35325         (elf_get_dynamic_info): Moved to ...
35326         * elf/get-dynamic-info.h: Here.  New file.
35327         * elf/dynamic-link.h: Include "get-dynamic-info.h".
35328         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
35329         * elf/setup-vdso.h: Here.  New file.
35330         * elf/rtld.c: Include "setup-vdso.h".
35331         (dl_main): Call setup_vdso.
35332
35333 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
35334
35335         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
35336         creal in comment listing functions tested.  List finite, isinf,
35337         isnan, isless, islessequal, isgreater, isgreaterequal,
35338         islessgreater, isunordered, lgamma_r and pow10 as functions and
35339         macros not tested.  Mention which functions not tested are aliases
35340         for other functions.  Fix typo.  Note that signs of NaNs are not
35341         tested.
35342
35343         * scripts/config.guess: Update from config.git.
35344         * scripts/config.sub: Likewise.
35345
35346 2012-10-04  Roland McGrath  <roland@hack.frob.com>
35347
35348         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
35349         * misc/madvise.c (madvise): Renamed to __madvise.
35350         Make madvise a weak alias.
35351         * include/sys/mman.h: Declare __madvise.
35352         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
35353         * sysdeps/unix/syscalls.list
35354         (madvise): Make __madvise the strong name, and madvise a weak alias.
35355         * sysdeps/unix/sysv/linux/syscalls.list
35356         (madvise, mmap): Remove redundant entries.
35357         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
35358         * malloc/malloc.c (mtrim): Likewise.
35359         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
35360
35361 2012-10-03  Roland McGrath  <roland@hack.frob.com>
35362
35363         * sysdeps/mach/hurd/dl-cache.c: File removed.
35364         * config.h.in (USE_LDCONFIG): New #undef.
35365         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
35366         * configure: Regenerated.
35367         * elf/Makefile (dl-routines): Add dl-cache only under
35368         [$(use-ldconfig) = yes].
35369         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
35370         cache on [USE_LDCONFIG].
35371         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
35372         [USE_LDCONFIG].
35373         * elf/rtld.c (dl_main): Likewise.
35374
35375 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
35376
35377         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
35378         _SC_LEVEL4_CACHE_LINESIZE.
35379
35380 2012-10-03  Roland McGrath  <roland@hack.frob.com>
35381
35382         * sysdeps/unix/bsd/confstr.h: File removed.
35383
35384 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
35385
35386         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
35387         sys/sdt-config.h.
35388
35389 2012-10-02  Roland McGrath  <roland@hack.frob.com>
35390
35391         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
35392         Make 'mapoff' field ElfW(Off) rather than off_t.
35393
35394 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
35395
35396         * nscd/Makefile: Remove nscd-cflags and all its users.
35397         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
35398         (CFLAGS-nonlib): Add compiler flags for nscd modules.
35399
35400         [BZ #10631]
35401         * malloc.c (malloc_printerr): Clarify error message.
35402
35403 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
35404
35405         [BZ #14648]
35406         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35407         Set bit_FMA_Usable if FMA is supported.
35408         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
35409         macro.
35410         (bit_FMA4_Usable): Updated.
35411         (index_FMA_Usable): New macro.
35412         (CPUID_FMA): Likewise
35413         (HAS_FMA): Defined with bit_FMA_Usable.
35414
35415 2012-10-01  Roland McGrath  <roland@hack.frob.com>
35416
35417         * bits/types.h (__swblk_t): Type removed.
35418         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
35419         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
35420         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35421         (__SWBLK_T_TYPE): Likewise.
35422         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
35423         (__SWBLK_T_TYPE): Likewise.
35424         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35425         (__SWBLK_T_TYPE): Likewise.
35426         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35427         (__SWBLK_T_TYPE): Likewise.
35428
35429 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
35430             Honza Horak <hhorak@redhat.com>
35431
35432         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
35433         (xdr_mapname): Use YPMAXMAP as maxsize.
35434         (xdr_peername): Use YPMAXPEER as maxsize.
35435         (xdr_keydat): Use YPAXRECORD as maxsize.
35436         (xdr_valdat): Use YPMAXRECORD as maxsize.
35437
35438 2012-10-01  Roland McGrath  <roland@hack.frob.com>
35439
35440         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
35441
35442         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
35443         * csu/init-first.c: ... here.
35444         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
35445         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
35446         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
35447         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
35448         * sysdeps/i386/init-first.c: File removed.
35449         * sysdeps/sh/init-first.c: File removed.
35450
35451 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
35452
35453         [BZ #14645]
35454         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
35455         if x * y might underflow to zero and z is zero.
35456         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35457         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35458         * math/libm-test.inc (min_subnorm_value): New variable.
35459         (fma_test): Add more tests.
35460         (fma_test_towardzero): Likewise.
35461         (fma_test_downward): Likewise
35462         (fma_test_upward): Likewise.
35463         (initialize): Set min_subnorm_value.
35464
35465 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
35466
35467         [BZ #14638]
35468         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
35469         0 + 0.
35470         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
35471         mode for addition resulting in exact zero.
35472         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
35473         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
35474         exact 0 + 0.
35475         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
35476         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35477         * math/libm-test.inc (fma_test): Add more tests.
35478         (fma_test_towardzero): New function.
35479         (fma_test_downward): Likewise.
35480         (fma_test_upward): Likewise.
35481         (main): Call the new functions.
35482
35483 2012-09-28  David S. Miller  <davem@davemloft.net>
35484
35485         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
35486
35487 2012-09-28  Roland McGrath  <roland@hack.frob.com>
35488
35489         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
35490         instead of SIGALRM.
35491
35492         * sysdeps/gnu/_G_config.h: Moved to ...
35493         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
35494         * sysdeps/mach/hurd/_G_config.h: Moved to ...
35495         * sysdeps/generic/_G_config.h: ... here.
35496
35497         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
35498
35499         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
35500
35501         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
35502         Conditionalize target on [libnss_test1.so-version].
35503
35504         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
35505
35506         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
35507         (elfobjdir): Move out of conditionals.
35508
35509         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
35510         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
35511         (__nss_lookup_function): Conditionalize label remove_from_tree on
35512         [!DO_STATIC_NSS || SHARED], matching its only use.
35513
35514 2012-09-28  David S. Miller  <davem@davemloft.net>
35515
35516         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
35517         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
35518         file.
35519         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
35520         sysdep_routines.
35521         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
35522         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
35523         when HWCAP_SPARC_CRYPTO is present.
35524
35525 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
35526
35527         * io/tst-mknodat.c: Create a FIFO instead of a socket.
35528
35529 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
35530
35531         [BZ #6530]
35532         * stdio-common/vfprintf.c (process_string_arg): Revert
35533         2000-07-22 change.
35534
35535 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
35536
35537         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
35538         for testcase.
35539         * stdio-common/tst-sprintf.c: Include <locale.h>
35540         (main): Test sprintf's handling of incomplete multibyte
35541         characters.
35542
35543 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
35544
35545         * elf/dl-runtime.c (VERSYMIDX): Removed.
35546         * elf/dl-version.c (VERSYMIDX): Likewise.
35547         * elf/do-rel.h (VERSYMIDX): Likewise.
35548         (VALIDX): Likewise.
35549         * elf/dynamic-link.h (VERSYMIDX): Likewise.
35550         * elf/rtld.c (VALIDX): Likewise.
35551         (ADDRIDX): Likewise.
35552         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
35553         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
35554         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
35555         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
35556         (VALIDX): Likewise.
35557         (ADDRIDX): Likewise.
35558
35559 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
35560
35561         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
35562
35563 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
35564
35565         [BZ #11438]
35566         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
35567         to global scope.
35568         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
35569         addresses are in the same scope as 192.0.2/24.
35570         * posix/gai.conf: Document new scope table defaults.
35571
35572 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
35573
35574         [BZ #5298]
35575         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
35576         for ftell.  Compute offsets from write pointers instead.
35577         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
35578
35579 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
35580
35581         [BZ #14543]
35582         * libio/Makefile (tests): New test case tst-fseek.
35583         * libio/tst-fseek.c: New test case to verify that fseek/ftell
35584         combination works in wide mode.
35585         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
35586         state when the external buffer state changes.
35587
35588 2012-09-27  David S. Miller  <davem@davemloft.net>
35589
35590         [BZ #14376]
35591         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
35592         pass reloc->r_addend in as the 'high' argument to
35593         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
35594
35595         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35596
35597 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
35598
35599         * rt/tst-aio2.c: Include <pthread.h>.
35600         * rt/tst-aio3.c: Likewise.
35601
35602 2012-09-27  Steve Ellcey  <sellcey@mips.com>
35603
35604         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
35605
35606 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
35607
35608         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
35609         contents on [SHARED].
35610
35611 2012-09-26  Marek Polacek  <polacek@redhat.com>
35612
35613         [BZ #14530]
35614         [BZ #13741]
35615         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
35616         for C++ and GCC <4.3 as well as for non GCC compilers.
35617
35618 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
35619
35620         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35621
35622 2012-09-25  Roland McGrath  <roland@hack.frob.com>
35623
35624         * Makefile.in (all, install): Declare with .PHONY.
35625         Reported by Michael Hope <michael.hope@linaro.org>.
35626
35627 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35628
35629         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
35630         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
35631         system header.
35632         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
35633         Likewise.
35634         (sydep_routines): Add the new and the internal functions.
35635         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
35636         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
35637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
35638         (GLIBC_2.17): Add the new function.
35639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
35640         (GLIBC_2.17): Likewise.
35641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
35642         (GLIBC_2.17): Likewise.
35643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
35644         (GLIBC_2.17): Likewise.
35645         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
35646
35647 2012-09-25  Alan Modra  <amodra@gmail.com>
35648
35649         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
35650         Add release barrier before setting once_control to say
35651         initialisation is done.  Add hints on lwarx.  Use macro in
35652         place of isync.
35653         (clear_once_control): Add release barrier.
35654
35655 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
35656
35657         [BZ #13629]
35658         * math/s_clog.c (__clog): Handle more values close to |z| = 1
35659         specially.
35660         * math/s_clog10.c (__clog10): Likewise.
35661         * math/s_clog10f.c (__clog10f): Likewise.
35662         * math/s_clog10l.c (__clog10l): Likewise.
35663         * math/s_clogf.c (__clogf): Likewise.
35664         * math/s_clogl.c (__clogl): Likewise.
35665         * math/Makefile (libm-calls): Add x2y2m1.
35666         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
35667         (__x2y2m1): Likewise.
35668         (__x2y2m1l): Likewise.
35669         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
35670         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
35671         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
35672         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
35673         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
35674         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
35675         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
35676         * sysdeps/i386/fpu/libm-test-ulps: Update.
35677         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35678
35679         [BZ #14621]
35680         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
35681         int as type of variable DEPTH.
35682         (glob): Use size_t instead of int as type of variables NEWCOUNT
35683         and OLD_PATHC.
35684
35685 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35686
35687         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
35688         Add s_sincosf-sse2.
35689         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
35690         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
35691         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
35692         macros for using routine as __sincosf_ia32.
35693         Use macro for function declaration and weak_alias.
35694         * sysdeps/i386/fpu/libm-test-ulps: Update.
35695
35696         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
35697         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35698
35699         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
35700         subnormal argument.
35701         * math/s_cexpf.c (__cexpf): Likewise.
35702         * math/s_csinf.c (__csinf): Likewise.
35703         * math/s_csinhf.c (__csinhf): Likewise.
35704         * math/s_ctanf.c (__ctanf): Likewise.
35705         * math/s_ctanhf.c (__ctanhf): Likewise.
35706         * math/s_ccosh.c (__ccoshf): Likewise.
35707         * math/s_cexp.c (__cexpl): Likewise.
35708         * math/s_csin.c (__csin): Likewise.
35709         * math/s_csinh.c (__csinh): Likewise.
35710         * math/s_ctan.c (__ctan): Likewise.
35711         * math/s_ctanh.c (ctanh): Likewise.
35712         * math/s_ccoshl.c (__ccoshl): Likewise.
35713         * math/s_cexpl.c (__cexpl): Likewise.
35714         * math/s_csinl.c (__csinl): Likewise.
35715         * math/s_csinhl.c (__csinhl): Likewise.
35716         * math/s_ctanl.c (__ctanl): Likewise.
35717         * math/s_ctanhl.c (__ctanhl): Likewise.
35718
35719 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
35720
35721         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
35722         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
35723         (_IO_off_t): Define to __off_t, not _G_off_t.
35724         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
35725         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
35726         (_IO_wint_t): Define to wint_t, not _G_wint_t.
35727         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
35728         type of __dummy and __dummy2 fields.
35729         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
35730         (_G_ssize_t): Likewise.
35731         (_G_off_t): Likewise.
35732         (_G_pid_t): Likewise.
35733         (_G_uid_t): Likewise.
35734         (_G_wchar_t): Likewise.
35735         (_G_wint_t): Likewise.
35736         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
35737         (_G_ssize_t): Likewise.
35738         (_G_off_t): Likewise.
35739         (_G_pid_t): Likewise.
35740         (_G_uid_t): Likewise.
35741         (_G_wchar_t): Likewise.
35742         (_G_wint_t): Likewise.
35743         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
35744         (_G_ssize_t): Likewise.
35745         (_G_off_t): Likewise.
35746         (_G_pid_t): Likewise.
35747         (_G_uid_t): Likewise.
35748         (_G_wchar_t): Likewise.
35749         (_G_wint_t): Likewise.
35750
35751 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
35752
35753         * malloc/arena.c: Include malloc-sysdep.h.
35754         (shrink_heap): Use check_may_shrink_heap to decide if madvise
35755         is sufficient to shrink the heap or an unmap is needed.
35756         * sysdeps/generic/malloc-sysdep.h: New file.  Define
35757         new function check_may_shrink_heap.
35758         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
35759         new function check_may_shrink_heap.
35760
35761 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
35762
35763         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
35764         comments.
35765
35766 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
35767
35768         * catgets/test-gencat.sh: Add "set -e".
35769         * elf/tst-pathopt.sh: Likewise.
35770         * grp/tst_fgetgrent.sh: Likewise.
35771         * iconvdata/run-iconv-test.sh: Likewise.
35772         * intl/tst-gettext.sh: Likewise.
35773         * intl/tst-gettext2.sh: Likewise.
35774         * intl/tst-gettext4.sh: Likewise.
35775         * intl/tst-gettext6.sh: Likewise.
35776         * intl/tst-translit.sh: Likewise.
35777         * io/ftwtest-sh: Likewise.
35778         * libio/test-freopen.sh: Likewise.
35779         * malloc/tst-mtrace.sh: Likewise.
35780         * posix/globtest.sh: Likewise.
35781         * posix/tst-getconf.sh: Likewise.
35782         * posix/wordexp-tst.sh: Likewise.
35783         * stdio-common/tst-printf.sh: Likewise.
35784         * stdio-common/tst-unbputc.sh: Likewise.
35785         * stdlib/tst-fmtmsg.sh: Likewise.
35786         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
35787         * catgets/Makefile: Do not specify -e option when running
35788         testsuite shell scripts.
35789         * elf/Makefile: Likewise.
35790         * grp/Makefile: Likewise.
35791         * iconvdata/Makefile: Likewise.
35792         * intl/Makefile: Likewise.
35793         * io/Makefile: Likewise.
35794         * libio/Makefile: Likewise.
35795         * malloc/Makefile: Likewise.
35796         * posix/Makefile: Likewise.
35797         * stdio-common/Makefile: Likewise.
35798         * stdlib/Makefile: Likewise.
35799         * sysdeps/x86_64/Makefile: Likewise.
35800
35801         * io/ftwtest-sh: Add copyright header.
35802         * posix/globtest.sh: Likewise.
35803         * posix/tst-getconf.sh: Likewise.
35804         * posix/wordexp-tst.sh: Likewise.
35805         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
35806
35807 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
35808
35809         [BZ #13679]
35810         * Makeconfig (+link): Defined as $(+link-static) if
35811         $(build-shared) isn't yes.
35812         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
35813         isn't yes.
35814         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
35815
35816         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
35817
35818         [BZ #14562]
35819         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
35820         new chunk size with MALLOC_ALIGN_MASK.
35821
35822 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
35823
35824         [BZ #5044]
35825         * stdio-common/printf_fphex.c: Include <stdbool.h> and
35826         <rounding-mode.h>.
35827         (__printf_fphex): Determine rounding using get_rounding_mode and
35828         round_away.
35829         * stdio-common/tst-printf-round.c (struct hex_test): New
35830         structure.
35831         (hex_tests): New variable.
35832         (test_hex_in_one_mode): New function.
35833         (do_test): Also run tests for hex float output.
35834
35835 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
35836
35837         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
35838         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
35839         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
35840         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
35841         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
35842         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
35843         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
35844         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
35845
35846 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
35847
35848         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
35849         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
35850         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
35851         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
35852
35853 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
35854
35855         [BZ #14579]
35856         * elf/rtld.c (dl_main): Limit the check for self loading to normal
35857         mode only.
35858         * elf/tst-rtld-load-self.sh: New test.
35859         * elf/Makefile: Run it.
35860
35861 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
35862
35863         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
35864         (tst-writev-ENV): Remove.
35865         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
35866
35867 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
35868
35869         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
35870
35871 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
35872
35873         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
35874         unconditional.
35875         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
35876         Likewise.
35877         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
35878         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
35879         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
35880         Likewise.
35881
35882 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
35883
35884         [BZ #14587]
35885         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
35886         * config.make.in (have-cpp-asm-debuginfo): Removed.
35887         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
35888         * configure: Regenerated.
35889
35890 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
35891
35892         [BZ #5044]
35893         * stdio-common/printf_fp.c: Include <stdbool.h> and
35894         <rounding-mode.h>.
35895         (___printf_fp): Determine rounding using get_rounding_mode and
35896         round_away.
35897         * stdio-common/tst-printf-round.c: New file.
35898         * stdio-common/Makefile (tests): Add tst-printf-round.
35899         (link-libm): New variable.
35900         ($(objpfx)tst-printf-round): Depend in $(link-libm).
35901
35902 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
35903
35904         [BZ #14576]
35905         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
35906         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
35907         Likewise.
35908         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
35909         Likewise.
35910
35911 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
35912
35913         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
35914         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
35915         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
35916         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
35917
35918 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
35919
35920         [BZ #14518]
35921         * include/rounding-mode.h: New file.
35922         * sysdeps/generic/get-rounding-mode.h: Likewise.
35923         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
35924         * stdlib/strtod_l.c: Include <rounding-mode.h>.
35925         (MAX_VALUE): New macro.
35926         (MIN_VALUE): Likewise.
35927         (overflow_value): New function.
35928         (underflow_value): Likewise.
35929         (round_and_return): Use overflow_value and underflow_value to
35930         determine return values in overflow and underflow cases.  Use
35931         round_away to determine rounding depending on rounding mode.
35932         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
35933         determine return values in overflow and underflow cases.
35934         * stdlib/tst-strtod-round.c: Include <fenv.h>.
35935         (struct test_results): New structure.
35936         (struct test): Use struct test_results to store expected results
35937         for all rounding modes.
35938         (TEST): Include expected results for all rounding modes.
35939         (test_in_one_mode): New function.
35940         (do_test): Use test_in_one_mode to compute and check results.
35941         Check results for all rounding modes.
35942         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
35943         $(link-libm).
35944
35945 2012-12-09  Allan McRae  <allan@archlinux.org>
35946
35947         * sysdeps/i386/fpu/libm-test-ulps: Update
35948
35949 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
35950
35951         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
35952         (_G_int32_t): Likewise.
35953         (_G_uint16_t): Likewise.
35954         (_G_uint32_t): Likewise.
35955         (_G_HAVE_BOOL): Likewise.
35956         (_G_HAVE_ATEXIT): Likewise.
35957         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
35958         (_G_HAVE_IO_FILE_OPEN): Likewise.
35959         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
35960         (_G_int32_t): Likewise.
35961         (_G_uint16_t): Likewise.
35962         (_G_uint32_t): Likewise.
35963         (_G_HAVE_BOOL): Likewise.
35964         (_G_HAVE_ATEXIT): Likewise.
35965         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
35966         (_G_HAVE_IO_FILE_OPEN): Likewise.
35967         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
35968         (_G_int32_t): Likewise.
35969         (_G_uint16_t): Likewise.
35970         (_G_uint32_t): Likewise.
35971         (_G_HAVE_BOOL): Likewise.
35972         (_G_HAVE_ATEXIT): Likewise.
35973         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
35974         (_G_HAVE_IO_FILE_OPEN): Likewise.
35975
35976 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
35977
35978         * csu/libc-tls.c: Update copyright years.
35979
35980 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
35981
35982         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
35983         [!_G_USING_THUNKS]: Remove conditional code.
35984         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
35985         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
35986
35987         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
35988         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
35989         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
35990         (_G_VTABLE_LABEL_PREFIX): Likewise.
35991         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
35992         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
35993         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
35994         (_G_VTABLE_LABEL_PREFIX): Likewise.
35995         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
35996         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
35997         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
35998         (_G_VTABLE_LABEL_PREFIX): Likewise.
35999         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
36000
36001 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
36002
36003         * libio/Makefile: Include ../Makeconfig before tests.
36004         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
36005         only if $(build-shared) is yes.
36006
36007         * iconv/gconv_db.c: Update copyright years.
36008
36009 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36010
36011         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
36012         unwind info if defined PIC. Fix special cases description.
36013         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
36014
36015         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
36016         DP_HI_MASK entry.
36017         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
36018
36019 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
36020
36021         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
36022
36023         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
36024         is NULL.
36025
36026         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
36027         (LDLIBS-tst-chk4): This.
36028         (LDFLAGS-tst-chk5): Renamed to ...
36029         (LDLIBS-tst-chk5): This.
36030         (LDFLAGS-tst-chk6): Renamed to ...
36031         (LDLIBS-tst-chk6): This.
36032         (LDFLAGS-tst-lfschk4): Renamed to ...
36033         (LDLIBS-tst-lfschk4): This.
36034         (LDFLAGS-tst-lfschk5): Renamed to ...
36035         (LDLIBS-tst-lfschk5): This.
36036         (LDFLAGS-tst-lfschk6): Renamed to ...
36037         (LDLIBS-tst-lfschk6): This.
36038
36039         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
36040         on $(common-objpfx)soversions.mk.
36041
36042 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
36043
36044         [BZ #10014]
36045         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
36046         example host name.
36047
36048 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
36049
36050         * malloc/arena.c (arena_get_retry): New function that gets
36051         another arena for the caller to try its request on.
36052         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
36053         current arena cannot fulfill the request.
36054         (__libc_memalign): Likewise.
36055         (__libc_memalign): Likewise.
36056         (__libc_pvalloc): Likewise.
36057         (__libc_calloc): Likewise.
36058
36059 2012-09-05  John Tobey  <john.tobey@gmail.com>
36060
36061         [BZ #13542]
36062         * manual/arith.texi (Operations on Complex): Fix description
36063         of carg branch cut.
36064
36065 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
36066
36067         [BZ #10014]
36068         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
36069         host name.
36070
36071         [BZ #10038]
36072         * manual/memory.texi (Memory): Make order of menu items match
36073         order of sections.
36074
36075 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
36076
36077         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
36078         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
36079         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
36080
36081 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
36082
36083         * csu/libc-tls.c (static_dtv): Renamed to ...
36084         (_dl_static_dtv): This.  Make it global.
36085         (_dl_initial_dtv): Removed.
36086         (__libc_setup_tls): Updated.
36087         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
36088         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
36089         DL_INITIAL_DTV.
36090
36091 2012-09-06  Petr Machata  <pmachata@redhat.com>
36092
36093         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
36094         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
36095         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
36096         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
36097
36098 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
36099
36100         [BZ #14545]
36101         * csu/libc-tls.c (_dl_initial_dtv): New variable.
36102         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
36103         freeing dtv[-1].
36104
36105 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
36106
36107         [BZ #14544]
36108         * Makeconfig (link-static-before-libc): Replace $(+prector)
36109         with $(+prectorT).
36110         (link-static-after-libc): Replace $(+postctor) with
36111         $(+postctorT).
36112         (link-bounded): Replace $(+prector)/$(+postctor) with
36113         $(+prectorT)/$(+postctorT).
36114         (+prectorT): New macro.
36115         (+postctorT): Likewise.
36116
36117 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
36118
36119         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
36120         (round_str): Handle values above the maximum for IBM long double
36121         as inexact.
36122         * stdlib/tst-strtod-round.c (tests): Regenerated.
36123
36124 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36125
36126         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
36127         assembler flag.
36128         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
36129         zarch_nohighgprs around the zarch optimized routines.
36130         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
36131         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
36132         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
36133         for zarch.
36134
36135 2012-09-05  David S. Miller  <davem@davemloft.net>
36136
36137         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36138
36139         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
36140         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
36141         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
36142         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
36143         entries.
36144
36145 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
36146
36147         * malloc/arena.c: Fold copyright years.
36148         * malloc/mcheck.c, malloc/memusage.c: Likewise.
36149
36150 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
36151
36152         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
36153
36154 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
36155
36156         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
36157
36158 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
36159
36160         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
36161         change internal state upon failure.
36162
36163 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
36164
36165         * malloc/mcheck.c (mcheck_check_all): Fix typo.
36166         * malloc/memusage.c (mmap): Likewise.
36167         (mmap64, mremap): Likewise.  Adjust name in comment.
36168
36169 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
36170
36171         * libio/fileops.c: Fix typos in comments.
36172         * libio/oldfileops.c: Likewise.
36173         * libio/wfileops.c: Likewise.
36174
36175 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
36176
36177         [BZ #1349]
36178         * malloc/Makefile (tests): Add tst-malloc-usable test case.
36179         (tst-malloc-usable-ENV): Set environment for test case.
36180         * malloc/hooks.c (malloc_check_get_size): New function to get
36181         requested size.
36182         * malloc/malloc.c (musable): Use malloc_check_get_size.
36183         * malloc/tst-malloc-usable.c: New test case.
36184
36185 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
36186
36187         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
36188
36189 2012-09-05  Allan McRae  <allan@archlinux.org>
36190
36191         [BZ #13966]
36192         * configure.in (CXX_SYSINCLUDES): Use compiler output to
36193         determine header location.
36194         * configure: Regenerated.
36195
36196 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
36197
36198         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
36199         float format.
36200         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
36201         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
36202         format.
36203         (test): Regenerate.
36204
36205 2012-09-04  David S. Miller  <davem@davemloft.net>
36206
36207         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
36208         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
36209         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
36210
36211 2012-09-04  Florian Weimer  <fweimer@redhat.com>
36212
36213         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
36214         failures.
36215
36216         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
36217
36218 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
36219
36220         [BZ #9914]
36221         * libio/iogetdelim.c: Include <limits.h>.
36222         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
36223         + len + 1 would overflow.
36224
36225 2012-09-03  Andreas Jaeger  <aj@suse.de>
36226
36227         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36228         * sysdeps/i386/fpu/libm-test-ulps: Update.
36229
36230 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36231
36232         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
36233         Add s_sinf-sse2, s_conf-sse2.
36234
36235         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
36236         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
36237         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
36238         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
36239
36240         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
36241         for using routine as __sinf_ia32.
36242         Use macro for function declaration and weak_alias.
36243         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
36244         for using routine as __cosf_ia32.
36245         Use macro for function declaration and weak_alias.
36246
36247         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
36248         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
36249
36250         * sysdeps/x86_64/fpu/s_sinf.S: New file.
36251         * sysdeps/x86_64/fpu/s_cosf.S: New file.
36252         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36253
36254         * math/libm-test.inc (cos_test): Add more test cases.
36255         (sin_test): Likewise.
36256         (sincos_test): Likewise.
36257
36258 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36259
36260         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
36261         (IFUNC_RESOLVE): Make pointers to the specialized implementations
36262         hidden.
36263         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
36264
36265 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
36266
36267         [BZ #14538]
36268         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
36269         first element of the GOT.
36270         (elf_machine_load_address): Return the difference between
36271         the runtime address of _DYNAMIC and elf_machine_dynamic ().
36272
36273 2012-09-01  Allan McRae  <allan@archlinux.org>
36274
36275         [BZ #13412]
36276         * configure.in (AWK): Require gawk version 3.0 or later.
36277         * configure: Regenerated.
36278
36279 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
36280
36281         * sysdeps/unix/sysv/linux/kernel-features.h
36282         (__ASSUME_POSIX_CPU_TIMERS): Remove.
36283         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
36284         [__NR_clock_getres]: Make code unconditional.
36285         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
36286         (clock_getcpuclockid): Remove code left unreachable by removal of
36287         conditionals.
36288         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
36289         code unconditional.
36290         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
36291         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
36292         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
36293         Make code unconditional.
36294         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
36295         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
36296         * sysdeps/unix/sysv/linux/clock_settime.c
36297         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
36298         conditional code.
36299         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
36300         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
36301
36302 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
36303
36304         [BZ #14476]
36305         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
36306         scripts/test-installation.pl.
36307
36308         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
36309         and $ld_so_version if it is set.
36310
36311 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
36312
36313         [BZ #14516]
36314         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
36315         failure if reading from procfs failed.
36316         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
36317
36318 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
36319
36320         * sysdeps/unix/sysv/linux/kernel-features.h
36321         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
36322         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
36323         Remove conditional code.
36324         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36325         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
36326         Remove conditional code.
36327         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36328         * sysdeps/unix/sysv/linux/i386/fxstat.c
36329         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
36330         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36331         * sysdeps/unix/sysv/linux/i386/fxstatat.c
36332         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
36333         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36334         * sysdeps/unix/sysv/linux/i386/lxstat.c
36335         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
36336         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36337         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
36338         Remove conditional code.
36339         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36340         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
36341         Remove conditional code.
36342         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36343         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
36344         <kernel-features.h>.
36345         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
36346         Remove.
36347         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
36348         Remove conditional code.
36349         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36350         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
36351         Remove conditional.
36352
36353 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
36354
36355         [BZ #5400]
36356         * NEWS: Add fixed bug number.
36357
36358 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
36359
36360         [BZ #14519]
36361         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
36362         underflowing exponent in case of negative sign.
36363         * stdlib/tst-strtod-round-data: Add more tests.
36364         * stdlib/tst-strtod-round.c (tests): Regenerated.
36365
36366         [BZ #3479]
36367         * stdlib/strtod_l.c (NDIG): Remove.
36368         (HEXNDIG): Likewise.
36369         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
36370         smallest representable value.
36371         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
36372         lie within an exact representation of 1/2 ulp of the result.
36373         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
36374         unconditionally.
36375         (TENS_P9_IDX): Define unconditionally.
36376         (TENS_P9_SIZE): Likewise.
36377         (TENS_P10_IDX): Likewise.
36378         (TENS_P10_SIZE): Likewise.
36379         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
36380         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
36381         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
36382         entries for 10^2^13 and 10^2^14.
36383         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
36384         (TENS_P13_IDX): Define.
36385         (TENS_P13_SIZE): Likewise.
36386         (TENS_P14_IDX): Likewise.
36387         (TENS_P14_SIZE): Likewise.
36388         (_fpioconst_pow10): Change array size to
36389         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
36390         unconditional.
36391         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
36392         1024]: Add entries for 10^2^13 and 10^2^14.
36393         [LAST_POW10 > _LAST_POW10]: Remove #error.
36394         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
36395         (_fpioconst_pow10): Change array size to
36396         FPIOCONST_POW10_ARRAY_SIZE.
36397         * stdlib/gen-fpioconst.c: New file.
36398         * stdlib/gen-tst-strtod-round.c: Likewise.
36399         * stdlib/tst-strtod-round-data: Likewise.
36400         * stdlib/tst-strtod-round.c: Likewise.
36401         * stdlib/Makefile (tests): Add tst-strtod-round.
36402
36403         [BZ #14459]
36404         * stdlib/strtod_l.c: Include <stdint.h>.
36405         (NDEBUG): Do not define.
36406         (round_and_return): Change EXPONENT parameter to type intmax_t.
36407         Rearrange calculations to avoid internal overflow possibilities.
36408         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
36409         Rearrange calculations to avoid internal overflow possibilities.
36410         Assert that number fits inside MPNSIZE limbs.
36411         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
36412         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
36413         calculations and add assertions to avoid internal overflow
36414         possibilities.  Add casts to avoid signed/unsigned operations.
36415         * stdlib/tst-strtod-overflow.c: New file.
36416         * stdlib/Makefile (tests): Add tst-strtod-overflow.
36417
36418 2012-08-25  Marek Polacek  <polacek@redhat.com>
36419
36420         * time/time.h: Fix some typos in comments.
36421
36422 2012-08-23  Roland McGrath  <roland@hack.frob.com>
36423
36424         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
36425         * posix/tst-rfc3484-2.c: Likewise.
36426         * posix/tst-rfc3484-3.c: Likewise.
36427
36428 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
36429
36430         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
36431         (EF_ARM_ABI_FLOAT_HARD): Likewise.
36432
36433 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
36434
36435         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
36436         #include of fxstatat64.c.
36437
36438 2012-08-22  Roland McGrath  <roland@hack.frob.com>
36439
36440         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
36441         * shadow/getspent_r.c: Likewise.
36442         * shadow/getspnam.c: Likewise.
36443         * shadow/getspnam_r.c: Likewise.
36444         * gshadow/getsgent.c: Likewise.
36445         * gshadow/getsgent_r.c: Likewise.
36446         * gshadow/getsgnam.c: Likewise.
36447         * gshadow/getsgnam_r.c: Likewise.
36448         * inet/getnetbyad.c: Likewise.
36449         * inet/getnetbyad_r.c: Likewise.
36450         * inet/getnetbynm.c: Likewise.
36451         * inet/getnetbynm_r.c: Likewise.
36452         * inet/getnetent.c: Likewise.
36453         * inet/getnetent_r.c: Likewise.
36454         * inet/getproto.c: Likewise.
36455         * inet/getproto_r.c: Likewise.
36456         * inet/getprtent.c: Likewise.
36457         * inet/getprtent_r.c: Likewise.
36458         * inet/getprtname.c: Likewise.
36459         * inet/getprtname_r.c: Likewise.
36460         * inet/getrpcbyname.c: Likewise.
36461         * inet/getrpcbyname_r.c: Likewise.
36462         * inet/getrpcbynumber.c: Likewise.
36463         * inet/getrpcbynumber_r.c: Likewise.
36464         * inet/getrpcent.c: Likewise.
36465         * inet/getrpcent_r.c: Likewise.
36466         * inet/getaliasent.c: Likewise.
36467         * inet/getaliasent_r.c: Likewise.
36468         * inet/getaliasname.c: Likewise.
36469         * inet/getaliasname_r.c: Likewise.
36470         * nscd/getgrgid_r.c: Likewise.
36471         * nscd/getgrnam_r.c: Likewise.
36472         * nscd/gethstbyad_r.c: Likewise.
36473         * nscd/gethstbynm3_r.c: Likewise.
36474         * nscd/getpwnam_r.c: Likewise.
36475         * nscd/getpwuid_r.c: Likewise.
36476         * nscd/getsrvbynm_r.c: Likewise.
36477         * nscd/getsrvbypt_r.c: Likewise.
36478         * nscd/gai.c: Likewise.
36479
36480         * configure.in (build_nscd): New substituted variable, set
36481         by --disable-build-nscd and defaults to $use_nscd.
36482         * configure: Regenerated.
36483         * config.make.in (build-nscd): New substituted variable.
36484         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
36485         Change conditional to require [$(build-nscd) = yes] as well.
36486         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
36487
36488         [BZ# 13696]
36489         * configure.in (use_nscd): New substituted variable, set by
36490         --disable-nscd.  If enabled, define USE_NSCD.
36491         * configure: Regenerated.
36492         * config.h.in: Add USE_NSCD.
36493         * config.make.in (use-nscd): New substituted variable.
36494         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
36495         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
36496         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
36497         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
36498         (CFLAGS-getgrnam_r.c): Likewise.
36499         (CFLAGS-initgroups.c): Likewise.
36500         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
36501         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
36502         Variables removed.
36503         * inet/getnetgrent_r.c
36504         (nscd_setnetgrent): New function, broken out of ...
36505         (setnetgrent): ... here.  Call it.
36506         (innetgr): Conditionalize nscd bits on [USE_NSCD].
36507         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
36508         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
36509         * nscd/Makefile (routines, aux): Move definitions after include of
36510         Makeconfig.  Conditionalize on [$(use-nscd) != no].
36511         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
36512         Conditionalize on [USE_NSCD].
36513         (is_nscd, nscd_init_cb): Likewise.
36514         (nss_load_library): Conditionalize init callback on [USE_NSCD].
36515         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
36516         * nss/nss_db/db-init.c: Likewise.
36517         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
36518         [USE_NSCD].
36519         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
36520         (make_request): Use it.
36521         (cache_valid_p): New function.
36522         (__check_pf): Use it.
36523         * NEWS: Add item for --disable-nscd.
36524
36525 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
36526
36527         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
36528         to support sed >= 4.2.1-20-ga9bf076.
36529         * configure: Regenerated.
36530
36531 2012-08-22  Roland McGrath  <roland@hack.frob.com>
36532
36533         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
36534         Conditionalize whole body on [IREL].
36535
36536 2012-08-22  Jeff Law <law@redhat.com>
36537
36538         [BZ #14505]
36539         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
36540         if the family is PF_UNSPEC.
36541
36542 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
36543
36544         * Makerules (lib-version): Rename from V.
36545         (install-lib-nosubdir): Change V to lib-version.
36546
36547 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
36548
36549         [BZ #14252]
36550         * powerpc32/power6/wcschr.c: New file.
36551         * powerpc32/power6/wcscpy.c: New file.
36552         * powerpc32/power6/wcsrchr.c: New file.
36553         * powerpc64/power6/wcschr.c: New file.
36554         * powerpc64/power6/wcscpy.c: New file.
36555         * powerpc64/power6/wcsrchr.c: New file.
36556
36557 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
36558
36559         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
36560         (two_way_short_needle): Use it.
36561         * string/strstr.c (AVAILABLE1_USES_J): Define.
36562         * string/strcasestr.c: Likewise.
36563
36564         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
36565         array references.
36566         * string/strcasestr.c (TOLOWER): Make side-effect safe.
36567
36568         [BZ #11607]
36569         * NEWS: Add an entry.
36570         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
36571         define their defaults.
36572         (two_way_short_needle): Detect end-of-string on-the-fly.
36573         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
36574         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
36575         * string/bug-strcasestr1.c: New test.
36576         * string/Makefile: Run it.
36577
36578 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
36579
36580         [BZ #11607]
36581         * string/str-two-way.h (two_way_short_needle): Optimize matching of
36582         the first character.
36583
36584 2012-08-21  Roland McGrath  <roland@hack.frob.com>
36585
36586         * csu/elf-init.c (__libc_csu_irel): Function removed.
36587         * csu/libc-start.c (apply_irel): New function.
36588         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
36589
36590 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
36591
36592         * sysdeps/unix/sysv/linux/kernel-features.h
36593         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
36594         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
36595         <kernel-features.h>.
36596         [__NR_fadvise64_64]: Make code unconditional.
36597         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
36598         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
36599         !__NR_fadvise64_64)]: Likewise.
36600         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
36601         !__NR_fadvise64_64))]: Likewise.
36602         [__NR_fadvise64]: Make code unconditional.
36603         [!__NR_fadvise64]: Remove conditional code.
36604         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
36605         <kernel-features.h>.
36606         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
36607         unconditional.
36608         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
36609         conditional code.
36610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
36611         not include <kernel-features.h>.
36612         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
36613         unconditional.
36614         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
36615         conditional code.
36616         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
36617         include <kernel-features.h>.
36618         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
36619         unconditional.
36620         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
36621         conditional code.
36622
36623 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
36624
36625         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
36626         slight instruction rearrangements per scrollpipe analysis.
36627         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
36628
36629 2012-08-20  Roland McGrath  <roland@hack.frob.com>
36630
36631         * manual/syslog.texi (syslog; vsyslog, closelog):
36632         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
36633         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
36634
36635         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
36636         DSOCAPS to match condition on defining it.
36637
36638 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
36639
36640         * sysdeps/unix/sysv/linux/kernel-features.h
36641         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
36642         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
36643         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
36644         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
36645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
36646         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
36647         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
36648         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
36649         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
36650         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
36651
36652         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
36653         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
36654
36655         * sysdeps/unix/sysv/linux/kernel-features.h
36656         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
36657         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
36658         unconditional.
36659         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36660         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
36661         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
36662         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36663         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
36664         Make code unconditional.
36665         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36666         (__mmap64) [!__NR_mmap2]: Likewise.
36667         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
36668         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
36669         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36670         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
36671         [__NR_mmap2]: Make code unconditional.
36672         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36673         (__mmap64) [!__NR_mmap2]: Likewise.
36674
36675 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36676
36677         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
36678
36679 2012-08-18  Andreas Jaeger  <aj@suse.de>
36680
36681         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
36682
36683 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
36684
36685         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
36686         * include/unistd.h (__have_sock_cloexec): Likewise.
36687         (__have_pipe2): Likewise.
36688         (__have_dup3): Likewise.
36689
36690 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
36691
36692         [BZ #9685]
36693         * include/unistd.h (__have_pipe2): Change define into an extern int.
36694         (__have_dup3): Likewise.
36695         * socket/have_sock_cloexec.c: Include fcntl.h.
36696         (__have_pipe2): New variable.
36697         (__have_dup3): Likewise.
36698
36699 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
36700
36701         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
36702
36703 2012-08-17  Marek Polacek  <polacek@redhat.com>
36704
36705         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
36706         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
36707
36708 2012-08-17  Roland McGrath  <roland@hack.frob.com>
36709
36710         * configure.in: Add AC_SUBST for sysheaders.
36711         * configure: Regenerated.
36712         * config.make.in (sysheaders): New substituted variable.
36713
36714         * sysdeps/unix/mkfifo.c: Moved ...
36715         * sysdeps/posix/mkfifo.c: ... here.
36716         * sysdeps/unix/mkfifoat.c: Moved ...
36717         * sysdeps/posix/mkfifoat.c: ... here.
36718
36719         * sysdeps/unix/utime.c: Moved ...
36720         * sysdeps/posix/utime.c: ... here.
36721
36722         * sysdeps/unix/time.c: Moved ...
36723         * sysdeps/posix/time.c: ... here.
36724         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
36725         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
36726
36727         * sysdeps/unix/nice.c: Moved ...
36728         * sysdeps/posix/nice.c: ... here.
36729
36730         * sysdeps/unix/alarm.c: Moved ...
36731         * sysdeps/posix/alarm.c: ... here.
36732
36733         * intl/Makefile ($(codeset_mo)): Depend on the input file.
36734
36735 2012-08-17  Jeff Law <law@redhat.com>
36736
36737         * intl/Makefile (codeset_mo): New variable.
36738         ($(codeset_mo)): New target.
36739         (tst-codeset.out): Depend on that.  Remove explicit rule.
36740         (tst-gettext3.out, tst-gettext5.out): Likewise.
36741         (LOCPATH-ENV, tst-codeset-ENV): New variables.
36742         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
36743         * intl/tst-codeset.sh: Remove.
36744         * intl/tst-gettext3.sh: Likewise.
36745         * intl/tst-gettext5.sh: Likewise.
36746
36747 2012-08-17  Roland McGrath  <roland@hack.frob.com>
36748
36749         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
36750         * sysdeps/unix/syscalls.list: ... here.
36751
36752         * sysdeps/posix/getaddrinfo.c
36753         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
36754         (gaiconf_init, gaiconf_reload): Use them.
36755         [!_STATBUF_ST_NSEC]
36756         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
36757         Define using time_t rather than struct timespec.
36758
36759         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
36760         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
36761         Macros removed.
36762         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
36763         [!NO_THREADS].
36764         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
36765         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
36766         Likewise.
36767
36768         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
36769         __libc_cleanup_push argument.
36770
36771         * bits/param.h: New file.
36772         * misc/sys/param.h: New file.
36773         * include/sys/param.h: New file.
36774         * misc/Makefile (headers): Add bits/param.h.
36775         * sysdeps/generic/sys/param.h: File removed.
36776         * sysdeps/unix/sysv/linux/bits/param.h: New file.
36777         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
36778         * sysdeps/mach/hurd/bits/param.h: New file.
36779         * sysdeps/mach/hurd/sys/param.h: File removed.
36780
36781         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
36782         last change.
36783
36784         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
36785         [_IO_MTSAFE_IO].
36786         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
36787         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
36788         New macros.
36789
36790         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
36791         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
36792         rather than -D_IO_MTSAFE_IO conditionally.
36793         * stdio-common/Makefile (CPPFLAGS): Likewise.
36794         * wcsmbs/Makefile (CPPFLAGS): Likewise.
36795         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
36796         Use $(libio-mtsafe).
36797         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
36798         of -D_IO_MTSAFE_IO.
36799         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
36800         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
36801         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
36802         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
36803         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
36804         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
36805         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
36806         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
36807         (CFLAGS-fread_u_chk.c): Likewise.
36808         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
36809         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
36810         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
36811         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
36812         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
36813         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
36814         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
36815         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
36816         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
36817
36818         * libio/Makefile: Test [$(libc-reentrant) = yes]
36819         instead of [$(filter %REENTRANT, $(defines)) nonempty].
36820
36821         * Makeconfig
36822         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
36823         * sysdeps/pthread/configure: File removed.
36824         * sysdeps/pthread/Makeconfig: New file.
36825         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
36826         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
36827
36828 2012-08-16  Gary Benson  <gbenson@redhat.com>
36829
36830         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
36831         unmapping the first object in a namespace.
36832
36833 2012-08-16  Roland McGrath  <roland@hack.frob.com>
36834
36835         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
36836         (__internal_setnetgrent): ... this.  Add internal_function to
36837         definition.  Add libc_hidden_def.
36838         (setnetgrent): Update caller.
36839         (internal_endnetgrent): Renamed to ...
36840         (__internal_endnetgrent): ... this.  Add internal_function to
36841         definition.  Add libc_hidden_def.
36842         (endnetgrent): Update caller.
36843         (internal_getnetgrent_r): Renamed to ...
36844         (__internal_getnetgrent_r): ... this.  Add internal_function to
36845         definition.  Add libc_hidden_def.
36846         (__getnetgrent_r): Update caller.
36847         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
36848
36849 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
36850
36851         * stdlib/longlong.h: Update from GCC.
36852
36853 2012-08-16  Roland McGrath  <roland@hack.frob.com>
36854
36855         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
36856         on _QL, which is set by umul_ppmm but never used.
36857         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
36858         variables, which are set by GMP macros but never used.
36859         * stdio-common/_itowa.c (_itowa): Likewise.
36860         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
36861         * stdlib/mod_1.c (mpn_mod_1): Likewise.
36862
36863 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
36864
36865         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
36866         struct La_sh_regs is not constant.
36867         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
36868         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
36869         and struct La_sparc64_regs are not constant.
36870
36871 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
36872
36873         * sysdeps/unix/sysv/linux/kernel-features.h
36874         (__ASSUME_POSIX_TIMERS): Remove.
36875         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
36876         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36877         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
36878         Make code unconditional.
36879         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36880         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
36881         Make code unconditional.
36882         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36883         * sysdeps/unix/sysv/linux/clock_nanosleep.c
36884         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
36885         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36886         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
36887         Make code unconditional.
36888         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36889         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
36890         (__libc_missing_posix_timers): Remove.
36891
36892 2012-08-15  Roland McGrath  <roland@hack.frob.com>
36893
36894         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
36895         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
36896
36897         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
36898
36899         * elf/dl-sym.c: Include <stdlib.h>.
36900
36901         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
36902         constants, which avoids warnings in 32-bit builds.
36903
36904         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
36905         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
36906
36907         * misc/lseek.c: File moved to ...
36908         * io/lseek.c: ... here.
36909
36910         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
36911
36912         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
36913         shifting LEN more than 31 bits at once.
36914
36915 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36916
36917         [BZ #14195]
36918         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
36919         segmentation fault for a case of two empty input strings.
36920         * string/test-strncasecmp.c (check1): Renamed to...
36921         (bz12205): ...this.
36922         (bz14195): Add new testcase for two empty input strings and N > 0.
36923         (test_main): Call new testcase, adapt for renamed function.
36924
36925 2012-08-15  Andreas Jaeger  <aj@suse.de>
36926
36927         [BZ #14090]
36928         * crypt/md5test2.c: New test, based on test supplied by Serge
36929         Belyshev <belyshev@depni.sinp.msu.ru>.
36930         * crypt/Makefile (xtests): Add md5test-giant..
36931         * crypt/Makefile ($(objpfx)md5test-giant): Add.
36932
36933 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
36934
36935         [BZ #14090]
36936         * crypt/md5.c (md5_process_block): Don't assume the buffer
36937         length is less than 2**32.
36938         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
36939         length is less than 2**64.
36940
36941 2012-08-15  Roland McGrath  <roland@hack.frob.com>
36942
36943         * string/str-two-way.h: Include <sys/param.h>.
36944         (MAX): Macro removed.
36945
36946         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
36947         Move #define and #undef of memmove to just before and after
36948         including <string.h>.
36949
36950         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
36951         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
36952         and after including <string.h>.  Move declarations of
36953         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
36954         to before #include "string/memmove.c".
36955
36956         * include/dirent.h: Declare __getdirentries.
36957
36958         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
36959         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
36960
36961 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
36962
36963         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
36964         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
36965         * sysdeps/i386/configure: Regenerated.
36966         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
36967         STABS_CURRENT_FILE, and STABS_FUN.
36968         (END): Remove call to STABS_FUN_END.
36969         (STABS_CURRENT_FILE1): Delete.
36970         (STABS_CURRENT_FILE): Likewise.
36971         (STABS_FUN): Likewise.
36972         (STABS_FUN_END): Likewise.
36973         (STABS_FUN2): Likewise.
36974         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
36975         * sysdeps/x86_64/configure: Regenerated.
36976
36977 2012-08-14  Roland McGrath  <roland@hack.frob.com>
36978
36979         * elf/dl-open.c: Include <atomic.h>.
36980         * elf/dl-lookup.c: Likewise.
36981
36982 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
36983
36984         * sysdeps/unix/sysv/linux/kernel-features.h
36985         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
36986         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
36987         unconditionally.
36988         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
36989         unconditionally.
36990         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
36991         condition on __ASSUME_CLONE_THREAD_FLAGS.
36992
36993 2012-08-14  Andreas Jaeger  <aj@suse.de>
36994
36995         * sysdeps/i386/fpu/libm-test-ulps: Update.
36996
36997 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
36998
36999         * include/atomic.h (atomic_exchange_and_add): Split into ...
37000         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
37001         New atomic macros.
37002
37003 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
37004
37005         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37006
37007 2012-08-13  Jeff Law <law@redhat.com>
37008
37009         * manual/stdio.texi (snprintf): Clarify handling of the trailing
37010         null byte in the output string.
37011
37012 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
37013
37014         * sysdeps/unix/sysv/linux/kernel-features.h
37015         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
37016         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
37017         (__ASSUME_ARG_MAX_STACK_BASED): Define.
37018         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
37019         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
37020         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
37021         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
37022
37023 2012-08-09  Jeff Law <law@redhat.com>
37024
37025         [BZ #13939]
37026         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
37027         When avoid_arena is set, don't retry in the that arena.  Pick the
37028         next one, whatever it might be.
37029         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
37030         (arena_lock): Pass in new parameter to arena_get2.
37031         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
37032         arena_get2.
37033         (__libc_malloc): Unify retrying after main arena failure with
37034         __libc_memalign version.
37035         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
37036
37037 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
37038
37039         [BZ #14166]
37040         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
37041         to __redirect_strstr.
37042         (__strstr_sse42): Use typeof __redirect_strstr.
37043         (__strstr_ia32): Likewise.
37044         (__libc_strstr): New prototype.
37045         (strstr): Renamed to ...
37046         (__libc_strstr): This.
37047         (strstr): New strong alias of __libc_strstr.
37048         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
37049         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
37050         __redirect_time.
37051         Include <time.h>.
37052         (__libc_time): New prototype.
37053         (time_ifunc): Replace time with __libc_time.
37054         (time): New strong alias and hidden definition of __libc_time.
37055         (__GI_time): Remove strong alias.
37056         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
37057         Include <stddef.h>.
37058         (memmove): Redefined to __redirect_memmove.
37059         (__memmove_sse2): Use typeof __redirect_memmove.
37060         (__memmove_ssse3): Likewise.
37061         (__memmove_ssse3_back): Likewise.
37062         (__libc_memmove): New prototype.
37063         (memmove): Renamed to ...
37064         (__libc_memmove): This.
37065         (memmove): New strong alias of __libc_memmove.
37066
37067 2012-08-08  Mark Salter  <msalter@redhat.com>
37068
37069         * elf/elf.h
37070         (R_MN10300_TLS_GD): Define.
37071         (R_MN10300_TLS_LD): Likewise.
37072         (R_MN10300_TLS_LDO): Likewise.
37073         (R_MN10300_TLS_GOTIE): Likewise.
37074         (R_MN10300_TLS_IE): Likewise.
37075         (R_MN10300_TLS_LE): Likewise.
37076         (R_MN10300_TLS_DTPMOD): Likewise.
37077         (R_MN10300_TLS_DTPOFF): Likewise.
37078         (R_MN10300_TLS_TPOFF): Likewise.
37079         (R_MN10300_SYM_DIFF): Likewise.
37080         (R_MN10300_ALIGN): Likewise.
37081         (R_MN10300_NUM): Update.
37082
37083 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
37084
37085         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
37086         Remove.
37087
37088 2012-08-08  Roland McGrath  <roland@hack.frob.com>
37089
37090         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
37091
37092         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
37093         sysdeps/unix -> sysdeps/posix move.
37094         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
37095
37096 2012-08-07      Allan McRae     <allan@archlinux.org>
37097
37098         [BZ #14303]
37099         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
37100         (SUNOS_CPP): Likewise.
37101         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
37102         not found.
37103         (open_input): Call CPP using execvp.
37104
37105 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
37106
37107         * sysdeps/unix/sysv/linux/kernel-features.h
37108         (__ASSUME_PROT_GROWSUPDOWN): Remove.
37109         (__ASSUME_NO_CLONE_DETACHED): Likewise.
37110         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
37111         (__ASSUME_WAITID_SYSCALL): Likewise.
37112         * sysdeps/unix/sysv/linux/dl-execstack.c
37113         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
37114         code unconditional.
37115         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
37116         conditional code.
37117         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
37118         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
37119         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
37120         code.
37121         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
37122         unconditional.
37123         [__ASSUME_WAITID_SYSCALL]: Likewise.
37124         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
37125
37126 2012-08-07  Roland McGrath  <roland@hack.frob.com>
37127
37128         * sysdeps/unix/closedir.c: Renamed to ...
37129         * sysdeps/posix/closedir.c: ... here.
37130         * sysdeps/unix/dirfd.c: Renamed to ...
37131         * sysdeps/posix/dirfd.c: ... here.
37132         * sysdeps/unix/dirstream.h: Renamed to ...
37133         * sysdeps/posix/dirstream.h: ... here.
37134         * sysdeps/unix/fdopendir.c: Renamed to ...
37135         * sysdeps/posix/fdopendir.c: ... here.
37136         * sysdeps/unix/opendir.c: Renamed to ...
37137         * sysdeps/posix/opendir.c: ... here.
37138         * sysdeps/unix/readdir.c: Renamed to ...
37139         * sysdeps/posix/readdir.c: ... here.
37140         * sysdeps/unix/readdir_r.c: Renamed to ...
37141         * sysdeps/posix/readdir_r.c: ... here.
37142         * sysdeps/unix/rewinddir.c: Renamed to ...
37143         * sysdeps/posix/rewinddir.c: ... here.
37144         * sysdeps/unix/seekdir.c: Renamed to ...
37145         * sysdeps/posix/seekdir.c: ... here.
37146         * sysdeps/unix/telldir.c: Renamed to ...
37147         * sysdeps/posix/telldir.c: ... here.
37148         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
37149         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
37150         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
37151         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
37152
37153         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
37154         * bits/fcntl.h: ... here.
37155
37156         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
37157         not 0.
37158         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
37159         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
37160         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
37161         (struct flock): Move l_start, l_len to the beginning.
37162         Use __pid_t for l_pid.
37163         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
37164         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
37165         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
37166         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
37167         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
37168         [__USE_LARGEFILE64] (struct flock64): New type.
37169         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
37170
37171         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
37172         * bits/dirent.h: ... here.
37173
37174         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
37175         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
37176
37177 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
37178
37179         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37180         Change from 2.6.0 to 2.6.16.
37181         * sysdeps/unix/sysv/linux/configure: Regenerated.
37182         * sysdeps/unix/sysv/linux/kernel-features.h
37183         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
37184         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
37185         version.
37186         (__ASSUME_UTIMES): Likewise.
37187         (__ASSUME_CLONE_STOPPED): Remove.
37188         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
37189         architectures, not kernel version.
37190         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
37191         (__ASSUME_NO_CLONE_DETACHED): Likewise.
37192         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
37193         (__ASSUME_WAITID_SYSCALL): Likewise.
37194         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
37195         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
37196         * README: State 2.6.16 as minimum Linux kernel version.  Do not
37197         refer to older versions.
37198
37199 2012-08-06  Roland McGrath  <roland@hack.frob.com>
37200
37201         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
37202         Define alphasort64 as an alias.
37203         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
37204         Define versionsort64 as an alias.
37205         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
37206         Define scandir64 as an alias.
37207         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
37208         Define scandirat64 as an alias.
37209         * dirent/alphasort64.c (alphasort64):
37210         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
37211         * dirent/versionsort64.c: Likewise.
37212         * dirent/scandir64.c: Likewise.
37213         * dirent/scandirat64.c: Likewise.
37214         * sysdeps/wordsize-64/alphasort.c: File removed.
37215         * sysdeps/wordsize-64/alphasort64.c: File removed.
37216         * sysdeps/wordsize-64/scandir.c: File removed.
37217         * sysdeps/wordsize-64/scandir64.c: File removed.
37218         * sysdeps/wordsize-64/scandirat.c: File removed.
37219         * sysdeps/wordsize-64/scandirat64.c: File removed.
37220         * sysdeps/wordsize-64/versionsort.c: File removed.
37221         * sysdeps/wordsize-64/versionsort64.c: File removed.
37222         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
37223         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
37224         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
37225         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
37226         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
37227         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
37228         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
37229         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
37230
37231         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
37232         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
37233         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
37234         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37235         [defined __arch64__ || defined __sparcv9]
37236         (__INO_T_MATCHES_INO64_T): New macro.
37237         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
37238         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
37239         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
37240         * sysdeps/unix/sysv/linux/bits/dirent.h
37241         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
37242         (_DIRENT_MATCHES_DIRENT64): New macro.
37243
37244         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
37245         Define lockf64 as an alias.
37246         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
37247         Define fseeko64 as an alias.
37248         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
37249         Define ftello64 as an alias.
37250         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
37251         Define _IO_fgetpos64 and fgetpos64 as aliases.
37252         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
37253         Define _IO_fsetpos64 and fsetpos64 as aliases.
37254         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
37255         Conditionalize body on this.
37256         * libio/fseeko64.c: Likewise.
37257         * libio/ftello64.c: Likewise.
37258         * libio/iofgetpos64.c: Likewise.
37259         * libio/iofsetpos64.c: Likewise.
37260         * sysdeps/wordsize-64/lockf.c: File removed.
37261         * sysdeps/wordsize-64/lockf64.c: File removed.
37262         * sysdeps/wordsize-64/fseeko.c: File removed.
37263         * sysdeps/wordsize-64/fseeko64.c: File removed.
37264         * sysdeps/wordsize-64/ftello.c: File removed.
37265         * sysdeps/wordsize-64/ftello64.c: File removed.
37266         * sysdeps/wordsize-64/iofgetpos.c: File removed.
37267         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
37268         * sysdeps/wordsize-64/iofsetpos.c: File removed.
37269         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
37270         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
37271         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
37272         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
37273         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
37274         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
37275         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
37276         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
37277         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
37278         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
37279         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
37280
37281         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
37282         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
37283         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
37284         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37285         [defined __arch64__ || defined __sparcv9]
37286         (__OFF_T_MATCHES_OFF64_T): New macro.
37287         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
37288         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
37289         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37290         (__OFF_T_MATCHES_OFF64_T): New macro.
37291
37292 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
37293
37294         * stdlib/secure-getenv.c (__secure_getenv): Replace
37295         GLIBC_2_16 with GLIBC_2_17.
37296
37297 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
37298
37299         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
37300         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
37301
37302 2012-08-03  David S. Miller  <davem@davemloft.net>
37303
37304         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37305
37306 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
37307
37308         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
37309         Remove.
37310         (__ASSUME_CORRECT_SI_PID): Likewise.
37311         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
37312         (__ASSUME_TMPFS_NAME): Likewise.
37313         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
37314         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
37315         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
37316         (HAVE_AUX_SECURE): Make definition unconditional.
37317         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
37318         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
37319
37320 2012-08-03  Roland McGrath  <roland@hack.frob.com>
37321
37322         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
37323         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
37324         * sysdeps/mach/hurd/eloop-threshold.h: New file.
37325         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
37326         __eloop_threshold instead of SYMLOOP_MAX.
37327
37328         * sysdeps/generic/eloop-threshold.h: New file.
37329         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
37330         of MAXSYMLINKS.
37331         * elf/chroot_canon.c (chroot_canon): Likewise.
37332
37333 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
37334
37335         [BZ #13717]
37336         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37337         Change to 2.6.0 everywhere.
37338         * sysdeps/unix/sysv/linux/configure: Regenerated.
37339         * sysdeps/unix/sysv/linux/kernel-features.h
37340         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
37341         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
37342         kernel versions.
37343         (__ASSUME_POSIX_TIMERS): Define unconditionally.
37344         (__ASSUME_FUTEX_REQUEUE): Remove.
37345         (__ASSUME_STATFS64): Define unconditionally.
37346         (__ASSUME_AT_SECURE): Likewise.
37347         (__ASSUME_CORRECT_SI_PID): Likewise.
37348         (__ASSUME_TGKILL): Define without depending on kernel version for
37349         i386.
37350         (__ASSUME_UTIMES): Likewise.
37351         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
37352         kernel version.
37353         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
37354         (__ASSUME_TMPFS_NAME): Likewise.
37355         * README: Update reference to Linux kernel versions.
37356
37357 2012-08-02  Marek Polacek  <polacek@redhat.com>
37358
37359         [BZ# 14150]
37360         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
37361         libc_cv_asm_type_prefix with %.
37362         * configure: Regenerated.
37363         * include/libc-symbols.h: Remove comment about
37364         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
37365         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
37366         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
37367         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
37368         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
37369         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
37370         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
37371         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
37372         * elf/tst-unique2mod1.c: Likewise.
37373         * elf/tst-unique1mod2.c: Likewise.
37374         * elf/tst-unique1mod1.c: Likewise.
37375         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
37376         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
37377         Replace ASM_TYPE_DIRECTIVE with .type.
37378         * sysdeps/s390/s390-64/sysdep.h: Likewise.
37379         * sysdeps/i386/sysdep.h: Likewise.
37380         * sysdeps/x86_64/sysdep.h: Likewise.
37381         * sysdeps/sh/sysdep.h: Likewise.
37382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
37383         Do not define ASM_TYPE_DIRECTIVE.
37384         * sysdeps/powerpc/sysdep.h: Likewise.
37385         * sysdeps/powerpc/powerpc32/sysdep.h:
37386         Replace ASM_TYPE_DIRECTIVE with .type.
37387         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
37388         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
37389         * sysdeps/i386/fpu/e_powf.S: Likewise.
37390         * sysdeps/i386/fpu/e_expl.S: Likewise.
37391         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
37392         * sysdeps/i386/fpu/e_acosh.S: Likewise.
37393         * sysdeps/i386/fpu/e_pow.S: Likewise.
37394         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
37395         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
37396         * sysdeps/i386/fpu/s_expm1.S: Likewise.
37397         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
37398         * sysdeps/i386/fpu/e_log2.S: Likewise.
37399         * sysdeps/i386/fpu/e_log2l.S: Likewise.
37400         * sysdeps/i386/fpu/e_scalb.S: Likewise.
37401         * sysdeps/i386/fpu/e_powl.S: Likewise.
37402         * sysdeps/i386/fpu/e_log10f.S: Likewise.
37403         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
37404         * sysdeps/i386/fpu/e_logl.S: Likewise.
37405         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
37406         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
37407         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
37408         * sysdeps/i386/fpu/e_log2f.S: Likewise.
37409         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
37410         * sysdeps/i386/fpu/e_log.S: Likewise.
37411         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
37412         * sysdeps/i386/fpu/e_logf.S: Likewise.
37413         * sysdeps/i386/fpu/e_log10l.S: Likewise.
37414         * sysdeps/i386/fpu/e_atanh.S: Likewise.
37415         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
37416         * sysdeps/i386/fpu/e_log10.S: Likewise.
37417         * sysdeps/i386/fpu/s_frexp.S: Likewise.
37418         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
37419         * sysdeps/i386/fpu/s_asinh.S: Likewise.
37420         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
37421         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
37422         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
37423         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
37424         * sysdeps/i386/i686/strtok.S: Likewise.
37425         * sysdeps/i386/i386-mcount.S: Likewise.
37426         * sysdeps/i386/strtok.S: Likewise.
37427         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
37428         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
37429         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37430         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
37431         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
37432         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
37433         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
37434         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
37435         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
37436         * sysdeps/x86_64/_mcount.S: Likewise.
37437         * sysdeps/x86_64/strtok.S: Likewise.
37438         * sysdeps/sh/_mcount.S: Likewise.
37439
37440 2012-08-01  Roland McGrath  <roland@hack.frob.com>
37441
37442         * libio/iofopen.c: Include <fcntl.h>.
37443         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
37444         (_IO_fopen64, fopen64): Define as aliases.
37445         * libio/iofopen64.c: Include <fcntl.h>.
37446         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
37447         Conditionalize body on this.
37448         * sysdeps/wordsize-64/iofopen.c: File removed.
37449         * sysdeps/wordsize-64/iofopen64.c: File removed.
37450
37451 2012-08-01  Marek Polacek  <polacek@redhat.com>
37452
37453         * libc/Makeconfig: Use elf in place of binfmt-subdir.
37454         Use dlfcn directly instead of a variable.
37455         (binfmt-subdir): Do not define.
37456         (dlfcn): Likewise.
37457
37458 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
37459
37460         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
37461         Remove all definitions.
37462         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
37463         <kernel-features.h>.
37464         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
37465         (miss_F_GETOWN_EX): Remove all definitions.
37466         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
37467         macro definition.
37468         [!__ASSUME_FCNTL64]: Remove conditional code.
37469         [__ASSUME_FCNTL64]: Make code unconditional.
37470         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
37471         <kernel-features.h>.
37472         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
37473         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
37474         (lockf64) [__NR_fcntl64]: Make code unconditional.
37475         (lockf64) [__ASSUME_FCNTL64]: Likewise.
37476
37477         * sysdeps/unix/sysv/linux/kernel-features.h
37478         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
37479         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
37480         Make code unconditional.
37481         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
37482         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
37483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
37484         [__NR_vfork]: Make code unconditional.
37485         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
37486         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
37487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
37488         [__NR_vfork]: Make code unconditional.
37489         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
37490         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
37491
37492 2012-08-01  Roland McGrath  <roland@hack.frob.com>
37493
37494         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
37495         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
37496
37497         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37498         Define mkstemp64 as an alias.
37499         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37500         Define mkstemps64 as an alias.
37501         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37502         Define mkostemp64 as an alias.
37503         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37504         Define mkostemps64 as an alias.
37505         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
37506         Conditionalize body on this.
37507         * misc/mkostemp64.c: Likewise.
37508         * misc/mkostemps64.c: Likewise.
37509         * misc/mkstemps64.c: Likewise.
37510         * sysdeps/wordsize-64/mkstemp64.c: File removed.
37511         * sysdeps/wordsize-64/mkostemp64.c: File removed.
37512         * sysdeps/wordsize-64/mkostemp.c: File removed.
37513         * sysdeps/wordsize-64/mkstemp.c: File removed.
37514         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
37515         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
37516         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
37517         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
37518
37519         [BZ #14138]
37520         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
37521         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
37522         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
37523         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
37524
37525         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
37526         compat_symbol macros from <shlib-compat.h> rather than the underlying
37527         default_symbol_version and symbol_version macros, so that DEFAULT
37528         lines in shlib-versions are respected.
37529         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
37530
37531 2012-08-01  Florian Weimer  <fweimer@redhat.com>
37532
37533         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
37534         Declare with warn_unused_result.
37535         (setgid, setregid, setegid, setresgid): Likewise.
37536         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
37537         Likewise.
37538         * WUR-REPORT: Remove set*id functions.
37539
37540 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
37541
37542         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
37543
37544 2012-07-31  Roland McGrath  <roland@hack.frob.com>
37545
37546         [BZ #10191]
37547         * include/sys/socket.h (__libc_accept, __libc_accept4):
37548         Add attribute_hidden.
37549         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
37550
37551         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
37552         use of PTR_MANGLE.
37553         * inet/getnetgrent_r.c (setup): Likewise.
37554
37555         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
37556
37557 2012-07-31  David S. Miller  <davem@davemloft.net>
37558
37559         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37560
37561 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
37562
37563         [BZ #13629]
37564         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
37565         value between 1.0 and 2.0 and smaller part has absolute value less
37566         than 1.0.
37567         * math/s_clog10.c (__clog10): Likewise.
37568         * math/s_clog10f.c (__clog10f): Likewise.
37569         * math/s_clog10l.c (__clog10l): Likewise.
37570         * math/s_clogf.c (__clogf): Likewise.
37571         * math/s_clogl.c (__clogl): Likewise.
37572         * math/libm-test.inc (clog_test): Add more tests.
37573         (clog10_test): Likewise.
37574         * sysdeps/i386/fpu/libm-test-ulps: Update.
37575         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37576
37577 2012-07-31  Florian Weimer  <fweimer@redhat.com>
37578
37579         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
37580         Exit with zero in case no suitable GID is found, and write a
37581         message to standard error.
37582
37583 2012-07-30  Roland McGrath  <roland@hack.frob.com>
37584
37585         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
37586         rather than to 1.
37587         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
37588         (MAXPATHLEN): Removed.
37589         (NOGROUP, NODEV): New macros.
37590         (setbit, clrbit, isset, isclr): New macros.
37591         (howmany, roundup, powerof2): New macros.
37592         (DEV_BSIZE): New macro.
37593
37594         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
37595         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
37596
37597         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
37598         definition on [!__NO_LONG_DOUBLE_MATH].
37599
37600         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
37601         PTR_MANGLE and PTR_DEMANGLE.
37602
37603         * socket/accept4.c (accept4): Rename to __libc_accept4.
37604         Define accept4 as a weak alias.
37605
37606         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
37607         on [_DIRENT_HAVE_D_TYPE].
37608         * io/ftw.c (ftw_dir): Likewise.
37609
37610         * io/xmknod.c (__xmknod): Don't check PATH for being null.
37611
37612         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
37613
37614         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
37615         Use the BSD numbers rather than the arbitrary ones we had.
37616         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
37617         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
37618         (SIGXCPU, SIGXFSZ): New macros.
37619         (_NSIG): Now 32.
37620
37621         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
37622         initializer on [_LIBC_REENTRANT].
37623
37624         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
37625         definitions inside [_POSIX_MAPPED_FILES].
37626
37627         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
37628
37629         * dirent/opendir.c: Include <fcntl.h>.
37630
37631         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
37632         (__libc_getspecific): Likewise.
37633         (__libc_key_create): Likewise.
37634
37635         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
37636         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
37637         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
37638         (tmpfile64): Define as alias.
37639         * sysdeps/wordsize-64/tmpfile.c: File removed.
37640         * sysdeps/wordsize-64/tmpfile64.c: File removed.
37641         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
37642         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
37643
37644         * stdio-common/vfscanf.c: Include <stdbool.h>.
37645         * nss/makedb.c: Likewise.
37646         * stdio-common/_i18n_number.h: Likewise.
37647         * argp/argp-help.c: Likewise.
37648         * posix/wordexp.c: Likewise.
37649         * sysdeps/posix/spawni.c: Likewise.
37650         * nss/nss_files/files-initgroups.c: Likewise.
37651         * stdio-common/reg-modifier.c: Include <stdlib.h>.
37652         * nss/nss_files/files-initgroups.c: Likewise.
37653         * nss/nss_db/db-netgrp.c: Likewise.
37654         * nss/nss_db/db-initgroups.c: Likewise.
37655         * io/fchmodat.c: Include <sys/stat.h>.
37656
37657         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
37658         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
37659
37660         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
37661         [HAVE_MMAP].
37662
37663         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
37664         Add multiple inclusion protection.
37665
37666 2012-07-27  David S. Miller  <davem@davemloft.net>
37667
37668         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37669
37670 2012-07-27  Gary Benson  <gbenson@redhat.com>
37671
37672         [BZ #14298]
37673         * elf/rtld.c: Include <stap-probe.h>.
37674         (dl_main): Added static probes "init_start" and "init_complete".
37675         * elf/dl-load.c: Include <stap-probe.h>.
37676         (lose): Take new parameter "nsid".
37677         Added static probe "map_failed".
37678         (_dl_map_object_from_fd): Pass namespace id to lose.
37679         Added static probe "map_start".
37680         (open_verify): Pass namespace id to lose.
37681         * elf/dl-open.c: Include <stap-probe.h>.
37682         (dl_open_worker) Added static probes "map_complete", "reloc_start"
37683         and "reloc_complete".
37684         * elf/dl-close.c: Include <stap-probe.h>.
37685         (_dl_close_worker): Added static probes "unmap_start" and
37686         "unmap_complete".
37687         * elf/rtld-debugger-interface.txt: New file documenting the above.
37688
37689 2012-07-26  Roland McGrath  <roland@hack.frob.com>
37690
37691         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
37692         rather than a string variable.
37693         * sunrpc/rpc_main.c (h_output): Likewise.
37694         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
37695
37696 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
37697
37698         * inet/check_native.c: New file.
37699
37700 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
37701
37702         [BZ #13629]
37703         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
37704         if larger part has absolute value 1.0.
37705         * math/s_clog10.c (__clog10): Likewise.
37706         * math/s_clog10f.c (__clog10f): Likewise.
37707         * math/s_clog10l.c (__clog10l): Likewise.
37708         * math/s_clogf.c (__clogf): Likewise.
37709         * math/s_clogl.c (__clogl): Likewise.
37710         * math/libm-test.inc (clog_test): Add more tests.
37711         (clog10_test): Likewise.
37712         * sysdeps/i386/fpu/libm-test-ulps: Update.
37713         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37714
37715         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
37716         (pltexit): Likewise.
37717         (La_regs): Likewise.
37718         (La_retval): Likewise.
37719         (int_retval): Likewise.
37720         Update #error for removed macros to refer only to definitions in
37721         tst-audit.h.
37722         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
37723         macro.
37724         (pltexit): Likewise.
37725         (La_regs): Likewise.
37726         (La_retval): Likewise.
37727         (int_retval): Likewise.
37728         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
37729         macro.
37730         (pltexit): Likewise.
37731         (La_regs): Likewise.
37732         (La_retval): Likewise.
37733         (int_retval): Likewise.
37734         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
37735         macro.
37736         (pltexit): Likewise.
37737         (La_regs): Likewise.
37738         (La_retval): Likewise.
37739         (int_retval): Likewise.
37740         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
37741         macro.
37742         (pltexit): Likewise.
37743         (La_regs): Likewise.
37744         (La_retval): Likewise.
37745         (int_retval): Likewise.
37746         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
37747         macro.
37748         (pltexit): Likewise.
37749         (La_regs): Likewise.
37750         (La_retval): Likewise.
37751         (int_retval): Likewise.
37752         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
37753         macro.
37754         (pltexit): Likewise.
37755         (La_regs): Likewise.
37756         (La_retval): Likewise.
37757         (int_retval): Likewise.
37758         * sysdeps/generic/tst-audit.h: Update comment to refer only to
37759         macro definitions in tst-audit.h.
37760         * sysdeps/i386/tst-audit.h: New file.
37761         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
37762         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
37763         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
37764         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
37765         * sysdeps/sh/tst-audit.h: Likewise.
37766         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
37767         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
37768         * sysdeps/x86_64/tst-audit.h: Likewise.
37769
37770 2012-07-26  Andreas Jaeger  <aj@suse.de>
37771
37772         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
37773         ptrace.
37774
37775         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
37776         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
37777         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
37778         PTRACE_O_MASK.
37779         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
37780         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
37781         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
37782
37783         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
37784         value.
37785
37786         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
37787         _sigsys.
37788         (si_call_addr, si_syscall, si_arch): Define new macro.
37789         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
37790         _sigsys.
37791         (si_call_addr, si_syscall, si_arch): Define new marcro.
37792         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
37793         _sigsys.
37794         (si_call_addr, si_syscall, si_arch): Define new macro.
37795         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
37796         _sigsys.
37797         (si_call_addr, si_syscall, si_arch): Define new macro.
37798
37799 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
37800
37801         [BZ #13717]
37802         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37803         Change to 2.4.21 where previously 2.4.1.
37804         * sysdeps/unix/sysv/linux/configure: Regenerated.
37805         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
37806         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
37807         Linux kernel version.
37808         (__ASSUME_STD_AUXV): Remove.
37809         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
37810         kernel version.
37811         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
37812         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
37813         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
37814         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
37815         (__ASSUME_NETLINK_SUPPORT): Likewise.
37816         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
37817         (__no_netlink_support): Remove conditional definition.
37818         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
37819         Remove.
37820         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
37821         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
37822         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
37823         (if_nameindex_ioctl): Remove.
37824         (if_nameindex_netlink): Do not handle __no_netlink_support.
37825         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
37826         code.
37827         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
37828         Remove conditional code.
37829         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
37830         code.
37831         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
37832         unconditional.
37833         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
37834         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
37835         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
37836         Remove.
37837         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
37838         [!__ASSUME_STD_AUXV]: Remove conditional code.
37839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
37840         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
37841         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
37842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
37843         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
37844         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
37845         code.
37846         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
37847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
37848         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
37849         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
37850         conditional code.
37851         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
37852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
37853         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
37854         code.
37855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
37856         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
37857         conditional code.
37858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
37859         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
37860         code unconditional.
37861         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37862         conditional code.
37863         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
37864         unconditional.
37865         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37866         conditional code.
37867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
37868         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
37869         unconditional.
37870         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37871         conditional code.
37872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
37873         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
37874         code unconditional.
37875         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37876         conditional code.
37877         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
37878         unconditional.
37879         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37880         conditional code.
37881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
37882         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
37883         code unconditional.
37884         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37885         conditional code.
37886         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
37887         unconditional.
37888         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37889         conditional code.
37890
37891 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
37892
37893         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
37894         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
37895         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
37896         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
37897         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
37898         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
37899         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
37900         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
37901         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
37902         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
37903         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
37904         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
37905         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
37906         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
37907         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
37908         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
37909         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
37910         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
37911         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
37912         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
37913         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
37914         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
37915         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
37916
37917 2012-07-25  Florian Weimer  <fweimer@redhat.com>
37918
37919         * Versions.def: Add GLIBC_2.17.
37920         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
37921         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
37922         Introduce __libc_secure_getenv.
37923         * stdlib/Versions (2.17): Add secure_getenv
37924         (GLIBC_PRIVATE): Add __libc_secure_getenv.
37925         * stdlib/secure-getenv.c: Rename __secure_getenv to
37926         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
37927         symbol __secure_getenv for GLIBC_2.0.
37928         * stdlib/tst-secure-getenv.c: New.
37929         * stdlib/Makefile (tests): Add testcase.
37930         * manual/startup.texi (Environment Access): Document
37931         secure_getenv.
37932         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
37933         __libc_secure_getenv.
37934         * inet/ruserpass.c (ruserpass): Likewise.
37935         * malloc/mtrace.c (mtrace): Likewise.
37936         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
37937         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
37938         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
37939         * sysdeps/posix/tempname.c: Likewise.  Evaluate
37940         HAVE_SECURE_GETENV.
37941         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
37942         __secure_getenv to __libc_secure_getenv.
37943         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
37944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37945         Likewise.
37946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37947         Likewise.
37948         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
37949         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
37950         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
37951         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
37952         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
37953         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
37954         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
37955
37956 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
37957
37958         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
37959         (struct La_i86_retval): Likewise.
37960         (struct La_x86_64_regs): Likewise.
37961         (struct La_x86_64_retval): Likewise.
37962         (struct La_x32_regs): Likewise.
37963         (struct La_x32_retval): Likewise.
37964         (struct La_ppc32_regs): Likewise.
37965         (struct La_ppc32_retval): Likewise.
37966         (struct La_ppc64_regs): Likewise.
37967         (struct La_ppc64_retval): Likewise.
37968         (struct La_sh_regs): Likewise.
37969         (struct La_sh_retval): Likewise.
37970         (struct La_s390_32_regs): Likewise.
37971         (struct La_s390_32_retval): Likewise.
37972         (struct La_s390_64_regs): Likewise.
37973         (struct La_s390_64_retval): Likewise.
37974         (struct La_sparc32_regs): Likewise.
37975         (struct La_sparc32_retval): Likewise.
37976         (struct La_sparc64_regs): Likewise.
37977         (struct La_sparc64_retval): Likewise.
37978         (struct audit_ifaces): Remove architecture-specific pltenter and
37979         pltexit members.
37980         * sysdeps/i386/ldsodefs.h: New file.
37981         * sysdeps/powerpc/ldsodefs.h: Likewise.
37982         * sysdeps/s390/ldsodefs.h: Likewise.
37983         * sysdeps/sh/ldsodefs.h: Likewise.
37984         * sysdeps/sparc/ldsodefs.h: Likewise.
37985         * sysdeps/x86_64/ldsodefs.h: Likewise.
37986
37987 2012-07-25  Marek Polacek  <polacek@redhat.com>
37988
37989         [BZ #6808]
37990         * math/libm-test.inc (yn_test): Add another test.
37991         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
37992         to ERANGE when the result is +-Inf.
37993         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
37994         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
37995         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
37996         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
37997
37998 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
37999
38000         * conform/data/time.h-data (NULL): Use macro-constant.  Require
38001         equal to 0.
38002         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
38003         clock_t.
38004         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
38005
38006 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
38007
38008         * configure.in <sysdeps resolving>: Correct printing
38009         Implies_before.
38010         * configure: Regenerate.
38011
38012 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
38013
38014         * math/w_ilogb.c: Include <limits.h>.
38015         * math/w_ilogbl.c: Likewise.
38016
38017 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
38018
38019         * manual/lang.texi (__va_copy): Document primarily as ISO C99
38020         va_copy.  Document allowing for unavailable va_copy only as
38021         pre-C99 compatibility.
38022         * manual/string.texi (Copying and Concatenation): Use va_copy
38023         instead of __va_copy in concat example.
38024
38025 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
38026
38027         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
38028         (__sendto): Use create_address_port.  Initialize APORT and deallocate
38029         it if not null.
38030
38031         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
38032         with O_NOLINK passed to __file_name_lookup.
38033
38034         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
38035         with O_NOLINK passed to __file_name_lookup.
38036
38037         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
38038         negative N or less than NGIDS.
38039
38040         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
38041         type to string_t.  Set ERANGE as errno and return it if NAME is not big
38042         enough.  Use memcpy instead of strncpy.
38043
38044 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
38045
38046         * elf/Makefile (check-data): Remove.
38047         (localplt.data): New vpath directive.
38048         ($(objpfx)check-localplt.out): Use localplt.data from vpath
38049         instead of $(check-data).
38050         * scripts/data/localplt-generic.data: Move to ...
38051         * sysdeps/generic/localplt.data: ... here.
38052         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
38053         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
38054         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
38055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
38056         ... here.
38057         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
38058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
38059         ... here.
38060         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
38061         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
38062         ... here.
38063         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
38064         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
38065         ... here.
38066         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
38067         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
38068         ... here.
38069         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
38070         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
38071         ... here.
38072
38073 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38074
38075         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
38076         PPC32 and PPC64 files.
38077         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
38078         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
38079
38080 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38081
38082         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
38083         __makecontext_ret to ...
38084         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
38085         ... here and call exit if uc_link is NULL.  New file.
38086         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
38087         __makecontext_ret.S.
38088         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
38089         __makecontext_ret to ...
38090         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
38091         ... here and call exit if uc_link is NULL.  New file.
38092         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
38093         __makecontext_ret.S.
38094
38095 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38096
38097         * elf/elf.h (R_390_IRELATIVE): New definition.
38098         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
38099         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
38100         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
38101         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
38102         (elf_machine_lazy_rel): Likewise.
38103         * sysdeps/s390/dl-irel.h: New file.
38104         * sysdeps/s390/s390-64/memcpy.S: New asm code.
38105         * sysdeps/s390/s390-64/memset.S: New asm code.
38106         * sysdeps/s390/s390-64/memcmp.S: New asm code.
38107         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
38108         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
38109         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
38110         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
38111         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
38112         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
38113         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
38114         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
38115         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
38116         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
38117         * sysdeps/s390/s390-32/memcpy.S: New asm code.
38118         * sysdeps/s390/s390-32/memset.S: New asm code.
38119         * sysdeps/s390/s390-32/memcmp.S: New asm code.
38120
38121 2012-07-17  Marek Polacek  <polacek@redhat.com>
38122
38123         [BZ #14349]
38124         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
38125         * sysdeps/s390/s390-64/configure.in: Likewise.
38126         * sysdeps/sparc/configure.in: Likewise.
38127         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
38128         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
38129         * sysdeps/i386/configure.in: Likewise.
38130         * sysdeps/x86_64/configure.in: Likewise.
38131         * sysdeps/sh/configure.in: Likewise.
38132         * sysdeps/s390/s390-32/configure: Regenerated.
38133         * sysdeps/s390/s390-64/configure: Likewise.
38134         * sysdeps/x86_64/configure: Likewise.
38135         * sysdeps/sh/configure: Likewise.
38136         * sysdeps/powerpc/powerpc64/configure: Likewise.
38137         * sysdeps/powerpc/powerpc32/configure: Likewise.
38138         * sysdeps/sparc/configure: Likwise.
38139         * sysdeps/i386/configure: Likewise.
38140
38141         * elf/dl-open.c: Comment fixes.
38142
38143 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
38144
38145         * Makefile [CXX] (check-data): Remove.
38146         [CXX] (c++-types.data): New vpath directive.
38147         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
38148         vpath.  Do not allow for C++ type data being missing.
38149         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
38150         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
38151         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
38152         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
38153         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
38154         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
38155         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
38156         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
38157         ... here.
38158         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
38159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
38160         ... here.
38161         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
38162         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
38163         ... here.
38164         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
38165         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
38166         ... here.
38167         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
38168         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
38169         ... here.
38170         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
38171         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
38172         ... here.
38173         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
38174         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
38175         ... here.
38176         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
38177         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
38178
38179         * elf/tls-macros.h (TLS_LE): Move architecture-specific
38180         definitions to architecture-specific files.
38181         (TLS_IE): Likewise.
38182         (TLS_LD): Likewise.
38183         (TLS_GD): Likewise.
38184         * sysdeps/i386/tls-macros.h: New file.
38185         * sysdeps/powerpc/tls-macros.h: Likewise.
38186         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
38187         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
38188         * sysdeps/sh/tls-macros.h: Likewise.
38189         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
38190         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
38191         * sysdeps/x86_64/tls-macros.h: Likewise.
38192
38193 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
38194
38195         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
38196         zero value for regular exit case.
38197
38198         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
38199         (__start_context): Preserve zero value for regular exit case.
38200
38201 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
38202             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38203
38204         * manual/setjmp.texi (setcontext): Clarify normal process
38205         termination when uc_link is the null pointer.
38206         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
38207         exit call.
38208
38209 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
38210
38211         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
38212         preprocessor.  Test for each exception mask separately.
38213
38214 2012-07-16  Andreas Jaeger  <aj@suse.de>
38215
38216         * po/ru.po: Update from translation team.
38217
38218 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
38219
38220         * conform/data/string.h-data (NULL): Use macro-constant.  Require
38221         equal to 0.
38222         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
38223         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
38224         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
38225         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
38226         [ISO || ISO99 || ISO11] (*_t): Do not allow.
38227
38228 2012-07-13  Andreas Jaeger  <aj@suse.de>
38229
38230         * po/fr.po: Update from translation team.
38231
38232 2012-07-12  Marek Polacek  <polacek@redhat.com>
38233
38234         [BZ #14173]
38235         * math/libm-test.inc (yn_test): Add test for BZ #14173.
38236         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
38237         loop condition.
38238
38239 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
38240
38241         [BZ #13717]
38242         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38243         Change to 2.4.1 where previously 2.4.0.
38244         * sysdeps/unix/sysv/linux/configure: Regenerated.
38245         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
38246         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
38247         version.
38248         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
38249         (__ASSUME_AT_CLKTCK): Remove.
38250         (__ASSUME_AT_PAGESIZE): Likewise.
38251         (__ASSUME_AT_XID): Likewise.
38252         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
38253         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
38254         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
38255         unconditionally.
38256         (HAVE_AUX_PAGESIZE): Likewise.
38257         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
38258         [__ASSUME_AT_CLKTCK]: Make code unconditional.
38259         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
38260
38261 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
38262
38263         [BZ #14307]
38264         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
38265         the temporary buffer used to invoke __gethostbyname2_r,
38266         __gethostbyaddr_r and gethostbyname4_r to make room for struct
38267         host_data / struct gaih_addrtuple.
38268         * resolv/nss_dns/dns-host.c (global scope): Move definition of
38269         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
38270         header file nss/nsswitch.h.
38271         * nss/nsswitch.h (global scope): Add definition of implementation
38272         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
38273         resolv/nss_dns/dns-host.c).
38274
38275 2012-07-11  Andreas Jaeger  <aj@suse.de>
38276
38277         * po/fr.po: Update from translation team.
38278
38279         * po/sv.po: Update from translation team
38280         * po/fr.po: Another update from translation team.
38281
38282 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38283
38284         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
38285         for subnormals or multiply small sinh result by itself.
38286         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
38287         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38288
38289 2012-07-11  David S. Miller  <davem@davemloft.net>
38290
38291         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38292
38293 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
38294
38295         [BZ #14347]
38296         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
38297         (INTERNAL_MARK): Shift it here.
38298
38299 2012-07-10  Marek Polacek  <polacek@redhat.com>
38300
38301         [BZ #14151]
38302         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
38303         libc_cv_asm_global_directive with .globl.
38304         * configure: Regenerated.
38305         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
38306         with .globl.
38307         * sysdeps/i386/configure: Regenerated.
38308         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
38309         with .globl.
38310         * sysdeps/x86_64/configure: Regenerated.
38311         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
38312         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
38313         * elf/tst-unique2mod2.c: Likewise.
38314         * elf/tst-unique2mod1.c: Likewise.
38315         * elf/tst-unique1mod2.c: Likewise.
38316         * elf/tst-unique1mod1.c: Likewise.
38317         * sysdeps/s390/s390-32/sysdep.h: Likewise.
38318         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
38319         * sysdeps/s390/s390-64/sysdep.h: Likewise.
38320         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
38321         * sysdeps/mach/sysdep.h: Likewise.
38322         * sysdeps/i386/sysdep.h: Likewise.
38323         * sysdeps/i386/i386-mcount.S: Likewise.
38324         * sysdeps/x86_64/_mcount.S: Likewise.
38325         * sysdeps/x86_64/sysdep.h: Likewise.
38326         * sysdeps/sh/_mcount.S: Likewise.
38327         * sysdeps/sh/sysdep.h: Likewise.
38328         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
38329         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
38330         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
38331         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
38332         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
38333         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
38334         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
38335         * locale/localeinfo.h: Likewise.
38336         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
38337         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
38338
38339 2012-07-09  Roland McGrath  <roland@hack.frob.com>
38340
38341         [BZ #14336]
38342         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
38343         system".
38344         * manual/message.texi (The Uniforum approach): Likewise.
38345         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
38346         (glibc iconv Implementation): Likewise.
38347
38348 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
38349
38350         [BZ #14337]
38351         * math/s_clog.c (__clog): Avoid scaling a value down where that
38352         could result in underflow.
38353         * math/s_clog10.c (__clog10): Likewise.
38354         * math/s_clog10f.c (__clog10f): Likewise.
38355         * math/s_clog10l.c (__clog10l): Likewise.
38356         * math/s_clogf.c (__clogf): Likewise.
38357         * math/s_clogl.c (__clogl): Likewise.
38358         * math/libm-test.inc (clog_test): Add more tests.
38359         (clog10_test): Likewise.
38360         * sysdeps/i386/fpu/libm-test-ulps: Update.
38361         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38362
38363 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
38364
38365         [BZ #14283]
38366         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
38367         by 7 not 8 to examine high bit of fractional part.
38368
38369         [BZ #14042]
38370         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
38371         for call to __mcount_internal.
38372         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
38373         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
38374         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
38375
38376 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
38377
38378         [BZ #14154]
38379         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
38380         approximation for values within 0x1p-13f of an odd multiple of
38381         pi/4.
38382         * math/libm-test.inc (tan_test): Do not allow spurious underflow
38383         exception.  Add more tests.
38384         * sysdeps/i386/fpu/libm-test-ulps: Update.
38385
38386         [BZ #6778]
38387         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
38388         inputs and return -1 for them.  Do not check for +Inf in case not
38389         reachable for +Inf.
38390         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
38391         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
38392         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
38393         and return -1 for them.  Do not check for +Inf in case not
38394         reachable for +Inf.
38395         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
38396         define.
38397         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
38398         and return -1 for them.  Do not check for +Inf in case not
38399         reachable for +Inf.
38400         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
38401         spurious underflow.
38402         * sysdeps/i386/fpu/libm-test-ulps: Update.
38403         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38404
38405 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
38406
38407         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
38408
38409 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
38410
38411         [BZ #14157]
38412         [BZ #14331]
38413         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
38414         could result in spurious underflow.  Scale down values above
38415         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
38416         * math/s_csqrtf.c (__csqrtf): Likewise.
38417         * math/s_csqrtl.c (__csqrtl): Likewise.
38418         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
38419         spurious underflow.
38420         * sysdeps/i386/fpu/libm-test-ulps: Update.
38421         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38422
38423 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
38424
38425         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
38426         xopen-msg.sed.
38427         * catgets/xopen-msg.awk: New file.
38428         * catgets/xopen-msg.sed: Removed.
38429
38430         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
38431         po2text.sed.
38432         * intl/po2test.awk: New file.
38433         * intl/po2test.sed: Removed.
38434
38435 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
38436
38437         [BZ #14328]
38438         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
38439         or multiply small sinh result by itself.
38440         * math/s_ctanf.c (__ctanf): Likewise.
38441         * math/s_ctanh.c (__ctanh): Likewise.
38442         * math/s_ctanhf.c (__ctanhf): Likewise.
38443         * math/s_ctanhl.c (__ctanhl): Likewise.
38444         * math/s_ctanl.c (__ctanl): Likewise.
38445         * math/libm-test.inc (ctan_test_tonearest): New function.
38446         (ctan_test_towardzero): Likewise.
38447         (ctan_test_downward): Likewise.
38448         (ctan_test_upward): Likewise.
38449         (ctanh_test_tonearest): Likewise.
38450         (ctanh_test_towardzero): Likewise.
38451         (ctanh_test_downward): Likewise.
38452         (ctanh_test_upward): Likewise.
38453         (main): Call these new functions.
38454         * sysdeps/i386/fpu/libm-test-ulps: Update.
38455         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38456
38457 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
38458
38459         * .gitignore: Delete /ports entry.
38460
38461 2012-07-03  Andreas Jaeger  <aj@suse.de>
38462
38463         * po/bg.po: Update from translation team.
38464         * po/cs.po: Likewise.
38465         * po/de.po: Likewise.
38466         * po/hr.po: Likewise.
38467         * po/nl.pl: Likewise.
38468         * po/pl.po: Likewise.
38469         * po/vi.po: Likewise.
38470
38471 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
38472
38473         * Makeconfig [!+link] (+link-before-libc): New variable.
38474         [!+link] (+link-after-libc): Likewise.
38475         [!+link] (+link-tests): Likewise.
38476         [!+link] (+link): Define in terms of $(+link-before-libc) and
38477         $(+link-after-libc).
38478         [!+link-static] (+link-static-before-libc): New variable.
38479         [!+link-static] (+link-static-after-libc): Likewise.
38480         [!+link-static] (+link-static-tests): Likewise.
38481         [!+link-static] (+link-static): Define in terms of
38482         $(+link-static-before-libc) and $(+link-static-after-libc).
38483         [build-shared] (link-libc-before-gnulib): New variable.
38484         [build-shared] (link-libc-tests): Likewise.
38485         [build-shared] (link-libc): Define in terms of
38486         $(link-libc-before-gnulib).
38487         [!build-shared] (link-libc-tests): New variable.
38488         (link-libc-static-tests): New variable.
38489         [!gnulib] (gnulib-arch): New variable.
38490         [!gnulib] (gnulib-tests): Likewise.
38491         [!gnulib] (static-gnulib-arch): Likewise.
38492         [!gnulib] (static-gnulib-tests): Likewise.
38493         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
38494         Define with "=" instead of ":=".
38495         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
38496         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
38497         * Rules (binaries-all-notests): New variable.
38498         (binaries-all-tests): Likewise.
38499         (binaries-static-notests): Likewise.
38500         (binaries-static-tests): Likewise.
38501         (binaries-all): Define using $(binaries-all-notests) and
38502         $(binaries-all-tests).
38503         (binaries-static): Define using $(binaries-static-notests) and
38504         $(binaries-static-tests).
38505         (binaries-shared-tests): New variable.
38506         (binaries-shared-notests): Likewise.
38507         (binaries-shared): Remove variable.
38508         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
38509         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
38510         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
38511         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
38512         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
38513         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
38514         * elf/Makefile (sln-modules): New variable.
38515         (extra-objs): Add $(sln-modules:=.o).
38516         (ldconfig-modules): Add static-stubs.
38517         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
38518         * elf/static-stubs.c: New file.
38519
38520         [BZ #14283]
38521         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
38522         by 7 not 8 to examine high bit of fractional part.  Use volatile
38523         variables when splitting into final array of floats if
38524         __FLT_EVAL_METHOD__ != 0.
38525         * math/libm-test.inc (cos_test): Add another test.
38526         (sin_test): Likewise.
38527         * sysdeps/i386/fpu/libm-test-ulps: Update.
38528
38529         [BZ #14273]
38530         * math/libm-test.inc (cosh_test): Add more tests.
38531
38532         * version.h (RELEASE): Set to "development".
38533         (VERSION): Set to "2.16.90".
38534
38535 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
38536
38537         * NEWS: Update copyright. Remove last-updated date.
38538         Mention math library bug fixes and timezone data changes.
38539         * README: Mention GNU/Hurd, x32, and HPPA support status.
38540
38541 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
38542
38543         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
38544
38545 2012-06-27  Andreas Jaeger  <aj@suse.de>
38546
38547         * manual/contrib.texi (Contributors): Add Samuel Thibault.
38548
38549 2012-06-25  Andreas Jaeger  <aj@suse.de>
38550
38551         * sysdeps/s390/fpu/libm-test-ulps: Update.
38552
38553 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
38554             Thomas Schwinge  <thomas@codesourcery.com>
38555
38556         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
38557         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
38558         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
38559         fanotify_mark.
38560
38561 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
38562
38563         * sysdeps/mach/start.c: Remove file.
38564         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
38565         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
38566         * sysdeps/sh/init-first.c: Likewise.
38567
38568         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
38569         registers for frame unwinding purposes, add CFI directives.
38570         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
38571         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
38572         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
38573         Likewise.
38574
38575         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
38576         __fortify_fail returning.
38577         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
38578
38579         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
38580         sysdeps/sh/____longjmp_chk.S.
38581         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
38582         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
38583         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
38584         (gen-as-const-headers): Append sigaltstack-offsets.sym.
38585
38586         * sysdeps/sh/abort-instr.h: New file.
38587         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
38588         process in case exit returns.
38589
38590         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
38591         initialize the GOT register before use.
38592
38593         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
38594         calculation of ARGC > 4.
38595
38596         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
38597         meaningful names to some local labels.
38598
38599 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
38600             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38601
38602         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
38603         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
38604         (__arch_compare_and_exchange_val_16_acq): Likewise.
38605         (__arch_compare_and_exchange_val_32_acq): Likewise.
38606         (atomic_exchange_and_add): Fix gUSA sequence.
38607         (atomic_add): Likewise.
38608         (atomic_add_negative): Likewise.
38609         (atomic_add_zero): Likewise.
38610         (atomic_bit_test_set): Likewise.
38611
38612 2012-06-22  Andreas Schwab  <schwab@redhat.com>
38613
38614         [BZ #13579]
38615         * include/link.h (struct link_map): Add l_free_initfini.
38616         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
38617         l_initfini.
38618         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
38619         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
38620         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
38621         set.
38622
38623 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
38624
38625         * configure.in: Use AC_LANG_SOURCE.
38626         * configure: Regenerate.
38627
38628 2012-06-22  Roland McGrath  <roland@hack.frob.com>
38629
38630         * configure.in (libc_cv_localstatedir): New substituted variable.
38631         * configure: Regenerated.
38632         * config.make.in (localstatedir): New variable, substituted from
38633         libc_cv_localstatedir.
38634         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
38635         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
38636         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
38637         * sysdeps/gnu/configure: Regenerated.
38638
38639 2012-06-21  Jeff Law  <law@redhat.com>
38640
38641         [BZ #14277]
38642         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
38643         free.  Simplify list management for _LIBC case.
38644
38645 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
38646
38647         [BZ #14273]
38648         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
38649         Clear sign bit of 64-bit integer value before comparing against
38650         overflow value.
38651
38652         * sysdeps/mach/configure: Regenerated.
38653
38654 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
38655
38656         [BZ #14278]
38657         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
38658
38659 2012-06-21  Jeff Law  <law@redhat.com>
38660
38661         [BZ #13882]
38662         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
38663         uint16_t for elements in the "seen" array to avoid char overflows.
38664         * elf/dl-fini.c (_dl_sort_fini): Likewise.
38665         * elf/dl-open.c (dl_open_worker): Likewise.
38666
38667 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
38668
38669         * scripts/list-sources.sh: Scan PORTS for translations.
38670         * po/libc.pot: Regenerated.
38671
38672 2012-06-21  Andreas Jaeger  <aj@suse.de>
38673
38674         [BZ #12194]
38675         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
38676         warning.
38677         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
38678         * bits/byteswap-16.h (__bswap_16): Likewise.
38679         * bits/byteswap.h (__bswap_constant_16): Likewise.
38680
38681 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
38682
38683         [BZ #14117]
38684         * sysdeps/i386/fpu_control.h: Removed.
38685         * sysdeps/x86_64/fpu_control.h: Moved to ...
38686         * sysdeps/x86/fpu_control.h: Here.
38687
38688         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
38689         (_FPU_SETCW): Likewise.
38690
38691 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
38692
38693         [BZ #14117]
38694         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
38695         * sysdeps/x86/fpu/bits/mathinline.h: This.
38696         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
38697
38698         [BZ #14050]
38699         [BZ #14117]
38700         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
38701         functions if __x86_64__ is defined.
38702
38703 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
38704
38705         * string/endian.h: Add !__ASSEMBLER__ condition for including
38706         conversion interfaces.
38707
38708 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
38709
38710         [BZ #14241]
38711         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
38712         of ABS(x) in calculating zero to negative powers other than odd
38713         integers.
38714         * math/libm-test.inc (pow_test): Add more tests.
38715
38716 2012-06-15  Andreas Jaeger  <aj@suse.de>
38717
38718         * manual/contrib.texi (Contributors): Update entry of Liubov
38719         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
38720         Machado Filho.
38721
38722 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
38723
38724         * string/string.h: Add __wur to GNU version of strerror_r.
38725
38726 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
38727
38728         [BZ #14229]
38729         * string/Makefile (tests): Add tst-strtok_r.
38730         * string/tst-strtok_r.c: New file.
38731         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
38732         RAX_LP/RDX_LP on SAVE_PTR.
38733
38734 2012-06-14  Roland McGrath  <roland@hack.frob.com>
38735
38736         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
38737
38738 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
38739
38740         * libm_test.inc (csqrt_test): Allow more spurious underflow
38741         exceptions.
38742         (j0_test): Likewise.
38743         (j1_test): Likewise.
38744         (y0_test): Likewise.
38745         (y1_test): Likewise.
38746
38747 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
38748
38749         * po/Makefile (libc.pot): Use UTF-8 charset.
38750
38751 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
38752
38753         [BZ #14210]
38754         Suppress sign-conversion warning from FD_SET.
38755         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
38756         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
38757         not unsigned long int.
38758         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
38759
38760 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
38761
38762         [BZ #14050]
38763         [BZ #14117]
38764         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
38765         __extern_always_inline instead of __extern_inline.
38766         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
38767         (__signbit): Likewise.
38768         (__signbitl): Support C++ namespace.
38769         (lrintf): New inline function.
38770         (lrint): Likewise.
38771         (llrintf): Likewise.
38772         (llrint): Likewise.
38773         (fmaxf): Likewise.
38774         (fmax): Likewise.
38775         (fminf): Likewise.
38776         (fmin): Likewise.
38777         (rint): Likewise.
38778         (rintf): Likewise.
38779         (ceil): Likewise.
38780         (ceilf): Likewise.
38781         (floor): Likewise.
38782         (floorf): Likewise.
38783         (nearbyint): Likewise.
38784         (nearbyintf): Likewise.
38785
38786 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
38787
38788         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
38789         non-default versions.
38790
38791 2012-06-11  Roland McGrath  <roland@hack.frob.com>
38792
38793         [BZ #14218]
38794         * manual/argp.texi (Argp): Reword argp_parse description slightly.
38795
38796 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
38797
38798         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
38799         (FE_UPWARD, FE_DOWNWARD): Don't define.
38800         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
38801         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
38802
38803         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
38804         reading it.
38805         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
38806         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
38807
38808 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38809
38810         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
38811         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
38812         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
38813         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
38814
38815 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
38816
38817         [BZ #14117]
38818         * sysdeps/i386/fpu/bits/fenv.h: Removed.
38819         * sysdeps/i386/fpu/Implies: New file.
38820         * sysdeps/x86_64/fpu/Implies: Likewise.
38821         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
38822         * sysdeps/x86/fpu/bits/fenv.h: This.
38823
38824         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
38825         __SSE_MATH__.
38826
38827 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
38828
38829         [BZ #14134]
38830         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
38831         character 0xffff that matches the last element of the
38832         conversion table.
38833
38834 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38835
38836         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
38837         fmodl commit.
38838
38839 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38840
38841         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
38842         values higher than 25.6283.
38843
38844 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38845
38846         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
38847         subnormal exponent extraction and add some __builtin_expect.
38848         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
38849         Fix for subnormal mantissa calculation.
38850
38851 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
38852
38853         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
38854         cpu2 is -1 and errno is not ENOSYS.
38855
38856 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
38857
38858         [BZ #14117]
38859         * sysdeps/i386/i486/bits/string.h: Renamed to ...
38860         * sysdeps/x86/bits/string.h: This.
38861         * sysdeps/x86_64/bits/string.h: Removed.
38862
38863         * sysdeps/i386/i486/bits/string.h: Define inline functions only
38864         if not compiling for x86-64, but compiling for >= i486.
38865
38866         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
38867         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
38868
38869         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
38870         New macro from Linux kernel 3.4.0.
38871         (FP_XSTATE_MAGIC2): Likewise.
38872         (FP_XSTATE_MAGIC2_SIZE): Likewise.
38873         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
38874         (struct _fpx_sw_bytes): New struct.
38875         (struct _xsave_hdr): Likewise.
38876         (struct _ymmh_state): Likewise.
38877         (struct _xstate): Likewise.
38878
38879         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
38880         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
38881         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
38882         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
38883         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
38884         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
38885
38886         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
38887         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
38888         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
38889         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
38890         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
38891         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
38892
38893 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
38894
38895         [BZ #13743]
38896         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
38897         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
38898         (sysdep_headers): Include sys/platform/ppc.h.
38899         * sysdeps/powerpc/test-gettimebase.c: Test for
38900         __ppc_get_timebase() to catch future ISA opcode/insn changes.
38901         * manual/Makefile (appendices): Include platform.texi.
38902         * manual/contrib.texi (Contributors): Update @node pointers.
38903         * manual/maint.texi (Maintenance): Likewise.
38904         (Platform): New node.
38905         * manual/platform.texi: New file.  Document the new features.
38906
38907 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
38908             Jakub Jelinek  <jakub@redhat.com>
38909
38910         [BZ #14188]
38911         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
38912         where __builtin_expect is unavailable.
38913
38914 2012-06-03  David S. Miller  <davem@davemloft.net>
38915
38916         * stdlib/longlong.h: Updated from GCC.
38917
38918 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
38919
38920         [BZ #14042]
38921         * sysdeps/powerpc/powerpc32/mcount.c: New file.
38922         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
38923         __mcount_internal.
38924         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
38925         (GLIBC_2.16): Likewise.
38926
38927 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
38928
38929         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
38930
38931 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
38932
38933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
38934         (default-abi): New variable.
38935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
38936         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
38937         variable.
38938         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
38939         Likewise.
38940         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
38941         Likewise.
38942         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
38943         Likewise.
38944
38945         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
38946         definition.  Document in comment.
38947
38948 2012-06-01  David S. Miller  <davem@davemloft.net>
38949
38950         * stdlib/longlong.h: Updated from GCC.
38951
38952 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
38953
38954         [BZ #14117]
38955         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
38956         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
38957         sys/debugreg.h sys/io.h here.
38958         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
38959         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
38960         sys/io.h.
38961         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
38962         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
38963         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
38964         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
38965         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
38966         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
38967
38968         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
38969         Define only if __x86_64__ is defined.
38970
38971 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
38972
38973         [BZ #14048]
38974         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
38975         Use int64_t for variable i.
38976         * math/libm-test.inc (fmod_test): Add more tests.
38977
38978         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
38979         z computation is not scheduled after fetestexcept.
38980         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
38981         Use math_force_eval instead of asm to ensure calculation scheduled
38982         before exception test.
38983         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
38984         Ensure a1 + u.d computation is not scheduled after fetestexcept.
38985
38986 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
38987
38988         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
38989         computation is not scheduled after fetestexcept.
38990
38991 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
38992
38993         [BZ #14117]
38994         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
38995         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
38996
38997 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38998
38999         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
39000         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
39001
39002 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
39003
39004         [BZ #14117]
39005         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
39006         <bits/wordsize.h>.
39007         (__WCHAR_MIN): Support __WORDSIZE == 64.
39008         (__WCHAR_MAX): Likewise.
39009
39010         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
39011         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
39012
39013         [BZ #14183]
39014         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
39015         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
39016
39017         [BZ #14117]
39018         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
39019         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
39020
39021         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
39022         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
39023
39024         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
39025         Defined to 1 if __x86_64__ isn't defined.
39026         (_STAT_VER_LINUX_OLD): New.
39027         (st_atime): Remove duplicate.
39028         (st_mtime): Likewise.
39029         (st_ctime): Likewise.
39030
39031 2012-05-31  David S. Miller  <davem@davemloft.net>
39032
39033         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
39034         entries.
39035
39036 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
39037
39038         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
39039         gen-libm-test.pl.
39040
39041         [BZ #14132]
39042         * elf/dl-reloc.c: Include <_itoa.h>.
39043         (_dl_reloc_bad_type): Remove use of INTUSE.
39044         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
39045         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
39046         * stdio-common/psiginfo.c (psiginfo): Likewise.
39047         * stdio-common/psignal.c (psignal): Likewise.
39048         * string/strsignal.c (strsignal): Likewise.
39049         * include/signal.h (_sys_siglist): Declare hidden proto.
39050         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
39051         INTVARDEF with libc_hidden_data_def.
39052         * stdio-common/itoa-udigits.c: Likewise.
39053         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
39054         (_itoa_lower_digits_internal): Remove declaration.
39055         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
39056         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
39057         (_sys_sigabbrev_internal): Remove aliases.
39058         (_sys_siglist): Define hidden alias.
39059
39060 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
39061
39062         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39063         bits/sysctl.h.
39064
39065 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
39066
39067         [BZ #14117]
39068         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
39069         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
39070
39071         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
39072         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
39073         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
39074         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
39075         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
39076         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
39077
39078         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
39079         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
39080         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
39081
39082         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
39083         with __addr.
39084         (insw): Likewise.
39085         (insl): Likewise.
39086         (outsb): Likewise.
39087         (outsw): Likewise.
39088         (outsl): Likewise.
39089
39090         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
39091         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
39092         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
39093
39094         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
39095         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
39096         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
39097         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
39098         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
39099         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
39100
39101         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
39102         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
39103
39104         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
39105         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
39106
39107         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
39108         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
39109         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
39110
39111         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
39112         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
39113         to ...
39114         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
39115
39116         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
39117         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
39118         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
39119
39120         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
39121         for x86-64.
39122         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
39123
39124 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
39125
39126         * math/math.h (M_El): Use two more decimal places.
39127         (M_LOG2El): Likewise.
39128         (M_LOG10El): Likewise.
39129         (M_LN2l): Likewise.
39130         (M_LN10l): Likewise.
39131         (M_PIl): Likewise.
39132         (M_PI_2l): Likewise.
39133         (M_PI_4l): Likewise.
39134         (M_1_PIl): Likewise.
39135         (M_2_PIl): Likewise.
39136         (M_2_SQRTPIl): Likewise.
39137         (M_SQRT2l): Likewise.
39138         (M_SQRT1_2l): Likewise.
39139
39140 2012-05-31  David S. Miller  <davem@davemloft.net>
39141
39142         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
39143         values between float registers.
39144         * sysdeps/sparc/sparc64/memset.S: Likewise.
39145         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
39146
39147 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
39148
39149         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
39150         -D_FORTIFY_SOURCE=1.
39151         (CPPFLAGS-tst-longjmp_chk.c): Define.
39152         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
39153         (CPPFLAGS-tst-longjmp_chk2.c): Define.
39154         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
39155         CFLAGS-tst-wchar-h.c.
39156
39157 2012-05-31  Marek Polacek  <polacek@redhat.com>
39158
39159         [BZ #14132]
39160         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
39161         __endmntent_internal): Remove declaration.
39162         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
39163         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
39164         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
39165
39166 2012-05-30  David S. Miller  <davem@davemloft.net>
39167
39168         * sysdeps/sparc/sparc32/soft-fp/q_util.c
39169         (___Q_simulate_exceptions): Use real FP ops rather than writing
39170         into the %fsr.
39171         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
39172         Likewise.
39173
39174 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
39175
39176         [BZ #14117]
39177         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
39178         * sysdeps/x86/bits/xtitypes.h: This.
39179
39180         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
39181         * sysdeps/x86/bits/wordsize.h: This.
39182
39183         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
39184         * sysdeps/x86/bits/huge_vall.h: This.
39185
39186         * sysdeps/i386/bits/select.h: Removed.
39187         * sysdeps/x86_64/bits/select.h: Renamed to ...
39188         * sysdeps/x86/bits/select.h: This.
39189
39190         * sysdeps/i386/bits/setjmp.h: Removed.
39191         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
39192         * sysdeps/x86/bits/setjmp.h: This.
39193
39194         * sysdeps/i386/bits/mathdef.h: Removed.
39195         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
39196         * sysdeps/x86/bits/mathdef.h: This.
39197
39198 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
39199
39200         [BZ #14132]
39201         * include/sys/socket.h (__connect_internal)
39202         (__libc_sa_len_internal): Remove declaration.
39203         (__connect, __libc_sa_len): Declare hidden_proto.
39204         (SA_LEN): Remove use of INTUSE.
39205         * socket/connect.c: Add libc_hidden_def.
39206         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
39207         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
39208         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
39209         alias.
39210         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
39211         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
39212         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
39213         of adding _internal alias.
39214
39215 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
39216
39217         [BZ #14117]
39218         * sysdeps/i386/bits/link.h: Removed.
39219         * sysdeps/i386/bits/linkmap.h: Likewise.
39220         * sysdeps/x86_64/bits/link.h: Renamed to ...
39221         * sysdeps/x86/bits/link.h: This.
39222         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
39223         * sysdeps/x86/bits/linkmap.h: This.
39224
39225         * sysdeps/i386/bits/endian.h: Removed.
39226         * sysdeps/x86_64/bits/endian.h: Renamed to ...
39227         * sysdeps/x86/bits/endian.h: This.
39228
39229         * sysdeps/i386/bits/byteswap.h: Removed.
39230         * sysdeps/i386/bits/byteswap-16.h: Likewise.
39231         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
39232         * sysdeps/x86/bits/byteswap.h: This.
39233         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
39234         * sysdeps/x86/bits/byteswap-16.h: This.
39235         * sysdeps/i386/Implies: Add x86.
39236         * sysdeps/x86_64/Implies: Likewise.
39237
39238 2012-05-30  David S. Miller  <davem@davemloft.net>
39239
39240         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
39241         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
39242         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
39243         (FP_TRAPPING_EXCEPTIONS): Define.
39244         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
39245         (FP_TRAPPING_EXCEPTIONS): Define.
39246         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
39247         subnormals only when inexact has been signalled or underflow
39248         exceptions are enabled.
39249         (_FP_PACK_CANONICAL): Likewise.
39250
39251 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
39252
39253         [BZ #14183]
39254         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
39255         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
39256
39257 2012-05-30  Richard Henderson  <rth@twiddle.net>
39258
39259         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
39260         with #ifndef NOT_IN_libc.
39261
39262         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
39263         marked to avoid plt entry.
39264
39265 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
39266
39267         [BZ #14112]
39268         * Makeconfig (default-abi): New macro.
39269         (abi-includes): Likewise.
39270         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
39271         $(abi-$(default-abi)-lib-soname) for soname if defined.
39272         ($(common-objpfx)gnu/lib-names.stmp): Generate from
39273         abi-variants.
39274         * Makefile (installed-stubs): Likewise.
39275         * include/stubs-biarch.h: Removed.
39276         * scripts/lib-names.awk: Only handle one library at a time.
39277         * scripts/soversions.awk: Remove WORDSIZE support.
39278         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
39279         entries.
39280         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
39281         Removed.
39282         (syscall-list-default-condition): Likewise.
39283         (syscall-list-default-condition): Likewise.
39284         (syscall-list-includes): Likewise.
39285         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
39286         syscall-list-* with abi-*.  Handle undefined abi-variants.
39287         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
39288         * sysdeps/unix/sysv/linux/i386/Implies: New file.
39289         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
39290         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
39291         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
39292         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
39293         Removed.
39294         (syscall-list-32-options): Likewise.
39295         (syscall-list-32-condition): Likewise.
39296         (syscall-list-64-options): Likewise.
39297         (syscall-list-64-condition): Likewise.
39298         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
39299         macro.
39300         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
39301         Renamed to ...
39302         (abi-*): This.
39303         (abi-64-ld-soname): New macro.
39304         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
39305         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
39306         Renamed to ...
39307         (abi-*): This.
39308         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
39309         * sysdeps/x86_64/x32/shlib-versions: Likewise.
39310
39311 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
39312
39313         * sysdeps/unix/sysv/linux/kernel-features.h
39314         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
39315         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
39316         include <kernel-features.h>.
39317         [!__NR_ftruncate64]: Remove conditional code.
39318         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39319         [__NR_ftruncate64]: Make code unconditional.
39320         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39321         * sysdeps/unix/sysv/linux/truncate64.c: Do not
39322         include <kernel-features.h>.
39323         [!__NR_ftruncate64]: Remove conditional code.
39324         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39325         [__NR_ftruncate64]: Make code unconditional.
39326         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
39328         include <kernel-features.h>.
39329         [!__NR_ftruncate64]: Remove conditional code.
39330         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39331         [__NR_ftruncate64]: Make code unconditional.
39332         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
39334         include <kernel-features.h>.
39335         [!__NR_ftruncate64]: Remove conditional code.
39336         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39337         [__NR_ftruncate64]: Make code unconditional.
39338         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39339
39340         * configure.in (libc_cv_fpie): Weaken to a compile test using
39341         LIBC_TRY_CC_OPTION.
39342         * configure: Regenerated.
39343
39344 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39345
39346         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
39347         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
39348         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
39349         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
39350         Refreshed.
39351         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
39352         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
39353         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
39354         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
39355         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
39356         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
39357         Refreshed.
39358
39359 2012-05-27  David S. Miller  <davem@davemloft.net>
39360
39361         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
39362         (___Q_zero): New.
39363         (__Q_simulate_exceptions): Return void.  Change to simulate
39364         exceptions by writing into the %fsr.
39365         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
39366         (__Qp_handle_exceptions): Likewise.
39367         (numbers): Delete.
39368         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
39369         __Qp_handle_exceptions.
39370         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
39371         __Qp_handle_exceptions.
39372         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
39373         as unused and give dummy FP_RND_NEAREST initializer.
39374         (FP_INHIBIT_RESULTS): Define.
39375         (___Q_simulate_exceptions): Update declaration.
39376         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
39377         formatting.
39378         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
39379         as unused and give dummy FP_RND_NEAREST initializer.
39380         (__Qp_handle_exceptions): Update declaration.
39381         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
39382         formatting.
39383
39384 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
39385
39386         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
39387         the temporary FPU control word.
39388         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
39389         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
39390         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
39391         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
39392         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
39393         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
39394         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
39395         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
39396         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
39397         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
39398         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
39399
39400 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39401
39402         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
39403         fields.
39404
39405 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
39406
39407         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
39408         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
39409         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
39410         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
39411         Likewise.
39412         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
39413         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
39414         Likewise.
39415
39416 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
39417
39418         * po/h.po: Update from translation team.
39419
39420 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
39421
39422         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
39423
39424         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
39425         handling of denormals.
39426         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
39427         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
39428         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
39429         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
39430         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
39431         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
39432         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
39433         Likewise.
39434
39435 2012-05-26  Marek Polacek  <polacek@redhat.com>
39436
39437         [BZ #14152]
39438         * math/libm-test.inc (fma_test): Don't always expect underflow
39439         exception.
39440
39441 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
39442
39443         [BZ #12416]
39444         * elf/tst-execstack.c: Include stackinfo.h.
39445         (do_test): Adjust test case to ensure that pthread_getattr_np
39446         behaviour remains the same after marking stack executable.
39447
39448 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
39449
39450         * sysdeps/unix/sysv/linux/kernel-features.h
39451         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
39452         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
39453         kernel-features.h.
39454         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
39455         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
39456         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
39457         kernel-features.h.
39458         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
39459         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
39460
39461 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
39462
39463         * configure.in: Define the default includes to being none.
39464         * configure: Regenerated.
39465
39466 2012-05-25  Roland McGrath  <roland@hack.frob.com>
39467
39468         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
39469         * sysdeps/x86_64/setjmp.S: Likewise.
39470         * sysdeps/i386/bsd-setjmp.S: Likewise.
39471         * sysdeps/i386/bsd-_setjmp.S: Likewise.
39472         * sysdeps/i386/setjmp.S: Likewise.
39473         * sysdeps/i386/__longjmp.S: Likewise.
39474         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
39475         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
39476
39477         * include/stap-probe.h: New file.
39478         * configure.in: Handle --enable-systemtap.
39479         * configure: Regenerated.
39480         * config.h.in (USE_STAP_PROBE): New #undef.
39481         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
39482         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
39483         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
39484
39485 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
39486
39487         [BZ #13717]
39488         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
39489         to 2.4.0 where earlier.
39490         * sysdeps/unix/sysv/linux/configure: Regenerated.
39491         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
39492         <kernel-features.h>.
39493         [__ASSUME_32BITUIDS]: Make code unconditional.
39494         [!__ASSUME_32BITUIDS]: Remove conditional code.
39495         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
39496         <kernel-features.h>.
39497         [__ASSUME_32BITUIDS]: Make code unconditional.
39498         [!__ASSUME_32BITUIDS]: Remove conditional code.
39499         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
39500         [__ASSUME_32BITUIDS]: Make code unconditional.
39501         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
39502         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
39503         <kernel-features.h>.
39504         [__ASSUME_32BITUIDS]: Make code unconditional.
39505         [!__ASSUME_32BITUIDS]: Remove conditional code.
39506         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
39507         <kernel-features.h>.
39508         [__ASSUME_32BITUIDS]: Make code unconditional.
39509         [!__ASSUME_32BITUIDS]: Remove conditional code.
39510         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
39511         <kernel-features.h>.
39512         [__ASSUME_32BITUIDS]: Make code unconditional.
39513         [!__ASSUME_32BITUIDS]: Remove conditional code.
39514         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
39515         <kernel-features.h>.
39516         [__ASSUME_32BITUIDS]: Make code unconditional.
39517         [!__ASSUME_32BITUIDS]: Remove conditional code.
39518         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
39519         <kernel-features.h>.
39520         [__ASSUME_32BITUIDS]: Make code unconditional.
39521         [!__ASSUME_32BITUIDS]: Remove conditional code.
39522         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
39523         <kernel-features.h>.
39524         [__ASSUME_32BITUIDS]: Make code unconditional.
39525         [!__ASSUME_32BITUIDS]: Remove conditional code.
39526         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
39527         <kernel-features.h>.
39528         [__ASSUME_32BITUIDS]: Make code unconditional.
39529         [!__ASSUME_32BITUIDS]: Remove conditional code.
39530         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
39531         <kernel-features.h>.
39532         [__ASSUME_32BITUIDS]: Make code unconditional.
39533         [!__ASSUME_32BITUIDS]: Remove conditional code.
39534         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
39535         <kernel-features.h>.
39536         [__ASSUME_32BITUIDS]: Make code unconditional.
39537         [!__ASSUME_32BITUIDS]: Remove conditional code.
39538         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
39539         <kernel-features.h>.
39540         [__ASSUME_32BITUIDS]: Make code unconditional.
39541         [!__ASSUME_32BITUIDS]: Remove conditional code.
39542         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
39543         <kernel-features.h>.
39544         [__NR_setresgid] (__setresgid): Do not declare.
39545         [__ASSUME_32BITUIDS]: Make code unconditional.
39546         [!__ASSUME_32BITUIDS]: Remove conditional code.
39547         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
39548         <kernel-features.h>.
39549         [__NR_setresuid] (__setresuid): Do not declare.
39550         [__ASSUME_32BITUIDS]: Make code unconditional.
39551         [!__ASSUME_32BITUIDS]: Remove conditional code.
39552         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
39553         <kernel-features.h>.
39554         [__ASSUME_32BITUIDS]: Make code unconditional.
39555         [!__ASSUME_32BITUIDS]: Remove conditional code.
39556         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
39557         <kernel-features.h>.
39558         [__ASSUME_32BITUIDS]: Make code unconditional.
39559         [!__ASSUME_32BITUIDS]: Remove conditional code.
39560         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
39561         <kernel-features.h>.
39562         [__ASSUME_32BITUIDS]: Make code unconditional.
39563         [!__ASSUME_32BITUIDS]: Remove conditional code.
39564         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
39565         <kernel-features.h>.
39566         [__ASSUME_32BITUIDS]: Make code unconditional.
39567         [!__ASSUME_32BITUIDS]: Remove conditional code.
39568         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
39569         <kernel-features.h>.
39570         [__ASSUME_32BITUIDS]: Make code unconditional.
39571         [!__ASSUME_32BITUIDS]: Remove conditional code.
39572         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
39573         <kernel-features.h>.
39574         [__ASSUME_32BITUIDS]: Make code unconditional.
39575         [!__ASSUME_32BITUIDS]: Remove conditional code.
39576         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
39577         <kernel-features.h>.
39578         [__ASSUME_32BITUIDS]: Make code unconditional.
39579         [!__ASSUME_32BITUIDS]: Remove conditional code.
39580         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
39581         <kernel-features.h>.
39582         [__ASSUME_32BITUIDS]: Make code unconditional.
39583         [!__ASSUME_32BITUIDS]: Remove conditional code.
39584         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
39585         <kernel-features.h>.
39586         [__ASSUME_32BITUIDS]: Make code unconditional.
39587         [!__ASSUME_32BITUIDS]: Remove conditional code.
39588         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
39589         <kernel-features.h>.
39590         [__ASSUME_32BITUIDS]: Make code unconditional.
39591         [!__ASSUME_32BITUIDS]: Remove conditional code.
39592         * sysdeps/unix/sysv/linux/kernel-features.h
39593         (__ASSUME_SETRESUID_SYSCALL): Remove.
39594         (__ASSUME_SETRESGID_SYSCALL): Likewise.
39595         (__ASSUME_32BITUIDS): Likewise.
39596         (__ASSUME_LDT_WORKS): Likewise.
39597         (__ASSUME_O_DIRECTORY): Likewise.
39598         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
39599         architecture but not kernel version.
39600         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
39601         (__ASSUME_MMAP2_SYSCALL): Likewise.
39602         (__ASSUME_STAT64_SYSCALL): Likewise.
39603         (__ASSUME_IPC64): Likewise.
39604         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
39605         <kernel-features.h>.
39606         [__ASSUME_32BITUIDS]: Make code unconditional.
39607         [!__ASSUME_32BITUIDS]: Remove conditional code.
39608         * sysdeps/unix/sysv/linux/opendir.c: Do not include
39609         <kernel-features.h>.
39610         [__ASSUME_O_DIRECTORY]: Make code unconditional.
39611         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
39612         132096]: Remove conditional code.
39613         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
39614         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
39615         <kernel-features.h>.
39616         [__ASSUME_32BITUIDS]: Make code unconditional.
39617         [!__ASSUME_32BITUIDS]: Remove conditional code.
39618         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
39619         <kernel-features.h>.
39620         [__ASSUME_32BITUIDS]: Make code unconditional.
39621         [!__ASSUME_32BITUIDS]: Remove conditional code.
39622         * sysdeps/unix/sysv/linux/setegid.c: Do not include
39623         <kernel-features.h>.
39624         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
39625         unconditional.
39626         (__setresgid): Do not declare.
39627         [__ASSUME_32BITUIDS]: Make code unconditional.
39628         [!__ASSUME_32BITUIDS]: Remove conditional code.
39629         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
39630         <kernel-features.h>.
39631         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
39632         unconditional.
39633         (__setresuid): Do not declare.
39634         [__ASSUME_32BITUIDS]: Make code unconditional.
39635         [!__ASSUME_32BITUIDS]: Remove conditional code.
39636         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
39637         <kernel-features.h>.
39638         [__ASSUME_32BITUIDS]: Make code unconditional.
39639         [!__ASSUME_32BITUIDS]: Remove conditional code.
39640         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
39641         <kernel-features.h>.
39642         [__ASSUME_32BITUIDS]: Make code unconditional.
39643         [!__ASSUME_32BITUIDS]: Remove conditional code.
39644
39645 2012-05-25  Richard Henderson  <rth@twiddle.net>
39646
39647         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
39648         dl_hwcap to ifunc resolver.
39649         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
39650         elf_ifunc_invoke.
39651         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
39652         dl_hwcap to ifunc resolver.
39653         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
39654
39655 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
39656
39657         [BZ #14153]
39658         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
39659         for |x| <= 2**-26, not 2**-57.
39660         * math/libm-test.inc (acos_test): Do not allow spurious underflow
39661         exception.
39662
39663 2012-05-24  Jeff Law  <law@redhat.com>
39664
39665         * stdio-common/Makefile (tests): Add bug25.
39666         * stdio-common/bug25.c: New test.
39667
39668 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
39669
39670         [BZ #13576]
39671         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
39672         multiple of MALLOC_ALIGNMENT in size.
39673         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
39674
39675 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
39676
39677         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
39678         Require >= 256.
39679         (FILENAME_MAX): Use macro-int-constant.
39680         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
39681         (_IOFBF): Use macro-int-constant.
39682         (_IOLBF): Likewise.
39683         (_IONBF): Likewise.
39684         (SEEK_CUR): Likewise.
39685         (SEEK_END): Likewise.
39686         (SEEK_SET): Likewise.
39687         (TMP_MAX): Likewise.
39688         (EOF): Use macro-int-constant.  Require < 0.
39689         (NULL): Use macro-constant.  Require == 0.
39690         (stdin): Require type to be FILE *.
39691         (stdout): Likewise.
39692         (stderr): Likewise.
39693         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
39694         macro-int-constant.
39695         (EXIT_SUCCESS): Likewise.
39696         (NULL): Use macro-constant.  Require == 0.
39697         (RAND_MAX): Use macro-int-constant.
39698         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
39699         [C99-based standards] (strtof): Require function.
39700         [C99-based standards] (strtold): Likewise.
39701         [C99-based standards] (strtoll): Likewise.
39702         [C99-based standards] (strtoull): Likewise.
39703         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
39704         [ISO || ISO99 || ISO11] (limits.h): Likewise.
39705         [ISO || ISO99 || ISO11] (math.h): Likewise.
39706         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
39707         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
39708         [ISO || ISO99 || ISO11] (*_t): Do not allow.
39709
39710 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
39711
39712         [BZ #14132]
39713         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
39714         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
39715         * intl/dgettext.c (DCGETTEXT): Likewise.
39716         * intl/gettext.c (DCGETTEXT): Likewise.
39717         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
39718         * posix/regex_internal.h (gettext): Likewise.
39719         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
39720         Remove declaration.
39721         * include/argz.h (__argz_count_internal)
39722         (__argz_stringify_internal): Remove declaration.
39723         (__argz_count, __argz_stringify): Declare hidden proto.
39724         * intl/dcgettext.c: Remove use of INTDEF.
39725         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
39726         * string/argz-stringify.c: Likewise.
39727         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
39728         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
39729         Declare hidden proto.
39730         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
39731         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
39732         Declare hidden proto.
39733         * include/stdio.h (__asprintf_internal): Don't declare.
39734         (__asprintf): Don't define as macro.  Declare hidden proto.
39735         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
39736         (__fsetlocking): Declare hidden proto.
39737         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
39738         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
39739         hidden proto.
39740         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
39741         (_IO_setlinebuf): Remove use of INTUSE.
39742         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
39743         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
39744         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
39745         Remove declaration.
39746         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
39747         (_IO_do_flush): Remove use of INTUSE.
39748         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
39749         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
39750         (_IO_adjust_column, _IO_least_wmarker)
39751         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
39752         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
39753         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
39754         (_IO_default_doallocate, _IO_wdefault_doallocate)
39755         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
39756         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
39757         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
39758         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
39759         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
39760         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
39761         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
39762         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
39763         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
39764         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
39765         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
39766         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
39767         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
39768         proto.
39769         (_IO_flush_all_internal, _IO_adjust_column_internal)
39770         (_IO_default_uflow_internal, _IO_default_finish_internal)
39771         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
39772         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
39773         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
39774         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
39775         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
39776         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
39777         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
39778         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
39779         (_IO_file_close_internal, _IO_file_close_it_internal)
39780         (_IO_file_underflow_internal, _IO_file_overflow_internal)
39781         (_IO_file_init_internal, _IO_file_attach_internal)
39782         (_IO_file_fopen_internal, _IO_file_read_internal)
39783         (_IO_file_sync_internal, _IO_file_seek_internal)
39784         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
39785         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
39786         (_IO_str_underflow_internal, _IO_str_overflow_internal)
39787         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
39788         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
39789         (_IO_list_all_internal, _IO_link_in_internal)
39790         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
39791         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
39792         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
39793         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
39794         (_IO_do_write_internal, _IO_padn_internal)
39795         (_IO_getline_info_internal, _IO_getline_internal)
39796         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
39797         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
39798         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
39799         (_IO_vfscanf_internal, _IO_vfprintf_internal)
39800         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
39801         (_IO_init_internal, _IO_un_link_internal): Don't declare.
39802         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
39803         with libc_hidden_ver, remove use of INTUSE.
39804         * libio/genops.c: Likewise.
39805         * libio/freopen.c: Likewise.
39806         * libio/freopen64.c: Likewise.
39807         * libio/iofclose.c: Likewise.
39808         * libio/iofdopen.c: Likewise.
39809         * libio/iofflush.c: Likewise.
39810         * libio/iofflush_u.c: Likewise.
39811         * libio/iofgets.c: Likewise.
39812         * libio/iofgets_u.c: Likewise.
39813         * libio/iofopen.c: Likewise.
39814         * libio/iofopncook.c: Likewise.
39815         * libio/iofread.c: Likewise.
39816         * libio/iofread_u.c: Likewise.
39817         * libio/ioftell.c: Likewise.
39818         * libio/iofwrite.c: Likewise.
39819         * libio/iogetline.c: Likewise.
39820         * libio/iogets.c: Likewise.
39821         * libio/iogetwline.c: Likewise.
39822         * libio/iopadn.c: Likewise.
39823         * libio/iopopen.c: Likewise.
39824         * libio/ioseekoff.c: Likewise.
39825         * libio/ioseekpos.c: Likewise.
39826         * libio/iosetbuffer.c: Likewise.
39827         * libio/iosetvbuf.c: Likewise.
39828         * libio/ioungetc.c: Likewise.
39829         * libio/ioungetwc.c: Likewise.
39830         * libio/iovdprintf.c: Likewise.
39831         * libio/iovsprintf.c: Likewise.
39832         * libio/iovsscanf.c: Likewise.
39833         * libio/memstream.c: Likewise.
39834         * libio/obprintf.c: Likewise.
39835         * libio/oldfileops.c: Likewise.
39836         * libio/oldiofclose.c: Likewise.
39837         * libio/oldiofdopen.c: Likewise.
39838         * libio/oldiofopen.c: Likewise.
39839         * libio/oldiopopen.c: Likewise.
39840         * libio/oldstdfiles.c: Likewise.
39841         * libio/putc.c: Likewise.
39842         * libio/setbuf.c: Likewise.
39843         * libio/setlinebuf.c: Likewise.
39844         * libio/stdfiles.c: Likewise.
39845         * libio/strops.c: Likewise.
39846         * libio/vasprintf.c: Likewise.
39847         * libio/vscanf.c: Likewise.
39848         * libio/vsnprintf.c: Likewise.
39849         * libio/vswprintf.c: Likewise.
39850         * libio/wfiledoalloc.c: Likewise.
39851         * libio/wfileops.c: Likewise.
39852         * libio/wgenops.c: Likewise.
39853         * libio/wmemstream.c: Likewise.
39854         * libio/wstrops.c: Likewise.
39855         * libio/__fpurge.c: Likewise.
39856         * libio/__fsetlocking.c: Likewise.
39857         * assert/assert.c: Likewise.
39858         * debug/fgets_chk.c: Likewise.
39859         * debug/fgets_u_chk.c: Likewise.
39860         * debug/fread_chk.c: Likewise.
39861         * debug/fread_u_chk.c: Likewise.
39862         * debug/gets_chk.c: Likewise.
39863         * debug/obprintf_chk.c: Likewise.
39864         * debug/vasprintf_chk.c: Likewise.
39865         * debug/vdprintf_chk.c: Likewise.
39866         * debug/vsnprintf_chk.c: Likewise.
39867         * debug/vsprintf_chk.c: Likewise.
39868         * malloc/mtrace.c: Likewise.
39869         * misc/error.c: Likewise.
39870         * misc/syslog.c: Likewise.
39871         * stdio-common/asprintf.c: Likewise.
39872         * stdio-common/fxprintf.c: Likewise.
39873         * stdio-common/getw.c: Likewise.
39874         * stdio-common/isoc99_fscanf.c: Likewise.
39875         * stdio-common/isoc99_scanf.c: Likewise.
39876         * stdio-common/isoc99_vfscanf.c: Likewise.
39877         * stdio-common/isoc99_vscanf.c: Likewise.
39878         * stdio-common/isoc99_vsscanf.c: Likewise.
39879         * stdio-common/printf-prs.c: Likewise.
39880         * stdio-common/printf_fp.c: Likewise.
39881         * stdio-common/printf_fphex.c: Likewise.
39882         * stdio-common/printf_size.c: Likewise.
39883         * stdio-common/putw.c: Likewise.
39884         * stdio-common/scanf.c: Likewise.
39885         * stdio-common/sprintf.c: Likewise.
39886         * stdio-common/tmpfile.c: Likewise.
39887         * stdio-common/vfprintf.c: Likewise.
39888         * stdio-common/vfscanf.c: Likewise.
39889         * stdlib/strfmon_l.c: Likewise.
39890         * sunrpc/openchild.c: Likewise.
39891         * sunrpc/xdr_stdio.c: Likewise.
39892         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
39893         * sysdeps/mach/hurd/tmpfile.c: Likewise.
39894
39895 2012-05-24  Roland McGrath  <roland@hack.frob.com>
39896
39897         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
39898
39899         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
39900         in the third column, to generate for the shared library an IFUNC
39901         that uses _dl_vdso_vsym.
39902         * Makerules (COMPILE.c, compile-stdin.c): New variables.
39903         * Makeconfig (object-suffixes-noshared): New variable.
39904
39905         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
39906         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
39907         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
39908         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
39909
39910         [BZ #14132]
39911         * include/sys/time.h (__gettimeofday): Remove macro.
39912         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
39913         * time/gettimeofday.c (__gettimeofday): Remove #undef.
39914         Remove INTDEF.
39915         (__gettimeofday): Add libc_hidden_def.
39916         (gettimeofday): Add libc_hidden_weak.
39917         * sysdeps/mach/gettimeofday.c: Likewise.
39918         * sysdeps/posix/gettimeofday.c: Likewise.
39919         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
39920         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
39921         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
39922         (__gettimeofday_internal): Remove strong_alias.
39923         (__gettimeofday): Add libc_hidden_def.
39924         (gettimeofday): Add libc_hidden_weak.
39925         * sysdeps/unix/syscalls.list (gettimeofday):
39926         Remove __gettimeofday_internal alias.
39927
39928 2012-05-24  Daniel Jacobowitz  <drow@false.org>
39929             H.J. Lu  <hongjiu.lu@intel.com>
39930
39931         [BZ #12495]
39932         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
39933         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
39934         (largebin_index_32_big): New.
39935         (largebin_index): Use it for 16-byte alignment.
39936         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
39937         correction with front_misalign.
39938
39939 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
39940
39941         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
39942         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
39943         Likewise.
39944         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
39945         Likewise.
39946         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
39947         Likewise.
39948         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
39949         Likewise.
39950         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
39951         Likewise.
39952         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
39953         Likewise.
39954         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
39955         Likewise.
39956         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
39957         Likewise.
39958         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
39959         Likewise.
39960         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
39961         Likewise.
39962         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
39963         Likewise.
39964         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
39965         Likewise.
39966
39967         * scripts/data/c++-types-x32-linux-gnu.data: New file.
39968         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
39969
39970 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
39971
39972         [BZ #10846]
39973         [BZ #14036]
39974         * math/libm-test.inc (exp_test): Add test from bug 14036.
39975         (pow_test): Add test from bug 10846.
39976
39977         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
39978         and other flags.
39979         (special_function): Do not include flags in test name.
39980         (parse_args): Likewise.
39981         * sysdeps/i386/fpu/libm-test-ulps: Update.
39982         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39983         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
39984         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
39985         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39986
39987         * math/gen-libm-test.pl (%beautify): Add entries for underflow
39988         exceptions.
39989         * math/libm-test.inc ("Philosophy"): Update comment about
39990         exception testing.
39991         (UNDERFLOW_EXCEPTION): New macro.
39992         (UNDERFLOW_EXCEPTION_OK): Likewise.
39993         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
39994         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
39995         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
39996         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
39997         (INVALID_EXCEPTION_OK): Update value.
39998         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
39999         (OVERFLOW_EXCEPTION_OK): Likewise.
40000         (IGNORE_ZERO_INF_SIGN): Likewise.
40001         (test_exceptions): Handle underflow exceptions.
40002         (acos_test): Update for underflow exception expectations.
40003         (cexp_test): Likewise.
40004         (clog_test): Likewise.
40005         (clog10_test): Likewise.
40006         (csqrt_test): Likewise.
40007         (ctan_test): Likewise.
40008         (ctanh_test): Likewise.
40009         (exp_test): Likewise.
40010         (exp10_test): Likewise.
40011         (exp2_test): Likewise.
40012         (expm1_test): Likewise.
40013         (fma_test): Likewise.
40014         (j0_test): Likewise.
40015         (jn_test): Likewise.
40016         (nexttoward_test): Likewise.
40017         (pow_test): Likewise.
40018         (scalbn_test): Likewise.
40019         (scalbln_test): Likewise.
40020         (tan_test): Likewise.
40021         (y1_test): Likewise.
40022         * sysdeps/i386/fpu/libm-test-ulps: Update.
40023         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40024
40025 2012-05-23  David S. Miller  <davem@davemloft.net>
40026
40027         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
40028         (__libc_sigaction): Remove unused local variables.
40029
40030 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
40031
40032         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
40033
40034 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
40035
40036         mktime: avoid signed integer overflow
40037         * time/mktime.c (__mktime_internal): Do not mishandle the case
40038         where diff == INT_MIN.
40039
40040         mktime: simplify computation of average
40041         * time/mktime.c (ranged_convert): Use new time_t_avg function
40042         instead of rolling our own (probably-slower) code.
40043
40044         mktime: do not assume signed right shift propagates sign bit
40045         * time/mktime.c (isdst_differ): New static function.
40046         (__mktime_internal): No need to normalize tm_isdst now.
40047         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
40048         tm_isdst values.
40049
40050         mktime: merge another wrapv change from gnulib
40051         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
40052         from some compilers.
40053
40054         mktime: remove incorrect attempt at unusual arithmetics
40055         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
40056         The code didn't really work on such machines anyway.
40057         (TYPE_MINIMUM): Assume two's complement.
40058         (twos_complement_arithmetic): Verify that long_int and time_t
40059         are two's complement (or unsigned, in the latter case).
40060
40061         mktime: check signed shifts on long_int and time_t, too
40062         * time/mktime.c (SHR): Check that shifts work as desired
40063         on the types long_int and time_t too, as SHR is used on
40064         such types.
40065
40066         mktime: do not assume 'long' is wide enough
40067         * time/mktime.c (verify): Move decl up.
40068         (long_int): New type.
40069         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
40070         to remove assumption in the code that 'long' is wide enough to
40071         store year values.  This assumption is not true on x32 and on
40072         some non-glibc platforms.
40073
40074         mktime: merge wrapv change from gnulib
40075         * time/mktime.c (WRAPV): New macro.
40076         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
40077         (guess_time_tm, __mktime_internal): Do not assume that signed
40078         integer overflow wraps around; modern compilers generate code
40079         where this assumption is no longer valid.
40080
40081 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
40082
40083         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
40084         Replace "jmp L(pseudo_end)" with "ret".
40085         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
40086         Likewise.
40087
40088 2012-05-23  Andreas Jaeger  <aj@suse.de>
40089
40090         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
40091         * sysdeps/unix/sysv/linux/poll.c: Remove file.
40092
40093 2012-05-23  Andreas Jaeger  <aj@suse.de>
40094             Maximilian Attems  <max@stro.at>
40095
40096         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
40097         New macros.
40098
40099 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
40100
40101         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
40102         code so that pseudo_end is just ret and the stack pointer is
40103         correct also for static library in error case.
40104
40105 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
40106
40107         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
40108         move to syscalls.list.
40109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
40110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
40111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
40112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
40113
40114         * manual/install.texi (Running make install): Do not mention Linux
40115         kernel version for which pt_chown is not needed.
40116         (Linux): Do not mention problems with nscd with 2.0 kernels.
40117         * INSTALL: Regenerated.
40118
40119 2012-05-23  Andreas Jaeger  <aj@suse.de>
40120
40121         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
40122         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
40123         macro.
40124         * sysdeps/unix/sysv/linux/s390/bits/mman.h
40125         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40126         * sysdeps/unix/sysv/linux/sh/bits/mman.h
40127         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40128         * sysdeps/unix/sysv/linux/i386/bits/mman.h
40129         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40130         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
40131         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40132         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
40133         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40134         * sysdeps/unix/sysv/linux/bits/in.h
40135         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
40136
40137 2012-05-22  Roland McGrath  <roland@hack.frob.com>
40138
40139         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
40140         (PREPARE_VERSION): Just use assert instead, it will be elided
40141         under [NDEBUG] anyway.
40142
40143 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
40144
40145         * sysdeps/unix/sysv/linux/Makefile: Include
40146         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
40147         (sysdep_routines): Remove sysctl.
40148         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
40149         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
40150         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
40151         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
40152         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
40153
40154 2012-05-22  Andreas Jaeger  <aj@suse.de>
40155
40156         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
40157         that pseudo_end is just ret and the stack pointer is correct also
40158         for static library in error case.
40159
40160 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
40161
40162         [BZ #14122]
40163         * nss/nsswitch.c (defconfig_entries): New variable.
40164         (__nss_database_lookup): Don't leak defconfig entries.
40165         (nss_parse_service_list): Don't leak on error paths.
40166         (free_database_entries): New function.
40167         (free_defconfig): New function.
40168         (free_mem): Move common code to free_database_entries.
40169
40170 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
40171
40172         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
40173         Add arch_prctl.
40174         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
40175
40176         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
40177         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
40178         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
40179         New macro.
40180         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
40181         (INTERNAL_SYSCALL_TYPES): Likewise.
40182         (LOAD_ARGS_TYPES_[1-6]): Likewise.
40183         (LOAD_REGS_TYPES_[1-6]): Likewise.
40184         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
40185         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
40186
40187 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40188
40189         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
40190         copysignl for GLIBC_2_0.
40191         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
40192         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
40193         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
40194         logbl for GLIBC_2_0.
40195         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
40196         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
40197
40198 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
40199
40200         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
40201         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
40202
40203         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
40204         Use "neg %eax".
40205
40206         * time/mktime.c: Update copyright years.
40207
40208 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
40209
40210         mktime: merge comment-quoting-style change from gnulib
40211         * time/mktime.c: Quote 'like this' in comments.
40212         The GNU coding standards suggest that we no longer quote `like this',
40213         as "`" and "'" are typically rendered asymmetrically nowadays.
40214         The typical gnulib style is to quote 'like this' when quoting
40215         code, and "like this" when quoting English.
40216
40217         * time/mktime.c (compile-command): Add "-I.".
40218
40219         mktime: merge mktime-internal.h change from gnulib
40220         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
40221
40222         mktime: merge time_r change from gnulib
40223         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
40224
40225         mktime: merge DEBUG change from gnulib
40226         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
40227         case system <time.h> has a #define.
40228
40229         mktime: merge <sys/types.h> change from gnulib
40230         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
40231         since <time.t> is now guaranteed to define time_t.
40232
40233         mktime: merge HAVE_CONFIG_H change from gnulib
40234         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
40235
40236 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
40237
40238         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
40239         Use "neg %eax".
40240
40241         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
40242         __rlim_t cast.
40243         (struct rusage): Use anonymous union to pad each field to
40244         __syscall_slong_t.
40245
40246 2012-05-21  David S. Miller  <davem@davemloft.net>
40247
40248         * Makefules (o-iterator): Remove .s cases.
40249         (compile-command.s): Delete.
40250         (COMPILE.s): Delete.
40251         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
40252
40253 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
40254
40255         * configure.in (libc_cv_predef_stack_protector): Only consider
40256         "foobar" and "__stack_chk_fail" lines in libc_undefs.
40257         * configure: Regenerated.
40258
40259 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
40260
40261         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
40262         New macro.  Use R*LP on int and pointer.
40263         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
40264         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
40265         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
40266         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
40267
40268         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
40269         [__WORDSIZE_TIME64_COMPAT32] instead of
40270         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
40271         (struct utmp): Likewise.
40272         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
40273         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
40274         Renamed to ...
40275         (__WORDSIZE_TIME64_COMPAT32): This.
40276         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
40277         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
40278         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
40279         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
40280         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
40281         (__WORDSIZE_TIME64_COMPAT32): New macro.
40282
40283 2012-05-21  Andreas Jaeger  <aj@suse.de>
40284
40285         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
40286         only if [SHARED]. Add prototype for __wcschr_ia32.
40287
40288 2012-05-21  Roland McGrath  <roland@hack.frob.com>
40289
40290         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
40291         of %rbp unmolested in the jmp_buf while mangling the low bits.
40292         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
40293         unmolested high bits of %rbp while demangling the low bits.
40294         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
40295
40296 2012-05-21  Andreas Jaeger  <aj@suse.de>
40297
40298         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
40299         * sunrpc/svc_simple.c: Use it for registerrpc.
40300         * sunrpc/xcrypt.c: Use it for passwd2des.
40301
40302         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
40303
40304 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
40305
40306         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
40307         Don't define if [__SYSCALL_WORDSIZE != 32].
40308         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
40309         New macro.
40310
40311 2012-05-21  Bruno Haible  <bruno@clisp.org>
40312             Andreas Jaeger  <aj@suse.de>
40313
40314         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
40315         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
40316         inptr and inend for must_buffer_ch.
40317         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
40318         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
40319         * stdio-common/Makefile (tests): Remove bug15.
40320         (bug15-ENV): Remove macro.
40321         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
40322         anymore.
40323
40324 2012-05-19  Andreas Jaeger  <aj@suse.de>
40325             Roland McGrath  <roland@hack.frob.com>
40326
40327         * manual/contrib.texi: Completely rewritten. It contains now an
40328         alphabetical list of contributors and their contributions.
40329
40330 2012-05-21  Richard Henderson  <rth@twiddle.net>
40331
40332         * misc/getauxval.c (__getauxval): Use unsigned long int.
40333         * misc/sys/auxv.h: Include <sys/cdefs.h>.
40334         (getauxval): Use unsigned long int.
40335
40336 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
40337
40338         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
40339
40340 2012-05-21  Roland McGrath  <roland@hack.frob.com>
40341
40342         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
40343         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
40344         __alignof__ (long double).
40345
40346 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40347
40348         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40349
40350 2012-05-20  Richard Henderson  <rth@twiddle.net>
40351
40352         * misc/getauxval.c: New file.
40353         * misc/sys/auxv.h: New file.
40354         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
40355         (routines): Add getauxval.
40356         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
40357         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
40358         * elf/dl-sysdep.c (_dl_auxv): Remove.
40359         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
40360         * elf/dl-support.c (_dl_auxv): New variable.
40361         (_dl_aux_init): Initialize it.
40362         * manual/startup.texi (Auxiliary Vector): New node.
40363         * sysdeps/generic/bits/hwcap.h: New file.
40364         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
40365         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
40366         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
40367         * sysdeps/sparc/sysdep.h: ... here.  Include it.
40368         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
40369         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
40370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40371         Update.
40372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
40373         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
40374         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
40375         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
40376         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
40377         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
40378         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
40379         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
40380
40381 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40382
40383         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40384
40385 2012-05-19  David S. Miller  <davem@davemloft.net>
40386
40387         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40388
40389 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
40390
40391         [BZ #14123]
40392         * math/s_ccosh.c: Include <float.h>
40393         (__ccosh): Avoid internal overflow calculating sinh and cosh
40394         values before multiplying by sin and cos values.
40395         * math/s_ccoshf.c: Likewise.
40396         * math/s_ccoshl.c: Likewise.
40397         * math/s_csin.c: Likewise.
40398         * math/s_csinf.c: Likewise.
40399         * math/s_csinl.c: Likewise.
40400         * math/s_csinh.c: Likewise.
40401         * math/s_csinhf.c: Likewise.
40402         * math/s_csinhl.c: Likewise.
40403         * math/libm-test.inc (ccos_test): Add more tests.
40404         (ccosh_test): Likewise.
40405         (csin_test): Likewise.
40406         (csinh_test): Likewise.
40407         * sysdeps/i386/fpu/libm-test-ulps: Update.
40408         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40409
40410 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
40411
40412         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
40413         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
40414
40415         * sysdeps/x86_64/x32/_itoa.h: Add comment.
40416
40417 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
40418
40419         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
40420         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
40421         * sysdeps/powerpc/soft-fp/Versions: Likewise.
40422         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
40423         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
40424         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
40425         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
40426         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
40427         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
40428         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
40429         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
40430         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
40431         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
40432         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
40433         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
40434         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
40435         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
40436         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
40437         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
40438         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
40439         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
40440         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
40441         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
40442         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
40443         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
40444         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
40445         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
40446         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
40447         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
40448         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
40449         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
40450
40451 2012-05-18  Andreas Jaeger  <aj@suse.de>
40452
40453         * csu/.gitignore: Delete.
40454
40455 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
40456
40457         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
40458         (timex): Use __syscall_slong_t.
40459
40460 2012-05-18  Andreas Jaeger  <aj@suse.de>
40461             Carlos O'Donell  <carlos_odonell@mentor.com>
40462
40463         * manual/install.texi (Configuring and compiling): Update
40464         description about files modified in the source directory.
40465         * INSTALL: Regenerated.
40466
40467 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
40468
40469         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
40470         value.  Use "or" to set return value to -1.
40471         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
40472         negate return value.
40473
40474 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
40475
40476         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
40477         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
40478         failure if the compiler has Graphite support disabled.
40479         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
40480         Likewise.
40481         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
40482         (CFLAGS-memmove.c): Likewise.
40483         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
40484         Likewise.
40485
40486 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
40487
40488         * sysdeps/x86_64/x32/_itoa.h: New file.
40489
40490         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
40491         getdents system call only if kernel and user dirents have the
40492         same d_ino and d_off.
40493
40494         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
40495         LLONG_MAX != LONG_MAX.
40496         (_itoa_word): Use _ITOA_WORD_TYPE on value.
40497         (_fitoa_word): Likewise.
40498
40499         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
40500         years.
40501         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
40502         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
40503         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
40504
40505         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
40506         include <bits/wordsize.h>.  Check __x86_64__ instead of
40507         __WORDSIZE.
40508         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
40509         if __x86_64__ is defined.  Use anonymous union on fpstate.
40510
40511         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
40512         anonymous union.
40513
40514 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
40515
40516         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
40517         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
40518         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
40519         Refer to _rtld_local_ro instead of _rtld_global_ro.
40520         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
40521         Likewise.
40522         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
40523         Likewise.
40524         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
40525         Likewise.
40526         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
40527         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
40528         of _rtld_global, and rtld_progname instead of _dl_argv[0].
40529
40530         * sysdeps/powerpc/powerpc32/dl-machine.c
40531         (__elf_machine_runtime_setup) [PROF]: Don't reference
40532         _dl_prof_resolve.
40533
40534 2012-05-18  Andreas Jaeger  <aj@suse.de>
40535
40536         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
40537         function only available for GCCs before 3.4 since GCC 3.4
40538         introduced a builtin.
40539         (lrint): Likewise.
40540         (llrintf): Likewise.
40541         (llrint): Likewise.
40542         (fmaxf): Likewise.
40543         (fmax): Likewise.
40544         (fminf): Likewise.
40545         (fmin): Likewise.
40546         (rint): Likewise.
40547         (rintf): Likewise.
40548         (nearbyint): Likewise.
40549         (nearbyintf): Likewise.
40550         (ceil): Likewise.
40551         (ceilf): Likewise.
40552         (floor): Likewise.
40553         (floorf): Likewise.
40554
40555 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
40556
40557         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
40558         on both fields and cast pointer to __syscall_ulong_t.
40559
40560         * bits/types.h (__fsword_t): New type.
40561         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
40562         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
40563         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40564         (__FSWORD_T_TYPE): Likewise.
40565         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40566         (__FSWORD_T_TYPE): Likewise.
40567         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40568         (__FSWORD_T_TYPE): Likewise.
40569         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
40570         (__FSWORD_T_TYPE): Likewise.
40571         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
40572         __SWORD_TYPE with __fsword_t.
40573         (statfs64): Likewise.
40574
40575 2012-05-17  David S. Miller  <davem@davemloft.net>
40576
40577         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
40578
40579 2012-05-17  Andreas Jaeger  <aj@suse.de>
40580
40581         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
40582         warning.
40583
40584 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
40585
40586         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
40587
40588 2012-05-17  Andreas Jaeger  <aj@suse.de>
40589
40590         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
40591         when it is used.
40592
40593 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
40594
40595         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
40596
40597 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
40598
40599         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
40600         * sysdeps/x86_64/tst-mallocalign1.c: New file.
40601
40602 2012-05-17  Andreas Jaeger  <aj@suse.de>
40603             Carlos O'Donell  <carlos_odonell@mentor.com>
40604
40605         [BZ #14059]
40606         * sysdeps/x86_64/multiarch/init-arch.h
40607         (bit_YMM_Usable): Rename to...
40608         (bit_AVX_Usable): ... this.
40609         (bit_FMA4_Usable): New macro.
40610         (bit_XMM_state): New macro.
40611         (bit_YMM_state): New macro.
40612         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
40613         [__ASSEMBLER__] (index_AVX_Usable): ... this.
40614         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
40615         (CPUID_OSXSAVE): New macro.
40616         (CPUID_AVX): New macro.
40617         (CPUID_FMA4): New macro.
40618         (index_YMM_Usable): Rename to...
40619         (index_AVX_Usable): ... this.
40620         (HAS_AVX): Use HAS_ARCH_FEATURE.
40621         (HAS_FMA4): Likewise.
40622         (HAS_YMM_USABLE): Remove.
40623         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40624         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
40625         are present.
40626         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
40627         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
40628         * sysdeps/x86_64/multiarch/Makefile: Likewise.
40629         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
40630         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
40631
40632 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
40633
40634         * math/libm-test.c: Support platforms without multiple rounding modes.
40635         * math/bug-nextafter.c: Support platforms without FP exceptions.
40636         * math/bug-nexttoward.c: Likewise.
40637         * math/test-fenv.c: Likewise.
40638         * math/test-misc.c: Likewise.
40639         * stdlib/bug-getcontext.c: Likewise.
40640
40641 2012-05-17  Andreas Jaeger  <aj@suse.de>
40642
40643         * manual/examples/search.c (critter_cmp): Change signature to
40644         avoid warnings.
40645         * manual/string.texi (Collation Functions): Likewise.
40646
40647 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
40648
40649         * bits/types.h: Fold copyright years.
40650         * bits/typesizes.h: Likewise.
40651         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
40652         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
40653         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
40654         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
40655         * time/time.h: Likewise.
40656
40657 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
40658
40659         [BZ #208]
40660         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
40661         in instead of returning them.  Return void.
40662         (__libc_mallinfo): Accumulate over all arenas.
40663         (__malloc_stats): Adjust for change in int_mallinfo interface.
40664
40665 2012-05-16  Roland McGrath  <roland@hack.frob.com>
40666
40667         [BZ #10375]
40668         * configure.in (NM): Add AC_CHECK_TOOL for it.
40669         (libc_extra_cflags): New substituted variable.
40670         Check for -fstack-protector being used implicitly.
40671         * configure: Regenerated.
40672         * config.make.in (config-extra-cflags): New variable,
40673         gets @libc_extra_cflags@.
40674         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
40675
40676         [BZ #10375]
40677         * configure.in: Check for _FORTIFY_SOURCE being predefined.
40678         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
40679         * configure: Regenerated.
40680         * config.make.in (CPPUNDEFS): New substituted variable.
40681         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
40682         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
40683         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
40684
40685 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
40686
40687         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
40688         (mq_attr): Use __syscall_slong_t.
40689
40690 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
40691
40692         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
40693         Check __x86_64__ instead of __WORDSIZE.
40694         (_STAT_VER_LINUX): Likewise.
40695         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
40696         __syscall_ulong_t and __syscall_slong_t.
40697         (stat64): Likewise.
40698
40699 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
40700
40701         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
40702
40703 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
40704
40705         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
40706
40707 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
40708
40709         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
40710         __syscall_ulong_t.
40711
40712         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
40713         include <bits/wordsize.h>.  Check __x86_64__ instead of
40714         __WORDSIZE.
40715         (greg_t): Use "__extension__ long long int" if __x86_64__ is
40716         defined.
40717         (mcontext_t): Replace "unsigned long" with "unsigned long long".
40718
40719         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
40720         include <bits/wordsize.h>.  Check __x86_64__ instead of
40721         __WORDSIZE.
40722         (user_regs_struct): Use "__extension__ unsigned long long"
40723         instead of "unsigned long" if __x86_64__ is defined.
40724         (user): Likewise.  Pad after pointer field if __ILP32__ is
40725         defined.
40726
40727 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
40728
40729         * configure.in (makeinfo): Require version 4.5 or later.  Allow
40730         versions 5 to 9.
40731         * configure: Regenerated.
40732         * manual/install.texi (texinfo): Increase version requirement to
40733         4.5 or later.
40734         * INSTALL: Regenerated.
40735
40736         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
40737
40738 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
40739
40740         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
40741
40742         * sysdeps/x86_64/x32/ffs.c: New file.
40743
40744         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
40745         __syscall_ulong_t.
40746         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
40747         defined.  Use __syscall_ulong_t.
40748         (shminfo): Use __syscall_ulong_t.
40749         (shm_info): Likewise.
40750
40751         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
40752         __syscall_ulong_t.
40753
40754         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
40755         <bits/wordsize.h>.
40756         (msgqnum_t): Use __syscall_ulong_t.
40757         (msglen_t): Likewise.
40758         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
40759         __syscall_ulong_t.
40760
40761         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
40762         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
40763
40764         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
40765
40766         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
40767         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
40768
40769         * sysvipc/sys/msg.h (msgbuf): Replace long int with
40770         __syscall_slong_t.
40771
40772         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
40773         include <bits/wordsize.h>.  Check __x86_64__ instead of
40774         __WORDSIZE.
40775
40776         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
40777         "unsigned long long int" if __x86_64__ is defined.
40778         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
40779
40780         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
40781         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
40782         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
40783
40784         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
40785         <stdint.h>.
40786         (GET_PC): Cast to uintptr_t first.
40787         (GET_FRAME): Likewise.
40788         (GET_STACK): Likewise.
40789
40790         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
40791         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
40792         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
40793         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
40794         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
40795         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
40796         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
40797         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
40798         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
40799         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
40800         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
40801         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
40802         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
40803         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
40804         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
40805         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
40806         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
40807         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
40808         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
40809         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
40810         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
40811         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
40812         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
40813         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
40814         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
40815         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
40816         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
40817         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
40818         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
40819
40820 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
40821
40822         * Makerules (+depfiles): Also collect depfiles from .oS in
40823         $(extra-objs).
40824         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
40825         .oS, $(libnldbl-routines)).
40826
40827         * Makerules (native-compile-mkdep-flags): Define.
40828         * sunrpc/Makefile (extra-objs): Add $(addprefix
40829         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
40830         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
40831         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
40832         calling $(make-target-directory).
40833
40834 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40835
40836         * bits/types.h (__snseconds_t): Removed.
40837         * time/time.h (struct timespec): Replace __snseconds_t with
40838         __syscall_slong_t.
40839         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
40840         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
40841         Likewise.
40842         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40843         (__SNSECONDS_T_TYPE): Likewise.
40844         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40845         (__SNSECONDS_T_TYPE): Likewise.
40846         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40847         (__SNSECONDS_T_TYPE): Likewise.
40848
40849 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40850
40851         * sysdeps/mach/hurd/bits/typesizes.h
40852         (__SYSCALL_SLONG_TYPE): New macro.
40853         (__SYSCALL_ULONG_TYPE): Likewise.
40854
40855 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40856
40857         * bits/types.h (__syscall_slong_t): New type.
40858         (__syscall_ulong_t): Likewise.
40859
40860         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
40861         (__SYSCALL_ULONG_TYPE): Likewise.
40862         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40863         (__SYSCALL_SLONG_TYPE): Likewise.
40864         (__SYSCALL_ULONG_TYPE): Likewise.
40865         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40866         (__SYSCALL_SLONG_TYPE): Likewise.
40867         (__SYSCALL_ULONG_TYPE): Likewise.
40868         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40869         (__SYSCALL_SLONG_TYPE): Likewise.
40870         (__SYSCALL_ULONG_TYPE): Likewise.
40871
40872 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40873
40874         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
40875         Add sigaltstack-offsets.sym.
40876         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
40877         <sigaltstack-offsets.h>.
40878         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
40879         longjmp_msg pointer.
40880         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
40881         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
40882         signal stack.
40883         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
40884
40885 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
40886
40887         * elf/stackguard-macros.h: Remove file.
40888         * sysdeps/generic/stackguard-macros.h: New file.
40889         * sysdeps/i386/stackguard-macros.h: Likewise.
40890         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
40891         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
40892         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
40893         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
40894         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
40895         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
40896         * sysdeps/x86_64/stackguard-macros.h: Likewise.
40897         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
40898         <elf/stackguard-macros.h>.
40899
40900         [BZ #14109]
40901         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
40902         __aligned__ in attribute.
40903         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
40904         (gregset_t): Likewise.
40905
40906 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40907
40908         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
40909         * sysdeps/x86_64/64/Implies-after: Here.  New file.
40910         * sysdeps/x86_64/x32/Implies-after: New file.
40911
40912 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40913
40914         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
40915         and access return value for _dl_profile_fixup.  Use R10_LP to
40916         load frame size.
40917
40918 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40919
40920         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
40921
40922 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40923
40924         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
40925         * sysdeps/x86_64/x32/sysdep.h: New file.
40926
40927 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40928
40929         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
40930         * sysdeps/x86_64/setjmp.S: Likewise.
40931
40932 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40933
40934         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
40935         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
40936         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
40937         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
40938         remove unused global constant.
40939
40940 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
40941
40942         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
40943         include of <not-cancel.h>.
40944
40945 2012-05-15  Roland McGrath  <roland@hack.frob.com>
40946
40947         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
40948
40949 2012-05-15  Jeff Law  <law@redhat.com>
40950             Andreas Jaeger  <aj@suse.de>
40951
40952         [BZ #13594]
40953         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
40954         out from...
40955         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
40956         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
40957         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
40958         code changing __hst_map_handle.map.
40959
40960 2012-05-15  Roland McGrath  <roland@hack.frob.com>
40961
40962         * configure.in (sysnames): Look for Implies-before and Implies-after
40963         files.
40964         * configure: Regenerated.
40965
40966 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40967
40968         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
40969         8-byte data alignment with LP_SIZE alignment.
40970
40971 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40972
40973         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
40974         into R10_LP.
40975
40976 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40977
40978         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
40979
40980 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40981
40982         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
40983         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
40984         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
40985         Likewise.
40986         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
40987
40988 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40989
40990         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
40991         (stackinfo_sub_sp): Likewise.
40992
40993 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40994
40995         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
40996         RAX_LP.
40997
40998 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40999
41000         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
41001         into R*_LP.
41002
41003 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41004
41005         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
41006         sizes into R*_LP.
41007
41008 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41009
41010         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
41011
41012 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41013
41014         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
41015         into R11_LP and load __x86_64_shared_cache_size_half into
41016         R8_LP.
41017
41018 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
41019
41020         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
41021         R8_LP.
41022
41023 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41024
41025         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
41026         logb for POWER7.
41027         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
41028         logbf for POWER7.
41029         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
41030         logbl for POWER7.
41031         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
41032         powerpc32/power7/fpu/s_logb.c via #include.
41033         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
41034         powerpc32/power7/fpu/s_logbf.c via #include.
41035         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
41036         powerpc32/power7/fpu/s_logbl.c via #include.
41037
41038 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
41039
41040         * README.libm: Remove file.
41041
41042 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
41043
41044         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
41045         count for x32.  Use R*_LP and omit operand-size suffix.
41046
41047 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
41048
41049         * shlib-versions: Move x86_64-.*-linux.* entries to ...
41050         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
41051         * sysdeps/x86_64/x32/shlib-versions: New file.
41052
41053 2012-05-14  Roland McGrath  <roland@hack.frob.com>
41054
41055         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
41056         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
41057         Use _dl_fatal_printf instead.
41058
41059 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
41060
41061         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
41062         set if not set by the user.  Do not allow for being unset.
41063         * sysdeps/unix/sysv/linux/configure: Regenerated.
41064
41065 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
41066
41067         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
41068         the `q' suffix from lea and replace .quad with ASM_ADDR.
41069
41070 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
41071
41072         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
41073         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
41074         instead of $17.
41075         (PTR_DEMANGLE): Likewise.
41076
41077 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
41078
41079         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
41080         (LP_OP): Likewise.
41081         (ASM_ADDR): Likewise.
41082         (RAX_LP): Likewise.
41083         (RBP_LP): Likewise.
41084         (RBX_LP): Likewise.
41085         (RCX_LP): Likewise.
41086         (RDI_LP): Likewise.
41087         (RSI_LP): Likewise.
41088         (RSP_LP): Likewise.
41089         (R8_LP): Likewise.
41090         (R9_LP): Likewise.
41091         (R10_LP): Likewise.
41092         (R10_LP): Likewise.
41093         (R11_LP): Likewise.
41094         (R12_LP): Likewise.
41095         (R13_LP): Likewise.
41096         (R14_LP): Likewise.
41097         (R15_LP): Likewise.
41098
41099 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
41100
41101         * sysdeps/x86_64/x32/dl-machine.h: New file.
41102
41103 2012-05-14  Andreas Jaeger  <aj@suse.de>
41104
41105         * manual/Makefile (subdir): Remove export of subdir.
41106         (all): Remove target.
41107         (.PHONY): Remove all from list.
41108         (mkinstalldirs): Remove.
41109         (.PHONY): Remove installdirs from list.
41110         ($(inst_infodir)/libc.info): Use make-target-directory.
41111         (installdirs): Remove.
41112         (subdir_%): Remove.
41113         (glibc-targets): Remove.
41114         (lib): Remove.
41115         (stubs): Remove.
41116         ($(objpfx)stubs ../po/manual.pot): Remove.
41117         ($(objpfx)stamp%): Remove.
41118         (make-target-directory): Remove.
41119         (subdir_install): Remove.
41120         (routines): Remove.
41121         (aux): Remove.
41122         (sources): Remove.
41123         (objects): Remove.
41124         (headers): Remove.
41125
41126         [BZ #13750]
41127         * manual/.gitignore: Remove, it's not needed anymore.
41128         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
41129         all files in it.
41130         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
41131         directory.
41132         (texis): Renamed to $(objpfx)texis.
41133         (texis-path): New, contains path to generated files.
41134         (chapters.%): Use texis-path for complete path, add extra argument
41135         libc-texinfo.sh.
41136         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
41137         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
41138         (summary,texi, stamp-summary): Use complete path of
41139         files. Generate files in build dir.
41140         (dir-add.texi): Build in build dir.
41141         (libm-err.texi,stamp-libm-err): Likewise.
41142         (version.texi, stamp-version): Likewise.
41143         (.%c.texi): Likewise.
41144         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
41145         (mostlyclean): Remove target.
41146         (realclean): Remove target.
41147         (generated): Add new variable with contents from mostlyclean and
41148         realclean, remove entries duplicated in common-mostlyclean, add
41149         stamp-libm-err and stamp-version.
41150         (generated-dirs): Add libc directory.
41151         ($(inst_infodir)/libc.info): Install files from build dir.
41152
41153         * manual/install.texi (Configuring and compiling): Adjust since
41154         the info files are not part of the tar ball anymore.
41155
41156 2012-05-14  Andreas Jaeger  <aj@suse.de>
41157
41158         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
41159         variable.
41160
41161 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
41162
41163         [BZ #13717]
41164         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
41165         to 2.2.0 where earlier.
41166         * sysdeps/unix/sysv/linux/configure: Regenerated.
41167         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
41168         Remove conditional code.
41169         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
41170         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
41171         Remove conditional code.
41172         [!__NR_lchown]: Likewise.
41173         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
41174         [__NR_lchown]: Likewise.
41175         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
41176         comment referencing __ASSUME_LCHOWN_SYSCALL.
41177         * sysdeps/unix/sysv/linux/i386/sigaction.c
41178         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41179         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41180         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
41181         Remove conditional code.
41182         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
41183         (__protocol_available): Remove #if 0 code.
41184         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
41185         conditional code.
41186         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
41187         * sysdeps/unix/sysv/linux/kernel-features.h
41188         (__ASSUME_GETCWD_SYSCALL): Don't define.
41189         (__ASSUME_REALTIME_SIGNALS): Likewise.
41190         (__ASSUME_PREAD_SYSCALL): Likewise.
41191         (__ASSUME_PWRITE_SYSCALL): Likewise.
41192         (__ASSUME_POLL_SYSCALL): Likewise.
41193         (__ASSUME_LCHOWN_SYSCALL): Likewise.
41194         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
41195         non-SPARC.
41196         (__ASSUME_SIOCGIFNAME): Don't define.
41197         (__ASSUME_MSG_NOSIGNAL): Likewise.
41198         (__ASSUME_SENDFILE): Define unconditionally.
41199         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
41200         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
41201         conditional code.
41202         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
41203         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
41204         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
41205         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
41206         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
41207         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
41208         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
41209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
41210         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41211         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
41213         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41214         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
41216         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41217         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41218         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
41219         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41220         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
41222         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41223         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
41225         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41226         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
41228         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41229         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
41231         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41232         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41233         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
41234         Remove conditional code.
41235         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41236         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
41237         Remove conditional code.
41238         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41239         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
41240         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
41241         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
41242         Remove conditional code.
41243         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41244         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
41245         Remove conditional code.
41246         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41247         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
41248         Remove conditional code.
41249         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41250         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
41251         Remove conditional code.
41252         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41253         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
41254         Remove conditional code.
41255         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41256         * sysdeps/unix/sysv/linux/sh/pwrite64.c
41257         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41258         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41259         * sysdeps/unix/sysv/linux/sigaction.c
41260         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41261         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41262         * sysdeps/unix/sysv/linux/sigpending.c
41263         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41264         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41265         * sysdeps/unix/sysv/linux/sigprocmask.c
41266         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41267         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41268         * sysdeps/unix/sysv/linux/sigsuspend.c
41269         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41270         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41271         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
41272         (__libc_missing_rt_sigs): Remove.
41273         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
41274         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
41275         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
41276         Remove conditional code.
41277         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
41278         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
41279         return 1.
41280         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
41281         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
41282         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
41283         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
41284
41285 2012-05-14  Andreas Jaeger  <aj@suse.de>
41286
41287         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
41288         it's not used in glibc.
41289         (__coshm1): Likewise.
41290         (__acosh1p): Likewise.
41291         (__sgn): Likewise.
41292
41293         * manual/string.texi (Copying and Concatenation): Add missing
41294         variable in concat example.
41295         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
41296
41297 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
41298
41299         [BZ #14103]
41300         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
41301         __builtin_clzl with __builtin_clzll.
41302
41303 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
41304
41305         [BZ #14104]
41306         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
41307         libc_freeres_ptr.
41308
41309 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41310
41311         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
41312         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
41313         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
41314         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
41315
41316 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
41317
41318         * NEWS: Update ia64 info.
41319
41320 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
41321
41322         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
41323         used as bcopy.
41324
41325 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
41326
41327         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
41328         * sysdeps/unix/syscalls.list (dup3): Likewise.
41329         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
41330         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
41331
41332 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
41333
41334         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
41335         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
41336
41337 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
41338
41339         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
41340         thread pointer.
41341         (TLS_IE): Use mov/add instead of movq/addq to load thread
41342         pointer.
41343         (TLS_GD_PREFIX): New.
41344         (TLS_GD): Use it.
41345
41346 2012-05-11  David S. Miller  <davem@davemloft.net>
41347
41348         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
41349         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
41350         (_FPU_SETCW): Likewise.
41351
41352 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
41353
41354         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
41355         is 32-byte aligned.
41356
41357 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
41358
41359         [BZ #11837]
41360         * iconvdata/gb18030.c: Update tables.
41361         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
41362         characters specially.
41363         (BODY for TO_LOOP): Add encoding of missing ranges.
41364
41365 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
41366
41367         [BZ #13673]
41368         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
41369         * sysdeps/mach/hurd/dup3.c: Likewise.
41370         * sysdeps/mach/hurd/readlinkat.c: Likewise.
41371         * sysdeps/powerpc/memmove.c:: Likewise.
41372
41373 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
41374
41375         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
41376         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
41377
41378 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
41379
41380         * elf/elf.h (R_X86_64_RELATIVE64): New.
41381         (R_X86_64_NUM): Updated.
41382         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
41383         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
41384         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
41385         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
41386         tst-quad1pie tst-quad2pie
41387         (modules-names): Add tst-quadmod1 tst-quadmod2.
41388         ($(objpfx)tst-quad1): New dependency.
41389         ($(objpfx)tst-quad2): Likewise.
41390         ($(objpfx)tst-quad1pie): Likewise.
41391         ($(objpfx)tst-quad2pie): Likewise.
41392         * sysdeps/x86_64/tst-quad1.c: New file.
41393         * sysdeps/x86_64/tst-quad1pie.c: New file.
41394         * sysdeps/x86_64/tst-quad2.c: Likewise.
41395         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
41396         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
41397         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
41398         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
41399         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
41400
41401 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41402
41403         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
41404         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
41405         * streams/stropts.h (t_scalar_t): Define type.
41406
41407         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
41408         (_PATH_PRESERVE): Set to "/var/lib".
41409         (_PATH_RWHODIR): Set to "/var/spool/rwho".
41410
41411         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
41412         instead of int.
41413
41414         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
41415         if __dir_mkfile succeeded.
41416
41417         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
41418         checking for _hurd_dtablesize.  Unlock it right after having
41419         finished _hurd_dtable allocation.
41420
41421 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
41422
41423         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
41424         * sysdeps/mach/hurd/configure: Regenerated.
41425         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
41426         special-casing to...
41427         * sysdeps/gnu/configure.in: ... this new file.
41428         * sysdeps/unix/sysv/linux/configure: Regenerated.
41429         * sysdeps/gnu/configure: New generated file.
41430
41431         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
41432         for Linux: use nsec instead of usec, as well as:
41433         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
41434         members of type struct timespec.
41435         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
41436         New macros.
41437         (struct stat64): Likewise.
41438         (_STATBUF_ST_NSEC): New macro.
41439         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
41440
41441         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
41442         __strtoul_internal rather than strtoul.
41443
41444 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
41445
41446         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
41447         and reject them.
41448
41449 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41450
41451         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
41452         which preserves existing values.
41453         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
41454
41455 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
41456
41457         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
41458         TIMEOUT values.  Return EINVAL for NFDS values either negative or
41459         greater than FD_SETSIZE.
41460
41461 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41462
41463         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
41464         allocated, call __vm_protect to finish enabling the existing space, and
41465         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
41466         allocate the remainder.
41467
41468 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
41469
41470         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
41471         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
41472
41473 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41474
41475         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
41476         sysdeps/mach/hurd/readlink.c.
41477
41478         * posix/tst-sysconf.c (posix_options): Only use
41479         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
41480         _POSIX_SYNCHRONIZED_IO when they are defined
41481         * sysdeps/mach/hurd/bits/posix_opt.h:
41482         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
41483         (_XOPEN_REALTIME): Undefine macro.
41484         (_XOPEN_REALTIME_THREADS): Undefine macro.
41485         (_XOPEN_SHM): Undefine macro.
41486         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
41487         macro to -1.
41488         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
41489         macro to -1.
41490         (_POSIX_ASYNC_IO): Undefine macro.
41491         (_POSIX_PRIORITIZED_IO): Undefine macro.
41492         (_POSIX_SPIN_LOCKS): Define macro to -1.
41493
41494         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
41495         SA_NODEFER, SA_RESETHAND.
41496         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
41497         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
41498         F_DUPFD_CLOEXEC.
41499
41500 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
41501
41502         * elf/Makefile (pldd-modules): Define unconditionally.
41503
41504 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
41505
41506         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
41507
41508 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41509
41510         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
41511         Return ENOENT when name is empty.
41512         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
41513
41514 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
41515
41516         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
41517
41518         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
41519
41520 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41521
41522         Fix mlock in all cases except non-readable pages.
41523         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
41524         instead of VM_PROT_ALL as parameter to __vm_wire function.
41525
41526         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
41527         (__mkdir): When path is `/', just fail with EEXIST.
41528         * sysdeps/mach/hurd/mkdirat.c: Likewise.
41529
41530 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
41531
41532         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
41533         <sys/uio.h> (for writev).
41534         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
41535         and <sys/param.h> (for MIN).
41536
41537 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
41538
41539         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
41540         REQUESTED_TIME.  Properly set the remaining time and return EINTR
41541         if interrupted.
41542
41543 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
41544
41545         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
41546         Depend on against $(link-rpcuserlibs).
41547
41548 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41549
41550         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
41551         (__libc_stack_end): Do not use attribute_relro.
41552         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
41553         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
41554         to libthread-provided value.
41555         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
41556         attribute_relro.
41557
41558 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
41559
41560         [BZ #3748]
41561         * bits/libc-lock.h (__libc_once_get): New macro.
41562         * sysdeps/mach/bits/libc-lock.h: Likewise.
41563         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
41564         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
41565         instead of using implementation details.
41566
41567         * libio/fileops.c: Unconditionally include <kernel-features.h>.
41568         * libio/freopen.c: Likewise.
41569         * libio/freopen64.c: Likewise.
41570         * misc/syslog.c: Likewise.
41571         * nscd/connections.c: Likewise.
41572         * nscd/netgroupcache.c: Likewise.
41573         * sysdeps/posix/getcwd.c: Likewise.
41574
41575 2012-05-10  Roland McGrath  <roland@hack.frob.com>
41576
41577         * math/w_ilogbf.c: Add #include <limits.h>.
41578
41579 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41580
41581         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
41582         path instead of returning without unlocking.
41583
41584         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
41585         immediate-write ioctls.
41586         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
41587
41588 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
41589
41590         * sysdeps/mach/hurd/i386/init-first.c (init): Use
41591         __builtin_frame_address instead of making assumptions about the
41592         location of the return address relative to DATA.  Force early load of
41593         the return address.
41594         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
41595         __builtin_frame_address.
41596
41597         dup3 for GNU Hurd.
41598         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
41599         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
41600         implement dup3 and do some further code clean-ups.
41601         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
41602         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
41603
41604 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41605
41606         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
41607
41608         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
41609         HURD_CRITICAL_END around holding _hurd_dtable_lock.
41610         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
41611         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
41612         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
41613         d->port.lock.
41614
41615         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
41616         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
41617         when handler == SIG_ERR, not when handler != SIG_ERR.
41618
41619 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
41620
41621         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
41622         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
41623         definitions.
41624
41625         accept4 for GNU Hurd.
41626         * include/sys/socket.h (__libc_accept4): New prototype.
41627         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
41628         to implement __libc_accept4.
41629         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
41630         __libc_accept4.
41631         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
41632
41633         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
41634         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
41635         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
41636         signal-defines.sym.
41637
41638 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41639
41640         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
41641
41642 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
41643
41644         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
41645         assertion on O_CLOEXEC flag.
41646         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
41647         * hurd/intern-fd.c: Likewise.
41648         * hurd/port2fd.c: Likewise.
41649
41650 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41651
41652         [BZ #3906]
41653         * bits/in.h (IPV6_PKTINFO): Define new macro.
41654         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
41655
41656 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41657
41658         [BZ #13954]
41659         [BZ #13955]
41660         [BZ #13956]
41661         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
41662         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
41663         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
41664         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
41665         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
41666         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
41667         * math/libm-test.inc (logb_test) : Additional logb tests.
41668
41669 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
41670             Andreas Jaeger  <aj@suse.de>
41671
41672         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
41673         * configure: Regenerated.
41674         * config.h.in (LINK_OBSOLETE_RPC): New macro.
41675         * config.make.in (link-obsolete-rpc): New substituted variable.
41676         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
41677         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
41678         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
41679         (shared-only-routines): Don't set it under [link-obsolete-rpc],
41680         so that libc.a contains the symbols.
41681         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
41682         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
41683         * sunrpc/auth_none.c: Likewise.
41684         * sunrpc/auth_unix.c: Likewise.
41685         * sunrpc/authdes_prot.c: Likewise.
41686         * sunrpc/authuxprot.c: Likewise.
41687         * sunrpc/clnt_gen.c: Likewise.
41688         * sunrpc/clnt_perr.c: Likewise.
41689         * sunrpc/clnt_raw.c: Likewise.
41690         * sunrpc/clnt_simp.c: Likewise.
41691         * sunrpc/clnt_tcp.c: Likewise.
41692         * sunrpc/clnt_udp.c: Likewise.
41693         * sunrpc/clnt_unix.c: Likewise.
41694         * sunrpc/des_crypt.c: Likewise.
41695         * sunrpc/des_soft.c: Likewise.
41696         * sunrpc/get_myaddr.c: Likewise.
41697         * sunrpc/key_call.c: Likewise.
41698         * sunrpc/key_prot.c: Likewise.
41699         * sunrpc/netname.c: Likewise.
41700         * sunrpc/pm_getmaps.c: Likewise.
41701         * sunrpc/pm_getport.c: Likewise.
41702         * sunrpc/pmap_clnt.c: Likewise.
41703         * sunrpc/pmap_prot.c: Likewise.
41704         * sunrpc/pmap_prot2.c: Likewise.
41705         * sunrpc/pmap_rmt.c: Likewise.
41706         * sunrpc/publickey.c: Likewise.
41707         * sunrpc/rpc_cmsg.c: Likewise.
41708         * sunrpc/rpc_common.c: Likewise.
41709         * sunrpc/rpc_dtable.c: Likewise.
41710         * sunrpc/rpc_prot.c: Likewise.
41711         * sunrpc/rpc_thread.c: Likewise.
41712         * sunrpc/rtime.c: Likewise.
41713         * sunrpc/svc.c: Likewise.
41714         * sunrpc/svc_auth.c: Likewise.
41715         * sunrpc/svc_raw.c: Likewise.
41716         * sunrpc/svc_run.c: Likewise.
41717         * sunrpc/svc_tcp.c: Likewise.
41718         * sunrpc/svc_udp.c: Likewise.
41719         * sunrpc/svc_unix.c: Likewise.
41720         * sunrpc/svcauth_des.c: Likewise.
41721         * sunrpc/xcrypt.c: Likewise.
41722         * sunrpc/xdr.c: Likewise.
41723         * sunrpc/xdr_array.c: Likewise.
41724         * sunrpc/xdr_float.c: Likewise.
41725         * sunrpc/xdr_intXX_t.c: Likewise.
41726         * sunrpc/xdr_mem.c: Likewise.
41727         * sunrpc/xdr_rec.c: Likewise.
41728         * sunrpc/xdr_ref.c: Likewise.
41729         * sunrpc/xdr_sizeof.c: Likewise.
41730         * sunrpc/xdr_stdio.c: Likewise.
41731
41732 2012-05-10  Roland McGrath  <roland@hack.frob.com>
41733
41734         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
41735         change.  Update copyright years.
41736
41737 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
41738
41739         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
41740
41741 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
41742             Joseph Myers  <joseph@codesourcery.com>
41743             Paul Pluzhnikov  <ppluzhnikov@google.com>
41744
41745         [BZ #14012]
41746         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
41747         requiring rpcgen.
41748         [cross-compiling] (extra-libs): Likewise.
41749         [cross-compiling] (extra-libs-others): Likewise.
41750         [cross-compiling] (librpcsvc-routines): Likewise.
41751         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
41752         [cross-compiling] (omit-deps): Likewise.
41753         (sunrpc-CPPFLAGS): New variable.
41754         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
41755         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
41756         (cross-rpcgen-objs): New variable.
41757         (extra-objs): Append $(cross-rpcgen-objs).
41758         ($(cross-rpcgen-objs)): New rule.
41759         ($(objpfx)cross-rpcgen): Likewise.
41760         (rpcgen-cmd): Define to use $(built-program-file).  Expand
41761         comment.
41762         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
41763         ($(objpfx)x%.stmp): Likewise.
41764         * sunrpc/proto.h [IS_IN_build] (_): Define.
41765         [IS_IN_build] (_libc_intl_domainname): Likewise.
41766
41767 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
41768
41769         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
41770         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
41771         and R_X86_64_TPOFF64.
41772
41773 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
41774
41775         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
41776         sysdeps/unix/sysv/syscalls.list.
41777         (stime): Likewise.
41778         (utime): Likewise.
41779         * sysdeps/unix/sysv/syscalls.list: Remove file.
41780
41781 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
41782
41783         [BZ #3440]
41784         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
41785         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
41786         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
41787         (__LC_IDENTIFICATION): Make these macros useful in #if
41788         expressions, as required by C99.
41789
41790 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
41791
41792         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
41793         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
41794         after this.
41795
41796 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
41797
41798         * stdlib/longlong.h: Updated from GCC.
41799
41800 2012-05-09  Andreas Jaeger  <aj@suse.de>
41801
41802         * nscd/nscd.c (run_modes): Make named enum, reorder so that
41803         default is first entry.
41804         (run_mode): Set type.
41805         (main): Remove informal message about syslog.
41806         (options): Fix typo.
41807
41808         [BZ #14053]
41809         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
41810         to asm.
41811         (lrint): Likewise.
41812         (llrintf): Likewise.
41813         (llrint): Likewise.
41814         (rint): Likewise.
41815         (rintf): Likewise.
41816         (nearbyint): Likewise.
41817         (nearbyintf): Likewise.
41818
41819 2012-05-09  Andreas Jaeger  <aj@suse.de>
41820             Pedro Alves  <palves@redhat.com>
41821
41822         * nscd/nscd.c (run_mode): Use enum.
41823         (main): Cleanup coding style issue.
41824
41825 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
41826             Andreas Jaeger  <aj@suse.de>
41827
41828         * nscd/nscd.c (go_background): Replaced with...
41829         (run_mode): ... this.
41830         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
41831         (options): Add -F --foreground.
41832         (main): Implement it.
41833         (parse_opt): Parse it.
41834
41835 2012-05-09  Andreas Jaeger  <aj@suse.de>
41836
41837         [BZ #14083]
41838         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
41839         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
41840         -Wconversion warning.
41841         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
41842         Likewise.
41843
41844 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
41845
41846         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
41847         == 0.
41848         (LC_ALL): Use macro-int-constant.
41849         (LC_COLLATE): Likewise.
41850         (LC_CTYPE): Likewise.
41851         (LC_MESSAGES): Likewise.
41852         (LC_MONETARY): Likewise.
41853         (LC_NUMERIC): Likewise.
41854         (LC_TIME): Likewise.
41855         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
41856         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
41857         [ISO || ISO99 || ISO11] (*_t): Do not allow.
41858         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
41859         Specify type.
41860         [C99-based standards] (float_t): Expect type.
41861         [C99-based standards] (double_t): Expect type.
41862         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
41863         type.
41864         [C99-based standards] (HUGE_VALL): Likewise.
41865         [C99-based standards] (INFINITY): Likewise.
41866         [C99-based standards] (NAN): Likewise.
41867         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
41868         [C99-based standards] (FP_NAN): Likewise.
41869         [C99-based standards] (FP_NORMAL): Likewise.
41870         [C99-based standards] (FP_SUBNORMAL): Likewise.
41871         [C99-based standards] (FP_ZERO): Likewise.
41872         [C99-based standards] (FP_FAST_FMA): Use
41873         optional-macro-int-constant.  Specify type.  Require == 1.
41874         [C99-based standards] (FP_FAST_FMAF): Likewise.
41875         [C99-based standards] (FP_FAST_FMAL): Likewise.
41876         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
41877         [C99-based standards] (FP_ILOGBNAN): Likewise.
41878         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
41879         Specify type.
41880         [C99-based standards] (MATH_ERREXCEPT): Likewise.
41881         [C99-based standards] (math_errhandling): Specify type.
41882         [ISO99 || ISO11] (signgam): Do not allow.
41883         [non-C99-based standards] (copysignf): Do not allow.
41884         [non-C99-based standards] (exp2f): Likewise.
41885         [non-C99-based standards] (log2f): Likewise.
41886         [non-C99-based standards] (modff): Allow.
41887         [non-C99-based standards] (erff): Do not allow.
41888         [non-C99-based standards] (erfcf): Likewise.
41889         [non-C99-based standards] (gammaf): Likewise.
41890         [non-C99-based standards] (hypotf): Likewise.
41891         [non-C99-based standards] (j0f): Likewise.
41892         [non-C99-based standards] (j1f): Likewise.
41893         [non-C99-based standards] (jnf): Likewise.
41894         [non-C99-based standards] (lgammaf): Likewise.
41895         [non-C99-based standards] (tgammaf): Likewise.
41896         [non-C99-based standards] (y0f): Likewise.
41897         [non-C99-based standards] (y1f): Likewise.
41898         [non-C99-based standards] (ynf): Likewise.
41899         [non-C99-based standards] (isnanf): Likewise.
41900         [non-C99-based standards] (acoshf): Likewise.
41901         [non-C99-based standards] (asinhf): Likewise.
41902         [non-C99-based standards] (atanhf): Likewise.
41903         [non-C99-based standards] (cbrtf): Likewise.
41904         [non-C99-based standards] (expm1f): Likewise.
41905         [non-C99-based standards] (ilogbf): Likewise.
41906         [non-C99-based standards] (log1pf): Likewise.
41907         [non-C99-based standards] (logbf): Likewise.
41908         [non-C99-based standards] (nextafterf): Likewise.
41909         [non-C99-based standards] (remainderf): Likewise.
41910         [non-C99-based standards] (rintf): Likewise.
41911         [non-C99-based standards] (scalbf): Likewise.
41912         [non-C99-based standards] (copysignl): Likewise.
41913         [non-C99-based standards] (exp2l): Likewise.
41914         [non-C99-based standards] (log2l): Likewise.
41915         [non-C99-based standards] (modfl): Allow.
41916         [non-C99-based standards] (erfl): Do not allow.
41917         [non-C99-based standards] (erfcl): Likewise.
41918         [non-C99-based standards] (gammal): Likewise.
41919         [non-C99-based standards] (hypotl): Likewise.
41920         [non-C99-based standards] (j0l): Likewise.
41921         [non-C99-based standards] (j1l): Likewise.
41922         [non-C99-based standards] (jnl): Likewise.
41923         [non-C99-based standards] (lgammal): Likewise.
41924         [non-C99-based standards] (tgammal): Likewise.
41925         [non-C99-based standards] (y0l): Likewise.
41926         [non-C99-based standards] (y1l): Likewise.
41927         [non-C99-based standards] (ynl): Likewise.
41928         [non-C99-based standards] (isnanl): Likewise.
41929         [non-C99-based standards] (acoshl): Likewise.
41930         [non-C99-based standards] (asinhl): Likewise.
41931         [non-C99-based standards] (atanhl): Likewise.
41932         [non-C99-based standards] (cbrtl): Likewise.
41933         [non-C99-based standards] (expm1l): Likewise.
41934         [non-C99-based standards] (ilogbl): Likewise.
41935         [non-C99-based standards] (log1pl): Likewise.
41936         [non-C99-based standards] (logbl): Likewise.
41937         [non-C99-based standards] (nextafterl): Likewise.
41938         [non-C99-based standards] (remainderl): Likewise.
41939         [non-C99-based standards] (rintl): Likewise.
41940         [non-C99-based standards] (scalbl): Likewise.
41941         [ISO || ISO99 || ISO11] (*_t): Do not allow.
41942         [non-C99-based standards] (FP_*): Do not allow.
41943         [C99-based standards] (FP_*): Change to
41944         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
41945         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
41946         allow.
41947         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
41948         (SIG_ERR): Likewise.
41949         [X/Open-based standards] (SIG_HOLD): Likewise.
41950         (SIG_IGN): Likewise.
41951         (SIGABRT): Use macro-int-constant.  Specify type.  Require
41952         positive value.
41953         (SIGFPE): Likewise.
41954         (SIGILL): Likewise.
41955         (SIGINT): Likewise.
41956         (SIGSEGV): Likewise.
41957         (SIGTER): Likewise.
41958         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
41959         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
41960         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
41961         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
41962         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
41963         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
41964         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
41965         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
41966         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
41967         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
41968         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
41969         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
41970         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
41971         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
41972         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
41973         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
41974         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
41975         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
41976         [X/Open-based standards] (SIGTRAP): Likewise.
41977         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
41978         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
41979         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
41980         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
41981         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
41982         allow.
41983
41984 2012-05-08  Ian Wienand  <ianw@vmware.com>
41985
41986         [BZ #14080]
41987         * time/tzset.c (__tzset_parse_tz): Update default rules for
41988         daylight time changes in the Energy Policy Act of 2005.
41989
41990 2012-05-09  Andreas Jaeger  <aj@suse.de>
41991
41992         [BZ #13983]
41993         * elf/ldconfig.c (parse_conf): Change string to make clear that
41994         ldconfig only issued a warning if ld.so.conf does not exist.
41995
41996 2012-05-08  David S. Miller  <davem@davemloft.net>
41997
41998         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
41999         movxtod instead of popping the value on the stack.
42000
42001         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42002
42003 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
42004
42005         * config.h.in: Add HAVE_ARM_PCS_VFP.
42006
42007 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
42008
42009         [BZ #13979]
42010         * include/features.h: Warn if user requests __FORTIFY_SOURCE
42011         checking but the checks are disabled for any reason.
42012
42013 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
42014
42015         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
42016         and ELF64_R_TYPE with ELFW(R_TYPE).
42017
42018 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
42019
42020         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
42021         (ulimit): Likewise.
42022
42023         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
42024         (settimeofday): Likewise.
42025
42026 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
42027
42028         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
42029         a struct th_u2 inside the union, and move tu_block/tu_code into
42030         a new th_u3 union of tu_block/tu_code inside of that.  Move
42031         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
42032         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
42033         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
42034         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
42035         (th_stuff): Change to th_u1.tu_stuff.
42036         (th_data): Define.
42037         (th_msg): Change to th_u1.th_u2.tu_data.
42038
42039 2012-05-07  David S. Miller  <davem@davemloft.net>
42040
42041         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42042
42043         [BZ #14074]
42044         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
42045         (SETUP_PIC_REG): Use it.
42046         (SETUP_PIC_REG_LEAF): Use it.
42047
42048 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
42049
42050         [BZ #13885]
42051         [BZ #13923]
42052         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42053         USE_AS_EXPM1L.
42054         (EXPL_FINITE): Likewise.
42055         (FLDLOG): Likewise.
42056         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
42057         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
42058         e_expl.S.
42059         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42060         USE_AS_EXPM1L.
42061         (EXPL_FINITE): Likewise.
42062         (FLDLOG): Likewise.
42063         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
42064         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
42065         e_expl.S.
42066         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
42067         test of -max_value argument for long double.
42068         * sysdeps/i386/fpu/libm-test-ulps: Update.
42069         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42070
42071 2012-05-06  David S. Miller  <davem@davemloft.net>
42072
42073         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
42074         quad soft-float symbols whose references which are compiler
42075         generated.
42076         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
42077
42078 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
42079
42080         [BZ #13884]
42081         [BZ #13914]
42082         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42083         USE_AS_EXP10L.
42084         (EXPL_FINITE): Likewise.
42085         (FLDLOG): Likewise.
42086         (c0): Likewise.
42087         (c1): Likewise.
42088         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
42089         Adjust comments for base varying.
42090         (__expl_finite): Change alias to EXPL_FINITE.
42091         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
42092         e_expl.S.
42093         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
42094         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
42095         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
42096         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
42097         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42098         USE_AS_EXP10L.
42099         (EXPL_FINITE): Likewise.
42100         (FLDLOG): Likewise.
42101         (c0): Likewise.
42102         (c1): Likewise.
42103         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
42104         Adjust comments for base varying.
42105         (__expl_finite): Change alias to EXPL_FINITE.
42106         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
42107         tests for bugs.
42108         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42109
42110         [BZ #14064]
42111         * math/libm-test.inc (check_float_internal): Correct ulp
42112         calculation for subnormal expected results.
42113
42114 2012-05-06  Andreas Jaeger  <aj@suse.de>
42115
42116         * Makeconfig (+math-flags): New, set to -frounding-math.
42117         (+cflags): Add +math-flags so that all of glibc gets compiled with
42118         it.
42119
42120         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
42121
42122 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
42123
42124         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
42125         Disable one test.
42126
42127         [BZ #13787]
42128         [BZ #13922]
42129         [BZ #14036]
42130         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
42131         (__ieee754_expl): Allow for and saturate large arguments.
42132         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
42133         (u_threshold): Likewise.
42134         (__exp): Call __ieee754_exp before checking for overflow and
42135         underflow.
42136         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
42137         (u_threshold): Likewise.
42138         (__expf): Call __ieee754_expf before checking for overflow and
42139         underflow.
42140         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
42141         (u_threshold): Likewise.
42142         (__expl): Call __ieee754_expl before checking for overflow and
42143         underflow.
42144         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
42145         (__ieee754_expl): Allow for and saturate large arguments.
42146         * math/libm-test.inc (exp_test): Add another test.  Do not allow
42147         missing overflow exception on overflow.
42148         (expm1_test): Do not allow missing overflow exception on overflow.
42149
42150         * sysdeps/i386/fpu/e_expl.c: Move to ...
42151         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
42152         rather than using inline asm.
42153         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
42154         * sysdeps/x86_64/fpu/e_expl.S: Copy from
42155         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
42156
42157         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
42158         (nice): Likewise.
42159         (poll): Likewise.
42160         (signal): Likewise.
42161         (time): Likewise.
42162         (times): Likewise.
42163
42164 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
42165
42166         * sysdeps/unix/syscalls.list (adjtime): Add entry from
42167         sysdeps/unix/common/syscalls.list.
42168         (fchmod): Likewise.
42169         (fchown): Likewise.
42170         (ftruncate): Likewise.
42171         (getrusage): Likewise.
42172         (gettimeofday): Likewise.
42173         (setpgid): Likewise.
42174         (setregid): Likewise.
42175         (setreuid): Likewise.
42176         (sigaction): Likewise.
42177         (truncate): Likewise.
42178         (vhangup): Likewise.
42179         * sysdeps/unix/common/syscalls.list: Remove file.
42180         * sysdeps/unix/bsd/Implies: Don't include unix/common.
42181         * sysdeps/unix/sysv/linux/Implies: Likewise.
42182
42183 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
42184
42185         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
42186         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
42187         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
42188         Moved to ...
42189         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
42190         Here.
42191         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
42192         to ...
42193         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
42194         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
42195         to ...
42196         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
42197         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
42198         to ...
42199         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
42200         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
42201         to ...
42202         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
42203         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
42204         to ...
42205         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
42206         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
42207         to ...
42208         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
42209         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
42210         to ...
42211         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
42212         Here.
42213         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
42214         to ...
42215         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
42216         Here.
42217         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
42218         to ...
42219         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
42220         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
42221         Moved to ...
42222         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
42223         Here.
42224         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
42225         to ...
42226         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
42227
42228 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
42229
42230         * sysdeps/unix/common/bits/dirent.h: Remove file.
42231         * sysdeps/unix/common/bits/fcntl.h: Likewise.
42232
42233         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
42234         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
42235         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
42236         * sysdeps/unix/bsd/isatty.c: Likewise.
42237         * sysdeps/unix/bsd/tcdrain.c: Likewise.
42238         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
42239         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
42240
42241 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42242
42243         [BZ #13563]
42244         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
42245         long double comparison inaccuracies.
42246         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
42247         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42248
42249 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
42250
42251         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
42252         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
42253
42254 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
42255
42256         [BZ #14049]
42257         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
42258         nonzero digits before rounding a hex value.
42259         * stdlib/tst-strtod.c (tests): Add another test.
42260
42261 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42262
42263         * sysdeps/s390/fpu/libm-test-ulps: Update.
42264
42265 2012-05-03  Andreas Jaeger  <aj@suse.de>
42266
42267         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
42268         does not get optimized out.
42269         (malloc_opt_barrier): New.
42270
42271 2012-05-03  Andreas Jaeger  <aj@suse.de>
42272             Roland McGrath  <roland@hack.frob.com>
42273
42274         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
42275         intermediate file deletion.
42276         (generated): Add .symlist files.
42277
42278 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
42279
42280         [BZ #13775]
42281         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
42282         Redirect under this condition.
42283         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
42284         [__USE_GNU] (__dprintf_chk): Not under this condition.
42285         [__USE_GNU] (__vdprintf_chk): Likewise.
42286         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
42287         under this condition.
42288         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
42289         [__USE_XOPEN2K8] (dprintf): Define under this condition.
42290         [__USE_XOPEN2K8] (vdprintf): Likewise.
42291         [__USE_GNU] (__dprintf_chk): Not under this condition.
42292         [__USE_GNU] (__vdprintf_chk): Likewise.
42293         [__USE_GNU] (dprintf): Likewise.
42294         [__USE_GNU] (vdprintf): Likewise.
42295
42296 2012-05-03  Roland McGrath  <roland@hack.frob.com>
42297
42298         * elf/Makefile (common-generated): Set this instead of generated for
42299         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
42300         $(all-built-dso)-derived lists.
42301
42302 2012-05-03  Andreas Jaeger  <aj@suse.de>
42303
42304         * sysdeps/i386/fpu/libm-test-ulps: Update.
42305
42306         * FAQ: Removed.
42307         * FAQ.in: Likewise.
42308         * scripts/gen-FAQ.pl: Likewise.
42309         * manual/install.texi (Installation): Point to online location of
42310         FAQ.
42311         * Makefile (files-for-dist): Remove FAQ.
42312         (FAQ): Remove.
42313
42314 2012-05-02  Allan McRae  <allan@archlinux.org>
42315
42316         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
42317         (LDFLAGS-reldepmod5.so): Likewise.
42318         (LDFLAGS-reldep6mod1.so): Likewise.
42319         (LDFLAGS-reldep6mod4.so): Likewise.
42320         (LDFLAGS-reldep8mod3.so): Likewise.
42321         (LDFLAGS-unload4mod1.so): Likewise.
42322         (LDFLAGS-unload4mod2.so): Likewise.
42323         (LDFLAGS-tst-initorder): Likewise.
42324         (LDFLAGS-tst-initordera2.so): Likewise.
42325         (LDFLAGS-tst-initordera3.so): Likewise.
42326         (LDFLAGS-tst-initordera4.so): Likewise.
42327         (LDFLAGS-tst-initorderb2.so): Likewise.
42328         (LDFLAGS-noload): Likewise.
42329         (LDFLAGS-next): Likewise.
42330         (LDFLAGS-order2mod1.so): Likewise.
42331         (LDFLAGS-order2mod2.so): Likewise.
42332         (LDFLAGS-tst-initorder2): Likewise.
42333         (LDFLAGS-tst-initorder2a.so): Likewise.
42334         (LDFLAGS-tst-initorder2b.so): Likewise.
42335         (LDFLAGS-tst-initorder2c.so): Likewise.
42336         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
42337
42338 2012-05-02  David S. Miller  <davem@davemloft.net>
42339
42340         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42341
42342 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
42343
42344         [BZ #14055]
42345         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
42346
42347 2012-05-02  Andreas Jaeger  <aj@suse.de>
42348
42349         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
42350         since we manipulate rounding mode.
42351         (CPPFLAGS-test-idouble.c): Likewise.
42352         (CPPFLAGS-test-ifloat.c): Likewise.
42353         (CFLAGS-test-ldouble.c): Likewise.
42354         (CFLAGS-test-double.c): Likewise.
42355         (CFLAGS-test-float.c): Likewise.
42356         (CFLAGS-test-misc.c): Likewise.
42357         (CFLAGS-test-test-fenv.c): Likewise.
42358
42359 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42360
42361         [BZ #2550]
42362         [BZ #2570]
42363         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
42364         comparisons to determine direction to adjust input.
42365
42366 2012-05-01  Roland McGrath  <roland@hack.frob.com>
42367
42368         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
42369         output to the target.
42370
42371         * scripts/localplt.awk: New file.
42372         * elf/Makefile ($(objpfx)check-localplt): Target removed.
42373         (check-localplt-CFLAGS): Variable removed.
42374         ($(all-built-dso:=.jmprel)): New static pattern rule.
42375         (generated): Add those targets.
42376         (localplt-built-dso): New variable.
42377         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
42378
42379         * elf/check-localplt.c: File removed.
42380
42381         * scripts/check-execstack.awk: New file.
42382         * elf/Makefile ($(objpfx)check-execstack): Target removed.
42383         (check-execstack-CFLAGS): Variable removed.
42384         ($(objpfx)check-execstack.h): Target removed.
42385         ($(objpfx)execstack-default): New target.
42386         (generated): Add that instead of check-execstack.h.
42387         ($(all-built-dso:=.phdr)): New static pattern rule.
42388         (generated): Add those targets.
42389         * elf/check-execstack.c: File removed.
42390
42391         * scripts/check-textrel.awk: New file.
42392         * elf/Makefile ($(objpfx)check-textrel): Target removed.
42393         (check-textrel-CFLAGS): Variable removed.
42394         (all-built-dso): Use := to define.o
42395         ($(all-built-dso:=.dyn)): New static pattern rule.
42396         (generated): Add those targets.
42397         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
42398         * config.make.in (READELF): New substituted variable.
42399         * elf/check-textrel.c: File removed.
42400
42401 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
42402
42403         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
42404         allow.
42405         * conform/data/ctype.h-data [C99-based standards] (isblank):
42406         Expect function.
42407         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
42408         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
42409         [ISO || ISO99 || ISO11] (*_t): Do not allow.
42410         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
42411         Specify type.  Require positive value.
42412         (EILSEQ): Likewise.
42413         (ERANGE): Likewise.
42414         [ISO || POSIX] (EILSEQ): Do not expect.
42415         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
42416         Specify type.  Require positive value.
42417         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
42418         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
42419         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
42420         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
42421         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
42422         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
42423         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
42424         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
42425         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
42426         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
42427         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
42428         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
42429         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
42430         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
42431         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
42432         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
42433         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
42434         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
42435         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
42436         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
42437         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
42438         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
42439         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
42440         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
42441         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
42442         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
42443         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
42444         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
42445         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
42446         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
42447         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
42448         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
42449         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
42450         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
42451         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
42452         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
42453         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
42454         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
42455         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
42456         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
42457         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
42458         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
42459         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
42460         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
42461         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
42462         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
42463         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
42464         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
42465         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
42466         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
42467         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
42468         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
42469         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
42470         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
42471         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
42472         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
42473         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
42474         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
42475         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
42476         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
42477         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
42478         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
42479         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
42480         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
42481         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
42482         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
42483         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
42484         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
42485         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
42486         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
42487         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
42488         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
42489         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
42490         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
42491         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
42492         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
42493         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
42494         Require >= 2.
42495         (FLT_ROUNDS): Expect as macro, not constant.
42496         (FLT_MANT_DIG): Use macro-int-constant.
42497         (DBL_MANT_DIG): Likewise.
42498         (LDBL_MANT_DIG): Likewise.
42499         (FLT_DIG): Likewise.
42500         (DBL_DIG): Likewise.
42501         (LDBL_DIG): Likewise.
42502         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
42503         (DBL_MIN_EXP): Likewise.
42504         (LDBL_MIN_EXP): Likewise.
42505         (FLT_MAX_EXP): Use macro-int-constant.
42506         (DBL_MAX_EXP): Likewise.
42507         (LDBL_MAX_EXP): Likewise.
42508         (FLT_MAX_10_EXP): Likewise.
42509         (DBL_MAX_10_EXP): Likewise.
42510         (LDBL_MAX_10_EXP): Likewise.
42511         (FLT_MAX): Use macro-constant.
42512         (DBL_MAX): Likewise.
42513         (LDBL_MAX): Likewise.
42514         (FLT_EPSILON): Use macro-constant.  Give upper bound.
42515         (DBL_EPSILON): Likewise.
42516         (LDBL_EPSILON): Likewise.
42517         (FLT_MIN): Likewise.
42518         (DBL_MIN): Likewise.
42519         (LDBL_MIN): Likewise.
42520         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
42521         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
42522         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
42523         [ISO11] (FLT_HAS_SUBNORM): Likewise.
42524         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
42525         [ISO11] (DBL_DECIMAL_DIG): Likewise.
42526         [ISO11] (FLT_DECIMAL_DIG): Likewise.
42527         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
42528         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
42529         [ISO11] (FLT_TRUE_MIN): Likewise.
42530         [ISO11] (LDBL_TRUE_MIN): Likewise.
42531         [ISO || ISO99 || ISO11] (*_t): Do not allow.
42532         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
42533         (SCHAR_MIN): Use macro-int-constant.  Specify type.
42534         (SCHAR_MAX): Likewise.
42535         (UCHAR_MAX): Likewise.
42536         (CHAR_MIN): Likewise.
42537         (CHAR_MAX): Likewise.
42538         (MB_LEN_MAX): Use macro-int-constant.
42539         (SHRT_MIN): Use macro-int-constant.  Specify type.
42540         (SHRT_MAX): Likewise.
42541         (USHRT_MAX): Likewise.
42542         (INT_MAX): Likewise.
42543         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
42544         bound negative.
42545         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
42546         bound with "U".
42547         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
42548         bound with "L".
42549         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
42550         bound negative.  Suffix upper bound with "L".
42551         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
42552         bound with "UL".
42553         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
42554         Specify type.
42555         [C99-based standards] (LLONG_MAX): Likewise.
42556         [C99-based standards] (ULLONG_MAX): Likewise.
42557         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
42558         == 0.
42559         [ISO11] (max_align_t): Require type.
42560         [ISO || ISO99 || ISO11] (*_t): Do not allow.
42561
42562         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
42563         from $CFLAGS, without defining away __attribute__ calls.
42564         (checknamespace): Use $CFLAGS_namespace.
42565
42566         * conform/conformtest.pl (@keywords): Only include C99 keywords
42567         for standards based on C99 or C11.
42568
42569         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
42570         Disable tests.
42571         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
42572         UNIX98]: Likewise.
42573
42574         * conform/conformtest.pl: Handle "macro-int-constant" and test for
42575         usability of symbols in #if.
42576
42577         * conform/conformtest.pl: If macro or constant types start
42578         "promoted:", expect the symbol to be of the following type
42579         promoted by the integer promotions.
42580
42581         * conform/conformtest.pl: Parse all "constant" and "macro" lines
42582         in one place.  Also handle "macro-constant".
42583
42584         * conform/conformtest.pl: Only accept expected macro values with
42585         "==".  Parse all "macro" lines in one place.
42586         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
42587
42588         * conform/conformtest.pl: Handle braced types on "constant" lines
42589         instead of handling "typed-constant".
42590         * conform/data/signal.h-data: Use "constant" instead of
42591         "typed-constant".
42592
42593         * conform/conformtest.pl: Handle "optional-" at start of lines in
42594         one place rather than duplicating several cases.  Handle each
42595         format of "macro" line with initial "optional-".
42596
42597         * conform/conformtest.pl: Only accept expected constant or
42598         optional-constant values with "==".  Parse all "constant" lines in
42599         one place.  Parse all "optional-constant" lines in one place.
42600         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
42601         * conform/data/fmtmsg.h-data: Likewise.
42602         * conform/data/netinet/in.h-data: Likewise.
42603         * conform/data/tar.h-data: Likewise.
42604         * conform/data/limits.h-data: Use "==" form on "constant" and
42605         "optional-constant" lines.
42606
42607         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
42608         Use -std=c99 for XOPEN2K.
42609         (@knownproblems): Remove.
42610         (newtoken): Don't check %isknown.
42611
42612         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
42613         Do not expect macro.
42614         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
42615         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
42616         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
42617         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
42618         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
42619         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
42620         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
42621         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
42622         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
42623         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
42624         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
42625         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
42626         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
42627         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
42628         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
42629         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
42630         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
42631         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
42632         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
42633         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
42634         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
42635         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
42636         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
42637         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
42638         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
42639         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
42640         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
42641         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
42642         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
42643         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
42644         [XPG3] (acosh): Likewise.
42645         [XPG3] (asinh): Likewise.
42646         [XPG3] (atanh): Likewise.
42647         [XPG3] (cbrt): Likewise.
42648         [XPG3] (expm1): Likewise.
42649         [XPG3] (ilogb): Likewise.
42650         [XPG3] (log1p): Likewise.
42651         [XPG3] (logb): Likewise.
42652         [XPG3] (nextafter): Likewise.
42653         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
42654         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
42655         [XPG3] (remainder): Likewise.
42656         [XPG3] (rint): Likewise.
42657         [XPG3 || XPG4 || UNIX98] (round): Likewise.
42658         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
42659         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
42660         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
42661         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
42662         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
42663         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
42664         [UNIX98 || XOPEN2K] (scalb): Expect.
42665         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
42666         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
42667         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
42668         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
42669         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
42670         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
42671         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
42672         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
42673         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
42674         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
42675         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
42676         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
42677         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
42678         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
42679         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
42680         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
42681         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
42682         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
42683         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
42684         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
42685         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
42686         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
42687         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
42688         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
42689         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
42690         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
42691         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
42692         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
42693         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
42694         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
42695         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
42696         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
42697         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
42698         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
42699         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
42700         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
42701         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
42702         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
42703         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
42704         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
42705         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
42706         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
42707         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
42708         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
42709         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
42710         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
42711         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
42712         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
42713         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
42714         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
42715         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
42716         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
42717         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
42718         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
42719         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
42720         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
42721         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
42722         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
42723         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
42724         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
42725         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
42726         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
42727         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
42728         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
42729         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
42730         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
42731         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
42732         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
42733         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
42734         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
42735         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
42736         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
42737         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
42738         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
42739         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
42740         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
42741         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
42742         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
42743         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
42744         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
42745         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
42746         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
42747         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
42748         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
42749         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
42750         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
42751         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
42752         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
42753         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
42754         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
42755         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
42756         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
42757         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
42758         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
42759         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
42760         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
42761         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
42762         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
42763         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
42764         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
42765         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
42766         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
42767         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
42768         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
42769         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
42770         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
42771         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
42772         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
42773         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
42774         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
42775         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
42776         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
42777         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
42778         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
42779         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
42780         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
42781         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
42782         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
42783         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
42784         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
42785         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
42786         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
42787         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
42788         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
42789         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
42790         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
42791         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
42792         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
42793         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
42794         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
42795         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
42796         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
42797         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
42798         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
42799         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
42800         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
42801         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
42802
42803         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
42804         _XOPEN_SOURCE_EXTENDED for XPG4.
42805
42806         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
42807
42808         * Makeconfig (localtime): Remove variable.
42809         (inst_localtime-file): Likewise.
42810
42811 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
42812
42813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
42814         Update.
42815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42816         Update.
42817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
42818         Update.
42819         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
42820         Update.
42821         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
42822         Update.
42823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
42824         Update.
42825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42826         Update.
42827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
42828         Update.
42829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
42830         Update.
42831
42832 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
42833
42834         [BZ #2550]
42835         [BZ #2570]
42836         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
42837         comparisons to determine direction to adjust input.
42838         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
42839         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
42840         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
42841         Likewise.
42842         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
42843         Likewise.
42844         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
42845         Likewise.
42846         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
42847         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
42848         Likewise.
42849         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
42850         Likewise.
42851         * math/libm-test.inc (nexttoward_test): Add more tests.
42852
42853 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
42854
42855         [BZ #14040]
42856         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
42857         in version GLIBC_2.1, not GLIBC_2.0.
42858         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
42859         Likewise.
42860
42861 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
42862
42863         [BZ #13942]
42864         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
42865         (1 - x) * (1 + x).
42866         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
42867         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
42868         * math/libm-test.inc (acos_test): Add more tests.
42869         (asin_test): Likewise.
42870         * sysdeps/i386/fpu/libm-test-ulps: Update.
42871         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42872
42873         [BZ #14034]
42874         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
42875         of square root.
42876         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
42877         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
42878         * math/libm-test.inc (acos_test_tonearest): New function.
42879         (acos_test_towardzero): Likewise.
42880         (acos_test_downward): Likewise.
42881         (acos_test_upward): Likewise.
42882         (asin_test_tonearest): Likewise.
42883         (asin_test_towardzero): Likewise.
42884         (asin_test_downward): Likewise.
42885         (asin_test_upward): Likewise.
42886         (main): Call the new functions.
42887         * sysdeps/i386/fpu/libm-test-ulps: Update.
42888         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42889
42890         [BZ #13884]
42891         [BZ #13924]
42892         * math/e_exp10.c: Include <float.h>.
42893         (__ieee754_exp10): Handle underflow here rather than multiplying
42894         large negative argument by M_LN10.
42895         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
42896         of __ieee754_expf.
42897         * math/e_exp10l.c: Include <float.h>.
42898         (__ieee754_exp10l): Handle underflow here rather than multiplying
42899         large negative argument by M_LN10l.
42900         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
42901         spurious overflow exception on underflow.
42902
42903 2012-04-29  Marek Polacek  <polacek@redhat.com>
42904
42905         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
42906         (__fortify_function): New macro.
42907         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
42908         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
42909         __extern_always_inline.
42910         * libio/bits/stdio2.h: Likewise.
42911         * libio/bits/stdio.h: Likewise.
42912         * string/string.h: Likewise.
42913         * string/bits/string3.h: Likewise.
42914         * include/stdio.h: Likewise.
42915         * stdlib/bits/stdlib.h: Likewise.
42916         * stdlib/stdlib.h: Likewise.
42917         * rt/bits/mqueue2.h: Likewise.
42918         * rt/mqueue.h: Likewise.
42919         * posix/bits/unistd.h: Likewise.
42920         * posix/unistd.h: Likewise.
42921         * io/bits/poll2.h: Likewise.
42922         * io/bits/fcntl2.h: Likewise.
42923         * io/fcntl.h: Likewise.
42924         * io/sys/poll.h: Likewise.
42925         * misc/bits/syslog.h: Likewise.
42926         * misc/bits/syslog-ldbl.h: Likewise.
42927         * misc/sys/syslog.h: Likewise.
42928         * socket/bits/socket2.h: Likewise.
42929         * socket/sys/socket.h: Likewise.
42930         * debug/tst-chk1.c: Likewise.
42931         * wcsmbs/bits/wchar2.h: Likewise.
42932         * wcsmbs/bits/wchar-ldbl.h: Likewise.
42933         * wcsmbs/wchar.h: Likewise.
42934
42935 2012-04-29  Andreas Jaeger  <aj@suse.de>
42936
42937         * Makerules (tests): Remove enable-check-abi protection.
42938         (check-abi-warn): Remove.
42939         (check-abi-%): Remove check-abi-warn usage.
42940
42941         * configure.in: Remove check-abi configure option.
42942         * configure: Regenerated.
42943         * config.make.in (enable-check-abi): Remove.
42944
42945 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
42946
42947         [BZ #14033]
42948         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
42949         double functions to double *_finite functions.
42950
42951         [BZ #13941]
42952         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
42953         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
42954         LDBL_MIN_EXP.
42955         * stdio-common/Makefile (tests): Add tst-sprintf3.
42956         * stdio-common/tst-sprintf3.c: New file.
42957
42958         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
42959         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
42960
42961 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
42962
42963         * conform/conformtest.pl: Remove duplicate typed-constant
42964         handling.
42965
42966 2012-04-28  David S. Miller  <davem@davemloft.net>
42967
42968         * Makerules (%.abilist): Add vpath on sysdep_dirs.
42969         (check-abi-%): Remove AWK script prerequisite and explicit
42970         abilist directory.
42971         (check-abi): Rewrite to just diff the symlist with the abilist.
42972         (config-tls, config-abi-config): Delete, no longer used.
42973         (update-abi-%): Remove AWK script and explicit abilist directory.
42974         (update-abi): Rewrite to simply compare and conditionally copy the
42975         symlist and the sysdep abilist file.  Remove update-abi-config
42976         checks.
42977         * abilist/ld.abilist: Remove.
42978         * abilist/libBrokenLocale.abilist: Remove.
42979         * abilist/libanl.abilist: Remove.
42980         * abilist/libcrypt.abilist: Remove.
42981         * abilist/libdl.abilist: Remove.
42982         * abilist/librt.abilist: Remove.
42983         * abilist/libthread_db.abilist: Remove.
42984         * abilist/libutil.abilist: Remove.
42985         * scripts/extract-abilist.awk: Remove.
42986         * scripts/merge-abilist.awk: Remove.
42987         * sysdeps/generic/libcidn.abilist: New file.
42988         * sysdeps/generic/libnss_compat.abilist: New file.
42989         * sysdeps/generic/libnss_db.abilist: New file.
42990         * sysdeps/generic/libnss_dns.abilist: New file.
42991         * sysdeps/generic/libnss_files.abilist: New file.
42992         * sysdeps/generic/libnss_hesiod.abilist: New file.
42993         * sysdeps/generic/libnss_nis.abilist: New file.
42994         * sysdeps/generic/libnss_nisplus.abilist: New file.
42995         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
42996         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
42997         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
42998         file.
42999         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
43000         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
43001         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
43002         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
43003         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
43004         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
43005         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
43006         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
43007         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
43008         file.
43009         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
43010         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
43011         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
43012         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
43013         file.
43014         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
43015         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
43016         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
43017         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
43018         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
43019         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
43020         file.
43021         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
43022         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
43023         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
43024         file.
43025         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
43026         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
43027         New file.
43028         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
43029         New file.
43030         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
43031         New file.
43032         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
43033         New file.
43034         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
43035         New file.
43036         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
43037         New file.
43038         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
43039         New file.
43040         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
43041         New file.
43042         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
43043         New file.
43044         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
43045         New file.
43046         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
43047         New file.
43048         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
43049         New file.
43050         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
43051         New file.
43052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
43053         file.
43054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
43055         New file.
43056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
43057         New file.
43058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
43059         file.
43060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
43061         New file.
43062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
43063         New file.
43064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
43065         file.
43066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
43067         New file.
43068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
43069         New file.
43070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
43071         New file.
43072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
43073         New file.
43074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
43075         New file.
43076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
43077         New file.
43078         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
43079         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
43080         file.
43081         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
43082         New file.
43083         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
43084         file.
43085         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
43086         file.
43087         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
43088         file.
43089         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
43090         file.
43091         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
43092         file.
43093         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
43094         New file.
43095         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
43096         file.
43097         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
43098         file.
43099         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
43100         New file.
43101         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
43102         file.
43103         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
43104         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
43105         file.
43106         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
43107         New file.
43108         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
43109         file.
43110         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
43111         file.
43112         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
43113         file.
43114         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
43115         file.
43116         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
43117         file.
43118         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
43119         New file.
43120         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
43121         file.
43122         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
43123         file.
43124         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
43125         New file.
43126         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
43127         file.
43128         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
43129         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
43130         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
43131         file.
43132         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
43133         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
43134         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
43135         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
43136         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
43137         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
43138         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
43139         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
43140         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
43141         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
43142         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
43143         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
43144         file.
43145         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
43146         New file.
43147         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
43148         file.
43149         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
43150         file.
43151         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
43152         file.
43153         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
43154         file.
43155         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
43156         file.
43157         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
43158         New file.
43159         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
43160         New file.
43161         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
43162         file.
43163         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
43164         New file.
43165         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
43166         file.
43167         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
43168         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
43169         file.
43170         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
43171         New file.
43172         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
43173         file.
43174         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
43175         file.
43176         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
43177         file.
43178         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
43179         file.
43180         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
43181         file.
43182         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
43183         New file.
43184         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
43185         New file.
43186         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
43187         file.
43188         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
43189         New file.
43190         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
43191         file.
43192
43193 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
43194
43195         * conform/conformtest.pl: Fix typo in handling typed-constant from
43196         allow-header.
43197
43198 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
43199
43200         * README: Cut down references to pre-2.6 Linux kernels and
43201         Linuxthreads.  Update lists of configurations in libc and ports
43202         and sort alphabetically.  Say "or newer" with Linux kernel version
43203         requirements.
43204
43205         * config.h.in [IS_IN_build]: Allow compiling without optimization.
43206
43207 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
43208
43209         [BZ #887]
43210         * math/libm-test.inc (logb_test_downward): New test to expose
43211         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
43212         rounding mode.
43213
43214 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
43215
43216         [BZ #14027]
43217         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
43218         to be done.
43219         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
43220         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
43221
43222 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
43223
43224         * sysdeps/unix/i386/brk.S: Remove file.
43225         * sysdeps/unix/i386/dl-brk.S: Likewise.
43226         * sysdeps/unix/i386/pipe.S: Likewise.
43227         * sysdeps/unix/i386/sigreturn.S: Likewise.
43228         * sysdeps/unix/i386/syscall.S: Likewise.
43229         * sysdeps/unix/i386/vfork.S: Likewise.
43230         * sysdeps/unix/i386/wait.S: Likewise.
43231
43232         * sysdeps/unix/common/tcsendbrk.c: Move to ...
43233         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
43234
43235         * configure.in (arm*-none*): Do not allow without
43236         --enable-hacker-mode.
43237         (netbsd*): Remove case setting base_os.
43238         (386bsd*): Likewise.
43239         (freebsd*): Likewise.
43240         (bsdi*): Likewise.
43241         (osf*): Likewise.
43242         (sunos*): Likewise.
43243         (ultrix*): Likewise.
43244         (newsos*): Likewise.
43245         (dynix*): Likewise.
43246         (*bsd*): Likewise.
43247         (sysv*): Likewise.
43248         (isc*): Likewise.
43249         (esix*): Likewise.
43250         (sco*): Likewise.
43251         (minix*): Likewise.
43252         (irix4*): Likewise.
43253         (irix6*): Likewise.
43254         (solaris[2-9]*): Likewise.
43255         (none): Likewise.
43256         * configure: Regenerated.
43257
43258 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43259
43260         [BZ #11521]
43261         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
43262         overflow or cancellation in calculating denominator.
43263         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
43264         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
43265         down expression to avoid unexpected rounding in newer GCCs.
43266         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
43267
43268 2012-04-26  David S. Miller  <davem@davemloft.net>
43269
43270         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
43271         long-double compat symbols.
43272         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
43273         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
43274         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
43275         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
43276         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
43277         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
43278         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
43279         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
43280         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
43281         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
43282         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
43283         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
43284         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
43285
43286 2012-04-25  David S. Miller  <davem@davemloft.net>
43287
43288         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
43289         HWCAP_* values only after the memory barriers have been defined.
43290         (atomic_full_barrier): Define.
43291         (atomic_read_barrier): Define.
43292         (atomic_write_barrier): Define.
43293
43294 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
43295
43296         * shlib-versions: Add libgcc_s version information.
43297         * sysdeps/generic/libgcc_s.h: Remove.
43298         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
43299         libgcc_s.h.
43300         * sysdeps/gnu/unwind-resume.c: Likewise.
43301         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
43302
43303 2012-04-25  David S. Miller  <davem@davemloft.net>
43304
43305         * sysdeps/unix/sparc/brk.S: Delete.
43306         * sysdeps/unix/sparc/dl-brk.S: Delete.
43307         * sysdeps/unix/sparc/pipe.S: Delete.
43308         * sysdeps/unix/sparc/sysdep.S: Delete.
43309         * sysdeps/unix/sparc/sysdep.h: Delete.
43310         * sysdeps/unix/sparc/vfork.S: Delete.
43311         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
43312         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
43313         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
43314         (ret_ERRVAL, r0, r1, MOVE): Define.
43315         (JUMPTARGET): Remove.
43316         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
43317         sysdeps/unix/sparc/sysdep.h
43318         (ENTRY, END): Remove.
43319         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43320
43321 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
43322
43323         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
43324         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
43325         -DIS_IN_build.
43326
43327         * timezone/README: Update upstream location and email address for
43328         tzcode and tzdata.
43329         * timezone/zdump.c: Update from tzcode 2012b.
43330         * timezone/zic.c: Likewise.
43331
43332         * configure.in (libc_cv_as_needed): Remove test.
43333         * configure: Regenerated.
43334         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
43335         conditional definition.
43336         [$(have-as-needed) != yes] (no-as-needed): Likewise.
43337         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
43338         * config.make.in (have-as-needed): Remove variable.
43339
43340 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
43341             Paul Pluzhnikov  <ppluzhnikov@google.com>
43342
43343         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
43344         strings correctly.
43345
43346 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
43347
43348         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
43349         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
43350         * sysdeps/sh/strlen.S: Likewise.
43351
43352 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
43353
43354         * sysdeps/unix/fork.S: Remove file.
43355         * sysdeps/unix/i386/fork.S: Likewise.
43356         * sysdeps/unix/sparc/fork.S: Likewise.
43357
43358         * sysdeps/unix/system.c: Remove file.
43359         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
43360
43361         * sysdeps/unix/getegid.S: Remove file.
43362         * sysdeps/unix/geteuid.S: Likewise.
43363
43364 2012-04-24  Roland McGrath  <roland@hack.frob.com>
43365
43366         * scripts/check-localplt.awk: New file.
43367         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
43368         of diff.
43369         * scripts/data/localplt-generic.data: Add a comment.
43370
43371         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
43372         NODE when __dir_mkfile failed.
43373         * sysdeps/mach/hurd/symlinkat.c: Likewise.
43374         Reported by Ludovic Courtès <ludo@gnu.org>.
43375
43376 2012-04-24  Andreas Jaeger  <aj@suse.de>
43377
43378         * Makerules (common-clean): Also remove gen-as-const-headers
43379         files.
43380
43381 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
43382
43383         * Makerules (native-compile): Do not change working directory for
43384         build.  Use $(OUTPUT_OPTION) in command.
43385         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
43386
43387 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43388
43389         [BZ #13886]
43390         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
43391         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
43392         * math/libm-test.inc (floor_test): Add more tests.
43393         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
43394
43395 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
43396
43397         * sysdeps/unix/getdents.c: Remove file.
43398         * sysdeps/unix/sysv/getdents.c: Likewise.
43399         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
43400
43401         * sysdeps/unix/syscalls.list (madvise): Add syscall from
43402         sysdeps/unix/mman/syscalls.list.
43403         (mmap): Likewise.
43404         (mprotect): Likewise.
43405         (msync): Likewise.
43406         (munmap): Likewise.
43407         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
43408         * sysdeps/unix/mman/syscalls.list: Remove.
43409         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
43410
43411         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
43412         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
43413         * configure: Regenerated.
43414         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
43415         $(libgcc_s_suffix).
43416         * config.make.in (libgcc_s_suffix): Remove variable.
43417
43418 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
43419
43420         * sysdeps/unix/sysv/gethostname.c: Move to ...
43421         * sysdeps/posix/gethostname.c: ... here.
43422
43423         * sysdeps/unix/execve.S: Remove file.
43424
43425         * sysdeps/unix/_exit.S: Remove file.
43426
43427 2012-04-23  Andreas Jaeger  <aj@suse.de>
43428
43429         [BZ #13739]
43430         * manual/Makefile: Remove make dist support, there's no
43431         need for a stand-alone documentation tar ball.
43432         (TEXI2DVI): Define always, it's not in Makeconfig.
43433         (dist): Removed.
43434         (tar-it): Removed.
43435         (edition): Removed.
43436         (glibc-doc-$(edition).tar): Removed
43437         (%.Z): Removed.
43438         (%.gz): Removed.
43439         (%.uu): Removed.
43440         (ETAGS): Remove, it's in Makeconfig.
43441         (move-if-change): Remove, it's in Makeconfig.
43442
43443 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
43444
43445         [BZ #13970]
43446         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
43447         (strtod, strtof, strtold, strtol, strtoul, strtoq)
43448         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
43449         (strtod_l, strtof_l, strtold_l): Remove __wur.
43450         It is not necessarily an error to ignore strtol's return value.
43451         One can reliably look at the stored endptr to decide whether
43452         the number had valid syntax.
43453
43454 2012-04-21  Andreas Jaeger  <aj@suse.de>
43455
43456         [BZ #13739]
43457         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
43458
43459 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
43460
43461         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
43462         * sysdeps/unix/sysv/Versions: Remove file.
43463
43464 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
43465
43466         [BZ #13927]
43467         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43468
43469 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
43470
43471         [BZ #7064]
43472         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
43473         version from __vm86.
43474
43475 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
43476
43477         * sysdeps/unix/common/lxstat.c: Remove file.
43478         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
43479
43480         * sysdeps/unix/sysv/Makefile: Remove file.
43481
43482         * sysdeps/unix/sysv/direct.h: Remove file.
43483
43484         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
43485         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
43486         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
43487         * sysdeps/unix/sysv/bits/signum.h: Likewise.
43488         * sysdeps/unix/sysv/bits/stat.h: Likewise.
43489         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
43490         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
43491
43492         * sysdeps/unix/sysv/setrlimit.c: Remove file.
43493
43494         * sysdeps/unix/xmknod.c: Remove file.
43495         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
43496
43497         * sysdeps/unix/sysv/settimeofday.c: Remove file.
43498
43499         * sysdeps/unix/sysv/i386/time.S: Remove file.
43500
43501         * sysdeps/unix/fxstat.c: Remove file.
43502         * sysdeps/unix/xstat.c: Likewise.
43503         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
43504
43505         * sysdeps/unix/sysv/sigaction.c: Remove file.
43506
43507         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
43508         (sysdep_headers): Remove variable.
43509         [termio.h not in sysdep_headers] (generated): Likewise.
43510         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
43511         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
43512         * sysdeps/unix/sysv/tcdrain.c: Likewise.
43513         * sysdeps/unix/sysv/tcflow.c: Likewise.
43514         * sysdeps/unix/sysv/tcflush.c: Likewise.
43515         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
43516         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
43517         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
43518         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
43519         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
43520
43521         * sysdeps/unix/siglist.c: Remove file.
43522
43523         * sysdeps/unix/getppid.S: Remove file.
43524
43525         * sysdeps/unix/mkdir.c: Remove file.
43526         * sysdeps/unix/rmdir.c: Likewise.
43527
43528 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
43529
43530         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
43531         ERR_MAX value.
43532         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
43533         errlist-compat value.
43534
43535 2012-04-18  David S. Miller  <davem@davemloft.net>
43536
43537         * sysdeps/generic/memcopy.h (reg_char): Delete.
43538         * debug/strcat_chk.c: Use char, not reg_char.
43539         * debug/strcpy_chk.c: Likewise.
43540         * debug/strncat_chk.c: Likewise.
43541         * debug/strncpy_chk.c: Likewise.
43542         * string/memchr.c: Likewise.
43543         * string/memrchr.c: Likewise.
43544         * string/rawmemchr.c: Likewise.
43545         * string/strcat.c: Likewise.
43546         * string/strchr.c: Likewise.
43547         * string/strchrnul.c: Likewise.
43548         * string/strcmp.c: Likewise.
43549         * string/strcpy.c: Likewise.
43550         * string/strncat.c: Likewise.
43551         * string/strncmp.c: Likewise.
43552         * string/strncpy.c: Likewise.
43553
43554 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
43555
43556         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
43557         __builtin_memcopy is called when src and dest ranges are known to not
43558         overlap.
43559
43560 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
43561
43562         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
43563         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
43564         fwd_align_merge macro call.
43565         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
43566         bwd_align_merge macro call.
43567         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
43568
43569 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
43570
43571         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
43572         bwd_align_merge macros.
43573         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
43574         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
43575         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
43576
43577 2012-04-18  David S. Miller  <davem@davemloft.net>
43578
43579         * sysdeps/sparc/sparc64/memcopy.h: Delete.
43580
43581 2012-04-18  Andreas Jaeger  <aj@suse.de>
43582
43583         [BZ# 6794]
43584         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
43585         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
43586         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
43587
43588         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
43589         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
43590         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
43591
43592         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
43593         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
43594         Adjust for changed ldbl-128 files.
43595
43596         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
43597         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
43598         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
43599
43600 2012-04-17  David S. Miller  <davem@davemloft.net>
43601
43602         * sysdeps/sparc/sparc32/memcopy.h: Delete.
43603
43604 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
43605
43606         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
43607         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
43608         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
43609         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
43610         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
43611         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
43612
43613 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43614
43615         [BZ #6794]
43616         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
43617         * math/libm-test.inc: Add ilogb errno and exception tests.
43618         * math/w_ilogb.c: New file: ilogb wrapper.
43619         * math/w_ilogbf.c: New file: ilogbf wrapper.
43620         * math/w_ilogbl.c: New file: ilogbl wrapper.
43621         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
43622         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
43623         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
43624         exception being thrown with 0.0 as argument.
43625         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
43626         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
43627         exception being thrown with 0.0 as argument.
43628         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
43629         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
43630         exception being thrown with 0.0 as argument.
43631         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
43632         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
43633         exception being thrown with 0.0 as argument.
43634         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
43635         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
43636         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
43637         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
43638         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
43639         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
43640         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
43641         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
43642         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
43643
43644 2012-04-17  Petr Baudis  <pasky@ucw.cz>
43645
43646         * include/sys/uio.h: Change __vector to __iovec to avoid clash
43647         with altivec.
43648
43649 2012-04-16  Marek Polacek  <polacek@redhat.com>
43650
43651         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
43652
43653 2012-04-16  Marek Polacek  <polacek@redhat.com>
43654
43655         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
43656         operands of fdivp instruction.
43657
43658 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
43659
43660         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
43661         * elf/tst-auditmod3b.c: Likewise.
43662         * elf/tst-auditmod4b.c: Likewise.
43663         * elf/tst-auditmod5b.c: Likewise.
43664         * elf/tst-auditmod6b.c: Likewise.
43665         * elf/tst-auditmod6c.c: Likewise.
43666         * elf/tst-auditmod7b.c: Likewise.
43667         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
43668         * sysdeps/x86_64/preconfigure.in: Likewise.
43669         * sysdeps/x86_64/preconfigure: Regenerated.
43670
43671 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
43672
43673         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
43674         __ILP32__.
43675
43676 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
43677
43678         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43679         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
43680
43681 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
43682
43683         [BZ #13973]
43684         * locale/iso-639.def: Fix gl language name. Spotted by
43685         Yaron Shahrabani.
43686
43687 2012-04-12  Roland McGrath  <roland@hack.frob.com>
43688
43689         [BZ #2074]
43690         * libio/libio.h (__io_write_fn): Update comment.
43691
43692 2012-04-12  Petr Baudis  <pasky@ucw.cz>
43693
43694         [BZ #2074]
43695         * stdio.texi (Hook Functions): The user provided writer function
43696         is not allowed to return -1.
43697
43698 2012-04-11  David S. Miller  <davem@davemloft.net>
43699
43700         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43701
43702 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
43703
43704         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
43705         Add a leading slash to rtkaio.
43706
43707 2012-04-11  Jim Meyering  <meyering@redhat.com>
43708
43709         [BZ #11959]
43710         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
43711         It is not necessarily an error to ignore fwrite's return
43712         value.  One can reliably use ferror to test for errors after
43713         the fact.
43714
43715 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
43716
43717         * bits/types.h (__snseconds_t): New type.
43718         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
43719
43720         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
43721         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43722         (__SNSECONDS_T_TYPE): Likewise.
43723         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43724         (__SNSECONDS_T_TYPE): Likewise.
43725         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43726         (__SNSECONDS_T_TYPE): Likewise.
43727
43728 2012-04-10  Andreas Jaeger  <aj@suse.de>
43729
43730         [BZ #2636]
43731         * manual/time.texi (Processor Time): Return type of times is
43732         elapsed real time since an arbitrary point in the past.
43733         (CPU Time): Move CLK_TCK from here...
43734         (Processor Time): ...to here.  Correct description.
43735         * manual/conf.texi (Constants for Sysconf): Correct description of
43736         _SC_CLK_TCK.
43737
43738 2012-04-10  David S. Miller  <davem@davemloft.net>
43739
43740         [BZ #13967]
43741         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
43742         where the is a gap between DT_REL(A) and DT_JMPREL.
43743
43744 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
43745
43746         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
43747         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
43748         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
43749
43750 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
43751
43752         * elf/dl-support.c (_dl_inhibit_cache): New variable.
43753         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
43754         (dl_main): Handle --inhibit-cache.
43755         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
43756         _dl_inhibit_cache.
43757         * elf/dl-load.c (_dl_map_object): Use it.
43758         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
43759
43760 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
43761
43762         [BZ #13872]
43763         * sysdeps/i386/fpu/e_powl.S (p78): New object.
43764         (__ieee754_powl): Saturate large exponents rather than testing for
43765         overflow of y*log2(x).
43766         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43767         * math/libm-test.inc (pow_test): Do not permit spurious overflow
43768         exceptions.
43769
43770         [BZ #11521]
43771         * math/s_ctan.c: Include <float.h>.
43772         (__ctan): Avoid internal overflow or cancellation in calculating
43773         denominator.
43774         * math/s_ctanf.c: Likewise.
43775         * math/s_ctanl.c: Likewise.
43776         * math/s_ctanh.c: Likewise.
43777         * math/s_ctanhf.c: Likewise.
43778         * math/s_ctanhl.c: Likewise.
43779         * math/libm-test.inc (ctan_test): Add more tests.
43780         (ctanh_test): Likewise.
43781         * sysdeps/i386/fpu/libm-test-ulps: Update.
43782         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43783
43784 2012-04-09  Andreas Jaeger  <aj@suse.de>
43785
43786         [BZ #6894]
43787         * manual/filesys.texi (Directory Entries): Mention that d_namlen
43788         is an optional BSD extension.
43789
43790         [BZ #10254]
43791         * manual/stdio.texi (Opening Streams): Document additional fopen
43792         parameters.
43793
43794 2012-04-09  Roland McGrath  <roland@hack.frob.com>
43795
43796         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
43797         %eax without telling the compiler.
43798
43799 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
43800
43801         [BZ # 13963]
43802         * manual/install.texi: Use sourceware.org.
43803
43804 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
43805
43806         [BZ #13873]
43807         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
43808         (__ieee754_pow): Generate overflow and underflow using huge*huge
43809         and tiny*tiny rather than just returning constant infinity or zero
43810         for large exponents.
43811         * math/libm-test.inc (pow_test): Require overflow exceptions for
43812         applicable cases of large exponents.
43813
43814         [BZ #706]
43815         * sysdeps/i386/fpu/e_pow.S (p10): New object.
43816         (__ieee754_pow): Use iterative multiplication algorithm only for
43817         integer exponents with absolute value below 1024.  Check for odd
43818         integer exponents when using algorithm for real exponents.
43819         * math/libm-test.inc (pow_test): Add more tests.
43820         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43821
43822 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
43823
43824         [BZ #13705]
43825         * math/libm-test.inc (exp_test): Do not allow overflow exception
43826         on underflow test.
43827
43828 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
43829
43830         [BZ #13705]
43831         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
43832         instead of __kernel_standard_f.
43833
43834 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
43835
43836         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
43837         * sysdeps/x86_64/memset_chk.S: Likewise.
43838
43839 2012-04-08  Andreas Jaeger  <aj@suse.de>
43840
43841         [BZ #10153]
43842         * manual/startup.texi (Environment Access): Describe return value
43843         for putenv and setenv.
43844
43845         [BZ #6895]
43846         * manual/filesys.texi (Directory Entries): Add description for
43847         DT_LNK.
43848
43849         [BZ #6890]
43850         * manual/filesys.texi (Directory Entries): Clarify that it's file
43851         system not operating system in the description of DT_UNKNOWN.
43852
43853         [BZ #6578]
43854         * manual/syslog.texi (closelog): Fix reference, it's openlog.
43855
43856 2012-04-08  Stephen Compall  <s11@member.fsf.org>
43857
43858         [BZ #6649]
43859         * manual/llio.texi (Opening and Closing Files): Add cross
43860         reference to explain mode argument.
43861
43862 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
43863
43864         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
43865         * sysdeps/x86_64/memset_chk.S: Likewise.
43866
43867 2012-04-07  David S. Miller  <davem@davemloft.net>
43868
43869         * elf/elf.h (R_SPARC_WDISP10): Define.
43870         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
43871         R_SPARC_SIZE32.
43872         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
43873         R_SPARC_SIZE64 and R_SPARC_H34.
43874
43875 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
43876
43877         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
43878         conditions and remove no longer applicable assertion.
43879
43880 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
43881
43882         * bits/byteswap.h: Include <features.h>.
43883         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
43884         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
43885
43886 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
43887
43888         * bits/byteswap.h (__bswap_16): Removed.
43889         Include <bits/byteswap-16.h> to get __bswap_16.
43890         * sysdeps/i386/bits/byteswap.h: Likewise.
43891         * sysdeps/s390/bits/byteswap.h: Likewise.
43892         * sysdeps/x86_64/bits/byteswap.h: Likewise.
43893         * bits/byteswap-16.h: New file.
43894         * sysdeps/i386/bits/byteswap-16.h: Likewise.
43895         * sysdeps/s390/bits/byteswap-16.h: Likewise.
43896         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
43897         * string/Makefile (headers): Add bits/byteswap-16.h.
43898
43899 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
43900
43901         [BZ #13895]
43902         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
43903         extra indirection.
43904         * nss/Makefile (tests-static, tests): Add tst-nss-static.
43905         * nss/tst-nss-static.c: New.
43906
43907 2012-04-06  Robert Millan  <rmh@gnu.org>
43908
43909         [BZ #6486]
43910         * manual/llio.texi (File Position Primitive): lseek
43911         refers to WHENCE when it really means OFFSET.
43912
43913 2012-04-06  Andreas Jaeger  <aj@suse.de>
43914
43915         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
43916         strncmp declarations.
43917
43918         * abilist/libc.abilist: Add __poll and __ppoll.
43919
43920 2012-04-05  David S. Miller  <davem@davemloft.net>
43921
43922         * scripts/check-local-headers.sh: Accept a host triplet in the
43923         path matched by the exclude regexp.
43924
43925         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
43926         definition.
43927         * sysdeps/powerpc/powerpc32/dl-machine.h
43928         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
43929         * sysdeps/s390/s390-32/dl-machine.h
43930         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
43931         * sysdeps/sparc/sparc32/dl-machine.h
43932         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
43933         * sysdeps/sparc/sparc64/dl-machine.h
43934         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
43935
43936         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
43937         lazy binding.
43938         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
43939         undefined symbol errors.
43940
43941         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
43942         DT_NEEDED entries.
43943
43944 2012-04-05  Michael Matz  <matz@suse.de>
43945
43946         [BZ #13592]
43947         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
43948
43949 2012-04-05  Andreas Jaeger  <aj@suse.de>
43950
43951         [BZ #13908]
43952         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
43953         comment.
43954
43955 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
43956
43957         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
43958         which ROUND is no valid rounding mode.
43959
43960 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
43961
43962         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
43963         read again.
43964         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
43965
43966 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
43967
43968         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
43969         an exception using FPU order intentionally.
43970
43971 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
43972
43973         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
43974         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
43975         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
43976         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
43977
43978 2012-04-05  Simon Josefsson  <simon@josefsson.org>
43979
43980         [BZ #12340]
43981         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
43982         EINVAL when BUFLEN is too smal.
43983
43984 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
43985
43986         [BZ #13553]
43987         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
43988         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
43989
43990 2012-04-03  Andreas Jaeger  <aj@suse.de>
43991
43992         [BZ #13938]
43993         * manual/setjmp.texi (System V contexts): Fix sentence.
43994
43995         [BZ #13926]
43996         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
43997         New macro for this case.
43998         [!__GNUC__] (__bswap_64): New inline function for this case.
43999         * sysdeps/x86_64/bits/byteswap.h: Likewise.
44000         * bits/byteswap.h: Likewise.
44001         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
44002         ull, guard with __GLIBC_HAVE_LONG_LONG.
44003
44004         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
44005         __GLIBC_HAVE_LONG_LONG.
44006
44007         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
44008         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
44009
44010 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44011
44012         [BZ #13691]
44013         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
44014         inptr and inend, rather than using last_ch.
44015
44016 2012-04-02  David S. Miller  <davem@davemloft.net>
44017
44018         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
44019         * stdio-common/printf-parse.h (read_int): Change return type to
44020         'int', return -1 on INT_MAX overflow.
44021         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
44022         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
44023         overflows INT_MAX.  Check for overflow of in-format-string precision
44024         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
44025         SIZE_MAX not INT_MAX for integer overflow test.
44026         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
44027         skip the construct in the format string but do not record anything.
44028         * stdio-common/bug22.c: Adjust to test both width/prevision
44029         INT_MAX overflow as well as total length INT_MAX overflow.  Check
44030         explicitly for proper errno values.
44031
44032 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
44033
44034         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
44035         CHAR_MAX.
44036         * string/test-strcmp.c [! WIDE]: Likewise.
44037         * time/tst-mktime2.c: Likewise for INT_MAX.
44038         * string/test-string.h: #include <sys/param.h> for MIN.
44039
44040         * csu/init-first.c (__libc_init_first): Call __ctype_init.
44041         * sysdeps/i386/init-first.c (init): Likewise.
44042         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
44043         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
44044         * sysdeps/sh/init-first.c (init): Likewise.
44045
44046 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
44047
44048         * po/ru.po: Update from translation team.
44049         * po/vi.po: Likewise.
44050
44051 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
44052
44053         * resolv/nss_dns/dns-host.c: Merge copyright years.
44054
44055 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44056
44057         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
44058         Optimize memcpy with prefetch if
44059         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
44060         src, dst pointers have unequal 16 byte alignments.
44061
44062 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
44063
44064         [BZ #13928]
44065         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
44066         from a CNAME entry and return the minimum ttl for the query.
44067         (gaih_getanswer_slice): Likewise.
44068
44069 2012-03-30  Jeff Law  <law@redhat.com>
44070
44071         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
44072         due to long keys.
44073         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
44074         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
44075
44076         * resolv/nss_dns/dns-host.c: Update copyright year.
44077
44078 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
44079
44080         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
44081         requests to save a system call.  Fix check that all bytes are sent.
44082
44083         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
44084         comments for sendmmsg.
44085
44086 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
44087
44088         [BZ #13691]
44089         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
44090         with only 1 character between 0x0041 and 0x01b0.
44091         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
44092         * wcsmbs/tst-mbsnrtowcs.c: New file.
44093
44094 2012-03-29  David S. Miller  <davem@davemloft.net>
44095
44096         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
44097         small copies by hand.
44098
44099 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44100
44101         [BZ #13761]
44102         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
44103         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
44104         group memberships.
44105
44106 2012-03-28  David S. Miller  <davem@davemloft.net>
44107
44108         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
44109         that branches into memcpy.
44110         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
44111         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
44112         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
44113         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
44114         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
44115         bits.
44116         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
44117         implementation too.
44118         * sysdeps/sparc/mempcpy.S: New file.
44119
44120         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
44121         the IFUNC routine in the libc case.
44122         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
44123
44124         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
44125         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
44126         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
44127         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
44128         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
44129         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
44130         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
44131         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
44132
44133         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
44134         loop to 256 bytes instead of 64 bytes and fix test signedness.
44135
44136         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
44137         * sysdeps/sparc/sparc32/Makefile: rather than here...
44138         * sysdeps/sparc/sparc64/Makefile: and here.
44139
44140 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
44141
44142         * malloc/mallocbug.c: Avoid warnings about unused variables.
44143
44144 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
44145
44146         [BZ #13760]
44147         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
44148         in the right place. Discard and retry query if response is
44149         larger than input buffer size.
44150
44151 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
44152
44153         [BZ #369]
44154         [BZ #2678]
44155         [BZ #3866]
44156         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
44157         x for large integer exponent.
44158         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
44159         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
44160         sign of result as needed afterwards.
44161         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
44162         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
44163         result for underflowing pow the same as for overflow.
44164         (__kernel_standard_l): Handle powl overflow and underflow here
44165         rather than calling __kernel_standard.
44166         * math/libm-test.inc (pow_test): Add more tests.
44167
44168         [BZ #3868]
44169         [BZ #13879]
44170         [BZ #13910]
44171         [BZ #13911]
44172         [BZ #13912]
44173         [BZ #13913]
44174         [BZ #13915]
44175         [BZ #13916]
44176         [BZ #13917]
44177         [BZ #13918]
44178         [BZ #13919]
44179         [BZ #13920]
44180         [BZ #13921]
44181         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
44182         * sysdeps/ieee754/k_standard.c: Include <float.h>.
44183         (__kernel_standard_l): New function.
44184         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
44185         __kernel_standard.
44186         * math/w_acosl.c (__acosl): Likewise.
44187         * math/w_asinl.c (__asinl): Likewise.
44188         * math/w_atan2l.c (__atan2l): Likewise.
44189         * math/w_atanhl.c (__atanhl): Likewise.
44190         * math/w_coshl.c (__coshl): Likewise.
44191         * math/w_exp10l.c (__exp10l): Likewise.
44192         * math/w_exp2l.c (__exp2l): Likewise.
44193         * math/w_fmodl.c (__fmodl): Likewise.
44194         * math/w_hypotl.c (__hypotl): Likewise.
44195         * math/w_j0l.c (__j0l, __y0l): Likewise.
44196         * math/w_j1l.c (__j1l, __y1l): Likewise.
44197         * math/w_jnl.c (__jnl, __ynl): Likewise.
44198         * math/w_lgammal.c (__lgammal): Likewise.
44199         * math/w_log10l.c (__log10l): Likewise.
44200         * math/w_log2l.c (__log2l): Likewise.
44201         * math/w_logl.c (__logl): Likewise.
44202         * math/w_powl.c (__powl): Likewise.
44203         * math/w_remainderl.c (__remainderl): Likewise.
44204         * math/w_scalbl.c (sysv_scalbl): Likewise.
44205         * math/w_sinhl.c (__sinhl): Likewise.
44206         * math/w_sqrtl.c (__sqrtl): Likewise.
44207         * math/w_tgammal.c (__tgammal): Likewise.
44208         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
44209         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
44210         * math/libm-test.inc (acos_test): Add more tests.
44211         (acosh_test): Likewise.
44212         (asin_test): Likewise.
44213         (atanh_test): Likewise.
44214         (exp_test): Likewise.
44215         (exp10_test): Likewise.
44216         (exp2_test): Likewise.
44217         (expm1_test): Likewise.
44218         (lgamma_test): Likewise.
44219         (log_test): Likewise.
44220         (log10_test): Likewise.
44221         (log1p_test): Likewise.
44222         (log2_test): Likewise.
44223         (pow_test): Do not allow some spurious overflow exceptions.
44224         (sqrt_test): Add more tests.
44225         (tgamma_test): Likewise.
44226         (y0_test): Likewise.
44227         (y1_test): Likewise.
44228         (yn_test): Likewise.
44229
44230 2012-03-27  Anton Blanchard  <anton@samba.org>
44231
44232         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
44233         MAP_HUGETLB.
44234         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
44235         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
44236         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
44237
44238 2012-03-27  David S. Miller  <davem@davemloft.net>
44239
44240         * conform/Makefile: Run run-conformtest.sh using $(BASH).
44241
44242         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
44243         have-as-vis3 check.
44244
44245 2012-03-27  Andreas Jaeger  <aj@suse.de>
44246
44247         * sysdeps/x86_64/elf/configure.in: Moved to ...
44248         * sysdeps/x86_64/configure.in: ... here.
44249         * sysdeps/x86_64/elf/start.S: Moved to ...
44250         * sysdeps/x86_64/start.S: ... here.
44251         * sysdeps/x86_64/elf/configure: Delete.
44252
44253         * sysdeps/x86_64/configure.in: Merge contents from
44254         sysdeps/i386/configure.in (without i686 check).
44255
44256         * sysdeps/i386/elf/Versions: Merge into ...
44257         * sysdeps/i386/Versions: ... this.
44258         * sysdeps/i386/elf/Versions: Delete file.
44259         * sysdeps/i386/elf/start.S: Moved to ...
44260         * sysdeps/i386/start.S: ...here.
44261         * sysdeps/i386/elf/configure.in: Merge into...
44262         * sysdeps/i386/configure.in: ...here.
44263         * sysdeps/i386/elf/configure.in: Delete file.
44264         * sysdeps/i386/elf/configure: Delete file.
44265
44266         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
44267         * debug/backtracesyms.c: ... here.
44268         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
44269         * debug/backtracesymsfd.c: ... here.
44270         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
44271         * sysdeps/generic/ifunc-sel.h: ... here.
44272
44273         * sysdeps/unix/i386/start.c: Delete file.
44274         * sysdeps/unix/sparc/start.c: Delete file.
44275         * sysdeps/unix/start.c: Delete file.
44276
44277         * sysdeps/sh/elf/configure.in: Moved to ...
44278         * sysdeps/sh/configure.in: ... here.
44279         * sysdeps/sh/elf/start.S: Moved to ...
44280         * sysdeps/sh/start.S: ... here.
44281         * sysdeps/sh/elf/configure: Delete file.
44282
44283         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
44284         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
44285         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
44286         * sysdeps/powerpc/powerpc64/entry.h: ... here.
44287         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
44288         * sysdeps/powerpc/powerpc64/start.S: here.
44289         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
44290         * sysdeps/powerpc/powerpc64/Makefile: ... this.
44291         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
44292         * sysdeps/powerpc/powerpc64/configure.in: ... this.
44293         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
44294
44295         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
44296         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
44297         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
44298         * sysdeps/powerpc/powerpc32/start.S: ... here.
44299         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
44300         * sysdeps/powerpc/powerpc32/configure.in: ... this.
44301         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
44302
44303         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
44304         * sysdeps/powerpc/ifunc-sel.h: ... here.
44305         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
44306         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
44307
44308         * sysdeps/sparc/elf/configure.in: Moved to ...
44309         * sysdeps/sparc/configure.in: ... here.
44310         * sysdeps/sparc/elf/configure: Delete file.
44311         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
44312         * sysdeps/sparc/sparc32/start.S: ... here.
44313         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
44314         * sysdeps/sparc/sparc64/start.S: ... here.
44315         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
44316         * sysdeps/sparc/sparc32/Makefile: ... this.
44317         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
44318         * sysdeps/sparc/sparc64/Makefile: ... this.
44319
44320         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
44321         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
44322         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
44323         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
44324         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
44325         * sysdeps/s390/s390-32/setjmp.S: ... here.
44326         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
44327         * sysdeps/s390/s390-32/configure.in: ... here.
44328         * sysdeps/s390/s390-32/elf/configure: Delete file.
44329         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
44330         * sysdeps/s390/s390-32/start.S: ... here.
44331
44332         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
44333         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
44334         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
44335         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
44336         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
44337         * sysdeps/s390/s390-64/setjmp.S: ... here.
44338         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
44339         * sysdeps/s390/s390-64/configure.in: ... here
44340         * sysdeps/s390/s390-64/elf/configure: Delete file.
44341         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
44342         * sysdeps/s390/s390-64/start.S: ... here.
44343         * sysdeps/s390/s390-64/elf/configure: Delete.
44344
44345         * configure.in: Remove support for elf directories in sysdeps.
44346
44347         * configure: Regenerated.
44348         * sysdeps/i386/configure: Regenerated.
44349         * sysdeps/powerpc/powerpc32/configure: Regenerated.
44350         * sysdeps/powerpc/powerpc64/configure: Regenerated.
44351         * sysdeps/s390/s390-32/configure: Regenerated.
44352         * sysdeps/s390/s390-64/configure: Regenerated.
44353         * sysdeps/sh/configure: Regenerated.
44354         * sysdeps/sparc/configure: Regenerated.
44355         * sysdeps/x86_64/configure: Regenerated.
44356
44357 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
44358
44359         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44360
44361         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
44362         denormal result into account.
44363
44364 2012-03-25  Roland McGrath  <roland@hack.frob.com>
44365
44366         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
44367         Reported by Allan McRae <allan@archlinux.org>.
44368
44369 2012-03-23  Jeff Law  <law@redhat.com>
44370
44371         * nss/getnssent.c (__nss_getent): Fix typo.
44372
44373 2012-03-23  David S. Miller  <davem@davemloft.net>
44374
44375         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44376
44377 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
44378
44379         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
44380         to pad to uint64_t for each field.
44381         (dl_tls_index): Replace unsigned long with uint64_t.
44382
44383 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
44384         Paul Pluzhnikov  <ppluzhnikov@google.com>
44385
44386         [BZ #6528]
44387         * grp/Makefile (otherlibs): Don't set it.
44388         * inet/Makefile (otherlibs): Likewise.
44389         * login/Makefile (otherlibs): Likewise.
44390         * nscd/Makefile (otherlibs): Likewise.
44391         * posix/Makefile (otherlibs): Likewise.
44392         * pwd/Makefile (otherlibs): Likewise.
44393         * rt/Makefile (otherlibs): Likewise.
44394         * sunrpc/Makefile (otherlibs): Likewise.
44395         * nss/Makefile (otherlibs): Likewise.
44396         Add libnss_files to routines and static-only-routines.
44397         ($(objpfx)getent): Remove rule.
44398         * resolv/Makefile: Add libnss_dns and libresolv to routines and
44399         static-only-routines.
44400
44401 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
44402
44403         [BZ #13892]
44404         * math/s_cexp.c: Include <float.h>.
44405         (__cexp): Handle exp result overflowing not necessarily
44406         overflowing both real and imaginary parts of result.
44407         * math/s_cexpf.c: Likewise.
44408         * math/s_cexpl.c: Likewise.
44409         * math/libm-test.inc (cexp_test): Add more tests.
44410         * sysdeps/i386/fpu/libm-test-ulps: Update.
44411         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44412
44413 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
44414
44415         * include/link.h (ELFW): New macro.
44416         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
44417         Replace ELF64_R_TYPE with ELFW(R_TYPE).
44418
44419 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
44420
44421         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
44422         with uint64_t.
44423
44424 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
44425
44426         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
44427         declaration.
44428         (struct La_x32_retval): Likewise.
44429
44430 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
44431
44432         * sysdeps/x86_64/preconfigure.in: New file.
44433         * sysdeps/x86_64/preconfigure: New generated file.
44434
44435 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
44436
44437         [BZ #13824]
44438         * math/e_exp2l.c: Include <float.h>.
44439         (__ieee754_exp2l): Handle overflow and underflow cases
44440         separately.  Only pass fractional part of argument to
44441         __ieee754_expl.
44442         * math/libm-test.inc (exp2_test): Add more tests.
44443
44444         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
44445         negating x to take absolute value.
44446         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
44447         Likewise.
44448         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
44449         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
44450         Likewise.
44451         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
44452         computing low part if x was negated.
44453         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
44454
44455 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
44456
44457         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
44458         la_x32_gnu_pltexit.
44459         (pltexit): Cast int_retval to ptrdiff_t.
44460         * elf/tst-auditmod3b.c: Likewise.
44461         * elf/tst-auditmod4b.c: Likewise.
44462         * elf/tst-auditmod5b.c: Likewise.
44463         * elf/tst-auditmod6b.c: Likewise.
44464         * elf/tst-auditmod6c.c: Likewise.
44465         * elf/tst-auditmod7b.c: Likewise.
44466
44467         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
44468         and x32_gnu_pltexit.
44469
44470         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
44471         __ELF_NATIVE_CLASS.
44472         (La_x32_regs): New macro.
44473         (La_x32_retval): Likewise.
44474         (la_x32_gnu_pltenter): New function prototype.
44475         (la_x32_gnu_pltexit): Likewise.
44476
44477 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
44478
44479         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
44480         exponent.
44481
44482         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44483
44484         * configure.in (libc_cv_cc_nofma): Check for option to disable
44485         generation of FMA instructions.
44486         * configure: Regenerate.
44487         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
44488         * sysdeps/ieee754/dbl-64/Makefile: New file.
44489         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
44490         Remove brandred-fma4.
44491         (CFLAGS-brandred-fma4.c): Remove.
44492         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
44493         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
44494         define.
44495         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
44496         define.
44497
44498 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
44499
44500         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
44501         LLONG_MAX != LONG_MAX.
44502         (_itoa_word): Use _ITOA_WORD_TYPE on value.
44503         (_fitoa_word): Likewise.
44504         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
44505         LLONG_MAX != LONG_MAX.
44506         * stdio-common/_itowa.h: Include <_itoa.h>.
44507         (_itowa_word): Use _ITOA_WORD_TYPE on value.
44508         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
44509         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
44510         only if not defined.
44511         (_ITOA_WORD_TYPE): Likewise.
44512         (_itoa_word): Use _ITOA_WORD_TYPE on value.
44513         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
44514
44515 2012-03-21  David S. Miller  <davem@davemloft.net>
44516
44517         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44518
44519 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
44520
44521         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
44522         of x86_64 when setting libc_cv_slibdir, libdir and
44523         libc_cv_localedir.
44524         * sysdeps/unix/sysv/linux/configure: Regenerated.
44525
44526 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
44527
44528         * manual/lang.texi (Old Varargs): Remove section.
44529         (How Variadic): Update menu.
44530         (va_start): Do not mention varargs.h.
44531
44532 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
44533             Joseph Myers  <joseph@codesourcery.com>
44534
44535         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
44536         link test.
44537         * configure: Regenerated.
44538
44539 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
44540
44541         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
44542         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
44543         conformtest.pl
44544
44545 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
44546
44547         * NOTES: Remove.
44548         * Makefile (files-for-dist): Remove NOTES.
44549         (NOTES): Remove rule.
44550         * README: Don't refer to NOTES.
44551         * manual/creature.texi: Don't include macros.texi.
44552         * manual/intro.texi (creature.texi): Remove comment referring to
44553         NOTES.
44554
44555         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
44556         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
44557         * configure: Regenerated.
44558         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
44559         LIBC_TRY_CC_OPTION.
44560         (libc_cv_as_i686): Likewise.
44561         (libc_cv_cc_avx): Likewise.
44562         (libc_cv_cc_sse2avx): Likewise.
44563         (libc_cv_cc_fma4): Likewise.
44564         (libc_cv_cc_novzeroupper): Likewise.
44565         * sysdeps/i386/configure: Regenerated.
44566
44567         [BZ #13883]
44568         * sysdeps/i386/fpu/s_cexp.S: Remove.
44569         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
44570         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
44571         * math/libm-test.inc (cexp_test): Add more tests.
44572         * sysdeps/i386/fpu/libm-test-ulps: Update.
44573         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44574
44575 2012-03-21  Allan McRae  <allan@archlinux.org>
44576
44577         * timezone/Makefile: Do not install iso3166.tab and zone.tab
44578
44579 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
44580
44581         [BZ #13871]
44582         * math/w_exp2.c: Do not include <float.h>.
44583         (o_threshold, u_threshold): Remove.
44584         (__exp2): Calculate result before checking finiteness and calling
44585         __kernel_standard.
44586         * math/w_exp2f.c: Likewise.
44587         * math/w_exp2l.c: Likewise.
44588         * math/libm-test.inc (exp2_test): Require overflow exception for
44589         1e6 input.
44590
44591         [BZ #3866]
44592         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
44593         range of signed 64-bit integers before using fistpll.  Remove
44594         checks for whether integers fit in mantissa bits.
44595         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
44596         the range of signed 32-bit integers before using fistpl.  Remove
44597         checks for whether integers fit in mantissa bits.
44598         * sysdeps/i386/fpu/e_powl.S (p64): New object.
44599         (__ieee754_powl): Test for y outside the range of signed 64-bit
44600         integers before using fistpll.  Reduce 64-bit values to 63-bit
44601         ones as needed.
44602         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
44603         divide-by-zero is raised for zero to large negative powers.
44604         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
44605         (__ieee754_powl): Test for y outside the range of signed 64-bit
44606         integers before using fistpll.  Reduce 64-bit values to 63-bit
44607         ones as needed.
44608         * math/libm-test.inc (pow_test): Add more tests.
44609
44610 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
44611
44612         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
44613         <stdio-common/_itoa.h>.
44614         * debug/segfault.c: Likewise.
44615         * elf/dl-cache.c: Likewise.
44616         * elf/dl-minimal.c: Likewise.
44617         * elf/dl-misc.c: Likewise.
44618         * elf/dl-sysdep.c: Likewise.
44619         * elf/dl-version.c: Likewise.
44620         * elf/rtld.c: Likewise.
44621         * hurd/hurdsock.c: Likewise.
44622         * hurd/lookup-retry.c: Likewise.
44623         * malloc/malloc.c: Likewise.
44624         * malloc/mtrace.c: Likewise.
44625         * nscd/nscd_getgr_r.c: Likewise.
44626         * nscd/nscd_getpw_r.c: Likewise.
44627         * nscd/nscd_getserv_r.c: Likewise.
44628         * posix/getopt_init.c: Likewise.
44629         * posix/wordexp.c: Likewise.
44630         * stdio-common/_itoa.c: Likewise.
44631         * stdio-common/printf_fphex.c: Likewise.
44632         * stdio-common/vfprintf.c: Likewise.
44633         * string/_strerror.c: Likewise.
44634         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
44635         * sysdeps/i386/i686/hp-timing.h: Likewise.
44636         * sysdeps/mach/_strerror.c: Likewise.
44637         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
44638         * sysdeps/mach/hurd/sethostid.c: Likewise.
44639         * sysdeps/mach/hurd/xmknodat.c: Likewise.
44640         * sysdeps/mach/xpg-strerror.c: Likewise.
44641         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
44642         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
44643         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
44644         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
44645         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
44646         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
44647         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
44648         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
44649         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
44650         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
44651         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
44652         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
44653         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
44654         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
44655         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
44656         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
44657         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
44658         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
44659         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
44660         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
44661         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
44662
44663         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
44664
44665         * stdio-common/_itoa.h: Moved to ...
44666         * sysdeps/generic/_itoa.h: Here.
44667
44668         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
44669
44670         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
44671         instead of "_itoa.h" and "_itowa.h".
44672         * stdio-common/vfprintf.: Likewise.
44673
44674 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
44675
44676         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
44677         <bits/wordsize.h>.
44678         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
44679         (__signbit): Likwise.
44680         (llrintf): Likwise.
44681         (llrint): Likwise.
44682
44683 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
44684
44685         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
44686         __WORDSIZE != 64.
44687
44688 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
44689
44690         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
44691         OVERFLOW_EXCEPTION_OK.
44692         * math/libm-test.inc ("Philosophy"): Update comment about
44693         exception testing.
44694         (OVERFLOW_EXCEPTION): Define.
44695         (OVERFLOW_EXCEPTION_OK): Likewise.
44696         (INVALID_EXCEPTION_OK): Renumber.
44697         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
44698         (IGNORE_ZERO_INF_SIGN): Likewise.
44699         (test_exceptions): Handle FE_OVERFLOW.
44700         (exp10_test): Expect overflow exceptions.
44701         (exp2_test): Likewise.
44702         (expm1_test): Likewise.
44703         (nextafter_test): Likewise.
44704         (pow_test): Likewise.
44705         (scalbn_test): Likewise.
44706         (scalbln_test): Likewise.
44707
44708 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
44709
44710         * sysdeps/x86_64/bits/atomic.h
44711         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
44712         64bit integer.
44713         (atomic_exchange_acq): Likewise.
44714         (__arch_exchange_and_add_body): Likewise.
44715         (__arch_add_body): Likewise.
44716         (atomic_add_negative): Likewise.
44717         (atomic_add_zero): Likewise.
44718
44719 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
44720
44721         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
44722         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
44723
44724 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
44725
44726         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
44727         Check __x86_64__ instead of __WORDSIZE.
44728
44729 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
44730
44731         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
44732
44733 2012-03-19  David S. Miller  <davem@davemloft.net>
44734
44735         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44736
44737         * sysdeps/sparc/fpu/fenv_private.h: New file.
44738         * sysdeps/sparc/fpu/math_private.h: Use it.
44739         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
44740         Remove.
44741         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
44742         (libc_feholdexcept_setroundl): Remove.
44743         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
44744         Remove.
44745         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
44746         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
44747
44748 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
44749
44750         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
44751         int64_t instead of long int.
44752         (INSERT_WORDS64): Likwise.
44753
44754 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
44755
44756         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
44757         _Unwind_GetCFA return to _Unwind_Ptr first.
44758
44759 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
44760
44761         [BZ #13629]
44762         * math/s_clog.c: Include <float.h>.
44763         (__clog): Scale large or subnormal inputs.
44764         * math/s_clogf.c: Likewise.
44765         * math/s_clogl.c: Likewise.
44766         * math/s_clog10.c: Include <float.h>.
44767         (M_LOG10_2): Define.
44768         (__clog10): Scale large or subnormal inputs.
44769         * math/s_clog10f.c: Likewise.
44770         * math/s_clog10l.c: Likewise.
44771         * math/libm-test.inc (clog_test): Add more tests.
44772         (clog10_test): Likewise.
44773         * sysdeps/i386/fpu/libm-test-ulps: Update.
44774         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44775
44776         [BZ #11451]
44777         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
44778         x and y.
44779         * math/libm-test.inc (atan2_test): Add another test.
44780
44781         * Makerules (common-objdir-compile): Remove.
44782         * sysdeps/unix/Makefile (config-generated): Do not add
44783         $(unix-generated) to variable.
44784         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
44785         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
44786         Remove rule.
44787         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
44788         Likewise.
44789         [generic bits/local_lim.h] (before-compile): Do not append to
44790         variable.
44791         [generic bits/local_lim.h] (common-generated): Likewise.
44792         [generic sys/param.h] (before-compile): Do not append to variable.
44793         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
44794         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
44795         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
44796         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
44797         include.
44798         [generic sys/param.h] (sys/param.h-includes): Remove variable.
44799         [generic sys/param.h] (sys/param.h-includes): Remove rule.
44800         [generic sys/param.h] ($(addprefix
44801         $(common-objpfx),$(sys/param.h-includes))): Likewise.
44802         [generic sys/param.h] (common-generated): Do not append to
44803         variable.
44804         [generic sys/param.h] (sysdep_headers): Likewise.
44805         [generic bits/errno.h] (before-compile): Do not append to
44806         variable.
44807         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
44808         rule.
44809         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
44810         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
44811         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
44812         [generic bits/errno.h] (common-generated): Do not append to
44813         variable.
44814         [generic bits/ioctls.h] (before-compile): Do not append to
44815         variable.
44816         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
44817         rule.
44818         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
44819         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
44820         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
44821         rule.
44822         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
44823         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
44824         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
44825         [generic bits/ioctls.h] (common-generated): Do not append to
44826         variable.
44827         [generic sys/syscall.h] (syscall.h): Remove variable.
44828         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
44829         rule.
44830         [generic sys/syscall.h] (before-compile): Do not append to
44831         variable.
44832         [generic sys/syscall.h] (common-generated): Likewise.
44833         * sysdeps/unix/errnos-tmpl.c: Remove file.
44834         * sysdeps/unix/errnos.awk: Likewise.
44835         * sysdeps/unix/ioctls-tmpl.c: Likewise.
44836         * sysdeps/unix/ioctls.awk: Likewise.
44837         * sysdeps/unix/mk-local_lim.c: Likewise.
44838         * sysdeps/unix/snarf-ioctls: Likewise.
44839
44840 2012-03-19  Richard Henderson  <rth@twiddle.net>
44841
44842         * sysdeps/i386/fpu/fenv_private.h: New file.
44843         * sysdeps/i386/fpu/math_private.h: Use it.
44844         (math_opt_barrier, math_force_eval): Remove.
44845         (libc_feholdexcept_setround_53bit): Remove.
44846         (libc_feupdateenv_53bit): Remove.
44847         * sysdeps/x86_64/fpu/math_private.h: Likewise.
44848         (math_opt_barrier, math_force_eval): Remove.
44849         (libc_feholdexcept): Remove.
44850         (libc_feholdexcept_setround): Remove.
44851         (libc_fetestexcept, libc_fesetenv): Remove.
44852         (libc_feupdateenv_test): Remove.
44853         (libc_feupdateenv, libc_feholdsetround): Remove.
44854         (libc_feresetround): Remove.
44855
44856         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
44857         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
44858
44859         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
44860         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
44861         (libc_feupdateenv_testl): New.
44862         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
44863         (libc_feupdateenv_testf): New.
44864         (libc_feupdateenv): Use libc_feupdateenv_test.
44865         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
44866         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
44867
44868         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
44869         (libc_feholdsetroundf, libc_feholdsetroundl): New.
44870         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
44871         (libc_feresetround_noex): New.
44872         (libc_feresetround_noexf): New.
44873         (libc_feresetround_noexl): New.
44874         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
44875         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
44876         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
44877         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
44878         SET_RESTORE_ROUND.
44879         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
44880         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
44881         (__cos): Likewise.
44882         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
44883         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
44884         SET_RESTORE_ROUND_NOEX.
44885         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
44886         SET_RESTORE_ROUND_NOEXF.
44887         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
44888         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
44889         (libc_feholdsetroundf): New.
44890         (libc_feresetround, libc_feresetroundf): New.
44891
44892         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
44893         (libc_feholdexcept_setround_53bit): Convert from macro to function.
44894         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
44895
44896         * sysdeps/generic/math_private.h: Include <fenv.h>.
44897         (default_libc_feholdexcept): New.
44898         (default_libc_feholdexcept_setround): New.
44899         (default_libc_fesetenv, default_libc_feupdateenv): New.
44900         (libc_feholdexcept): Only define if undefined.
44901         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
44902         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
44903         (libc_feholdexcept_setroundl): Likewise.
44904         (libc_feholdexcept_setround_53bit): Likewise.
44905         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
44906         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
44907         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
44908         (libc_feupdateenv_53bit): Likewise.
44909         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
44910         (libc_feholdexcept): Convert from macro to inline function.
44911         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
44912         (libc_fesetenv, libc_feupdateenv): Likewise.
44913
44914         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
44915         not previously defined.
44916         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
44917         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
44918         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
44919         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
44920         * sysdeps/ieee754/flt-32/math_private.h: New file.
44921         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
44922         math_private.h below SET_FLOAT_WORD.
44923         (__isnan, __isinf_ns, __finite): Remove.
44924         (__isnanf, __isinf_nsf, __finitef): Remove.
44925
44926 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
44927
44928         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44929
44930 2012-03-17  David S. Miller  <davem@davemloft.net>
44931
44932         [BZ #6471]
44933         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
44934         for 2.16.
44935
44936 2012-03-16  David S. Miller  <davem@davemloft.net>
44937
44938         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
44939         warnings.
44940
44941         [BZ #6471]
44942         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
44943         properly.
44944         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
44945         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
44946         sysdep_routines when subdir is sysvipc.
44947         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
44948         __getshmlba helper.
44949
44950         * sysdeps/sparc/fpu/libm-test/ulps: Update.
44951
44952 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
44953
44954         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
44955         [__LP64__].
44956
44957 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
44958
44959         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
44960         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
44961         (__lround): Renamed to ...
44962         (__llround): This.  Replace long int with long long int.
44963         Define lround functions as aliases of llround functions.
44964         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
44965
44966 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
44967
44968         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
44969         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
44970         adresses to uintptr_t.  Replace "long int" and "unsigned long
44971         int" with "greg_t" on va_arg.
44972
44973 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
44974
44975         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
44976         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
44977
44978         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
44979         Move e_machine check before EI_CLASS check.  Handle x32
44980         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
44981         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
44982         SKIP_EM_IA_64 and include
44983         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
44984
44985         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
44986         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
44987         (add_system_dir): New macro.
44988
44989         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
44990         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
44991
44992 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
44993
44994         [BZ #2551]
44995         [BZ #2552]
44996         [BZ #2553]
44997         [BZ #2554]
44998         [BZ #2562]
44999         [BZ #2563]
45000         [BZ #2565]
45001         [BZ #2566]
45002         [BZ #2576]
45003         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
45004         (y0): Likewise.
45005         * math/w_j0f.c (j0f): Likewise.
45006         (y0f): Likewise.
45007         * math/w_j0l.c (__j0l): Likewise.
45008         (__y0l): Likewise.
45009         * math/w_j1.c (j1): Likewise.
45010         (y1): Likewise.
45011         * math/w_j1f.c (j1f): Likewise.
45012         (y1f): Likewise.
45013         * math/w_j1l.c (__j1l): Likewise.
45014         (__y1l): Likewise.
45015         * math/w_jn.c (jn): Likewise.
45016         (yn): Likewise.
45017         * math/w_jnf.c (jnf): Likewise.
45018         (ynf): Likewise.
45019         * math/w_jnl.c (__jnl): Likewise.
45020         (__ynl): Likewise.
45021         * math/libm-test.inc (j0_test): Add more tests.
45022         (j1_test): Likewise.
45023         (jn_test): Likewise.  Add trailing semicolon to existing test.
45024         (y0_test): Likewise.
45025         (y1_test): Likewise.
45026         * sysdeps/i386/fpu/libm-test-ulps: Update.
45027         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45028
45029         [BZ #13851]
45030         [BZ #13854]
45031         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
45032         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
45033         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
45034         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
45035         (__tanl): Set errno for infinite argument.
45036         * sysdeps/i386/fpu/mptan.c: Remove.
45037         * sysdeps/i386/fpu/s_tan.S: Likewise.
45038         * sysdeps/i386/fpu/s_tanl.S: Likewise.
45039         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
45040         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
45041         * math/libm-test.inc (tan_test): Add more tests and enable more
45042         tests for double and long double.
45043         * sysdeps/i386/fpu/libm-test-ulps: Update.
45044         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45045
45046 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
45047
45048         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
45049         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
45050
45051 2012-03-16  Roland McGrath  <roland@hack.frob.com>
45052
45053         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
45054         * configure.in: Use it for both main tree and add-ons.
45055         * configure: Regenerated.
45056
45057 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
45058
45059         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
45060
45061 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
45062
45063         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
45064         in comment.
45065
45066         [BZ #13851]
45067         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
45068         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
45069         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
45070         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
45071         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
45072         infinite argument.
45073         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
45074         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
45075         != 0 for prec == 2.
45076         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
45077         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
45078         * sysdeps/i386/fpu/s_cosl.S: Likewise.
45079         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
45080         * sysdeps/i386/fpu/s_sinl.S: Likewise.
45081         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
45082         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
45083         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
45084         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
45085         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
45086         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
45087         * math/libm-test.inc (cos_test): Add more tests and enable more
45088         tests for long double.
45089         (sin_test): Likewise.
45090         (sincos_test): Likewise.
45091         * sysdeps/i386/fpu/libm-test-ulps: Update.
45092         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45093
45094 2012-03-16  David S. Miller  <davem@davemloft.net>
45095
45096         * sysdeps/sparc/fpu/math_private.h: New file.
45097
45098 2012-03-15  David S. Miller  <davem@davemloft.net>
45099
45100         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
45101         file.
45102         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
45103         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
45104         file.
45105         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
45106         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
45107         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
45108         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
45109         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
45110         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
45111         sysdep routines.
45112         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
45113
45114         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
45115         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
45116
45117         * sysdeps/sparc/sparc-ifunc.h: New file.
45118         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
45119         sparc-ifunc.h
45120         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
45121         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
45122         Likewise.
45123         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
45124         Likewise.
45125         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
45126         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
45127         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
45128         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
45129         Likewise.
45130         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
45131         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
45132         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
45133         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
45134         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
45135         Likewise.
45136         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
45137         Likewise.
45138         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
45139         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
45140         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
45141         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
45142         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
45143         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
45144         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
45145         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
45146         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
45147         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
45148         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
45149         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
45150         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
45151         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
45152         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
45153         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
45154         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
45155         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
45156         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
45157         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
45158         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
45159         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
45160         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
45161         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
45162
45163 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
45164
45165         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
45166         scaling.
45167         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45168
45169 2012-03-15  Andreas Jaeger  <aj@suse.de>
45170
45171         [BZ #13852]
45172         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
45173         ieee754/flt-32 implementation for sin, cos and sincos.
45174         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
45175         * sysdeps/i386/fpu/s_cosf.S: Likewise.
45176         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
45177         * sysdeps/i386/fpu/s_sinf.S: Likewise.
45178         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
45179         ieee754/flt-32 implementation for tan.
45180
45181         * math/libm-test.inc (cos_test): Enable some large input tests for
45182         float as well
45183         (sin_test): Likewise.
45184         (sincos_test): Likewise.
45185         (tan_test): Add tests for large input.
45186
45187         * sysdeps/i386/fpu/libm-test-ulps: Update.
45188
45189 2012-03-15  Andreas Jaeger  <aj@suse.de>
45190
45191         [BZ #13658]
45192         * math/libm-test.inc (cos_test): Add more test cases.
45193         (sin_test): Likewise.
45194         (sincos_test): Likewise.
45195
45196 2012-03-15  Andreas Jaeger  <aj@suse.de>
45197
45198         [BZ #13837]
45199         * math/libm-test.inc (cos_test): Add a test case for large input
45200         value.
45201         (sin_test): Likewise.
45202         (sincos_test): Likewise.
45203
45204 2012-03-15  Andreas Jaeger  <aj@suse.de>
45205             Joseph Myers  <joseph@codesourcery.com>
45206
45207         [BZ #13658]
45208         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
45209         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
45210         * sysdeps/i386/fpu/branred.c: Likewise.
45211         * sysdeps/i386/fpu/dosincos.c: Likewise.
45212         * sysdeps/i386/fpu/mpa.c: Likewise.
45213         * sysdeps/i386/fpu/s_cos.S: Likewise.
45214         * sysdeps/i386/fpu/s_sin.S: Likewise.
45215         * sysdeps/i386/fpu/s_sincos.S: Likewise.
45216         * sysdeps/i386/fpu/sincos32.c: Likewise.
45217
45218         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
45219         Define.
45220         (libc_feupdateenv_53bit): Define.
45221         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
45222         Define.
45223         (libc_feupdateenv_53bit): Define.
45224
45225         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
45226         53 bit (without extend i386 double precision).
45227
45228         * math/libm-test.inc (sincos_test): Add tests for large input.
45229         (sin): Likewise.
45230         (cos): Likewise.
45231
45232         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
45233
45234 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
45235
45236         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45237
45238 2012-03-15  David S. Miller  <davem@davemloft.net>
45239
45240         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
45241         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
45242         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
45243         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
45244         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
45245         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
45246         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
45247         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
45248         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
45249         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
45250         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
45251         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
45252         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
45253         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
45254         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
45255         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
45256         file.
45257         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
45258         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
45259         file.
45260         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
45261         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
45262         file.
45263         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
45264         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
45265         file.
45266         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
45267         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
45268         fmin/fmax sysdep routines.
45269         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
45270
45271 2012-03-14  David S. Miller  <davem@davemloft.net>
45272
45273         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
45274         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
45275         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
45276         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
45277         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
45278         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
45279         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
45280         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
45281         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
45282         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
45283         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
45284         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
45285         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
45286         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
45287         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
45288         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
45289         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
45290         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
45291         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
45292         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
45293         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
45294         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
45295         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
45296         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
45297         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
45298         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
45299         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
45300         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
45301         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
45302         routines.
45303         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
45304         file.
45305         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
45306         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
45307         file.
45308         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
45309         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
45310         file.
45311         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
45312         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
45313         file.
45314         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
45315         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
45316         file.
45317         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
45318         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
45319         file.
45320         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
45321         file.
45322         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
45323         file.
45324         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
45325         file.
45326         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
45327         New file.
45328         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
45329         file.
45330         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
45331         file.
45332         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
45333         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
45334         file.
45335         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
45336         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
45337         file.
45338         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
45339         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
45340         file.
45341         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
45342         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
45343         VIS3 routines.
45344
45345         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
45346         New file.
45347
45348         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45349
45350         * sysdeps/sparc/configure.in: New file.
45351         * sysdeps/sparc/configure: Generate.
45352         * configure.in (libc_cv_sparc_as_vis3): Substitute.
45353         * configure: Regenerate.
45354         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
45355         * config.make.in (have-as-vis3): New.
45356         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
45357         available use -Av9d instead of -Av9a.
45358         * sysdeps/sparc/sparc64/Makefile: Likewise.
45359         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
45360         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
45361         New file.
45362         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
45363         file.
45364         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
45365         New file.
45366         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
45367         file.
45368         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
45369         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
45370         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
45371         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
45372         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
45373
45374         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
45375         fzeros/fnegs to load 0x80000000 into a float register instead of
45376         using the stack.
45377         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
45378
45379 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
45380
45381         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45382         bits/syscall.h.
45383         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
45384         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
45385         ($(inst_includedir)/bits/syscall.h): Remove rule.
45386         ($(objpfx)bits/syscall.d): Include instead of
45387         $(objpfx)syscall-list.d.
45388         (generated): Change syscall-list.h and syscall-list.d to
45389         bits/syscall.h and bits/syscall.d.
45390
45391 2012-03-14  Roland McGrath  <roland@hack.frob.com>
45392
45393         [BZ #13846]
45394         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
45395
45396 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
45397
45398         [BZ #13841]
45399         * math/s_csqrt.c: Include <float.h>.
45400         (__csqrt): Scale large or subnormal inputs.
45401         * math/s_csqrtf.c: Likewise.
45402         * math/s_csqrtl.c: Likewise.
45403         * math/libm-test.inc (csqrt_test): Add more tests.
45404         * sysdeps/i386/fpu/libm-test-ulps: Update.
45405         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45406
45407         [BZ #13840]
45408         * math/libm-test.inc (hypot_test): Add more tests.
45409
45410 2012-03-13  David S. Miller  <davem@davemloft.net>
45411
45412         [BZ #13840]
45413         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
45414         double-precision for the calculation instead of scaling.
45415
45416 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
45417
45418         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
45419         manipulate bits before adding and subtracting TWO52[sx].
45420         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
45421         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
45422         Likewise.
45423         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
45424
45425 2012-03-13  David S. Miller  <davem@davemloft.net>
45426
45427         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
45428         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
45429         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
45430         rtld-global-offsets.h
45431         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45432
45433         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
45434         large parameters.
45435
45436         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
45437
45438         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
45439         'err' in the ifdef scope in which it is actually used.
45440
45441         * nss/nss_db/db-init.c: Include string.h
45442
45443 2012-03-12  David S. Miller  <davem@davemloft.net>
45444
45445         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
45446         masking out of the most significant byte of random value used.
45447         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45448         Fix coding style in previous change.
45449
45450         * sysdeps/unix/sysv/linux/kernel-features.h
45451         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
45452         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
45453         expression.
45454         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
45455         later.
45456
45457 2012-03-11  David S. Miller  <davem@davemloft.net>
45458
45459         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
45460         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
45461         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
45462         for 'resultvar' otherwise things get truncated on 64-bit.
45463
45464         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45465         Fix masking out of the most significant byte of random value used.
45466
45467         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45468
45469 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
45470
45471         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45472
45473 2012-03-09  David S. Miller  <davem@davemloft.net>
45474
45475         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
45476         variables with appropriate CPP guards.
45477         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
45478         from the frame pointer, not the stack pointer.  Correct layout
45479         comments.  Fix test on resulting framesize and the management of
45480         the outregs buffer for pltexit.  Preserve floating point return
45481         values across _dl_call_pltexit call.
45482         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
45483         framesize and the management of the outregs buffer for pltexit.
45484         Preserve floating point return values across _dl_call_pltexit
45485         call.
45486         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
45487         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
45488         (la_sparc64_gnu_pltexit): New functions.
45489         (print_exit): Fix format string for return register value.
45490
45491 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
45492
45493         * sunrpc/Makefile (others): Add rpcgen.
45494         ($(objpfx)rpcgen): Remove special build rule and dependency on
45495         libc.
45496         * sunrpc/rpcgen.c: New file.
45497
45498 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
45499
45500         [BZ #13673]
45501         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
45502         * stdio-common/bug-vfprintf-nargs.c: Likewise.
45503         * sysdeps/i386/crti.S: Likewise.
45504         * sysdeps/i386/crtn.S: Likewise.
45505         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
45506         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
45507         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
45508         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
45509         * sysdeps/sh/crti.S: Likewise.
45510         * sysdeps/sh/crtn.S: Likewise.
45511         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
45512
45513         [BZ #13673]
45514         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
45515         with URL.
45516         * locale/programs/locfile-kw.gperf: Likewise.
45517         * locale/programs/charmap-kw.h: Regenerated.
45518         * locale/programs/locfile-kw.h: Likewise.
45519
45520         [BZ #13673]
45521         * intl/plural.y: Replace FSF snail mail address with URL.
45522         * intl/plural.c: Regenerated.
45523
45524 2012-03-09  Richard Henderson  <rth@twiddle.net>
45525
45526         * include/math_private.h: Remove file.
45527         * math/math_private.h: Move file ...
45528         * sysdeps/generic/math_private.h: ... here.
45529
45530         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
45531         * sysdeps/powerpc/fpu/math_private.h: Likewise.
45532         * sysdeps/x86_64/fpu/math_private.h: Likewise.
45533
45534         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
45535         and <math_private.h>.
45536         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
45537         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
45538         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
45539         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
45540         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
45541         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
45542         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
45543         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45544         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
45545         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
45546         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45547         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
45548         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
45549         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45550         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
45551         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
45552         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45553         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
45554         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
45555         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
45556         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45557         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
45558         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
45559         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45560         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
45561         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
45562         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
45563         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45564         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45565         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
45566         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
45567         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45568         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
45569         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
45570         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
45571         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
45572         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
45573         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
45574         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
45575         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45576         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
45577         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
45578         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
45579         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
45580         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
45581         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
45582         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
45583         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
45584         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
45585         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
45586         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
45587         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
45588         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
45589         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
45590         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
45591         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
45592         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
45593         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
45594         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
45595         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
45596         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
45597         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
45598         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45599         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
45600         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
45601         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
45602         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
45603         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
45604         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
45605         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
45606         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
45607         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
45608         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
45609         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
45610         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
45611         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
45612         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
45613         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
45614         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
45615         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
45616         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
45617         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
45618         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
45619         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
45620         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
45621         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
45622         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
45623         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
45624         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
45625         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
45626         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
45627         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
45628         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45629         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
45630         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
45631         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
45632         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
45633         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
45634         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45635         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
45636         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
45637         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
45638         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
45639         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
45640         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
45641         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
45642         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
45643         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
45644         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
45645         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
45646         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
45647         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
45648         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
45649         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
45650         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
45651         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
45652         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
45653         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
45654         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
45655         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
45656         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
45657         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
45658         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
45659         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
45660         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
45661         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
45662         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
45663         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
45664         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
45665         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
45666         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
45667         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
45668         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
45669         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
45670         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
45671         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
45672         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
45673         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
45674         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
45675         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
45676         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
45677         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
45678         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
45679         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
45680         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
45681         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
45682         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
45683         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
45684         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
45685         * sysdeps/ieee754/k_standard.c: Likewise.
45686         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
45687         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
45688         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
45689         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
45690         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
45691         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
45692         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
45693         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
45694         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
45695         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
45696         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45697         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
45698         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
45699         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
45700         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
45701         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
45702         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
45703         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
45704         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
45705         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
45706         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
45707         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
45708         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
45709         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
45710         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
45711         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
45712         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
45713         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
45714         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
45715         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
45716         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
45717         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
45718         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
45719         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
45720         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
45721         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
45722         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
45723         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
45724         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
45725         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
45726         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
45727         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
45728         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
45729         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
45730         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
45731         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
45732         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
45733         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
45734         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
45735         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
45736         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
45737         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
45738         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
45739         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
45740         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
45741         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
45742         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
45743         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
45744         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
45745         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
45746         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
45747         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
45748         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
45749         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
45750         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
45751         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
45752         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
45753         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
45754         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
45755         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
45756         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
45757         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45758         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
45759         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
45760         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
45761         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
45762         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
45763         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
45764         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
45765         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
45766         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
45767         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
45768         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
45769         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
45770         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
45771         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
45772         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
45773         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
45774         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
45775         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
45776         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
45777         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
45778         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
45779         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
45780         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
45781         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
45782         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
45783         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
45784         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
45785         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
45786         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
45787         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
45788         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
45789         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
45790         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
45791         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
45792         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
45793         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
45794         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
45795         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
45796         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
45797         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
45798         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
45799         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
45800         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
45801         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
45802         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
45803         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
45804         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
45805         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
45806         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45807         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
45808         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
45809         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
45810         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
45811         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
45812         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
45813         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
45814         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
45815         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
45816         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
45817         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
45818         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
45819         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
45820         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
45821         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
45822         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
45823         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
45824         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
45825         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
45826         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
45827         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
45828         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
45829         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
45830         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
45831         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
45832         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
45833         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
45834         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
45835         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
45836         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
45837         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
45838         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
45839         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
45840         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
45841         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
45842         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
45843         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
45844         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
45845         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
45846         * sysdeps/ieee754/s_lib_version.c: Likewise.
45847         * sysdeps/ieee754/s_matherr.c: Likewise.
45848         * sysdeps/ieee754/s_signgam.c: Likewise.
45849         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
45850         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
45851         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
45852         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
45853         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
45854         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
45855         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
45856         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
45857         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
45858         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
45859         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
45860         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
45861         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
45862         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
45863         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
45864         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
45865         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
45866         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
45867         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
45868         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
45869         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
45870
45871 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
45872
45873         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
45874         * sunrpc/rpc_main.c: Likewise.
45875         * sunrpc/rpc_svcout.c: Likewise.
45876
45877 2012-03-09  David S. Miller  <davem@davemloft.net>
45878
45879         * include/math_private.h: New file.
45880
45881 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
45882
45883         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
45884         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
45885         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
45886         from <bits/socket_type.h>.
45887         (enum __socket_type): Don't define here.
45888         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
45889         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45890         bits/socket_type.h.
45891
45892         [BZ #13566]
45893         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
45894         checking __USE_GNU.
45895
45896         * Makerules ($(inst_includedir)/%.h): New rule.
45897         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
45898         (install-others): Remove variable setting.
45899         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
45900
45901 2012-03-08  Richard Henderson  <rth@twiddle.net>
45902
45903         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
45904         from macro to inline function; merge with the
45905         !__LIBC_INTERNAL_MATH_INLINES version.
45906         (__ieee754_sqrtf): Likewise.
45907
45908         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
45909         to inline function.
45910         (__rintf, __floor, __floorf): Likewise.
45911
45912         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
45913         macro to inline function.
45914         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
45915
45916         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
45917         not <math/math_private.h>.
45918
45919 2012-03-08  David S. Miller  <davem@davemloft.net>
45920
45921         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
45922         copyright year.
45923         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
45924
45925 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
45926
45927         * resolv/gai_misc.c (handle_requests): Fix struct timespec
45928         normalization.
45929         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
45930         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
45931
45932 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
45933
45934         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
45935         be defined individually, they must be defined as a block.  Define
45936         S for printing a string instead of hidint the different by using a
45937         macro for adding the 'l'.
45938         * stdio-common/tst-fphex-wide.c: Adjust.
45939
45940 2012-03-07  Marek Polacek  <polacek@redhat.com>
45941
45942         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
45943
45944 2012-03-08  Marek Polacek  <polacek@redhat.com>
45945
45946         [BZ #13806]
45947         * stdio-common/Makefile (tests): Add tst-fphex-wide.
45948         * stdio-common/tst-fphex.c: Define a few macros to make the
45949         test reusable.  Use them.
45950         * stdio-common/tst-fphex-wide.c: New file.
45951
45952 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
45953
45954         [BZ #6911]
45955         * manual/macros.texi (gnusystems): New macro.
45956         (nongnusystems): Likewise.
45957         (gnulinuxhurdsystems): Likewise.
45958         (gnuhurdsystems): Likewise..
45959         (gnulinuxsystems): Likewise.
45960         * manual/charset.texi: Use new macros or @theglibc{} to refer to
45961         variants of the GNU system, not "GNU system".
45962         * manual/conf.texi: Likewise.
45963         * manual/errno.texi: Likewise.  Update example of errno macro
45964         expansion.
45965         * manual/filesys.texi: Likewise.
45966         (getumask): Document as specific to GNU/Hurd.
45967         * manual/install.texi: Likewise.  Reword some references to
45968         GNU/Linux.
45969         * manual/intro.texi: Likewise.
45970         * manual/io.texi: Likewise.
45971         (File Name Portability): Detail which constraints are inapplicable
45972         to all GNU systems and which are only inapplicable to GNU/Hurd.
45973         * manual/job.texi: Likewise.
45974         * manual/llio.texi: Likewise.
45975         (O_NOCTTY): Document as present on GNU/Linux.
45976         * manual/maint.texi: Likewise.
45977         * manual/memory.texi: Likewise.
45978         * manual/pattern.texi: Likewise.
45979         * manual/pipe.texi: Likewise.
45980         * manual/process.texi: Likewise.
45981         * manual/resource.texi: Likewise.
45982         (RUSAGE_CHILDREN): Remove statement about specifying a particular
45983         child on GNU/Hurd.
45984         * manual/setjmp.texi: Likewise.
45985         * manual/signal.texi: Likewise.
45986         * manual/startup.texi: Likewise.
45987         * manual/stdio.texi: Likewise.
45988         * manual/terminal.texi: Likewise.
45989         (ONLCR): Document as POSIX.
45990         (OXTABS): Document availability on GNU/Linux as XTABS.
45991         (ONOEOT): Document availability separately from other bits.
45992         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
45993         * manual/time.texi: Likewise.
45994         * manual/users.texi: Likewise.
45995         * INSTALL: Regenerated.
45996         * sysdeps/gnu/errlist.c: Regenerated.
45997
45998         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
45999         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
46000         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
46001         puts.
46002         * configure: Regenerated.
46003
46004 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
46005
46006         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
46007         default includes instead of AC_HEADER_CHECK.
46008         * sysdeps/i386/configure: Regenerated.
46009
46010         [BZ #10716]
46011         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
46012         * math/s_cacoshf.c (__cacoshf): Likewise.
46013         * math/s_cacoshl.c (__cacoshl): Likewise.
46014         * math/s_casinh.c (__casinh): Set signs of result from argument.
46015         * math/s_casinhf.c (__casinhf): Likewise.
46016         * math/s_casinhl.c (__casinhl): Likewise.
46017         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
46018         (casinh_test): Add more tests.
46019         * sysdeps/i386/fpu/libm-test-ulps: Update.
46020         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46021
46022 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
46023
46024         * po/zh_TW.po: Update from translation team.
46025
46026         * login/Makefile (distribute): Remove variable.
46027         * catgets/Makefile: Likewise.
46028         * mach/Makefile: Likewise.
46029         * malloc/Makefile: Likewise.
46030         * misc/Makefile: Likewise.
46031         * iconv/Makefile: Likewise.
46032         * nscd/Makefile: Likewise.
46033         * hurd/Makefile: Likewise.
46034         * manual/Makefile: Likewise.
46035         * locale/Makefile: Likewise.
46036         * intl/Makefile: Likewise.
46037         * conform/Makefile: Likewise.
46038         * nss/Makefile: Likewise.
46039         * time/Makefile: Likewise.
46040         * soft-fp/Makefile: Likewise.
46041         * dirent/Makefile: Likewise.
46042         * gmon/Makefile: Likewise.
46043         * po/Makefile: Likewise.
46044         * rt/Makefile: Likewise.
46045         * socket/Makefile: Likewise.
46046         * math/Makefile: Likewise.
46047         * signal/Makefile: Likewise.
46048         * debug/Makefile: Likewise.
46049         * elf/Makefile: Likewise.
46050         * timezone/Makefile: Likewise.
46051         * stdlib/Makefile: Likewise.
46052         * iconvdata/Makefile: Likewise.
46053         * sunrpc/Makefile: Likewise.
46054         * io/Makefile: Likewise.
46055         * argp/Makefile: Likewise.
46056         * inet/Makefile: Likewise.
46057         * hesiod/Makefile: Likewise.
46058         * grp/Makefile: Likewise.
46059         * csu/Makefile: Likewise.
46060         * wctype/Makefile: Likewise.
46061         * crypt/Makefile: Likewise.
46062         * libio/Makefile: Likewise.
46063         * string/Makefile: Likewise.
46064         * nis/Makefile: Likewise.
46065         * resolv/Makefile: Likewise.
46066         * stdio-common/Makefile: Likewise.
46067         * wcsmbs/Makefile: Likewise.
46068         * dlfcn/Makefile: Likewise.
46069         * posix/Makefile: Likewise.
46070
46071         [BZ #6959]
46072         * timezone/Makefile: Don't install timezone files, just the programs
46073         and scripts.
46074
46075 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
46076
46077         * nss/databases.def: Add missing gshadow entry.
46078
46079         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
46080
46081 2012-03-06  Marek Polacek  <polacek@redhat.com>
46082
46083         [BZ #13726]
46084         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
46085         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
46086         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
46087         * stdio-common/tst-long-dbl-fphex.c: New file.
46088
46089 2012-03-06  David S. Miller  <davem@davemloft.net>
46090
46091         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
46092         (set_obp_int): New function.
46093         (get_obp_int): New function.
46094         (__get_clockfreq_via_dev_openprom): Likewise.
46095         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
46096         Avoid unused variable warnings on 'val' and use builtin_expect.
46097         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
46098         __builtin_expect.
46099         (INLINE_CLONE_SYSCALL): Likewise.
46100
46101 2012-03-05  David S. Miller  <davem@davemloft.net>
46102
46103         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46104
46105 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
46106
46107         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46108
46109         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
46110         only for |x| >= 40.
46111         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
46112
46113 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
46114
46115         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
46116         Replace gettimeofday with __vdso_gettimeofday.
46117
46118         * sysdeps/unix/sysv/linux/x86_64/init-first.c
46119         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
46120         __vdso_clock_gettime and __vdso_getcpu.
46121
46122         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
46123         time with __vdso_time.
46124
46125 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
46126
46127         * manual/lang.texi (size_t): Note types to which size_t may be
46128         equivalent with the GNU C Library, but do not describe when
46129         differences between them are significant.
46130
46131 2012-03-05  Andreas Jaeger  <aj@suse.de>
46132
46133         * sysdeps/i386/fpu/libm-test-ulps: Update.
46134
46135 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
46136
46137         [BZ #3976]
46138         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
46139         (__ieee754_pow): Save and restore rounding mode and use
46140         round-to-nearest for main computations.
46141         * math/libm-test.inc (pow_test_tonearest): New function.
46142         (pow_test_towardzero): Likewise.
46143         (pow_test_downward): Likewise.
46144         (pow_test_upward): Likewise.
46145         (main): Call the new functions.
46146         * sysdeps/i386/fpu/libm-test-ulps: Update.
46147         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46148
46149         [BZ #3976]
46150         * math/libm-test.inc (cosh_test_tonearest): New function.
46151         (cosh_test_towardzero): Likewise.
46152         (cosh_test_downward): Likewise.
46153         (cosh_test_upward): Likewise.
46154         (sinh_test_tonearest): Likewise.
46155         (sinh_test_towardzero): Likewise.
46156         (sinh_test_downward): Likewise.
46157         (sinh_test_upward): Likewise.
46158         (main): Call the new functions.
46159         * sysdeps/i386/fpu/libm-test-ulps: Update.
46160         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46161
46162 2012-03-05  Tom de Vries  <tom@codesourcery.com>
46163
46164         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
46165         default stack guard is set in last bytes.
46166         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
46167
46168 2012-03-05  Kees Cook  <keescook@chromium.org>
46169
46170         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
46171
46172         [BZ #13656]
46173         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
46174         possibly allocate from heap instead of stack.
46175         * stdio-common/bug-vfprintf-nargs.c: New file.
46176         * stdio-common/Makefile (tests): Add nargs overflow test.
46177
46178 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
46179
46180         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46181
46182 2012-03-03  Marek Polacek  <polacek@redhat.com>
46183
46184         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
46185         * math/math_private.h: Likewise.
46186         * stdlib/tst-strtod.c: Likewise.
46187         * sysdeps/i386/i486/bits/atomic.h: Likewise.
46188         * sysdeps/x86_64/bits/atomic.h: Likewise.
46189
46190 2012-03-02  David S. Miller  <davem@davemloft.net>
46191
46192         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
46193         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
46194         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
46195         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
46196         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
46197         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
46198         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
46199         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
46200
46201 2012-03-02  Roland McGrath  <roland@hack.frob.com>
46202
46203         [BZ #13792]
46204         * manual/examples/README: New file, says the example source files
46205         can be used under GPL>=2.
46206         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
46207         line containing just "*/".
46208         * manual/examples/add.c: Add copyright header (GPL>=2).
46209         * manual/examples/argp-ex1.c: Likewise.
46210         * manual/examples/argp-ex2.c: Likewise.
46211         * manual/examples/argp-ex3.c: Likewise.
46212         * manual/examples/argp-ex4.c: Likewise.
46213         * manual/examples/atexit.c: Likewise.
46214         * manual/examples/db.c: Likewise.
46215         * manual/examples/dir.c: Likewise.
46216         * manual/examples/dir2.c: Likewise.
46217         * manual/examples/execinfo.c: Likewise.
46218         * manual/examples/filecli.c: Likewise.
46219         * manual/examples/filesrv.c: Likewise.
46220         * manual/examples/fmtmsgexpl.c: Likewise.
46221         * manual/examples/genpass.c: Likewise.
46222         * manual/examples/inetcli.c: Likewise.
46223         * manual/examples/inetsrv.c: Likewise.
46224         * manual/examples/isockad.c: Likewise.
46225         * manual/examples/longopt.c: Likewise.
46226         * manual/examples/memopen.c: Likewise.
46227         * manual/examples/memstrm.c: Likewise.
46228         * manual/examples/mkfsock.c: Likewise.
46229         * manual/examples/mkisock.c: Likewise.
46230         * manual/examples/mygetpass.c: Likewise.
46231         * manual/examples/pipe.c: Likewise.
46232         * manual/examples/popen.c: Likewise.
46233         * manual/examples/rprintf.c: Likewise.
46234         * manual/examples/search.c: Likewise.
46235         * manual/examples/select.c: Likewise.
46236         * manual/examples/setjmp.c: Likewise.
46237         * manual/examples/sigh1.c: Likewise.
46238         * manual/examples/sigusr.c: Likewise.
46239         * manual/examples/stpcpy.c: Likewise.
46240         * manual/examples/strdupa.c: Likewise.
46241         * manual/examples/strftim.c: Likewise.
46242         * manual/examples/strncat.c: Likewise.
46243         * manual/examples/subopt.c: Likewise.
46244         * manual/examples/swapcontext.c: Likewise.
46245         * manual/examples/termios.c: Likewise.
46246         * manual/examples/testopt.c: Likewise.
46247         * manual/examples/testpass.c: Likewise.
46248         * manual/examples/timeval_subtract.c: Likewise.
46249
46250         [BZ #13792]
46251         * manual/time.texi (Elapsed Time): Move timeval_subtract example
46252         function to ...
46253         * manual/timeval_subtract.c.texi: ... here, new file.
46254
46255 2012-03-02  David S. Miller  <davem@davemloft.net>
46256
46257         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
46258
46259 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
46260
46261         [BZ #3976]
46262         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
46263         (__sin): Save and restore rounding mode and use round-to-nearest
46264         for all computations.
46265         (__cos): Save and restore rounding mode and use round-to-nearest
46266         for all computations.
46267         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
46268         <fenv.h>.
46269         (tan): Save and restore rounding mode and use round-to-nearest for
46270         all computations.
46271         * math/libm-test.inc (cos_test_tonearest): New function.
46272         (cos_test_towardzero): Likewise.
46273         (cos_test_downward): Likewise.
46274         (cos_test_upward): Likewise.
46275         (sin_test_tonearest): Likewise.
46276         (sin_test_towardzero): Likewise.
46277         (sin_test_downward): Likewise.
46278         (sin_test_upward): Likewise.
46279         (tan_test_tonearest): Likewise.
46280         (tan_test_towardzero): Likewise.
46281         (tan_test_downward): Likewise.
46282         (tan_test_upward): Likewise.
46283         (main): Call the new functions.
46284         * sysdeps/i386/fpu/libm-test-ulps: Update.
46285         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46286
46287         [BZ #10135]
46288         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
46289         small n, then large n, before computing and testing k+n.
46290         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
46291         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
46292         Likewise.
46293         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
46294         Likewise.
46295         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
46296         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
46297         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
46298         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
46299         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
46300         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
46301         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
46302         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
46303         * math/libm-test.inc (scalbn_test): Add more tests.
46304         (scalbln_test): Likewise.
46305
46306         * manual/filesys.texi (mode_t): Describe constraints on size and
46307         signedness, not exact equivalence to a particular type.
46308         (ino_t): Likewise.
46309         (ino64_t): Likewise.
46310         (dev_t): Likewise.
46311         (nlink_t): Likewise.
46312         (blkcnt_t): Likewise.
46313         (blkcnt64_t): Likewise.
46314         * manual/llio.texi (off_t): Likewise.
46315
46316         [BZ #3976]
46317         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
46318         (__ieee754_exp): Save and restore rounding mode and use
46319         round-to-nearest for all computations.
46320         * math/libm-test.inc (exp_test_tonearest): New function.
46321         (exp_test_towardzero): Likewise.
46322         (exp_test_downward): Likewise.
46323         (exp_test_upward): Likewise.
46324         (main): Call the new functions.
46325         * sysdeps/i386/fpu/libm-test-ulps: Update.
46326         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46327
46328 2012-03-01  Chris Demetriou  <cgd@google.com>
46329
46330         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
46331         have predictable order.
46332
46333 2012-03-01  David S. Miller  <davem@davemloft.net>
46334
46335         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
46336
46337         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
46338         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
46339         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
46340         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
46341
46342         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
46343         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
46344         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
46345         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
46346         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
46347         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
46348         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
46349         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
46350         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
46351
46352         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46353
46354         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
46355         * sysdeps/sparc/fpu/libm-test-ulps: to here.
46356         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
46357
46358         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
46359         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
46360         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
46361         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
46362         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
46363         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
46364         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
46365         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
46366         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
46367         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
46368         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
46369         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
46370         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
46371         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
46372         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
46373         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46374         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
46375         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
46376         * sysdeps/sparc/elf/configure: Regenerated.
46377
46378 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
46379
46380         * configure.in (AS, LD): Require binutils 2.20 or later.
46381         * configure: Regenerated.
46382         * manual/install.texi (Tools for Compilation): Give binutils 2.20
46383         as required minimum version.
46384         * INSTALL: Regenerated.
46385
46386         [BZ #2541]
46387         [BZ #4108]
46388         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
46389         before squaring exponent.
46390         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
46391         bottom long double and 27 bits of top long double before squaring
46392         exponent.
46393         * math/libm-test.inc (erfc_test): Add more tests.
46394         * sysdeps/i386/fpu/libm-test-ulps: Update.
46395         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46396         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46397
46398 2012-03-01  Kai Tietz  <ktietz@redhat.com>
46399
46400         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
46401         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
46402         containing bit-fields.
46403         * soft-fp/extended.h (_FP_UNION_E): Likewise.
46404         * soft-fp/single.h (_FP_UNION_S): Likewise.
46405         * soft-fp/double.h (_FP_UNION_D): Likewise.
46406
46407 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
46408
46409         [BZ #13786]
46410         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
46411         not include ../strcmp.S.
46412         [USE_AS_STRNCASECMP_L]: Likewise.
46413         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
46414         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
46415         * sysdeps/i386/i686/multiarch/strncase_l-c.c
46416         (__strncasecmp_l_ia32): Define as alias to
46417         __strncasecmp_l_nonascii.
46418
46419         [BZ #5794]
46420         * math/libm-test.inc (expm1_test): Add test for bug 5794.
46421         * sysdeps/i386/fpu/libm-test-ulps: Update.
46422         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46423
46424         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
46425         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46426
46427 2012-02-29  Jeff Law  <law@redhat.com>
46428
46429         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
46430         out of bounds read.
46431
46432 2012-02-29  Marek Polacek  <polacek@redhat.com>
46433
46434         [BZ #13706]
46435         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
46436         * elf/Makefile: Add rules to run tst-unused-dep.out.
46437
46438 2012-02-28  David S. Miller  <davem@davemloft.net>
46439
46440         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
46441         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
46442         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
46443         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
46444         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
46445         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
46446
46447 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
46448
46449         * math/libm-test.inc (llround_test): Move one test from
46450         lround_test.  Use TEST_f_L in moved test.
46451         (lround_test): Move misplaced test to llround_test.  Add testcase
46452         from bug 2561.
46453
46454 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
46455
46456         * sysdeps/x86_64/fpu/e_expf.S: New file.
46457         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
46458
46459 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
46460
46461         [BZ #13637]
46462         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
46463         of remain_len that may cause incomplete multi-byte character and
46464         false match.
46465         * posix/bug-regex33.c: New file.
46466         * posix/Makefile (tests): Add bug-regex33.
46467
46468 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
46469
46470         * manual/macros.texi: New file.
46471         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
46472         * manual/libc.texinfo: Include macros.texi.
46473         * manual/creatute.texi: Likewise.
46474         * manual/install.texi: Likewise.
46475         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
46476         @glibcadj{} in references to the GNU C Library.
46477         * manual/charset.texi: Likewise.
46478         * manual/conf.texi: Likewise.
46479         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
46480         when not using those macros.
46481         * manual/creature.texi: Likewise.
46482         * manual/crypt.texi: Likewise.
46483         * manual/errno.texi: Likewise.
46484         * manual/filesys.texi: Likewise.
46485         * manual/header.texi: Likewise.
46486         * manual/install.texi: Likewise.
46487         * manual/intro.texi: Likewise.
46488         * manual/io.texi: Likewise.
46489         * manual/job.texi: Likewise.
46490         * manual/lang.texi: Likewise.
46491         * manual/libc.texiinfo: Likewise.
46492         * manual/llio.texi: Likewise.
46493         * manual/locale.texi: Likewise.
46494         * manual/maint.texi: Likewise.
46495         * manual/math.texi: Likewise.
46496         * manual/memory.texi: Likewise.
46497         * manual/message.texi: Likewise.
46498         * manual/nss.texi: Likewise.
46499         * manual/pattern.texi: Likewise.
46500         * manual/process.texi: Likewise.
46501         * manual/resource.texi: Likewise.
46502         * manual/search.texi: Likewise.
46503         * manual/setjmp.texi: Likewise.
46504         * manual/signal.texi: Likewise.
46505         * manual/socket.texi: Likewise.
46506         * manual/startup.texi: Likewise.
46507         * manual/stdio.texi: Likewise.
46508         * manual/string.texi: Likewise.
46509         * manual/sysinfo.texi: Likewise.
46510         * manual/syslog.texi: Likewise.
46511         * manual/terminal.texi: Likewise.
46512         * manual/time.texi: Likewise.
46513         * manual/users.texi: Likewise.
46514         * INSTALL: Regenerated.
46515         * NOTES: Regenerated.
46516         * sysdeps/gnu/errlist.c: Regenerated.
46517
46518 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
46519
46520         * include/dirent.h: Include <dirstream.h> before
46521         <dirent/dirent.h>.
46522
46523 2012-02-28  David S. Miller  <davem@davemloft.net>
46524
46525         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
46526         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
46527         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
46528         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
46529
46530 2012-02-27  David S. Miller  <davem@davemloft.net>
46531
46532         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
46533         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
46534         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
46535         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
46536
46537         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
46538         frame pointer instead of stack pointer relative arg slot.
46539         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
46540         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
46541         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
46542
46543 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
46544
46545         [BZ #3992]
46546         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
46547
46548 2012-02-27  David S. Miller  <davem@davemloft.net>
46549
46550         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
46551         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
46552         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
46553         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
46554         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
46555         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
46556         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
46557         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
46558
46559 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
46560
46561         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
46562         later.  Allow versions 5-9.
46563         * configure: Regenerated.
46564         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
46565         required minimum version and 4.6 as recommended version.  Do not
46566         mention bugs in GCC 2.7 and 2.8.
46567         * INSTALL: Regenerated.
46568
46569 2012-02-27  David S. Miller  <davem@davemloft.net>
46570
46571         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
46572         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
46573         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
46574         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
46575         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
46576         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
46577         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
46578         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
46579
46580         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
46581         manipulate bits before adding and subtracting TWO112[sx].
46582         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
46583
46584 2012-02-27  Roland McGrath  <roland@hack.frob.com>
46585
46586         [BZ #13775]
46587         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
46588         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
46589         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
46590         being in POSIX, because they are in 1003.1-2008.
46591
46592         * rt/tst-aio.c: Include <fcntl.h>.
46593         * rt/tst-aio7.c: Likewise.
46594         * rt/tst-aio64.c: Likewise.
46595
46596         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
46597
46598 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
46599
46600         * manual/install.texi (--with-headers): Describe headers as
46601         interface headers, not private headers.
46602         (Specific advice for GNU/Linux systems): Describe use of headers
46603         from "make headers_install", not private headers from older
46604         kernels.
46605         * INSTALL: Regenerated.
46606         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
46607         Change to 2.6.19.
46608         * sysdeps/unix/sysv/linux/configure: Regenerated.
46609
46610         * manual/llio.texi (fclean): Remove documentation.
46611
46612         * manual/Makefile (libc-texi-generated): New variable.  Include
46613         version.texi.
46614         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
46615         $(libc-texi-generated), not duplicated list of files.
46616         (version.texi, stamp-version): New rules.
46617         (realclean): Remove $(libc-texi-generated), not individual files
46618         from that list.  Do not remove dir-add.texinfo.
46619         * manual/libc.texinfo: Comment out uses of edition numbers and
46620         references to printed manual.  Remove last-updated dates.
46621         (EDITION): Comment out.
46622         (ISBN): Likewise.
46623         (VERSION, UPDATED): Remove.
46624         (version.texi): Include.
46625
46626 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
46627
46628         * sysdeps/posix/spawni.c: Include <signal.h>.
46629         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
46630         * sysdeps/pthread/aio_fsync.c: Likewise.
46631
46632 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
46633
46634         * conform/Makefile (tests): Run only when not cross-compiling and
46635         when fast-check is not defined.
46636
46637         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
46638         * conform/data/limits.h-data: Fixes for POSIX2008.
46639         * conform/run-conformtest.sh: Run all tests.
46640         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
46641         headers.
46642         * include/bits/dlfcn.h: Likewise.
46643         * include/langinfo.h: Likewise.
46644         * include/monetary.h: Likewise.
46645         * include/sys/poll.h: Likewise.
46646
46647         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
46648         for __USE_GNU.
46649         * posix/spawn.h: Define __need_sigset_t.
46650         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
46651         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
46652         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
46653         to get sigevent_t only.
46654         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
46655         only for __USE_GNU.
46656         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46657         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
46658         process_vm_writev only for __USE_GNU.
46659         * termios/termios.h: Declare tcgetsid also for POSIX2008.
46660
46661         * conform/Makefile: For now ignore errors from run-conformtest.
46662         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
46663         POSIX to avoid namespace pollution.  Don't prepend headers.
46664         * conform/data/aio.h-data: Fixes for POSIX testing.
46665         * conform/data/fcntl.h-data: Likewise.
46666         * conform/data/glob.h-data: Likewise.
46667         * conform/data/grp.h-data: Likewise.
46668         * conform/data/pthread.h-data: Likewise.
46669         * conform/data/pwd.h-data: Likewise.
46670         * conform/data/signal.h-data: Likewise.
46671         * conform/data/spawn.h-data: Likewise.
46672         * conform/data/stdio.h-data: Likewise.
46673         * conform/data/stdlib.h-data: Likewise.
46674         * conform/data/stropts.h-data: Likewise.
46675         * conform/data/sys/mman.h-data: Likewise.
46676         * conform/data/sys/stat.h-data: Likewise.
46677         * conform/data/sys/types.h-data: Likewise.
46678         * conform/data/sys/wait.h-data: Likewise.
46679         * conform/data/time.h-data: Likewise.
46680         * conform/data/unistd.h-data: Likewise.
46681         * conform/data/utime.h-data: Likewise.
46682
46683         * io/sys/stat.h: fchmod was always in POSIX.
46684         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
46685         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
46686         * rt/aio.h: Define __need_timespec before including <time.h>.
46687         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
46688         struct.  Add forward declaration of pthread_attr_t and use it in
46689         sigevent.
46690         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
46691         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
46692         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
46693         always remove CLK_TCK definition.
46694
46695 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
46696
46697         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
46698
46699 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
46700
46701         * conform/run-conformtest.sh: New file.
46702         * conform/Makefile: Run run-conformtest for tests.
46703         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
46704         support.
46705
46706         * conform/data/uchar.h-data: New file.
46707         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
46708         * conform/data/arpa/inet.h-data: Likewise.
46709         * conform/data/assert.h-data: Likewise.
46710         * conform/data/complex.h-data: Likewise.
46711         * conform/data/cpio.h-data: Likewise.
46712         * conform/data/ctype.h-data: Likewise.
46713         * conform/data/dirent.h-data: Likewise.
46714         * conform/data/dlfcn.h-data: Likewise.
46715         * conform/data/errno.h-data: Likewise.
46716         * conform/data/fcntl.h-data: Likewise.
46717         * conform/data/float.h-data: Likewise.
46718         * conform/data/fmtmsg.h-data: Likewise.
46719         * conform/data/fnmatch.h-data: Likewise.
46720         * conform/data/ftw.h-data: Likewise.
46721         * conform/data/glob.h-data: Likewise.
46722         * conform/data/grp.h-data: Likewise.
46723         * conform/data/iconv.h-data: Likewise.
46724         * conform/data/inttypes.h-data: Likewise.
46725         * conform/data/langinfo.h-data: Likewise.
46726         * conform/data/libgen.h-data: Likewise.
46727         * conform/data/limits.h-data: Likewise.
46728         * conform/data/locale.h-data: Likewise.
46729         * conform/data/math.h-data: Likewise.
46730         * conform/data/monetary.h-data: Likewise.
46731         * conform/data/mqueue.h-data: Likewise.
46732         * conform/data/ndbm.h-data: Likewise.
46733         * conform/data/net/if.h-data: Likewise.
46734         * conform/data/netdb.h-data: Likewise.
46735         * conform/data/netinet/in.h-data: Likewise.
46736         * conform/data/nl_types.h-data: Likewise.
46737         * conform/data/poll.h-data: Likewise.
46738         * conform/data/pthread.h-data: Likewise.
46739         * conform/data/pwd.h-data: Likewise.
46740         * conform/data/regex.h-data: Likewise.
46741         * conform/data/sched.h-data: Likewise.
46742         * conform/data/search.h-data: Likewise.
46743         * conform/data/semaphore.h-data: Likewise.
46744         * conform/data/setjmp.h-data: Likewise.
46745         * conform/data/signal.h-data: Likewise.
46746         * conform/data/spawn.h-data: Likewise.
46747         * conform/data/stdarg.h-data: Likewise.
46748         * conform/data/stdio.h-data: Likewise.
46749         * conform/data/stdlib.h-data: Likewise.
46750         * conform/data/string.h-data: Likewise.
46751         * conform/data/strings.h-data: Likewise.
46752         * conform/data/stropts.h-data: Likewise.
46753         * conform/data/sys/ipc.h-data: Likewise.
46754         * conform/data/sys/mman.h-data: Likewise.
46755         * conform/data/sys/msg.h-data: Likewise.
46756         * conform/data/sys/resource.h-data: Likewise.
46757         * conform/data/sys/select.h-data: Likewise.
46758         * conform/data/sys/sem.h-data: Likewise.
46759         * conform/data/sys/shm.h-data: Likewise.
46760         * conform/data/sys/socket.h-data: Likewise.
46761         * conform/data/sys/stat.h-data: Likewise.
46762         * conform/data/sys/statvfs.h-data: Likewise.
46763         * conform/data/sys/time.h-data: Likewise.
46764         * conform/data/sys/timeb.h-data: Likewise.
46765         * conform/data/sys/times.h-data: Likewise.
46766         * conform/data/sys/types.h-data: Likewise.
46767         * conform/data/sys/uio.h-data: Likewise.
46768         * conform/data/sys/un.h-data: Likewise.
46769         * conform/data/sys/utsname.h-data: Likewise.
46770         * conform/data/sys/wait.h-data: Likewise.
46771         * conform/data/syslog.h-data: Likewise.
46772         * conform/data/tar.h-data: Likewise.
46773         * conform/data/termios.h-data: Likewise.
46774         * conform/data/utime.h-data: Likewise.
46775         * conform/data/utmpx.h-data: Likewise.
46776         * conform/data/varargs.h-data: Likewise.
46777         * conform/data/wchar.h-data: Likewise.
46778         * conform/data/wctype.h-data: Likewise.
46779         * conform/data/wordexp.h-data: Likewise.
46780
46781         * include/stropts.h: New file.
46782         * include/uchar.h: New file.
46783         * include/aio.h: Changes to allow conformtest.pl to use the headers.
46784         * include/assert.h: Likewise.
46785         * include/ctype.h: Likewise.
46786         * include/dirent.h: Likewise.
46787         * include/dlfcn.h: Likewise.
46788         * include/fcntl.h: Likewise.
46789         * include/fnmatch.h: Likewise.
46790         * include/glob.h: Likewise.
46791         * include/grp.h: Likewise.
46792         * include/libio.h: Likewise.
46793         * include/locale.h: Likewise.
46794         * include/math.h: Likewise.
46795         * include/net/if.h: Likewise.
46796         * include/netdb.h: Likewise.
46797         * include/netinet/in.h: Likewise.
46798         * include/pthread.h: Likewise.
46799         * include/pwd.h: Likewise.
46800         * include/regex.h: Likewise.
46801         * include/sched.h: Likewise.
46802         * include/search.h: Likewise.
46803         * include/setjmp.h: Likewise.
46804         * include/signal.h: Likewise.
46805         * include/stdio.h: Likewise.
46806         * include/stdlib.h: Likewise.
46807         * include/string.h: Likewise.
46808         * include/sys/cdefs.h: Likewise.
46809         * include/sys/mman.h: Likewise.
46810         * include/sys/msg.h: Likewise.
46811         * include/sys/resource.h: Likewise.
46812         * include/sys/select.h: Likewise.
46813         * include/sys/socket.h: Likewise.
46814         * include/sys/stat.h: Likewise.
46815         * include/sys/statvfs.h: Likewise.
46816         * include/sys/time.h: Likewise.
46817         * include/sys/times.h: Likewise.
46818         * include/sys/uio.h: Likewise.
46819         * include/sys/utsname.h: Likewise.
46820         * include/sys/wait.h: Likewise.
46821         * include/termios.h: Likewise.
46822         * include/time.h: Likewise.
46823         * include/ulimit.h: Likewise.
46824         * include/unistd.h: Likewise.
46825         * include/utime.h: Likewise.
46826         * include/wchar.h: Likewise.
46827         * include/wctype.h: Likewise.
46828         * include/wordexp.h: Likewise.
46829
46830         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
46831
46832         * time/time.h: TIME_UTC must be a macro.
46833         Make timespec_get available for ISO C11 only as well.
46834
46835 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
46836
46837         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
46838         Reported by Peng Haitao <penght@cn.fujitsu.com>.
46839
46840 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
46841
46842         * configure.in: Use -o not -a in test for unsupported multi-arch.
46843
46844 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
46845
46846         * manual/texinfo.tex: Update to version 2012-01-19.16.
46847
46848 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
46849
46850         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
46851
46852 2012-02-24  Roland McGrath  <roland@hack.frob.com>
46853
46854         [BZ #13738]
46855         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
46856         * manual/fdl-1.3.texi: New file.
46857         * manual/fdl-1.1.texi: File removed.
46858
46859         [BZ #13738]
46860         * manual/libc.texinfo (FDL_VERSION): New @set.
46861         Use it for mention of FDL in cover text.
46862         (Documentation License): Use it in @include file name.
46863
46864 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
46865             Roland McGrath  <roland@hack.frob.com>
46866
46867         [BZ #5461]
46868         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
46869         (not LONG_LONG_MAX and LONG_LONG_MIN.
46870         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
46871         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
46872         name.
46873         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
46874
46875 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
46876
46877         [BZ #2547]
46878         [BZ #11365]
46879         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
46880         manipulate bits before adding and subtracting TWO23[sx].
46881         * math/libm-test.inc (nearbyint_test): Add more tests.
46882
46883 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
46884
46885         [BZ #2548]
46886         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
46887         bits before adding and subtracting TWO23[sx].
46888         * math/libm-test.inc (rint_test): Add more tests.
46889         (rint_test_tonearest): Likewise.
46890         (rint_test_towardzero): Likewise.
46891         (rint_test_downward): Likewise.
46892         (rint_test_upward: Likewise.
46893
46894 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
46895
46896         [BZ #10110]
46897         * include/stdc-predef.h: New file.  Extracted from features.h.
46898         * include/features.h: Include stdc-predef.h.
46899         * Makefile (headers): Add stdc-predef.h.
46900         * CONFORMANCE (Compiler limitations): Update.
46901
46902 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
46903
46904         * manual/libc.texinfo (VERSION, UPDATED): Revert.
46905
46906 2012-02-21  David S. Miller  <davem@davemloft.net>
46907
46908         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
46909         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
46910
46911 2012-02-20  David S. Miller  <davem@davemloft.net>
46912
46913         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
46914         using a normal save/restore sequence, rather than allocating a
46915         dummy stack frame just to store a frame pointer and restore.
46916         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
46917
46918 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
46919
46920         * manual/install.texi: Fix stray word in line-wrapped comment.
46921
46922 2012-02-20  David S. Miller  <davem@davemloft.net>
46923
46924         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
46925         both binutils and gcc support GOTDATA.
46926
46927         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
46928         "rd %pc" in the PIC register setup sequences.
46929
46930         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
46931         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
46932         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
46933         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
46934         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
46935         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
46936         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46937         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
46938         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
46939         (SYSCALL_ERROR_HANDLER): Likewise.
46940         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
46941         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
46942         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
46943         (SYSCALL_ERROR_HANDLER): Likewise.
46944
46945         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
46946         (HAVE_GCC_GOTDATA): New.
46947         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
46948         relocation support in both binutils and gcc.
46949         * sysdeps/sparc/elf/configure: Regenerate.
46950
46951         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
46952         * sysdeps/sparc/sparc32/elf/configure: Delete.
46953         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
46954         * sysdeps/sparc/sparc64/elf/configure: Delete.
46955         * sysdeps/sparc/elf/configure.in: New file.
46956         * sysdeps/sparc/elf/configure: Generate.
46957
46958         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
46959         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
46960         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
46961         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
46962         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
46963
46964 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
46965
46966         * manual/install.texi: Do not mention specific glibc version
46967         numbers.
46968         * manual/libc.texinfo (VERSION, UPDATED): Update.
46969         (@copying): Use @copyright{} and range of years.
46970
46971 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
46972
46973         [BZ #13695]
46974         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
46975         [crti.S not in sysdirs] (generated): Do not append.
46976         [crti.S not in sysdirs] (omit-deps): Likewise.
46977         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
46978         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
46979         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
46980         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
46981         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
46982         Likewise.
46983         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
46984         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
46985         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
46986         * csu/defs.awk: Remove file.
46987         * sysdeps/generic/initfini.c: Likewise.
46988         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
46989         variable.
46990         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
46991         Likewise.
46992
46993 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
46994
46995         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
46996         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
46997         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
46998         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
46999         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
47000         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
47001         <bits/epoll.h>.
47002         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
47003         (__EPOLL_PACKED): Define to empty if not defined by
47004         <bits/epoll.h>.
47005         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
47006         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47007         bits/epoll.h.
47008
47009 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
47010
47011         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
47012         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
47013         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
47014         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
47015         <bits/timerfd.h>.
47016         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
47017         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47018         bits/timerfd.h.
47019
47020 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
47021
47022         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
47023         in C locale.
47024         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47025         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
47026         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
47027         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47028
47029 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
47030
47031         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47032         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
47033
47034 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
47035
47036         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
47037         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
47038         defined.
47039         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
47040         Likewise.
47041         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
47042         entry for 2.16.
47043
47044 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
47045
47046         * math/w_acos.c: Use non-signaling floating-point comparisons.
47047         * math/w_acosf.c: Likewise.
47048         * math/w_acosh.c: Likewise.
47049         * math/w_acoshf.c: Likewise.
47050         * math/w_acoshl.c: Likewise.
47051         * math/w_acosl.c: Likewise.
47052         * math/w_asin.c: Likewise.
47053         * math/w_asinf.c: Likewise.
47054         * math/w_asinl.c: Likewise.
47055         * math/w_atanh.c: Likewise.
47056         * math/w_atanhf.c: Likewise.
47057         * math/w_atanhl.c: Likewise.
47058         * math/w_exp2.c: Likewise.
47059         * math/w_exp2f.c: Likewise.
47060         * math/w_exp2l.c: Likewise.
47061         * math/w_j0.c: Likewise.
47062         * math/w_j0f.c: Likewise.
47063         * math/w_j0l.c: Likewise.
47064         * math/w_j1.c: Likewise.
47065         * math/w_j1f.c: Likewise.
47066         * math/w_j1l.c: Likewise.
47067         * math/w_jn.c: Likewise.
47068         * math/w_jnf.c: Likewise.
47069         * math/w_log.c: Likewise.
47070         * math/w_log10.c: Likewise.
47071         * math/w_log10f.c: Likewise.
47072         * math/w_log10l.c: Likewise.
47073         * math/w_log2.c: Likewise.
47074         * math/w_log2f.c: Likewise.
47075         * math/w_log2l.c: Likewise.
47076         * math/w_logf.c: Likewise.
47077         * math/w_logl.c: Likewise.
47078         * math/w_sqrt.c: Likewise.
47079         * math/w_sqrtf.c: Likewise.
47080         * math/w_sqrtl.c: Likewise.
47081         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
47082         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
47083         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47084         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
47085         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
47086
47087 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
47088
47089         [BZ #9739]
47090         * manual/string.texi (strnlen): Use correct parameter name in
47091         equivalent expression.
47092
47093 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
47094
47095         [BZ #11174]
47096         * manual/users.texi (seteuid): Consistently use neweuid for
47097         argument name.
47098
47099 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
47100
47101         [BZ #13704]
47102         * manual/nss.texi (Services in the NSS configuration): Correct
47103         list of services in example configuration file.
47104
47105 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
47106
47107         [BZ #11322]
47108         * manual/arith.texi: Remove statements about negative zero
47109         behaving identically to zero.
47110
47111 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
47112
47113         [BZ #5993]
47114         * manual/install.texi: Do not document upgrading from libc5.
47115
47116 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
47117
47118         [BZ #4596]
47119         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
47120
47121 2012-02-18  David S. Miller  <davem@davemloft.net>
47122
47123         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
47124         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
47125         %o7 across the call.
47126         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
47127         instead.
47128         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
47129         SETUP_PIC_REG_LEAF.
47130         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
47131         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
47132         * sysdeps/sparc/crtn.S: Likewise.
47133
47134 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
47135
47136         * aout/Makefile: Remove.
47137
47138 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
47139
47140         [BZ #13058]
47141         * manual/examples/argp-ex1.c (main): Format definition in GNU
47142         style.
47143         * manual/examples/argp-ex2.c (main): Likewise.
47144         * manual/examples/argp-ex3.c (main): Likewise.
47145         * manual/examples/argp-ex4.c (main): Likewise.
47146         * manual/examples/longopt.c (main): Use new-style prototype
47147         definition.
47148         * manual/examples/strncat.c (main): Specify return type and use
47149         (void) for arguments.
47150         * manual/examples/subopt.c (main): Use char **argv argument.
47151
47152 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
47153
47154         [BZ #5077]
47155         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
47156         rounding modes.
47157
47158 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
47159
47160         [BZ #6907]
47161         * manual/string.texi (strchr): Change when strchrnul is
47162         recommended.
47163
47164 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
47165
47166         [BZ #174]
47167         * manual/locale.texi (setlocale): Document LOCPATH.
47168
47169 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
47170
47171         [BZ #10210]
47172         * manual/process.texi (execle): Move @dots{} before last argument.
47173
47174 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
47175
47176         [BZ #12047]
47177         * manual/charset.texi (Generic Charset Conversion): Fix typo
47178         (LC_TYPE -> LC_CTYPE).
47179
47180 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
47181
47182         [BZ #5805]
47183         * manual/arith.texi (scalbn): Use @var{} on parameter names.
47184         (scalbnf): Likewise.
47185         (scalbnl): Likewise.
47186         (scalbln): Likewise.
47187         (scalblnf): Likewise.
47188         (scalblnl): Likewise.
47189         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
47190         (vwarnx): Likewise.
47191         (verr): Likewise.
47192         (verrx): Likewise.
47193         * manual/filesys.texi (telldir): Use braces around return type.
47194         * manual/llio.texi (mmap): Add space after comma.
47195         (mmap64): Likewise.
47196         * manual/math.texi (jn): Use @var{} on parameter names.
47197         (jnf): Likewise.
47198         (jnl): Likewise.
47199         (yn): Likewise.
47200         (ynf): Likewise.
47201         (ynl): Likewise.
47202         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
47203         line.
47204         * manual/resource.texi (ulimit): Use @dots{} instead of literal
47205         "...".
47206         (sched_get_priority_min): Remove semicolon on @deftypefun line.
47207         (sched_get_priority_max): Likewise.
47208         * manual/signal.texi (sigvec): Add space after comma.
47209         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
47210         names.
47211         (if_indextoname): Likewise.
47212         (if_freenameindex): Likewise.
47213         (sendto): Use ',' instead of '.' in prototype.
47214         * manual/startup.texi (syscall): Use @dots{} instead of literal
47215         "...".
47216         * manual/stdio.texi (__fpending): Separate initial words of
47217         paragraph from @deftypefun line.
47218         * manual/syslog.texi (syslog): Use @dots{} instead of literal
47219         "...".
47220         (vsyslog): Use @var{} on parameter names.
47221         * manual/terminal.texi (stty): Use @var{} on parameter names.
47222         * manual/users.texi (getutmp): Use @var{} on parameter names.
47223         (getutmpx): Likewise.
47224
47225 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
47226
47227         [BZ #6884]
47228         * manual/stdio.texi (fopen): Fix typos in description of
47229         ",ccs=STRING".
47230
47231 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
47232
47233         [BZ #4026]
47234         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
47235         get clock_id definition.
47236
47237 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
47238
47239         [BZ #4822]
47240         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
47241         (madvise): Cast every argument to void on its own.
47242
47243 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
47244
47245         [BZ #9902]
47246         * manual/startup.texi (Exit Status): Fix typo.
47247
47248 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
47249
47250         [BZ #10140]
47251         * manual/examples/argp-ex1.c: Include <stdlib.h>.
47252         * manual/examples/argp-ex2.c: Likewise.
47253         * manual/examples/argp-ex3.c: Likewise.
47254
47255 2012-02-16  Richard Henderson  <rth@redhat.com>
47256
47257         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
47258         * sysdeps/s390/s390-32/initfini.c: Remove.
47259         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
47260         * sysdeps/s390/s390-64/initfini.c: Remove.
47261
47262 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47263
47264         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
47265         compiler output for sysdeps/generic/initfini.c.
47266         * sysdeps/sh/elf/initfini.c: Remove file.
47267
47268 2012-02-16  David S. Miller  <davem@davemloft.net>
47269
47270         [BZ #11494]
47271         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
47272
47273         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
47274         * sysdeps/sparc/crti.S: New file.
47275         * sysdeps/sparc/crtn.S: New file.
47276         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
47277         * sysdeps/sparc/sparc64/Makefile: Likewise.
47278
47279 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
47280
47281         [BZ #3335]
47282         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
47283
47284 2012-02-15  Roland McGrath  <roland@hack.frob.com>
47285
47286         [BZ #4822]
47287         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
47288
47289         * mach/devstream.c (cookie_io_functions_t): Macro removed.
47290         (write, read, close): Likewise.
47291         Patch by Aurelien Jarno <aurelien@aurel32.net>.
47292
47293 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
47294
47295         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
47296         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
47297         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
47298         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
47299         <bits/signalfd.h>.
47300         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
47301         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47302         bits/signalfd.h.
47303
47304 2012-02-14  Marek Polacek  <polacek@redhat.com>
47305
47306         * sysdeps/x86_64/crti.S: New file.
47307         * sysdeps/x86_64/crtn.S: New file.
47308         * sysdeps/x86_64/elf/initfini.c: Remove file.
47309
47310 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
47311
47312         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
47313         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
47314         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
47315         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
47316         <bits/inotify.h>.
47317         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
47318         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47319         bits/inotify.h.
47320
47321 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
47322
47323         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
47324         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
47325         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
47326         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
47327         <bits/eventfd.h>.
47328         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
47329         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47330         bits/eventfd.h.
47331
47332 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
47333
47334         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
47335         __feraiseexcept instead of feraiseexcept.
47336
47337         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
47338         nanosleep invocations.
47339         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
47340         strings, and add error checking for a nanosleep invocations.
47341
47342 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
47343
47344         Replace FSF snail mail address with URLs, as per GNU coding standards.
47345         Most of the snail mail addresses were wrong anyway, and omitting
47346         them makes the source code easier to maintain.  Almost all of the
47347         changes are to license notices and to locale LC_IDENTIFICATION
47348         addresses, except for this one:
47349         * manual/libc.texinfo: In "Published by", give the FSF's URL,
47350         not its snail mail address.
47351
47352 2012-02-09  Richard Henderson  <rth@twiddle.net>
47353
47354         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
47355         of kernel-features.h.
47356
47357         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
47358
47359 2012-02-08  Marek Polacek  <polacek@redhat.com>
47360
47361         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
47362         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
47363         * sysdeps/gnu/_G_config.h: Likewise.
47364         * sysdeps/generic/_G_config.h: Likewise.
47365
47366 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
47367
47368         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
47369         tests.
47370         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47371
47372         * sysdeps/powerpc/powerpc32/crti.S: New file.
47373         * sysdeps/powerpc/powerpc32/crtn.S: New file.
47374         * sysdeps/powerpc/powerpc64/crti.S: New file.
47375         * sysdeps/powerpc/powerpc64/crtn.S: New file.
47376
47377         * Makeconfig (have-initfini): Don't set.
47378         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
47379         * configure.in (nopic_initfini): Don't substitute.
47380         * config.h.in (HAVE_INITFINI): Don't #undef.
47381         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
47382         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
47383
47384 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
47385
47386         Support crti.S and crtn.S provided directly by architectures.
47387         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
47388         [crti.S in sysdirs] (omit-deps): Likewise.
47389         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
47390         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
47391         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
47392         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
47393         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
47394         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
47395         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
47396         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
47397         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
47398         compiler output for sysdeps/generic/initfini.c.
47399         * sysdeps/i386/elf/Makefile: Remove file.
47400         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
47401
47402 2012-02-07  Marek Polacek  <polacek@redhat.com>
47403
47404         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
47405         * sysdeps/gnu/_G_config.h: Likewise.
47406         * sysdeps/mach/hurd/_G_config.h: Likewise.
47407
47408 2012-02-07  Marek Polacek  <polacek@redhat.com>
47409
47410         * math/Makefile (tests): Add tst-CMPLX2.
47411         * math/tst-CMPLX2.c: New file.
47412
47413 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
47414
47415         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47416
47417         * math/libm-test.inc (jn_test): Add missing L suffix.
47418
47419 2012-02-06  Marek Polacek  <polacek@redhat.com>
47420
47421         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
47422         * sysdeps/i386/fpu/e_powf.S: Likewise.
47423         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
47424         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
47425         * sysdeps/i386/fpu/e_acosh.S: Likewise.
47426         * sysdeps/i386/fpu/e_pow.S: Likewise.
47427         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
47428         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
47429         * sysdeps/i386/fpu/s_expm1.S: Likewise.
47430         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
47431         * sysdeps/i386/fpu/e_log2.S: Likewise.
47432         * sysdeps/i386/fpu/e_log2l.S: Likewise.
47433         * sysdeps/i386/fpu/e_scalb.S: Likewise.
47434         * sysdeps/i386/fpu/e_powl.S: Likewise.
47435         * sysdeps/i386/fpu/s_log1p.S: Likewise.
47436         * sysdeps/i386/fpu/e_log10f.S: Likewise.
47437         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
47438         * sysdeps/i386/fpu/e_logl.S: Likewise.
47439         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
47440         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
47441         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
47442         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
47443         * sysdeps/i386/fpu/e_log2f.S: Likewise.
47444         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
47445         * sysdeps/i386/fpu/e_log.S: Likewise.
47446         * sysdeps/i386/fpu/s_cexp.S: Likewise.
47447         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
47448         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
47449         * sysdeps/i386/fpu/e_logf.S: Likewise.
47450         * sysdeps/i386/fpu/e_log10l.S: Likewise.
47451         * sysdeps/i386/fpu/e_atanh.S: Likewise.
47452         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
47453         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
47454         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
47455         * sysdeps/i386/fpu/e_log10.S: Likewise.
47456         * sysdeps/i386/fpu/s_frexp.S: Likewise.
47457         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
47458         * sysdeps/i386/fpu/s_asinh.S: Likewise.
47459         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
47460         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
47461         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
47462         * sysdeps/i386/asm-syntax.h: Likewise.
47463         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
47464         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
47465         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
47466         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
47467         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
47468         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
47469         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
47470         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
47471         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
47472         * sysdeps/powerpc/sysdep.h: Likewise.
47473         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
47474         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
47475
47476 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
47477
47478         [BZ #411]
47479         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
47480
47481 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
47482
47483         * sysdeps/i386/sysdep.h: Include <features.h>.
47484         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
47485         version.
47486
47487 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
47488
47489         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
47490         Define.
47491         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
47492         LOAD_PIC_REG_STR.
47493
47494 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
47495
47496         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
47497         (SETUP_PIC_REG): Use GET_PC_THUNK.
47498         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
47499         macro.
47500
47501 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
47502
47503         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
47504         for non-PIC compilation.
47505         (SETUP_PIC_REG): Add .p2align directive.
47506         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
47507         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
47508         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
47509         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
47510         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
47511         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
47512         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
47513         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
47514         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
47515         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
47516         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
47517         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
47518         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
47519         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
47520         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
47521         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
47522         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
47523         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
47524         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
47525         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
47526         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
47527         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
47528         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
47529         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
47530         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
47531         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
47532         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
47533         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
47534         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
47535         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
47536         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
47537         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
47538         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
47539         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
47540         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
47541         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
47542         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
47543         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
47544         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
47545         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
47546         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
47547
47548 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
47549
47550         * math/tst-CMPLX.c: Include <stdio.h>.
47551
47552 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
47553
47554         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
47555         float.
47556         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
47557         * sysdeps/sparc/bits/mathdef.h: Likewise.
47558
47559 2012-01-31  Marek Polacek  <polacek@redhat.com>
47560
47561         * libio/libio.h: Don't define _PARAMS.
47562         * locale/programs/config.h: Don't define PARAMS.
47563         * stdlib/strtol_l.c: Likewise.
47564         (__strtol_l): Remove PARAMS from the prototype.
47565
47566 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
47567
47568         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
47569         names.  Just use the correct names.  Remove unnecessary wrapper
47570         functions.
47571         * malloc/arena.c: Likewise.
47572         * malloc/hooks.c: Likewise.
47573
47574         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
47575         ARENA_TEST says not to.  Simplify test for creation of a new arena.
47576         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
47577
47578 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
47579
47580         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
47581         into tail calls.
47582         (update_get_addr): New function.
47583         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
47584         GET_ADDR_MODULE parameter.
47585
47586 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
47587
47588         * crypt/cert.c: Remove __STDC__ conditionals.
47589         * crypt/crypt-entry.c: Likewise.
47590         * crypt/crypt_util.c: Likewise.
47591         * libio/filedoalloc.c: Likewise.
47592         * libio/fileops.c: Likewise.
47593         * libio/genops.c: Likewise.
47594         * libio/iofclose.c: Likewise.
47595         * libio/iofdopen.c: Likewise.
47596         * libio/iofopen.c: Likewise.
47597         * libio/iofopen64.c: Likewise.
47598         * libio/iogetdelim.c: Likewise.
47599         * libio/iopopen.c: Likewise.
47600         * libio/obprintf.c: Likewise.
47601         * libio/oldfileops.c: Likewise.
47602         * libio/oldiofclose.c: Likewise.
47603         * libio/oldiofdopen.c: Likewise.
47604         * libio/oldiofopen.c: Likewise.
47605         * libio/oldiopopen.c: Likewise.
47606         * libio/wfiledoalloc.c: Likewise.
47607         * libio/wgenops.c: Likewise.
47608         * locale/programs/xmalloc.c: Likewise.
47609         * misc/syslog.c: Likewise.
47610         * stdio-common/xbug.c: Likewise.
47611         * string/memchr.c: Likewise.
47612         * string/memcmp.c: Likewise.
47613         * string/memrchr.c: Likewise.
47614         * string/rawmemchr.c: Likewise.
47615         * sysdeps/posix/getcwd.c: Likewise.
47616         * time/strftime_l.c: Likewise.
47617
47618 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
47619
47620         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
47621         * config.make.in (config-cflags-sse2avx): Define.
47622         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
47623         Fix typo.
47624
47625 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
47626
47627         * scripts/config.guess: Update from upstream config git repository.
47628         * scripts/config.sub: Likewise.
47629
47630 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
47631
47632         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
47633         (EM_NUM): Update.
47634         (R_TILEPRO_*, R_TILEGX_*): New macros.
47635
47636         * scripts/firstversions.awk: Fix bug in version range handling.
47637
47638         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
47639
47640         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
47641
47642         * include/sys/epoll.h: New file.
47643         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
47644         libc_hidden_def.
47645
47646 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
47647
47648         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
47649         Avoid unnecessary __WORDSIZE == 64 test.
47650         (fmaxf): Use VEX format if possible.
47651         (fmax): Likewise.
47652         (fminf): Likewise.
47653         (fmin): Likewise.
47654
47655         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
47656         * math/math_private.h: Remove libc_fegetround* and
47657         libc_fesetround*.
47658         * sysdeps/i386/configure.in: Check for -msse2avx.
47659         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
47660         also if SSE2AVX is defined.
47661         Remove libc_fegetround* and libc_fesetround*.
47662         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
47663         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
47664         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
47665         of HAS_YMM_USABLE.
47666         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
47667         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
47668         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
47669         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
47670         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
47671
47672         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
47673
47674 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47675
47676         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
47677         size is not set.
47678         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
47679
47680 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
47681
47682         [BZ #13618]
47683         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
47684         relocation.
47685         * Makeconfig (libm): Define.
47686         * elf/Makefile: Add rules to build and run tst-relsort1.
47687         * elf/tst-relsort1.c: New file.
47688         * elf/tst-relsort1mod1.c: New file.
47689         * elf/tst-relsort1mod2.c: New file.
47690
47691 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
47692
47693         * math/s_ldexp.c: Remove __STDC__ conditionals.
47694         * math/s_ldexpf.c: Likewise.
47695         * math/s_ldexpl.c: Likewise.
47696         * math/s_nextafter.c: Likewise.
47697         * math/s_nexttowardf.c: Likewise.
47698         * math/s_significand.c: Likewise.
47699         * math/s_significandf.c: Likewise.
47700         * math/s_significandl.c: Likewise.
47701         * math/w_jnl.c: Likewise.
47702         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
47703         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
47704         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
47705         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
47706         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
47707         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
47708         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
47709         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
47710         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
47711         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
47712         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
47713         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47714         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
47715         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
47716         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
47717         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
47718         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
47719         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
47720         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
47721         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
47722         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
47723         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
47724         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
47725         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
47726         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
47727         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
47728         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
47729         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
47730         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
47731         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
47732         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
47733         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
47734         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
47735         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
47736         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
47737         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
47738         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
47739         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
47740         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
47741         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
47742         * sysdeps/ieee754/k_standard.c: Likewise.
47743         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
47744         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
47745         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
47746         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
47747         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
47748         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
47749         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
47750         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
47751         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
47752         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
47753         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
47754         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
47755         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
47756         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
47757         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
47758         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
47759         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
47760         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
47761         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
47762         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
47763         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
47764         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
47765         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
47766         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
47767         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
47768         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
47769         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
47770         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
47771         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
47772         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
47773         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
47774         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
47775         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
47776         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
47777         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
47778         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
47779         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
47780         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
47781         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
47782         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
47783         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
47784         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
47785         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
47786         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
47787         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
47788         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
47789         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
47790         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
47791         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
47792         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
47793         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
47794         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
47795         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
47796         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
47797         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
47798         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
47799         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
47800         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
47801         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
47802         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
47803         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
47804         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
47805         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
47806         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
47807         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
47808         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
47809         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
47810         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
47811         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
47812         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
47813         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
47814         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
47815         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
47816         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
47817         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
47818         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
47819         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
47820         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
47821         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
47822         * sysdeps/ieee754/s_matherr.c: Likewise.
47823         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
47824         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
47825         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
47826         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
47827
47828 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
47829
47830         * crypt/md5.h: Remove __STDC__ conditionals.
47831         * libio/libioP.h: Likewise.
47832         * locale/programs/config.h: Likewise.
47833         * sysdeps/generic/sysdep.h: Likewise.
47834         * sysdeps/i386/asm-syntax.h: Likewise.
47835         * sysdeps/s390/asm-syntax.h: Likewise.
47836         * sysdeps/unix/sysdep.h: Likewise.
47837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
47838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
47839
47840 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
47841
47842         * libio/libio.h: Remove __STDC__ conditionals.
47843         * malloc/obstack.h: Likewise.
47844         * math/complex.h: Likewise.
47845         * math/math.h: Likewise.
47846         * sysdeps/generic/_G_config.h: Likewise.
47847         * sysdeps/gnu/_G_config.h: Likewise.
47848         * sysdeps/mach/hurd/_G_config.h: Likewise.
47849         * sysdeps/powerpc/bits/mathdef.h: Likewise.
47850         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
47851         * sysdeps/sparc/bits/mathdef.h: Likewise.
47852
47853 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
47854
47855         [BZ #13583]
47856         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
47857         Clean up HAS_* macros.
47858         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
47859         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
47860         possible.
47861         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
47862         HAS_AVX.
47863         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
47864         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
47865         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
47866         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
47867         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
47868
47869 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
47870
47871         * elf/tst-unique3.cc (gets): Remove declaration.
47872         * elf/tst-unique3lib.cc (gets): Likewise.
47873         * elf/tst-unique3lib2.cc (gets): Likewise.
47874         * elf/tst-unique4.cc (gets): Likewise.
47875
47876 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
47877
47878         * include/stdio.h: Add C++ protection.  Add gets declarations and
47879         definitions.
47880         * debug/tst-chk1.c: Don't declare gets here.
47881         * stdio-common/tst-gets.c: Likewise.
47882
47883 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
47884
47885         * posix/glob: Remove directory.
47886
47887 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
47888
47889         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
47890
47891 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
47892
47893         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
47894         of the non-standard EPFNOSUPPORT.
47895
47896 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47897
47898         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
47899         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
47900         ANYWHERE set to 1 only on KERN_NO_SPACE error.
47901
47902 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
47903
47904         * wcsmbs/uchar.h: Test __STDC_VERSION__.
47905
47906 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
47907
47908         * nscd/aicache.c (addhstaiX): Do not cache negative results of
47909         transient errors.
47910         * nscd/grpcache.c (cache_addgr): Likewise.
47911         * nscd/hstcache.c (cache_addhst): Likewise.
47912         * nscd/initgrcache.c (addinitgroupsX): Likewise.
47913         * nscd/pwdcache.c (cache_addpw): Likewise.
47914         * nscd/servicescache.c (cache_addserv): Likewise.
47915
47916 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
47917
47918         * malloc/malloc.c: Various cleanups.
47919         * malloc/hooks.c: Likewise.
47920
47921         * stdlib/Makefile (tests): Add bug-fmtmsg1.
47922         * stdlib/bug-fmtmsg1.c: New file.
47923
47924         * stdlib/fmtmsg.c (init): Add missing unlock.
47925         Patch by Peng Haitao <penght@cn.fujitsu.com>.
47926
47927 2012-01-12  Marek Polacek  <polacek@redhat.com>
47928
47929         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
47930         and _GNU_SOURCE.
47931
47932 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
47933
47934         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
47935         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
47936         macro to ensure uniqueness of label name.
47937         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
47938         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
47939
47940 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
47941
47942         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
47943
47944         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
47945         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
47946         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
47947         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
47948
47949 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
47950
47951         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
47952
47953         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
47954         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
47955         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
47956
47957         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
47958
47959         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
47960         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
47961         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
47962         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
47963
47964         * math/bits/math-finite.h: Add ldexp support.
47965
47966 2012-01-10  Marek Polacek  <polacek@redhat.com>
47967
47968         * locale/programs/localedef.h (show_archive_content): Add noreturn
47969         attribute.
47970
47971 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
47972
47973         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
47974
47975 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
47976
47977         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
47978
47979         * io/Makefile (headers): Add bits/poll2.h.
47980
47981 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
47982
47983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
47984         typo #include statement.
47985
47986 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
47987
47988         * include/sys/cdefs.h: Define __attribute_alloc_size.
47989         * catgets/gencat.c: Add alloc_size attribute and apply consistently
47990         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
47991         * elf/pldd.c: Likewise.
47992         * iconv/iconv_charmap.c: Likewise.
47993         * iconv/iconvconfig.c: Likewise.
47994         * iconv/strtab.c: Likewise.
47995         * locale/programs/locale.c: Likewise.
47996         * locale/programs/localedef.h: Likewise.
47997         * locale/programs/simple-hash.c: Likewise.
47998         * nscd/nscd.h: Likewise.
47999         * nss/makedb.c: Likewise.
48000         * sysdeps/generic/ldconfig.h: Likewise.
48001         * locale/programs/localedef.c: Remove xmalloc prototype.
48002         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
48003
48004 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
48005
48006         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
48007         appropriate.
48008
48009 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
48010
48011         * math/Makefile (tests): Add tst-CMPLX.
48012         * math/tst-CMPLX.c: New file.
48013
48014         * math/complex.h (CMPLXL): Fix typo.
48015
48016         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
48017         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
48018         GLIBC_2.16.
48019         * debug/tst-chk1.c: Add poll and ppoll tests.
48020         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
48021         * include/sys/poll.h: Add hidden proto for ppoll.
48022         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
48023         * sysdeps/mach/hurd/ppoll.c: Likewise.
48024         * io/ppoll.c: Likewise.
48025         * debug/poll_chk.c: New file.
48026         * debug/ppoll_chk.c: New file.
48027         * include/bits/poll2.h: New file.
48028         * io/bits/poll2.h: New file.
48029
48030         [BZ #1350]
48031         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
48032
48033         * configure.in: static is always set to yes.  Remove.
48034         * config.make.in: Don't set build-static.
48035         * Makeconfig: Remove use of build-static.
48036         * dlfcn/Makefile: Likewise.
48037         * elf/Makefile: Likewise.
48038         * math/Makefile: Likewise.
48039         * misc/Makefile: Likewise.
48040         * nptl/Makefile: Likewise.
48041         * sysdeps/mach/hurd/Makefile: Likewise.
48042
48043         * configure.in: PWD_P is not used anymore.
48044         * config.make.in: Remove PWD_P entry.
48045
48046         * configure.in: Remove last remnants of RANLIB.
48047         No need to check for signed size_t anymore.
48048         Don't set libc_commonpagesize and libc_relro_required here for Alpha
48049         and IA-64.
48050         Remove __builtin_expect test because we require at least gcc 3.4.
48051         * aclocal.m4: Likewise.
48052
48053         * wcsmbs/mbrtoc16.c: Implement using towc function.
48054         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
48055         * wcsmbs/wcsmbsload.c: Likewise.
48056         * iconv/gconv_simple.c: Likewise.
48057         * iconv/gconv_int.h: Likewise.
48058         * iconv/gconv_builtin.h: Likewise.
48059         * iconv/iconv_prog.c: Remove CHAR16 handling.
48060
48061         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
48062
48063         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
48064
48065         * configure.in: Remove --with-elf and --enable-bounded options.
48066         Dont set base_machine for ia64.  More non-ELF conditions removed.
48067         Remove testing and setting of leading underscore information.
48068         * config.make.in (build-bounded): Set to no.
48069         * config.h.in: Remove NO_UNDERSCORES entry.
48070         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
48071         them.
48072         * csu/start.c: Remove !NO_UNDERSCORE code.
48073         * locale/localeinfo.h: Likewise.
48074         * sysdeps/generic/machine-gmon.h: Likewise.
48075         * sysdeps/generic/sysdep.h: Likewise.
48076         * sysdeps/i386/sysdep.h: Likewise.
48077         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
48078         * sysdeps/mach/sysdep.h: Likewise.
48079         * sysdeps/s390/s390-32/sysdep.h: Likewise.
48080         * sysdeps/s390/s390-64/sysdep.h: Likewise.
48081         * sysdeps/sh/sysdep.h: Likewise.
48082         * sysdeps/sparc/sparc32/alloca.S: Likewise.
48083         * sysdeps/unix/i386/sysdep.S: Likewise.
48084         * sysdeps/unix/sparc/start.c: Likewise.
48085         * sysdeps/unix/sparc/sysdep.S: Likewise.
48086         * sysdeps/unix/sparc/sysdep.h: Likewise.
48087         * sysdeps/unix/start.c: Likewise.
48088         * sysdeps/unix/x86_64/sysdep.S: Likewise.
48089         * sysdeps/x86_64/sysdep.h: Likewise.
48090
48091 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
48092
48093         [BZ #13553]
48094         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
48095         for non-gcc.
48096         * argp/argp-fmtstream.h: Use const instead __const.
48097         * argp/argp.h: Likewise.
48098         * assert/assert.h: Likewise.
48099         * bits/fenv.h: Likewise.
48100         * bits/sched.h: Likewise.
48101         * bits/sigset.h: Likewise.
48102         * bits/sigthread.h: Likewise.
48103         * catgets/nl_types.h: Likewise.
48104         * conform/data/pthread.h-data: Likewise.
48105         * crypt/crypt-private.h: Likewise.
48106         * crypt/crypt.h: Likewise.
48107         * crypt/crypt_util.c: Likewise.
48108         * ctype/ctype.h: Likewise.
48109         * debug/execinfo.h: Likewise.
48110         * debug/mbsnrtowcs_chk.c: Likewise.
48111         * debug/mbsrtowcs_chk.c: Likewise.
48112         * debug/wcsnrtombs_chk.c: Likewise.
48113         * debug/wcsrtombs_chk.c: Likewise.
48114         * debug/wcstombs_chk.c: Likewise.
48115         * dirent/dirent.h: Likewise.
48116         * dlfcn/dlfcn.h: Likewise.
48117         * elf/neededtest4.c: Likewise.
48118         * grp/grp.h: Likewise.
48119         * gshadow/gshadow.h: Likewise.
48120         * iconv/gconv.h: Likewise.
48121         * iconv/gconv_int.h: Likewise.
48122         * iconv/gconv_simple.c: Likewise.
48123         * iconv/iconv.h: Likewise.
48124         * iconv/loop.c: Likewise.
48125         * iconv/skeleton.c: Likewise.
48126         * include/aio.h: Likewise.
48127         * include/aliases.h: Likewise.
48128         * include/argz.h: Likewise.
48129         * include/arpa/inet.h: Likewise.
48130         * include/assert.h: Likewise.
48131         * include/dirent.h: Likewise.
48132         * include/dlfcn.h: Likewise.
48133         * include/execinfo.h: Likewise.
48134         * include/fcntl.h: Likewise.
48135         * include/fenv.h: Likewise.
48136         * include/glob.h: Likewise.
48137         * include/grp.h: Likewise.
48138         * include/libintl.h: Likewise.
48139         * include/mntent.h: Likewise.
48140         * include/netdb.h: Likewise.
48141         * include/pwd.h: Likewise.
48142         * include/rpc/netdb.h: Likewise.
48143         * include/sched.h: Likewise.
48144         * include/search.h: Likewise.
48145         * include/shadow.h: Likewise.
48146         * include/signal.h: Likewise.
48147         * include/stdio.h: Likewise.
48148         * include/stdlib.h: Likewise.
48149         * include/string.h: Likewise.
48150         * include/sys/socket.h: Likewise.
48151         * include/sys/stat.h: Likewise.
48152         * include/sys/statfs.h: Likewise.
48153         * include/sys/statvfs.h: Likewise.
48154         * include/sys/syslog.h: Likewise.
48155         * include/sys/time.h: Likewise.
48156         * include/sys/uio.h: Likewise.
48157         * include/time.h: Likewise.
48158         * include/unistd.h: Likewise.
48159         * include/utmp.h: Likewise.
48160         * include/wchar.h: Likewise.
48161         * include/wctype.h: Likewise.
48162         * inet/aliases.h: Likewise.
48163         * inet/arpa/inet.h: Likewise.
48164         * inet/netinet/ether.h: Likewise.
48165         * inet/netinet/in.h: Likewise.
48166         * intl/libintl.h: Likewise.
48167         * io/bits/fcntl2.h: Likewise.
48168         * io/fcntl.h: Likewise.
48169         * io/ftw.h: Likewise.
48170         * io/sys/poll.h: Likewise.
48171         * io/sys/stat.h: Likewise.
48172         * io/sys/statfs.h: Likewise.
48173         * io/sys/statvfs.h: Likewise.
48174         * io/utime.h: Likewise.
48175         * libio/bits/stdio.h: Likewise.
48176         * libio/bits/stdio2.h: Likewise.
48177         * libio/libio.h: Likewise.
48178         * libio/libioP.h: Likewise.
48179         * libio/stdio.h: Likewise.
48180         * locale/lc-ctype.c: Likewise.
48181         * locale/locale.h: Likewise.
48182         * login/utmp.h: Likewise.
48183         * malloc/arena.c: Likewise.
48184         * malloc/malloc.c: Likewise.
48185         * malloc/malloc.h: Likewise.
48186         * malloc/mcheck.c: Likewise.
48187         * malloc/mtrace.c: Likewise.
48188         * math/bits/mathcalls.h: Likewise.
48189         * math/fenv.h: Likewise.
48190         * math/math_private.h: Likewise.
48191         * misc/bits/error.h: Likewise.
48192         * misc/bits/syslog.h: Likewise.
48193         * misc/err.h: Likewise.
48194         * misc/error.h: Likewise.
48195         * misc/fstab.h: Likewise.
48196         * misc/mntent.h: Likewise.
48197         * misc/regexp.h: Likewise.
48198         * misc/search.h: Likewise.
48199         * misc/sgtty.h: Likewise.
48200         * misc/sys/mman.h: Likewise.
48201         * misc/sys/syslog.h: Likewise.
48202         * misc/sys/uio.h: Likewise.
48203         * misc/sys/xattr.h: Likewise.
48204         * misc/ttyent.h: Likewise.
48205         * nis/rpcsvc/ypclnt.h: Likewise.
48206         * nss/nss.h: Likewise.
48207         * posix/bits/unistd.h: Likewise.
48208         * posix/fnmatch.h: Likewise.
48209         * posix/glob.h: Likewise.
48210         * posix/sched.h: Likewise.
48211         * posix/spawn.h: Likewise.
48212         * posix/sys/wait.h: Likewise.
48213         * posix/unistd.h: Likewise.
48214         * posix/wordexp.h: Likewise.
48215         * pwd/pwd.h: Likewise.
48216         * resolv/netdb.h: Likewise.
48217         * resource/sys/resource.h: Likewise.
48218         * rt/aio.h: Likewise.
48219         * rt/bits/mqueue2.h: Likewise.
48220         * rt/mqueue.h: Likewise.
48221         * shadow/shadow.h: Likewise.
48222         * signal/signal.h: Likewise.
48223         * socket/send.c: Likewise.
48224         * socket/sendto.c: Likewise.
48225         * socket/sys/socket.h: Likewise.
48226         * stdio-common/printf.h: Likewise.
48227         * stdlib/bits/stdlib.h: Likewise.
48228         * stdlib/fmtmsg.h: Likewise.
48229         * stdlib/monetary.h: Likewise.
48230         * stdlib/stdlib.h: Likewise.
48231         * stdlib/ucontext.h: Likewise.
48232         * streams/stropts.h: Likewise.
48233         * string/argz.h: Likewise.
48234         * string/bits/string2.h: Likewise.
48235         * string/string.h: Likewise.
48236         * string/strings.h: Likewise.
48237         * sunrpc/rpc/auth.h: Likewise.
48238         * sunrpc/rpc/auth_des.h: Likewise.
48239         * sunrpc/rpc/clnt.h: Likewise.
48240         * sunrpc/rpc/netdb.h: Likewise.
48241         * sunrpc/rpc/pmap_clnt.h: Likewise.
48242         * sunrpc/rpc/xdr.h: Likewise.
48243         * sysdeps/generic/inttypes.h: Likewise.
48244         * sysdeps/generic/net/if.h: Likewise.
48245         * sysdeps/generic/sys/swap.h: Likewise.
48246         * sysdeps/gnu/net/if.h: Likewise.
48247         * sysdeps/gnu/utmpx.h: Likewise.
48248         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
48249         * sysdeps/i386/i486/bits/string.h: Likewise.
48250         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
48251         * sysdeps/s390/bits/string.h: Likewise.
48252         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
48253         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
48254         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
48255         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
48256         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
48257         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
48258         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
48259         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
48260         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
48261         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
48262         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
48263         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
48264         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
48265         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
48266         * sysdeps/unix/sysv/linux/readv.c: Likewise.
48267         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
48268         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
48269         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48270         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
48271         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
48272         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
48273         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
48274         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
48275         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
48276         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
48277         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
48278         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
48279         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
48280         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
48281         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
48282         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
48283         * sysvipc/sys/ipc.h: Likewise.
48284         * sysvipc/sys/msg.h: Likewise.
48285         * sysvipc/sys/sem.h: Likewise.
48286         * sysvipc/sys/shm.h: Likewise.
48287         * termios/termios.h: Likewise.
48288         * time/sys/time.h: Likewise.
48289         * time/time.h: Likewise.
48290         * wcsmbs/bits/wchar2.h: Likewise.
48291         * wcsmbs/uchar.h: Likewise.
48292         * wcsmbs/wchar.h: Likewise.
48293         * wctype/wctype.h: Likewise.
48294
48295         [BZ #13551]
48296         * Makeconfig: Remove all but ELF support including AIX support.
48297         * Makerules: Likewise.
48298         * config.h.in: Likewise.
48299         * config.make.in: Likewise.
48300         * configure: Likewise.
48301         * configure.in: Likewise.
48302         * csu/Makefile: Likewise.
48303         * csu/version.c: Likewise.
48304         * debug/Makefile: Likewise.
48305         * dlfcn/Makefile: Likewise.
48306         * elf/Makefile: Likewise.
48307         * extra-lib.mk: Likewise.
48308         * iconv/Makefile: Likewise.
48309         * include/libc-symbols.h: Likewise.
48310         * include/shlib-compat.h: Likewise.
48311         * resolv/Makefile: Likewise.
48312         * resolv/res_libc.c: Likewise.
48313         * rt/Makefile: Likewise.
48314         * sysdeps/i386/asm-syntax.h: Likewise.
48315         * sysdeps/i386/sysdep.h: Likewise.
48316         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
48317         * sysdeps/mach/sysdep.h: Likewise.
48318         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
48319         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
48320         * sysdeps/s390/asm-syntax.h: Likewise.
48321         * sysdeps/s390/s390-32/sysdep.h: Likewise.
48322         * sysdeps/s390/s390-64/sysdep.h: Likewise.
48323         * sysdeps/sh/sysdep.h: Likewise.
48324         * sysdeps/unix/sparc/sysdep.h: Likewise.
48325         * sysdeps/wordsize-32/divdi3.c: Likewise.
48326         * sysdeps/x86_64/sysdep.h: Likewise.
48327
48328         * argp/Versions: Remove _argp_unlock_xxx.
48329
48330         [BZ #13559]
48331         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
48332         * abilist/libBrokenLocale.abilist: Likewise.
48333         * abilist/libanl.abilist: Likewise.
48334         * abilist/libc.abilist: Likewise.
48335         * abilist/libcrypt.abilist: Likewise.
48336         * abilist/libdl.abilist: Likewise.
48337         * abilist/libm.abilist: Likewise.
48338         * abilist/libnsl.abilist: Likewise.
48339         * abilist/libpthread.abilist: Likewise.
48340         * abilist/libresolv.abilist: Likewise.
48341         * abilist/librt.abilist: Likewise.
48342         * abilist/libthread_db.abilist: Likewise.
48343         * abilist/libutil.abilist: Likewise.
48344         * abilist/libnss_db.abilist: New file.
48345
48346         * scripts/abilist.awk: Add support for indirect functions.
48347
48348         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
48349
48350         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
48351
48352         * shlib-versions: Remove entries for ports architectures.
48353
48354         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
48355         files in ports.
48356         * elf/stackguard-macros.h: Remove support for IA-64.
48357         * elf/tst-auditmod1.c: Likewise.
48358         * sysdeps/generic/ldsodefs.h: Likewise.
48359
48360         * sysdeps/unix/sysv/linux/configure.in: Ports should define
48361         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
48362         configure files.
48363
48364         [BZ #13552]
48365         * configure.in: Remove --enable-omitfp support.
48366         * FAQ.in: Adjust.
48367         * config.make.in: Likewise.
48368         * Makeconfig: Likewise.
48369         * manual/install.texi: Likewise.
48370
48371         In case anyone cares, the IA-64 architecture could move to ports.
48372         * sysdeps/ia64/*: Removed.
48373         * sysdeps/unix/sysv/linux/ia64/*: Removed.
48374         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
48375
48376         [BZ #13555]
48377         * configure.in: Remove entries for unsupported architectures.
48378
48379         [BZ #13533]
48380         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
48381         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
48382         routines.
48383         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
48384         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
48385         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
48386         fall back to using wcrtomb.
48387         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
48388         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
48389         renaming.
48390         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
48391         * wcsmbs/tst-c16c32-1.c: New file.
48392
48393         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
48394         local variable.
48395
48396         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
48397
48398         * elf/tst-unique3.cc: Add explicit declaration of gets.
48399         * elf/tst-unique3lib.cc: Likewise.
48400         * elf/tst-unique3lib2.cc: Likewise.
48401         * elf/tst-unique4.cc: Likewise.
48402
48403         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
48404
48405 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
48406
48407         [BZ #13566]
48408         * assert/assert.h (static_assert): Don't define for C++.
48409         * libio/stdio.h (gets): Do declare for C++ <= C++11.
48410         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
48411
48412 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
48413
48414         * iconv/loop.c (single loop): Fix assertion in storing of
48415         remaining bytes.
48416
48417         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
48418
48419 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
48420
48421         * posix/getconf.c: Update copyright year.
48422         * nss/getent.c: Likewise.
48423         * nss/makedb.c: Likewise.
48424         * iconv/iconvconfig.c: Likewise.
48425         * iconv/iconv_prog.c: Likewise.
48426         * elf/ldconfig.c: Likewise.
48427         * elf/pldd.c: Likewise.
48428         * elf/sotruss.ksh: Likewise.
48429         * catgets/gencat.c: Likewise.
48430         * csu/version.c: Likewise.
48431         * elf/ldd.bash.in: Likewise.
48432         * elf/sprof.c (print_version): Likewise.
48433         * locale/programs/locale.c: Likewise.
48434         * locale/programs/localedef.c: Likewise.
48435         * login/programs/pt_chown.c: Likewise.
48436         * nscd/nscd.c (print_version): Likewise.
48437         * debug/xtrace.sh: Likewise.
48438         * malloc/memusage.sh: Likewise.
48439         * malloc/mtrace.pl: Likewise.
48440         * debug/catchsegv.sh: Likewise.
48441
48442 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
48443
48444         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
48445         pure attribute.
48446
48447 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
48448
48449         [BZ #13533]
48450         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
48451         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
48452         transformations.
48453         * iconv/gconv_int.h: Likewise.
48454         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
48455         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
48456         from libc for GLIBC_2.16.
48457         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
48458         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
48459         * wcsmbs/uchar.h: Really define mbstate_t.
48460         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
48461         * wcsmbs/c16rtomb.c: New file.
48462         * wcsmbs/mbrtoc16.c: New file.
48463         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
48464         for C/POSIX locale.
48465         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
48466         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
48467
48468         * wcsmbs/wchar.h: Add missing __restrict.
48469
48470 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
48471
48472         [BZ #13532]
48473         * time/Makefile (routines): Add timespec_get.
48474         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
48475         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
48476         timespec for ISO C11.
48477         * time/timespec_get.c: New file.
48478         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
48479         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
48480
48481         [BZ #13531]
48482         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
48483         * stdlib/stdlib.h: Declare aligned_alloc.
48484         * Versions.def: Add GLIBC_2.16 for libc.
48485         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
48486
48487         [BZ 13527]
48488         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
48489         ISO C11.
48490
48491         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
48492         code.
48493
48494         [BZ #13528]
48495         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
48496
48497         [BZ #13529]
48498         * assert/assert.h (static_assert): Define.
48499
48500         * version.h: Update for 2.16 development version.
48501
48502         [BZ #13526]
48503         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
48504         _ISOC11_SOURCE.
48505
48506         * version.h (RELEASE): Bump for 2.15 release.
48507         * include/features.h (__GLIBC_MINOR__): Bump to 15.
48508
48509         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
48510         Patch by Marek Polacek <mpolacek@redhat.com>.
48511
48512         * bits/byteswap.h: Protect long long constants with __extension__.
48513         * sysdeps/i386/bits/byteswap.h: Likewise.
48514         * sysdeps/ia64/bits/byteswap.h: Likewise.
48515         * sysdeps/s390/bits/byteswap.h: Likewise.
48516         * sysdeps/x86_64/bits/byteswap.h: Likewise.
48517
48518 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48519
48520         [BZ #13540]
48521         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
48522         destination buffer.
48523         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
48524
48525 2011-12-23  Marek Polacek  <polacek@redhat.com>
48526
48527         * elf/dl-addr.c (determine_info): Add inline keyword.
48528         * elf/tst-auditmod4b.c (check_avx): Likewise.
48529         * elf/tst-auditmod6b.c (check_avx): Likewise.
48530         * elf/tst-auditmod6c.c (check_avx): Likewise.
48531         * elf/tst-auditmod7b.c (check_avx): Likewise.
48532
48533 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
48534
48535         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
48536         !__SSE_MATH__.
48537
48538 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48539
48540         [BZ #13540]
48541         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
48542         processing for last bytes.
48543
48544 2011-08-06  Bruno Haible  <bruno@clisp.org>
48545
48546         [BZ #13061]
48547         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
48548         U+0385, not to U+1FEE.
48549
48550         [BZ #13062]
48551         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
48552         entry for U+00A5 U+0301.
48553
48554 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
48555
48556         [BZ #13166]
48557         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
48558         buffer for the output is too small.
48559
48560         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
48561         optimization.
48562
48563         [BZ #13185]
48564         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
48565         SSE flags if possible.
48566
48567 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48568
48569         [BZ #13540]
48570         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
48571         processing for last bytes.
48572
48573 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
48574
48575         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
48576         (syscall-list-default-options, syscall-list-default-condition)
48577         (syscall-list-includes): Define.
48578         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
48579         list of ABIs and options and #if conditions for each ABI.  Do not
48580         handle common syscalls between ABIs specially.
48581         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
48582         Remove.
48583         (syscall-list-variants, syscall-list-32bit-options)
48584         (syscall-list-32bit-condition, syscall-list-64bit-options)
48585         (syscall-list-64bit-condition): Define.
48586         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
48587         (syscall-list-variants, syscall-list-32bit-options)
48588         (syscall-list-32bit-condition, syscall-list-64bit-options)
48589         (syscall-list-64bit-condition): Define.
48590         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
48591         Remove.
48592         (syscall-list-variants, syscall-list-32bit-options)
48593         (syscall-list-32bit-condition, syscall-list-64bit-options)
48594         (syscall-list-64bit-condition): Define.
48595         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
48596         Remove.
48597         (syscall-list-variants, syscall-list-32bit-options)
48598         (syscall-list-32bit-condition, syscall-list-64bit-options)
48599         (syscall-list-64bit-condition): Define.
48600
48601 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
48602
48603         * locale/iso-639.def: Add brx entry.
48604
48605         [BZ #13328]
48606         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
48607         Proposed by Mariusz_Cukr <marcukr@op.pl>.
48608
48609         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
48610         __feraiseexcept_renamed.
48611
48612 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
48613
48614         [BZ #13538]
48615         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
48616         EPOLLET with unsigned values.
48617         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
48618         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
48619
48620         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
48621         to large cancellation.
48622         * math/s_cacoshf.c: Likewise.
48623         * math/s_cacoshl.c: Likewise.
48624
48625 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
48626
48627         [BZ #13305]
48628         [BZ #12786]
48629         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
48630         * math/s_cacoshf.c: Likewise.
48631         * math/s_cacoshl.c: Likewise.
48632
48633 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
48634
48635         [BZ #13439]
48636         * iconv/gconv.h: Define __GCONV_SWAP.
48637         * iconvdata/unicode.c: The swap bit must be stored in __flags.
48638         * iconvdata/utf-16.c: Likewise.
48639         * iconvdata/utf-32.c: Likewise.
48640
48641 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
48642
48643         [BZ #13524]
48644         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
48645         numerator after shifting it by one limb.
48646
48647 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
48648
48649         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
48650         under [__USE_EXTERN_INLINES].
48651
48652 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
48653
48654         [BZ #13446]
48655         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
48656
48657 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48658
48659         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
48660         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
48661         optimized code.
48662         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
48663         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
48664         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
48665         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
48666         for strncasecmp/strncasecmp_l compilation.
48667         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
48668         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
48669
48670 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
48671
48672         [BZ #13484]
48673         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
48674         of __asm__.
48675
48676 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
48677
48678         [BZ #13506]
48679         * time/tzfile.c (__tzfile_read): Check values from file header.
48680
48681 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
48682
48683         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
48684         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
48685         * powerpc/powerpc32/dl-start.S: Likewise.
48686         * powerpc/powerpc32/elf/start.S: Likewise.
48687         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
48688         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
48689         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
48690         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
48691         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
48692         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
48693         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
48694         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
48695         * powerpc/powerpc32/fpu/s_round.S: Likewise.
48696         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
48697         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
48698         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
48699         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
48700         * powerpc/powerpc32/memset.S: Likewise.
48701         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
48702         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
48703         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
48704         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
48705         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
48706         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
48707         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
48708         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
48709         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
48710         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
48711         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
48712         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
48713         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
48714
48715 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48716
48717         * math/libm-test.inc: Added more nearbyint tests.
48718         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
48719         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
48720         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
48721         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
48722
48723 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
48724
48725         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
48726         FD_CLOEXEC.
48727
48728 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48729
48730         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
48731         Add wcscpy-ssse3 wcscpy-c.
48732         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
48733         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
48734         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
48735         * sysdeps/x86_64/wcschr.S: New file.
48736         * sysdeps/x86_64/wcsrchr.S: New file.
48737         * string/test-strcmp.c: Remove checking of wcscmp function for
48738         wrong alignments.
48739         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
48740         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
48741         wcsrchr-sse2 wcsrchr-c.
48742         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
48743         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
48744         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
48745         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
48746         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
48747         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
48748         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
48749         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
48750         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
48751         * wcsmbc/wcschr.c (WCSCHR): New macro.
48752
48753 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48754
48755         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
48756         * wcsmbs/test-wcsrchr.c: New file.
48757         * string/test-strrchr.c: Add wcsrchr support.
48758         (WIDE): New macro.
48759         * wcsmbs/test-wcscpy.c: New file.
48760         * string/test-strcpy.c: Add wcscpy support.
48761         (WIDE): New macro.
48762
48763 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
48764
48765         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
48766         the inner loop.
48767
48768 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
48769
48770         [BZ #13472]
48771         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
48772
48773 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
48774
48775         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
48776         Minor optimizations.
48777
48778         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
48779         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
48780         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
48781
48782 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
48783
48784         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
48785         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
48786         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
48787         for gcc to avoid warnings.
48788         * inet/Makefile (tests): Add tst-checks.
48789         * inet/tst-checks.c: New file.
48790
48791         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
48792         warning.
48793
48794         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
48795         __wmemcmp_sse2.
48796
48797         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
48798         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
48799
48800         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
48801
48802 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
48803
48804         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
48805         problem.
48806
48807         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
48808
48809 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
48810
48811         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
48812         conditional on GCC version.
48813         (__arch_compare_and_exchange_val_8_acq)
48814         (__arch_compare_and_exchange_val_16_acq)
48815         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
48816         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
48817         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
48818
48819 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
48820
48821         * sysdeps/sh/backtrace.c: New file.
48822
48823 2011-12-02  Andreas Schwab  <schwab@redhat.com>
48824
48825         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
48826         parenthesis.
48827
48828 2011-12-01  Andreas Schwab  <schwab@redhat.com>
48829
48830         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
48831         falling back to utime.
48832
48833 2011-11-30  Andreas Schwab  <schwab@redhat.com>
48834
48835         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
48836         expectations for float.
48837
48838 2011-11-29  Andreas Schwab  <schwab@redhat.com>
48839
48840         * locale/weight.h (findidx): Add parameter len.
48841         * locale/weightwc.h (findidx): Likewise.
48842         * posix/fnmatch_loop.c (FCT): Adjust caller.
48843         * posix/regcomp.c (build_equiv_class): Likewise.
48844         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
48845         * posix/regexec.c (check_node_accept_bytes): Likewise.
48846         * string/strcoll_l.c (STRCOLL): Likewise.
48847         * string/strxfrm_l.c (STRXFRM): Likewise.
48848
48849 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
48850
48851         * Makefile.in: Remove CVSOPT handling.
48852         * configure.in: Remove use of AC_REVISION.
48853         * iconvdata/Makefile (distribute): No need to filter out CVS.
48854         * scripts/list-sources.sh: Remove CVS, subversion and monotone
48855         handling.
48856
48857 2011-11-16  Andreas Schwab  <schwab@redhat.com>
48858
48859         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
48860         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
48861         [USE_AS_STRNCASECMP_L]: Likewise.
48862         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
48863         NO_TLS_DIRECT_SEG_REFS.
48864         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
48865         Fix argument offsets for non-PIC.
48866         [USE_AS_STRNCASECMP_L]: Likewise.
48867         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
48868         NO_TLS_DIRECT_SEG_REFS.
48869
48870 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
48871
48872         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
48873         O_CLOEXEC.
48874         * locale/loadlocale.c (_nl_load_locale): Likewise.
48875
48876 2011-11-15  Andreas Schwab  <schwab@redhat.com>
48877
48878         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
48879         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
48880         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
48881         (SYSCALL_GETTIME): Set errno on error.
48882
48883         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
48884         count references to noai6ai_cached.
48885
48886 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
48887
48888         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
48889
48890         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
48891         FD_CLOEXEC for /proc/self/maps.
48892
48893         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
48894         FD_CLOEXEC for /proc/meminfo.
48895
48896         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
48897         gai.conf.
48898
48899         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
48900         FD_CLOEXEC for given file.
48901
48902         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
48903
48904         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
48905         FD_CLOEXEC for /etc/hosts.
48906         (_gethtent): Likewise.
48907
48908         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
48909
48910         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
48911         cancellation and set FD_CLOEXEC for /etc/netgroup.
48912
48913         * nss/nss_files/files-key.c (search): Don't allow cancellation when
48914         reading /etc/publickey.
48915
48916         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
48917         allow cancellation when reading /etc/group.
48918
48919         * nss/nss_files/files-alias.c (internal_setent): Don't allow
48920         cancellation.
48921         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
48922
48923         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
48924         when using data file.
48925
48926         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
48927
48928         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
48929         (write_nis_obj): Use "c" and "e" in fopen.
48930
48931         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
48932
48933         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
48934
48935         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
48936
48937         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
48938
48939         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
48940         locale.alias.
48941
48942         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
48943
48944         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
48945
48946         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
48947
48948         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
48949         file parsing and set FD_CLOEXEC.
48950
48951 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
48952
48953         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
48954
48955 2011-11-14  Andreas Schwab  <schwab@redhat.com>
48956
48957         * malloc/arena.c (arena_get2): Don't call reused_arena when
48958         _int_new_arena failed.
48959
48960 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
48961
48962         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
48963         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
48964         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
48965         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
48966         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
48967         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
48968         to compile strcasecmp and strncasecmp.
48969         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
48970         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
48971
48972         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
48973
48974 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
48975
48976         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
48977         locale-defines.sym to gen-as-const-headers.
48978         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
48979         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
48980         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
48981         to compile strcasecmp and strncasecmp.
48982         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
48983         strcasecmp_l and strncasecmp_l.
48984         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
48985         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
48986         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
48987         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
48988         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
48989         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
48990         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
48991         * sysdeps/i386/i686/multiarch/strncase.S: New file.
48992         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
48993         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
48994         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
48995
48996 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
48997
48998         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
48999         result of SYSDEP_GETTIME_CPU to retval.
49000         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
49001         parameter list to macro.  Remove trailing semicolon.  Adjust users.
49002
49003         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
49004         variable.
49005
49006         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
49007         mantissa words.
49008         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
49009
49010         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
49011         from unused variable.
49012
49013         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
49014         DWARF definitions.
49015         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
49016         for assembling.
49017
49018         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
49019         over namespaces.
49020
49021         * sunrpc/rpc_prot.c (rejected): Fix case value.
49022
49023         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
49024         unsigned long long int to avoid warnings in shift.
49025
49026         * posix/regex_internal.c (re_string_reconstruct): Actually use result
49027         of use of trans.
49028         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
49029         variable tmp.
49030
49031         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
49032         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
49033         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
49034
49035         * nis/nis_table.c (nis_list): Use variable of correct type for
49036         result of __follow_path call.
49037
49038 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49039
49040         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
49041         of math functions ceil, trunc, floor, round, and sqrt, when
49042         avaliable on the platform.
49043         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
49044         name clash.
49045         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
49046         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
49047         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
49048
49049 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
49050
49051         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
49052         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
49053
49054 2011-11-11  Roland McGrath  <roland@hack.frob.com>
49055
49056         * include/unistd.h: Fix __readlink return type.
49057         Reported by Chris Metcalf <cmetcalf@tilera.com>.
49058
49059 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
49060
49061         * stdlib/ucontext.h: Undo last change for makecontext.
49062
49063 2011-11-11  Andreas Schwab  <schwab@redhat.com>
49064
49065         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
49066
49067         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
49068         * setjmp/setjmp.h: Mark functions as non-leaf.
49069         * setjmp/bits/setjmp2.h: Likewise.
49070         * stdlib/ucontext.h: Likewise.
49071
49072 2011-11-10  Andreas Schwab  <schwab@redhat.com>
49073
49074         * malloc/arena.c (_int_new_arena): Don't increment narenas.
49075         (reused_arena): Don't check arena limit.
49076         (arena_get2): Atomically check arena limit.
49077
49078 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
49079
49080         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
49081         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
49082
49083         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
49084         instructions.
49085
49086 2011-11-07  Andreas Schwab  <schwab@redhat.com>
49087
49088         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
49089         handler when locking.
49090
49091         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
49092         Fix size of allocated buffer.
49093
49094 2011-11-04  Andreas Schwab  <schwab@redhat.com>
49095
49096         [BZ #10103]
49097         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
49098         declarations for long double functions.
49099         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
49100
49101         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
49102
49103 2011-11-03  Andreas Schwab  <schwab@redhat.com>
49104
49105         * nscd/nscd.c (main): Don't start AVC thread until credentials are
49106         installed.
49107
49108         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
49109         is disabled.
49110
49111 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49112
49113         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
49114
49115 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
49116
49117         * include/alloca.h (stackinfo_alloca_round): Define.
49118         (extend_alloca): Use it.
49119         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
49120         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
49121         here.
49122
49123         * scripts/check-local-headers.sh: Ignore libaudit.h.
49124
49125         * nscd/Makefile (extra-objs): Make recursively expanded.
49126
49127 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
49128
49129         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
49130         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
49131
49132         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
49133         * posix/tst-rfc3484-2.c: Likewise.
49134         * posix/tst-rfc3484-3.c: Likewise.
49135
49136         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
49137         process_vm_writev.
49138         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
49139         process_vm_writev.
49140         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
49141         process_vm_writev from libc using GLIBC_2.15 version.
49142
49143         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
49144
49145 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
49146
49147         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
49148         stack usage.
49149
49150 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
49151
49152         [BZ #13367]
49153         * nss/getent.c (initgroups_keys): Show error message in case no group
49154         names are given.
49155
49156         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
49157         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
49158         __bump_nl_timestamp.
49159         * nscd/connections (nscd_init): When host database is served open
49160         netlink socket and request notification about configuration changes.
49161         (main_loop_poll): Track netlink file descriptor and bump timestamp
49162         in case data becomes available.
49163         (main_loop_epoll): Likewise.
49164         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
49165         (database_pers_head): Add extra_data fileds.
49166         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
49167         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
49168         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
49169         Adjust caller.
49170         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
49171         in6ai data, call __free_in6ai.
49172         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
49173         Add -DHAVE_NETLINK.
49174         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
49175         interface information.  Reuse previous data if netlink timestamp
49176         is not changed.
49177         (__bump_nl_timestamp): New function.
49178         (__free_in6ai): New function.
49179
49180 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
49181
49182         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
49183         close_not_cancel_no_status here.
49184         (__check_pf): Reorganize code a bit to not call close twice if OOM.
49185
49186 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
49187
49188         [BZ #13276]
49189         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
49190         return value.
49191
49192         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
49193         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
49194         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
49195
49196 2011-07-03  Andreas Jaeger  <aj@suse.de>
49197
49198         [BZ #10709]
49199         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
49200         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
49201         * math/libm-test.inc (sin_test): Add test case.
49202
49203 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
49204
49205         [BZ #13337]
49206         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
49207         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
49208
49209         * elf/chroot_canon.c (chroot_canon): Cleanups.
49210
49211         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
49212
49213         [BZ #13335]
49214         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
49215         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
49216
49217         * string/test-strchr.c: Make usable for strchrnul testing.
49218         * string/test-strchrnul.c: New file.
49219         * string/Makefile (strop-tests): Add strchrnul.
49220
49221         * po/it.po: Update from translation team.
49222         * po/es.po: Likewise.
49223
49224 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
49225
49226         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
49227         the three constants needed as parameters.  Drop the others.
49228         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
49229         __m128i_strloadu_tolower.
49230         Create and initialize variable zero and use it in all the places
49231         where _mm_setzero_si128 was used.
49232
49233         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
49234         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
49235         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
49236         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
49237         anymore.
49238         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
49239         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
49240         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
49241         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
49242         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
49243         __mpranred, __mptan.
49244         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
49245         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
49246         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
49247         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
49248         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
49249         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
49250         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
49251         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
49252         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
49253
49254 2011-10-28  Andreas Schwab  <schwab@redhat.com>
49255
49256         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
49257         redefine if SHARED.
49258         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
49259
49260         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
49261         wide char related routines to wcsmbs subdir.
49262
49263 2011-10-27  Andreas Schwab  <schwab@redhat.com>
49264
49265         [BZ #13344]
49266         * misc/sys/cdefs.h (__THROWNL): Define.
49267         * posix/unistd.h: Use __THREADNL instead of __THREAD
49268         for memory synchronization functions.
49269
49270 2011-10-26  Roland McGrath  <roland@hack.frob.com>
49271
49272         [BZ #13349]
49273         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
49274         doesn't exist.
49275         * manual/stdio.texi (Obstack Streams): Node removed.
49276
49277 2011-10-26  Andreas Schwab  <schwab@redhat.com>
49278
49279         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
49280         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
49281         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
49282
49283         * math/math_private.h (math_force_eval): Allow non-addressable
49284         arguments.
49285         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
49286
49287 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
49288
49289         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
49290         file is not needed.
49291
49292         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
49293         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
49294         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
49295         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
49296         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
49297         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
49298         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
49299         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
49300         Add AVX variants.
49301         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
49302         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
49303         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
49304         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
49305         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
49306         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
49307         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
49308         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
49309         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
49310         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
49311         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
49312         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
49313         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
49314         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
49315         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
49316         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
49317         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
49318         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
49319         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
49320
49321         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
49322         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
49323
49324         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
49325         place.  Use VEX encoding when compiling for AVX.
49326
49327 2011-10-25  Andreas Schwab  <schwab@redhat.com>
49328
49329         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
49330         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
49331
49332         * string/test-strchr.c (do_test): Don't generate NUL bytes.
49333
49334 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
49335
49336         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
49337         useless if() expression.
49338         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
49339         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
49340         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
49341         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49342         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
49343         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
49344         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
49345         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
49346         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
49347         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
49348         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
49349         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
49350         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
49351         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
49352         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
49353         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
49354         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
49355         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
49356         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
49357
49358         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
49359
49360 2011-10-25  Andreas Schwab  <schwab@redhat.com>
49361
49362         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
49363         condition.
49364         * elf/dl-fini.c (_dl_sort_fini): Likewise.
49365
49366 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
49367
49368         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
49369         .text section.  Avoid duplicate constants.
49370         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
49371         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49372         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
49373         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49374         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49375         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49376         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49377         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49378         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
49379         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
49380         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
49381         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
49382         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
49383         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
49384         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
49385         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
49386         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
49387         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
49388         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
49389         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49390         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
49391         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
49392         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
49393         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
49394         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
49395         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
49396         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
49397         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
49398         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
49399         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
49400         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
49401         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
49402         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
49403         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
49404         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
49405         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
49406         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
49407         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
49408         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
49409         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
49410         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
49411         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
49412         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
49413         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
49414         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
49415
49416 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
49417
49418         * sysdeps/x86_64/dla.h: Move to ...
49419         * sysdeps/x86_64/fpu/dla.h: ...here.
49420         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
49421         situations.  Use __builtin_fma only for gcc 4.6 and up.
49422
49423         * config.make.in: Add have-mfma4 entry.
49424         * configure.in: Substitute libc_cv_cc_fma4.
49425         * math/Makefile (dbl-only-routines): Add sincostab.
49426         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
49427         Use __sincostab not sincos.
49428         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
49429         name is a macro.
49430         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49431         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49432         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49433         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
49434         using __copysign.
49435         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
49436         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
49437         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
49438         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
49439         and __inv.
49440         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
49441         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
49442         __copysign.
49443         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
49444         define aliases when function name is a macro.
49445         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
49446         sysdeps/ieee754/dbl-64/sincos.tbl.
49447         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
49448         fma4-enabled routines.
49449         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
49450         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
49451         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
49452         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
49453         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
49454         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
49455         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
49456         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
49457         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
49458         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
49459         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
49460         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
49461         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
49462         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
49463         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
49464         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
49465         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
49466         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
49467         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
49468         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
49469         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
49470         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
49471         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
49472         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
49473         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
49474         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
49475         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
49476         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
49477         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
49478         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
49479
49480         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
49481         rename.
49482         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49483         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49484         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49485         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49486         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49487         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49488         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49489         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49490
49491 2011-10-24  Andreas Schwab  <schwab@redhat.com>
49492
49493         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
49494
49495 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
49496
49497         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
49498
49499         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
49500         prediction.
49501         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
49502
49503         * string/strnlen.c: Don't define STRNLEN, reverse logic.
49504         Remove unused variable magic_bits.
49505         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
49506
49507         * string/strnlen.c: Define and use STRNLEN macro.
49508         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
49509         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
49510         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
49511         * wcsmbs/wcslen.c: Define and use WCSLEN.
49512         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
49513         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
49514         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
49515         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
49516         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
49517         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
49518         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
49519
49520 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49521
49522         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49523         strnlen-sse2-no-bsf.
49524         Rename strlen-no-bsf to strlen-sse2-no-bsf.
49525         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
49526         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
49527         Add strnlen support.
49528         (USE_AS_STRNLEN): New macro.
49529         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
49530         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
49531         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
49532         * sysdeps/x86_64/wcslen.S: New file.
49533
49534 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
49535
49536         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
49537         XMM-moves are used for copying on small sizes.
49538
49539 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49540
49541         * wcsmbs/Makefile (strop-tests): Add wcschr.
49542         * wcsmbs/test-wcschr.c: New file.
49543         * string/test-strchr.c: Update.
49544         Add wcschr support.
49545         (WIDE): New macro.
49546
49547 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49548
49549         * wcsmbs/Makefile (strop-tests): Add wcslen.
49550         * wcsmbs/test-wcslen.c: New file.
49551         * string/test-strlen.c: Update.
49552         Add wcslen support.
49553         (WIDE): New macro.
49554
49555 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
49556
49557         * po/it.po: Update from translation team.
49558
49559 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49560
49561         * sysdeps/x86_64/wcscmp.S: Update.
49562         Fix wrong comparison semantics.
49563         wcscmp shall use signed comparison not unsigned.
49564         Don't use substraction to avoid overflow bug.
49565         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
49566         * wcsmbc/wcscmp.c: Likewise.
49567         * string/test-strcmp.c: Likewise.
49568         Add new tests to check cases with negative values.
49569
49570 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
49571
49572         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
49573         * sysdeps/x86_64/dla.h: ...here.  New file.
49574         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
49575         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49576         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49577         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49578         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49579         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
49580         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49581         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49582         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49583
49584 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
49585
49586         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
49587         __ynl_finite aliases.
49588
49589 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
49590
49591         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49592
49593         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
49594         define DLA_FMA.
49595         [DLA_FMA] (EMULV): Use DLA_FMA.
49596         [DLA_FMA] (MUL12): Use EMULV.
49597         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
49598         that are not needed.
49599         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49600         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49601         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49602         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49603         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49604         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49605         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49606
49607 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
49608
49609         * math/s_nan.c: Undef __nan.
49610         * math/s_nanf.c: Undef __nanf.
49611         * math/s_nanl.c: Undef __nanl.
49612         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
49613         "math_private.h".
49614
49615 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
49616
49617         * math/s_catan.c: Add branch predictions.
49618         * math/s_catanf.c: Likewise.
49619         * math/s_catanh.c: Likewise.
49620         * math/s_catanhf.c: Likewise.
49621         * math/s_catanhl.c: Likewise.
49622         * math/s_catanl.c: Likewise.
49623         * math/s_cexp.c: Likewise.
49624         * math/s_cexpf.c: Likewise.
49625         * math/s_cexpl.c: Likewise.
49626         * math/s_clog.c: Likewise.
49627         * math/s_clog10.c: Likewise.
49628         * math/s_clog10f.c: Likewise.
49629         * math/s_clog10l.c: Likewise.
49630         * math/s_clogf.c: Likewise.
49631         * math/s_clogl.c: Likewise.
49632         * math/s_csqrt.c: Likewise.
49633         * math/s_csqrtf.c: Likewise.
49634         * math/s_csqrtl.c: Likewise.
49635         * math/s_ctanf.c: Likewise.
49636         * math/s_ctanh.c: Likewise.
49637         * math/s_ctanhf.c: Likewise.
49638         * math/s_ctanhl.c: Likewise.
49639         * math/s_ctanl.c: Likewise.
49640
49641         * math/math_private.h: Define __nan, __nanf, __nanl.
49642         * math/s_cacosh.c: Include <math_private.h>.
49643         * math/s_cacoshl.c: Likewise.
49644         * math/s_casinh.c: Likewise.
49645         * math/s_casinhf.c: Likewise.
49646         * math/s_casinhl.c: Likewise.
49647         * math/s_ccos.c: Rely entire on ccosh.
49648         * math/s_ccosf.c: Rely entire on ccoshf.
49649         * math/s_ccosl.c: Rely entirely on ccoshl.
49650         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
49651         Remove tests for FE_INVALID.
49652         * math/s_ccoshf.c: Likewise.
49653         * math/s_ccoshl.c: Likewise.
49654         * math/s_csin.c: Likewise.
49655         * math/s_csinf.c: Likewise.
49656         * math/s_csinh.c Likewise.
49657         * math/s_csinhf.c: Likewise.
49658         * math/s_csinhl.c: Likewise.
49659         * math/s_csinl.c: Likewise.
49660         * math/s_ctan.c: Likewise.
49661         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
49662         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
49663         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
49664
49665 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
49666
49667         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
49668         compilation problems.
49669
49670         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
49671         __builtin_expect.
49672
49673 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
49674
49675         * sysdeps/i386/configure.in: Test for -mfma4 option.
49676         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
49677         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
49678         COMMON_CPUID_INDEX_80000001.
49679         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
49680         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
49681         use it if FMA3 is not supported.
49682         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
49683
49684         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
49685         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
49686
49687 2011-10-20  Andreas Schwab  <schwab@redhat.com>
49688
49689         [BZ #12892]
49690         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
49691         it would create a cycle with a link time dependency.
49692
49693 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
49694
49695         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
49696         instruction.
49697         * string/Makefile (strop-tests): Add rawmemchr.
49698         * string/test-rawmemchr.c: New file.
49699
49700         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
49701         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
49702         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
49703         when compiling str{,n}casecmp and when AVX is available.  Hook up
49704         new optimized code in initializers.
49705
49706 2011-10-19  Andreas Schwab  <schwab@redhat.com>
49707
49708         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
49709         __feraiseexcept instead of feraiseexcept.
49710
49711 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
49712
49713         * math/math_private.h: Define defaults for libc_fetestexcept and
49714         libc_feupdateenv.
49715         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
49716         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
49717         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
49718         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
49719         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
49720         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
49721         libc_fetestexcept and libc_feupdateenv.
49722
49723         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
49724         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
49725         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
49726         * sysdeps/x86_64/fpu/math_private.h: Define special version of
49727         libc_feholdexcept_setround.
49728
49729         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
49730         Add s_nearbyint-c and s_nearbyintf-c.
49731         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
49732         nearbyintf inlines.
49733         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
49734         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
49735         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
49736         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
49737
49738         * math/math_private.h: Define defaults for libc_fegetround,
49739         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
49740         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
49741         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
49742         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
49743         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
49744         standard functions.
49745         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
49746         Remove comments and hacks for old compiler versions.
49747         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
49748         libc_fegetround, libc_fesetround, libc_feholdexcept, and
49749         libc_feholdexceptl.
49750
49751 2011-10-18  Andreas Schwab  <schwab@redhat.com>
49752
49753         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
49754         (__feraiseexcept_renamed): Add __NTH.
49755         (feraiseexcept): Add __NTH.  Rename local variables to fix
49756         namespace violations.
49757
49758 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
49759
49760         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
49761
49762         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
49763
49764         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
49765         recently added interfaces.
49766         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
49767
49768         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
49769         about macro parameter expansion.
49770
49771         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
49772         __NO_MATH_INLINES is defined.  Cleanups.
49773
49774         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
49775         and __floorf is target has SSE4.1.
49776         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
49777         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
49778         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
49779         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
49780
49781         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
49782         name.
49783         (floorf): Likewise.
49784
49785         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
49786
49787 2011-10-17  Andreas Schwab  <schwab@redhat.com>
49788
49789         * misc/sys/cdefs.h: Fix last change.
49790
49791         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
49792         database lookup.
49793
49794 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
49795
49796         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
49797
49798         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
49799         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49800         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
49801         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
49802         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
49803         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
49804         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
49805         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
49806         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
49807         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
49808         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
49809         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
49810         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
49811         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
49812         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
49813         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
49814         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
49815         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
49816         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
49817         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
49818         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
49819         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
49820
49821         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
49822         ceil, ceilf, floor, floorf.
49823
49824         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
49825         Perform IRELATIVE relocations last.
49826
49827         * elf/do-rel.h: Add another parameter nrelative, replacing the
49828         local variable with the same name.  Change name of the function
49829         to end in Rel or Rela (uppercase).
49830         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
49831         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
49832         elf_dynamic_do_##reloc function.
49833
49834 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
49835
49836         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
49837         is sufficient, at least on modern CPUs.
49838
49839         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
49840
49841         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
49842         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
49843
49844         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
49845         __expl_finite.
49846         * math/bits/math-finite.h: Add entries for exp.
49847         * math/e_expl.c: Add __*_finite alias.
49848         * sysdeps/i386/fpu/e_exp.S: Likewise.
49849         * sysdeps/i386/fpu/e_expf.S: Likewise.
49850         * sysdeps/i386/fpu/e_expl.c: Likewise.
49851         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49852         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
49853         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
49854         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
49855         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
49856         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
49857         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
49858
49859         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
49860         is sufficient, at least on modern CPUs.
49861
49862         * ctype/ctype-info.c (__ctype_init): Define.
49863         * include/ctype.h (__ctype_init): Declare.
49864         (__ctype_b_loc): The variable is always initialized.
49865         (__ctype_toupper_loc): Likewise.
49866         (__ctype_tolower_loc): Likewise.
49867         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
49868         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
49869
49870 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
49871
49872         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
49873
49874         * configure.in: Also look in $cxxmachine/include for C++ system
49875         headers.
49876
49877 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49878
49879         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
49880         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
49881         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
49882         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
49883         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
49884         (USE_AS_WMEMCMP): New macro.
49885         Fixing indents.
49886         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
49887         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
49888         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
49889         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
49890         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49891         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
49892         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
49893         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
49894         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
49895         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
49896         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
49897         (USE_AS_WMEMCMP): New macro.
49898         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
49899         * sysdeps/string/test-memcmp.c: Update.
49900         Fix simple_wmemcmp.
49901         Add new tests.
49902         * wcsmbs/wmemcmp.c: Update.
49903         (WMEMCMP): New macro.
49904         Fix overflow bug.
49905
49906 2011-10-12  Andreas Jaeger  <aj@suse.de>
49907
49908         [BZ #13268]
49909         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
49910
49911 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
49912
49913         * libio/iofwide.c (do_length): Avoid warning.
49914
49915         * ctype/ctype.h (__isctype_f): Add missing __THROW.
49916
49917 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
49918
49919         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
49920
49921         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
49922         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
49923         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
49924         * sysdeps/i386/i686/fpu/e_log.S: New file.
49925         * sysdeps/i386/i686/fpu/e_logf.S: New file.
49926         * sysdeps/i386/i686/fpu/e_logl.S: New file.
49927
49928         * ctype/ctype.h: Add support for inlined isXXX functions when
49929         compiling C++ code.
49930
49931 2011-10-14  Andreas Schwab  <schwab@redhat.com>
49932
49933         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49934
49935         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
49936
49937 2011-10-13  Roland McGrath  <roland@hack.frob.com>
49938
49939         [BZ #13291]
49940         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
49941
49942 2011-10-13  Andreas Schwab  <schwab@redhat.com>
49943
49944         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
49945         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
49946         feraiseexcept.
49947
49948         * sysdeps/x86_64/memrchr.S: Check for zero size.
49949
49950         * string/stratcliff.c: Add memrchr tests.
49951
49952 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49953
49954         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49955         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
49956         rawmemchr-sse2 rawmemchr-sse2-bsf.
49957         * sysdeps/i386/i686/multiarch/memchr.S: New file.
49958         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
49959         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
49960         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
49961         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
49962         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
49963         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
49964         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
49965         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
49966         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
49967         * string/memrchr.c (MEMRCHR): New macro.
49968
49969 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
49970
49971         Add integration with gcc's -ffinite-math-only and optimize wrapper
49972         functions in libm.
49973         * Versions.def: Define GLIBC_2.15 version for libm.
49974         * math/Makefile (headers): Add bits/math-finite.h.
49975         * math/bits/math-finite.h: New file.
49976         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
49977         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
49978         * math/e_acoshl.c: Add __*_finite alias.
49979         * math/e_acosl.c: Likewise.
49980         * math/e_asinl.c: Likewise.
49981         * math/e_atan2l.c: Likewise.
49982         * math/e_atanhl.c: Likewise.
49983         * math/e_coshl.c: Likewise.
49984         * math/e_exp10.c: Likewise.
49985         * math/e_exp10f.c: Likewise.
49986         * math/e_exp10l.c: Likewise.
49987         * math/e_exp2l.c: Likewise.
49988         * math/e_fmodl.c: Likewise.
49989         * math/e_gammal_r.c: Likewise.
49990         * math/e_hypotl.c: Likewise.
49991         * math/e_j0l.c: Likewise.
49992         * math/e_j1l.c: Likewise.
49993         * math/e_jnl.c: Likewise.
49994         * math/e_lgammal_r.c: Likewise.
49995         * math/e_log10l.c: Likewise.
49996         * math/e_log2l.c: Likewise.
49997         * math/e_logl.c: Likewise.
49998         * math/e_powl.c: Likewise.
49999         * math/e_sinhl.c: Likewise.
50000         * math/e_sqrtl.c: Likewise.
50001         * math/e_scalb.c: Completely rewritten and optimized.
50002         * math/e_scalbf.c: Likewise.
50003         * math/e_scalbl.c: Likewise.
50004         * math/w_acos.c: Likewise.
50005         * math/w_acosf.c: Likewise.
50006         * math/w_acosl.c: Likewise.
50007         * math/w_acosh.c: Likewise.
50008         * math/w_acoshf.c: Likewise.
50009         * math/w_acoshl.c: Likewise.
50010         * math/w_asin.c: Likewise.
50011         * math/w_asinf.c: Likewise.
50012         * math/w_asinl.c: Likewise.
50013         * math/w_atan2.c: Likewise.
50014         * math/w_atan2f.c: Likewise.
50015         * math/w_atan2l.c: Likewise.
50016         * math/w_atanh.c: Likewise.
50017         * math/w_atanhf.c: Likewise.
50018         * math/w_atanhl.c: Likewise.
50019         * math/w_exp10.c: Likewise.
50020         * math/w_exp10f.c: Likewise.
50021         * math/w_exp10l.c: Likewise.
50022         * math/w_fmod.c: Likewise.
50023         * math/w_fmodf.c: Likewise.
50024         * math/w_fmodl.c: Likewise.
50025         * math/w_j0.c: Likewise.
50026         * math/w_j0f.c: Likewise.
50027         * math/w_j0l.c: Likewise.
50028         * math/w_j1.c: Likewise.
50029         * math/w_j1f.c: Likewise.
50030         * math/w_j1l.c: Likewise.
50031         * math/w_jn.c: Likewise.
50032         * math/w_jnf.c: Likewise.
50033         * math/w_log.c: Likewise.
50034         * math/w_logf.c: Likewise.
50035         * math/w_logl.c: Likewise.
50036         * math/w_log10.c: Likewise.
50037         * math/w_log10f.c: Likewise.
50038         * math/w_log10l.c: Likewise.
50039         * math/w_log2.c: Likewise.
50040         * math/w_log2f.c: Likewise.
50041         * math/w_log2l.c: Likewise.
50042         * math/w_pow.c: Likewise.
50043         * math/w_powf.c: Likewise.
50044         * math/w_powl.c: Likewise.
50045         * math/w_remainder.c: Likewise.
50046         * math/w_remainderf.c: Likewise.
50047         * math/w_remainderl.c: Likewise.
50048         * math/w_scalb.c: Likewise.
50049         * math/w_scalbf.c: Likewise.
50050         * math/w_scalbl.c: Likewise.
50051         * math/w_sqrt.c: Likewise.
50052         * math/w_sqrtf.c: Likewise.
50053         * math/w_sqrtl.c: Likewise.
50054         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
50055         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
50056         used.
50057         * math/math_private.h: Declare __kernel_standard_f.
50058         * math/w_cosh.c: Remove cruft and optimize a bit.
50059         * math/w_coshf.c: Likewise.
50060         * math/w_coshl.c: Likewise.
50061         * math/w_exp2.c: Likewise.
50062         * math/w_exp2f.c: Likewise.
50063         * math/w_exp2l.c: Likewise.
50064         * math/w_hypot.c: Likewise.
50065         * math/w_hypotf.c: Likewise.
50066         * math/w_hypotl.c: Likewise.
50067         * math/w_lgamma.c: Likewise.
50068         * math/w_lgamma_r.c: Likewise.
50069         * math/w_lgammaf.c: Likewise.
50070         * math/w_lgammaf_r.c: Likewise.
50071         * math/w_lgammal.c: Likewise.
50072         * math/w_lgammal_r.c: Likewise.
50073         * math/w_sinh.c: Likewise.
50074         * math/w_sinhf.c: Likewise.
50075         * math/w_sinhl.c: Likewise.
50076         * math/w_tgamma.c: Likewise.
50077         * math/w_tgammaf.c: Likewise.
50078         * math/w_tgammal.c: Likewise.
50079         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
50080         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
50081         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
50082         Minor optimizations.  Pretty printing.  Remove cruft.
50083         * sysdeps/i386/fpu/e_acosf.S: Likewise.
50084         * sysdeps/i386/fpu/e_acosh.S: Likewise.
50085         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
50086         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
50087         * sysdeps/i386/fpu/e_acosl.c: Likewise.
50088         * sysdeps/i386/fpu/e_asin.S: Likewise.
50089         * sysdeps/i386/fpu/e_asinf.S: Likewise.
50090         * sysdeps/i386/fpu/e_atan2.S: Likewise.
50091         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
50092         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
50093         * sysdeps/i386/fpu/e_atanh.S: Likewise.
50094         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
50095         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
50096         * sysdeps/i386/fpu/e_exp10.S: Likewise.
50097         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
50098         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
50099         * sysdeps/i386/fpu/e_exp2.S: Likewise.
50100         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
50101         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
50102         * sysdeps/i386/fpu/e_fmod.S: Likewise.
50103         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
50104         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
50105         * sysdeps/i386/fpu/e_hypot.S: Likewise.
50106         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
50107         * sysdeps/i386/fpu/e_log.S: Likewise.
50108         * sysdeps/i386/fpu/e_log10.S: Likewise.
50109         * sysdeps/i386/fpu/e_log10f.S: Likewise.
50110         * sysdeps/i386/fpu/e_log10l.S: Likewise.
50111         * sysdeps/i386/fpu/e_log2.S: Likewise.
50112         * sysdeps/i386/fpu/e_log2f.S: Likewise.
50113         * sysdeps/i386/fpu/e_log2l.S: Likewise.
50114         * sysdeps/i386/fpu/e_logf.S: Likewise.
50115         * sysdeps/i386/fpu/e_logl.S: Likewise.
50116         * sysdeps/i386/fpu/e_pow.S: Likewise.
50117         * sysdeps/i386/fpu/e_powf.S: Likewise.
50118         * sysdeps/i386/fpu/e_powl.S: Likewise.
50119         * sysdeps/i386/fpu/e_remainder.S: Likewise.
50120         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
50121         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
50122         * sysdeps/i386/fpu/e_scalb.S: Likewise.
50123         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
50124         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
50125         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
50126         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
50127         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
50128         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
50129         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
50130         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50131         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
50132         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
50133         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
50134         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
50135         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
50136         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
50137         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
50138         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
50139         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
50140         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50141         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
50142         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
50143         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50144         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
50145         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
50146         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
50147         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50148         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
50149         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
50150         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
50151         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
50152         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
50153         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
50154         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
50155         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
50156         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
50157         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
50158         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
50159         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
50160         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
50161         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
50162         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
50163         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
50164         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
50165         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
50166         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
50167         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
50168         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
50169         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
50170         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
50171         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
50172         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
50173         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
50174         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
50175         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
50176         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
50177         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
50178         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
50179         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
50180         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
50181         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
50182         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
50183         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
50184         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
50185         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
50186         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
50187         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
50188         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
50189         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
50190         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
50191         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
50192         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
50193         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
50194         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
50195         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
50196         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
50197         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
50198         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
50199         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
50200         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
50201         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
50202         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
50203         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
50204         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
50205         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
50206         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
50207         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
50208         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
50209         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
50210         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
50211         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
50212         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
50213         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
50214         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
50215         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
50216         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
50217         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
50218         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
50219         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
50220         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
50221         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
50222         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
50223         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
50224         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
50225         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
50226         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
50227         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
50228         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
50229         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
50230         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
50231         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
50232         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
50233         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
50234         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
50235         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
50236         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
50237         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
50238         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
50239         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
50240         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
50241         (__isnanf): Likewise.
50242         (__isinf_ns): Likewise.
50243         (__isinf_nsf): Likewise.
50244         (__finite): Likewise.
50245         (__finitef): Likewise.
50246         (__ieee754_sqrt): Define as macro.
50247         (__ieee754_sqrtf): Define as macro.
50248         (__ieee754_sqrtl): Define as macro.
50249         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
50250         inlined copy.
50251         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
50252         __FINITE_MATH_ONLY__ consistent.
50253         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
50254
50255 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
50256
50257         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
50258         of rawmemchr.
50259
50260         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
50261
50262 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
50263
50264         * po/ja.po: Update from translation team.
50265
50266 2011-10-08  Roland McGrath  <roland@hack.frob.com>
50267
50268         * locale/programs/locarchive.c (prepare_address_space): New function.
50269         (create_archive, enlarge_archive, open_archive): Use it.
50270
50271         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
50272         inside [SHARED], where it is used.
50273
50274         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
50275
50276         * nss/getent.c (netgroup_keys): Remove unused variable.
50277         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
50278
50279 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
50280
50281         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
50282         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
50283         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
50284         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
50285         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
50286         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
50287         * math/Makefile (libm-calls): Add s_isinf_ns.
50288         * math/divtc3.c: Use __isinf_nsl instead of isinf.
50289         * math/multc3.c: Likewise.
50290         * math/s_casin.c: Likewise.
50291         * math/s_casinf.c: Likewise.
50292         * math/s_casinl.c: Likewise.
50293         * math/s_ccos.c: Likewise.
50294         * math/s_ccosf.c: Likewise.
50295         * math/s_ccosl.c: Likewise.
50296         * math/s_ctan.c: Likewise.
50297         * math/s_ctanf.c: Likewise.
50298         * math/s_ctanh.c: Likewise.
50299         * math/s_ctanhf.c: Likewise.
50300         * math/s_ctanhl.c: Likewise.
50301         * math/s_ctanl.c: Likewise.
50302         * math/w_fmod.c: Likewise.
50303         * math/w_fmodf.c: Likewise.
50304         * math/w_fmodl.c: Likewise.
50305         * math/w_remainder.c: Likewise.
50306         * math/w_remainderf.c: Likewise.
50307         * math/w_remainderl.c: Likewise.
50308         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
50309         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
50310         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
50311         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
50312         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
50313         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
50314         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
50315         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
50316
50317         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
50318         of the number.
50319         * stdio-common/printf_fphex.c: Likewise.
50320         * stdio-common/printf_size.c: Likewise.
50321
50322         * math/e_exp10.c: Include math_private.h using <...> not "...".
50323         * math/e_exp10f.c: Likewise.
50324         * math/e_exp10l.c: Likewise.
50325         * math/e_exp2l.c: Likewise.
50326         * math/e_j0l.c: Likewise.
50327         * math/e_j1l.c: Likewise.
50328         * math/e_jnl.c: Likewise.
50329         * math/e_lgammal_r.c: Likewise.
50330         * math/e_rem_pio2l.c: Likewise.
50331         * math/e_scalb.c: Likewise.
50332         * math/e_scalbf.c: Likewise.
50333         * math/e_scalbl.c: Likewise.
50334         * math/k_cosl.c: Likewise.
50335         * math/k_sinl.c: Likewise.
50336         * math/k_tanl.c: Likewise.
50337         * math/s_cacoshf.c: Likewise.
50338         * math/s_catan.c: Likewise.
50339         * math/s_catanf.c: Likewise.
50340         * math/s_catanh.c: Likewise.
50341         * math/s_catanhf.c: Likewise.
50342         * math/s_catanhl.c: Likewise.
50343         * math/s_catanl.c: Likewise.
50344         * math/s_ccosh.c: Likewise.
50345         * math/s_ccoshf.c: Likewise.
50346         * math/s_ccoshl.c: Likewise.
50347         * math/s_cexp.c: Likewise.
50348         * math/s_cexpf.c: Likewise.
50349         * math/s_cexpl.c: Likewise.
50350         * math/s_clog.c: Likewise.
50351         * math/s_clog10.c: Likewise.
50352         * math/s_clog10f.c: Likewise.
50353         * math/s_clog10l.c: Likewise.
50354         * math/s_clogf.c: Likewise.
50355         * math/s_clogl.c: Likewise.
50356         * math/s_csin.c: Likewise.
50357         * math/s_csinf.c: Likewise.
50358         * math/s_csinh.c: Likewise.
50359         * math/s_csinhf.c: Likewise.
50360         * math/s_csinhl.c: Likewise.
50361         * math/s_csinl.c: Likewise.
50362         * math/s_csqrt.c: Likewise.
50363         * math/s_csqrtf.c: Likewise.
50364         * math/s_csqrtl.c: Likewise.
50365         * math/s_ctan.c: Likewise.
50366         * math/s_ctanf.c: Likewise.
50367         * math/s_ctanh.c: Likewise.
50368         * math/s_ctanhf.c: Likewise.
50369         * math/s_ctanhl.c: Likewise.
50370         * math/s_ctanl.c: Likewise.
50371         * math/s_ldexp.c: Likewise.
50372         * math/s_ldexpf.c: Likewise.
50373         * math/s_ldexpl.c: Likewise.
50374         * math/s_significand.c: Likewise.
50375         * math/s_significandf.c: Likewise.
50376         * math/s_significandl.c: Likewise.
50377         * math/w_acos.c: Likewise.
50378         * math/w_acosf.c: Likewise.
50379         * math/w_acosh.c: Likewise.
50380         * math/w_acoshf.c: Likewise.
50381         * math/w_acoshl.c: Likewise.
50382         * math/w_acosl.c: Likewise.
50383         * math/w_asin.c: Likewise.
50384         * math/w_asinf.c: Likewise.
50385         * math/w_asinl.c: Likewise.
50386         * math/w_atan2.c: Likewise.
50387         * math/w_atan2f.c: Likewise.
50388         * math/w_atan2l.c: Likewise.
50389         * math/w_atanh.c: Likewise.
50390         * math/w_atanhf.c: Likewise.
50391         * math/w_atanhl.c: Likewise.
50392         * math/w_cosh.c: Likewise.
50393         * math/w_coshf.c: Likewise.
50394         * math/w_coshl.c: Likewise.
50395         * math/w_dremf.c: Likewise.
50396         * math/w_exp10.c: Likewise.
50397         * math/w_exp10f.c: Likewise.
50398         * math/w_exp10l.c: Likewise.
50399         * math/w_exp2.c: Likewise.
50400         * math/w_exp2f.c: Likewise.
50401         * math/w_fmod.c: Likewise.
50402         * math/w_fmodf.c: Likewise.
50403         * math/w_fmodl.c: Likewise.
50404         * math/w_hypot.c: Likewise.
50405         * math/w_hypotf.c: Likewise.
50406         * math/w_hypotl.c: Likewise.
50407         * math/w_j0.c: Likewise.
50408         * math/w_j0f.c: Likewise.
50409         * math/w_j0l.c: Likewise.
50410         * math/w_j1.c: Likewise.
50411         * math/w_j1f.c: Likewise.
50412         * math/w_j1l.c: Likewise.
50413         * math/w_jn.c: Likewise.
50414         * math/w_jnf.c: Likewise.
50415         * math/w_jnl.c: Likewise.
50416         * math/w_lgamma.c: Likewise.
50417         * math/w_lgamma_r.c: Likewise.
50418         * math/w_lgammaf.c: Likewise.
50419         * math/w_lgammaf_r.c: Likewise.
50420         * math/w_lgammal.c: Likewise.
50421         * math/w_lgammal_r.c: Likewise.
50422         * math/w_log.c: Likewise.
50423         * math/w_log10.c: Likewise.
50424         * math/w_log10f.c: Likewise.
50425         * math/w_log10l.c: Likewise.
50426         * math/w_log2.c: Likewise.
50427         * math/w_log2f.c: Likewise.
50428         * math/w_log2l.c: Likewise.
50429         * math/w_logf.c: Likewise.
50430         * math/w_logl.c: Likewise.
50431         * math/w_pow.c: Likewise.
50432         * math/w_powf.c: Likewise.
50433         * math/w_powl.c: Likewise.
50434         * math/w_remainder.c: Likewise.
50435         * math/w_remainderf.c: Likewise.
50436         * math/w_remainderl.c: Likewise.
50437         * math/w_scalb.c: Likewise.
50438         * math/w_scalbf.c: Likewise.
50439         * math/w_scalbl.c: Likewise.
50440         * math/w_sinh.c: Likewise.
50441         * math/w_sinhf.c: Likewise.
50442         * math/w_sinhl.c: Likewise.
50443         * math/w_sqrt.c: Likewise.
50444         * math/w_sqrtf.c: Likewise.
50445         * math/w_sqrtl.c: Likewise.
50446         * math/w_tgamma.c: Likewise.
50447         * math/w_tgammaf.c: Likewise.
50448         * math/w_tgammal.c: Likewise.
50449
50450         * po/ja.po: Update from translation team.
50451
50452 2011-09-29  Andreas Jaeger  <aj@suse.de>
50453
50454         [BZ #13179]
50455         * sunrpc/netname.c (netname2host): Fix logic.
50456
50457         [BZ #6779]
50458         [BZ #6783]
50459         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
50460         correctly.
50461         * math/w_remainder.c (__remainder): Likewise.
50462         * math/w_remainderf.c (__remainderf): Likewise.
50463         * math/libm-test.inc (remainder_test): Add test cases.
50464
50465 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50466
50467         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
50468         sdiv_qrnnd.
50469
50470 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
50471
50472         * string/test-memcmp.c: Avoid unncessary #defines.
50473         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
50474
50475 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50476
50477         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
50478         Use new sse2 version for core i3 - i7 as it's faster
50479         than sse42 version.
50480         (bit_Prefer_PMINUB_for_stringop): New.
50481         * sysdeps/x86_64/rawmemchr.S: Update.
50482         Replace with faster SSE2 version.
50483         * sysdeps/x86_64/memrchr.S: New file.
50484         * sysdeps/x86_64/memchr.S: Update.
50485         Replace with faster SSE2 version.
50486
50487 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
50488
50489         * elf/dl-load.c (lose): Add cast to avoid warning.
50490
50491 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
50492
50493         * po/ca.po: Update from translation team.
50494
50495         * inet/getnetgrent_r.c: Hook up nscd.
50496         * nscd/Makefile (routines): Add nscd_netgroup.
50497         (nscd-modules): Add netgroupcache.
50498         (CFLAGS-netgroupcache.c): Define.
50499         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
50500         (cache_search): Add const to second parameter.
50501         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
50502         INNETGR.
50503         (dbs): Add netgrdb entry.
50504         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
50505         (verify_persistent_db): Handle netgrdb.
50506         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
50507         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
50508         GETFDNETGR.
50509         (netgroup_response_header): Define.
50510         (innetgroup_response_header): Define.
50511         (datahead): Add netgroup_response_header and innetgroup_response_header
50512         elements.
50513         * nscd/nscd.conf: Add entries for netgroup cache.
50514         * nscd/nscd.h (dbtype): Add netgrdb.
50515         (_PATH_NSCD_NETGROUP_DB): Define.
50516         (netgroup_iov_disabled): Declare.
50517         (xmalloc, xcalloc, xrealloc): Move declarations here.
50518         (cache_search): Adjust prototype.
50519         Add netgroup-related prototypes.
50520         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
50521         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
50522         (__nscd_innetgr): Declare.
50523         * nscd/selinux.c (perms): Use access_vector_t as element type and
50524         add netgroup-related initializers.
50525         * nscd/netgroupcache.c: New file.
50526         * nscd/nscd_netgroup.c: New file.
50527         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
50528         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
50529         For four parameters use innetgr.
50530         * nss/nss_files/files-init.c: Add definition and callback for netgr.
50531         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
50532         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
50533         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
50534
50535         * nscd/connections.c (register_traced_file): Don't register file
50536         for disabled databases.
50537
50538 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
50539
50540         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
50541
50542         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
50543         from tree and freeing node.
50544
50545 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
50546
50547         * nss/nsswitch.c (__nss_database_lookup): Handle
50548         nss_parse_service_list out of memory case.
50549
50550 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
50551
50552         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
50553         out of memory case.
50554
50555 2011-10-04  Andreas Schwab  <schwab@redhat.com>
50556
50557         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
50558         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
50559         pass it down.
50560         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
50561         elf_machine_rela, elf_machine_lazy_rel.
50562         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
50563         (ELF_DYNAMIC_DO_REL): Likewise.
50564         (ELF_DYNAMIC_DO_RELA): Likewise.
50565         (ELF_DYNAMIC_RELOCATE): Likewise.
50566         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
50567         to ELF_DYNAMIC_DO_REL.
50568         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
50569         (dl_main): In trace mode always set __RTLD_NOIFUNC.
50570         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
50571         elf_machine_rela.
50572         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
50573         skip_ifunc, don't call ifunc function if non-zero.
50574         (elf_machine_rela): Likewise.
50575         (elf_machine_lazy_rel): Likewise.
50576         (elf_machine_lazy_rela): Likewise.
50577         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
50578         (elf_machine_lazy_rel): Likewise.
50579         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
50580         Likewise.
50581         (elf_machine_lazy_rel): Likewise.
50582         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
50583         Likewise.
50584         (elf_machine_lazy_rel): Likewise.
50585         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
50586         (elf_machine_lazy_rel): Likewise.
50587         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
50588         (elf_machine_lazy_rel): Likewise.
50589         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
50590         (elf_machine_lazy_rel): Likewise.
50591         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
50592         (elf_machine_lazy_rel): Likewise.
50593         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
50594         (elf_machine_lazy_rel): Likewise.
50595         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
50596         (elf_machine_lazy_rel): Likewise.
50597
50598 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
50599
50600         * nss/nss_files/files-init.c (_nss_files_init): Use static
50601         initialization for all the *_traced_file variables.
50602
50603 2011-09-28  Andreas Schwab  <schwab@redhat.com>
50604
50605         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50606
50607 2011-09-27  Roland McGrath  <roland@hack.frob.com>
50608
50609         [BZ #13226]
50610         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
50611
50612 2011-09-27  Andreas Schwab  <schwab@redhat.com>
50613
50614         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
50615         Reread the line before reparsing it.
50616
50617 2011-09-26  Andreas Schwab  <schwab@redhat.com>
50618
50619         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
50620
50621 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
50622             Maxim Kuvyrkov  <maxim@codesourcery.com>
50623             Joseph Myers  <joseph@codesourcery.com>
50624
50625         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
50626         if needed for __stack_chk_guard.
50627
50628 2011-09-19  Roland McGrath  <roland@hack.frob.com>
50629
50630         * sysdeps/posix/spawni.c (script_execute): Always define it.
50631         It will be optimized away if unused.
50632         (maybe_script_execute): New function.
50633         (__spawni): Call it.
50634
50635         * Makerules: Don't include tls.make.
50636         (config-tls): Always set to thread.
50637         * tls.make.c: File removed.
50638
50639 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
50640
50641         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
50642         * config.make.in (CPPFLAGS-config): New substituted variable.
50643
50644 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
50645
50646         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
50647
50648         [BZ #13192]
50649         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
50650         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
50651
50652 2011-09-15  Roland McGrath  <roland@hack.frob.com>
50653
50654         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
50655         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
50656         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
50657         (CALL_FAIL): Likewise.
50658         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
50659         (CALL_FAIL): Macro removed.
50660         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
50661
50662 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
50663
50664         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
50665         for __FINITE_MATH_ONLY__ == 1.
50666
50667 2011-09-15  Andreas Schwab  <schwab@redhat.com>
50668
50669         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
50670         __ieee754_sqrt instead of sqrt.
50671         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
50672         __ieee754_sqrtf instead of sqrtf.
50673         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
50674         __floorf instead of floorf.
50675         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
50676         __floorf, __truncf instead of floorf, truncf.
50677
50678 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
50679
50680         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
50681
50682         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
50683         __extern_always_inline.
50684         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
50685         32-bit.
50686
50687 2011-09-14  Andreas Schwab  <schwab@redhat.com>
50688
50689         * elf/rtld.c (dl_main): Also relocate in dependency order when
50690         doing symbol dependency testing.
50691
50692 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
50693
50694         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
50695         Always define `refsym'.
50696
50697 2011-09-13  Andreas Schwab  <schwab@redhat.com>
50698
50699         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
50700         (__FD_ELT): Renamed from __FDELT.
50701         * misc/bits/select2.h (__FD_ELT): Likewise.
50702         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
50703         __FD_MASK instead of __FDELT, __FDMASK.
50704         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
50705         Likewise.
50706         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
50707         Likewise.
50708
50709         * elf/Makefile (gen-ldd): Fix pattern.
50710
50711         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
50712         (init_tls): Likewise.
50713
50714 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
50715
50716         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
50717
50718 2011-09-12  Andreas Schwab  <schwab@redhat.com>
50719
50720         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
50721         `struct cmsghdr *' instead of `void *'.
50722         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
50723         Likewise.
50724
50725 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
50726
50727         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
50728         if non-absolute.
50729         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
50730         ldd_rewrite_script.
50731
50732 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
50733
50734         * configure.in: Remove --with-tls option.
50735         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
50736         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
50737         out in case it is missing.
50738         * sysdeps/ia64/elf/configure.in: Likewise.
50739         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
50740         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
50741         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
50742         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
50743         * sysdeps/sh/elf/configure.in: Likewise.
50744         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
50745         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
50746         * sysdeps/x86_64/elf/configure.in: Likewise.
50747         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
50748         * sysdeps/mach/hurd/tls.h: Likewise.
50749
50750         [BZ #13067]
50751         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
50752
50753         [BZ #13090]
50754         * configure.in: Fix use of AC_INIT.
50755
50756         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
50757
50758 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
50759
50760         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
50761         __set_errno.
50762         * malloc/hooks.c: Likewise.
50763
50764         [BZ #11929]
50765         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
50766         variables statically.
50767         (narenas): Initialize.
50768         (list_lock): Initialize.
50769         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
50770         initializtion of main_arena and list_lock.  Small cleanups.
50771         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
50772         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
50773         Add initializers to main_arena and mp_.
50774         (malloc_state): Remove pagesize member.  Change all users to use
50775         GLRO(dl_pagesize).
50776
50777         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
50778         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
50779         is always initialized.
50780
50781         * malloc/malloc.c: Removed unused configurations and dead code.
50782         * malloc/arena.c: Likewise.
50783         * malloc/hooks.c: Likewise.
50784         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
50785
50786         * include/tls.h: Removed.  USE___THREAD must always be defined.
50787         * bits/libc-tsd.h: Don't handle !USE___THREAD.
50788         * elf/dl-libc.c: Likewise.
50789         * elf/dl-tsd.c: Likewise.
50790         * include/errno.h: Likewise.
50791         * include/netdb.h: Likewise.
50792         * include/resolv.h: Likewise.
50793         * inet/herrno-loc.c: Likewise.
50794         * inet/herrno.c: Likewise.
50795         * malloc/arena.c: Likewise.
50796         * malloc/hooks.c: Likewise.
50797         * malloc/malloc.c: Likewise.
50798         * resolv/res-state.c: Likewise.
50799         * resolv/res_libc.c: Likewise.
50800         * sysdeps/i386/dl-machine.h: Likewise.
50801         * sysdeps/ia64/dl-machine.h: Likewise.
50802         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
50803         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
50804         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
50805         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
50806         * sysdeps/sh/dl-machine.h: Likewise.
50807         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
50808         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
50809         * sysdeps/unix/i386/sysdep.S: Likewise.
50810         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
50811         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
50812         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
50813         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
50814         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
50815         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
50816         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
50817         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
50818         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
50819         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
50820         * sysdeps/unix/x86_64/sysdep.S: Likewise.
50821         * sysdeps/x86_64/dl-machine.h: Likewise.
50822         * tls.make.c: Likewise.
50823
50824         * configure.in: Remove --with-__thread option.  Make tests for
50825         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
50826         tls_model attribute fail if no support is available.  Remove
50827         USE_IN_LIBIO.
50828         * Makeconfig: Adjust for dropped configure option.  All features are
50829         now mandatory.
50830         * Makerules: Likewise.
50831         * Versions.def: Likewise.
50832         * argp/argp-fmtstream.c: Likewise.
50833         * argp/argp-fmtstream.h: Likewise.
50834         * argp/argp-help.c: Likewise.
50835         * assert/assert.c: Likewise.
50836         * config.h.in: Likewise.
50837         * config.make.in: Likewise.
50838         * configure: Likewise.
50839         * configure.in: Likewise.
50840         * csu/Versions: Likewise.
50841         * csu/init.c: Likewise.
50842         * elf/tst-audit2.c: Likewise.
50843         * elf/tst-tls10.c: Likewise.
50844         * elf/tst-tls10.h: Likewise.
50845         * elf/tst-tls11.c: Likewise.
50846         * elf/tst-tls12.c: Likewise.
50847         * elf/tst-tls14.c: Likewise.
50848         * elf/tst-tlsmod11.c: Likewise.
50849         * elf/tst-tlsmod12.c: Likewise.
50850         * elf/tst-tlsmod13.c: Likewise.
50851         * elf/tst-tlsmod13a.c: Likewise.
50852         * elf/tst-tlsmod14a.c: Likewise.
50853         * elf/tst-tlsmod15b.c: Likewise.
50854         * elf/tst-tlsmod16a.c: Likewise.
50855         * elf/tst-tlsmod16b.c: Likewise.
50856         * elf/tst-tlsmod7.c: Likewise.
50857         * elf/tst-tlsmod8.c: Likewise.
50858         * elf/tst-tlsmod9.c: Likewise.
50859         * gmon/gmon.c: Likewise.
50860         * grp/fgetgrent_r.c: Likewise.
50861         * grp/putgrent.c: Likewise.
50862         * hurd/fopenport.c: Likewise.
50863         * include/libc-symbols.h: Likewise.
50864         * include/tls.h: Likewise.
50865         * intl/gettextP.h: Likewise.
50866         * intl/loadinfo.h: Likewise.
50867         * locale/global-locale.c: Likewise.
50868         * locale/localeinfo.h: Likewise.
50869         * mach/devstream.c: Likewise.
50870         * malloc/arena.c: Likewise.
50871         * malloc/set-freeres.c: Likewise.
50872         * misc/err.c: Likewise.
50873         * misc/getttyent.c: Likewise.
50874         * misc/mntent_r.c: Likewise.
50875         * posix/getopt.c: Likewise.
50876         * posix/wordexp.c: Likewise.
50877         * pwd/fgetpwent_r.c: Likewise.
50878         * resolv/Versions: Likewise.
50879         * resolv/res_hconf.c: Likewise.
50880         * shadow/fgetspent_r.c: Likewise.
50881         * shadow/putspent.c: Likewise.
50882         * stdio-common/printf_fphex.c: Likewise.
50883         * stdio-common/tmpfile.c: Likewise.
50884         * stdlib/abort.c: Likewise.
50885         * stdlib/fmtmsg.c: Likewise.
50886         * sunrpc/auth_unix.c: Likewise.
50887         * sunrpc/clnt_perr.c: Likewise.
50888         * sunrpc/clnt_tcp.c: Likewise.
50889         * sunrpc/clnt_udp.c: Likewise.
50890         * sunrpc/clnt_unix.c: Likewise.
50891         * sunrpc/openchild.c: Likewise.
50892         * sunrpc/svc_simple.c: Likewise.
50893         * sunrpc/svc_tcp.c: Likewise.
50894         * sunrpc/svc_udp.c: Likewise.
50895         * sunrpc/svc_unix.c: Likewise.
50896         * sunrpc/xdr.c: Likewise.
50897         * sunrpc/xdr_array.c: Likewise.
50898         * sunrpc/xdr_rec.c: Likewise.
50899         * sunrpc/xdr_ref.c: Likewise.
50900         * sunrpc/xdr_stdio.c: Likewise.
50901
50902 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
50903
50904         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50905
50906 2011-07-03  Andreas Jaeger  <aj@suse.de>
50907
50908         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
50909         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
50910         regenerate with gen-libm-tests.pl.
50911
50912 2010-05-12  Petr Baudis  <pasky@suse.cz>
50913
50914         [BZ #11589]
50915         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
50916         around j0() zero points by switching to j1().
50917         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
50918         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
50919         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
50920         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
50921
50922 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
50923
50924         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
50925         instead of 0.
50926         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
50927         instead of 0.
50928         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
50929         Patch in part by Pavel Roskin <proski@gnu.org>.
50930
50931         [BZ #13138]
50932         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
50933         realloc.
50934         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
50935         Free memory block if necessary.
50936
50937         [BZ #12847]
50938         * libio/genops.c (INTDEF): For string streams the _lock pointer can
50939         be NULL.  Don't lock in this case.
50940
50941 2011-09-09  Roland McGrath  <roland@hack.frob.com>
50942
50943         * elf/elf.h (ELFOSABI_GNU): New macro.
50944         (ELFOSABI_LINUX): Define to that.
50945
50946 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
50947
50948         * string/strncat.c (strncat): Undef the symbol in case it has been
50949         defined in bits/string.h.
50950
50951 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
50952
50953         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
50954
50955         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
50956         link map.
50957
50958 2011-08-17  Andreas Jaeger  <aj@suse.de>
50959
50960         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
50961
50962 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
50963             Ian Lance Taylor  <iant@google.com>
50964
50965         * math/libm-test.inc (lround_test): New testcase.
50966         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
50967
50968 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
50969
50970         * Makefile: Remove support for automatic cvs check-ins.
50971         * Makerules: Likewise.
50972         * config.make.in: Likewise.
50973         * configure.in: Likewise.
50974         * intl/Makefile: Likewise.
50975         * locale/Makefile: Likewise.
50976         * po/Makefile: Likewise.
50977         * posix/Makefile: Likewise.
50978         * sysdeps/gnu/Makefile: Likewise.
50979         * sysdeps/mach/hurd/Makefile: Likewise.
50980         * sysdeps/sparc/sparc32/Makefile: Likewise.
50981
50982         [BZ #13118]
50983         * posix/Makefile (bug-regex32-ENV): Define.
50984         Patch by John Stanley <jpsinthemix@verizon.net>.
50985
50986         * misc/Makefile (headers): Add bits/select2.h.
50987         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
50988         * misc/bits/select2.h: New file.
50989         * include/bits/select2.h: New file.
50990         * debug/Makefile (routines): Add fdelt_chk.
50991         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
50992         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
50993         FD_ISSET.
50994         * debug/fdelt_chk.c: New file.
50995
50996         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
50997         * wcsmbs/test-wmemcmp.c: Likewise.
50998         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
50999         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
51000
51001 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51002
51003         * string/Makefile (strop-tests): Add memcmp.
51004         * string/test-wmemcmp.c: New file.
51005         * string/test-memcmp.c: Add wmemcmp support.
51006
51007 2011-09-08  Roland McGrath  <roland@hack.frob.com>
51008
51009         [BZ #13153]
51010         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
51011         2011-07-19 change.
51012
51013         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
51014         garbage value in a __mach_port_mod_refs call in the cases of the
51015         task-self and thread-self ports.
51016
51017 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51018
51019         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
51020
51021 2011-09-08  Andreas Schwab  <schwab@redhat.com>
51022
51023         * elf/dl-load.c (lose): Check for non-null L.
51024
51025 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
51026
51027         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
51028
51029         * elf/dl-libc.c (dlerror_run): Pass back error code from
51030         dl_catch_error.
51031
51032         [BZ #13123]
51033         * elf/dl-load.c (lose): Free l_origin if it is valid.
51034
51035         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
51036         names.
51037         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
51038         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
51039         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
51040         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
51041         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
51042         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
51043
51044 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51045
51046         * sysdeps/powerpc/fpu/e_hypot.c: New file.
51047         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
51048         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
51049         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
51050         * sysdeps/powerpc/fpu/k_cosf.c: New file.
51051         * sysdeps/powerpc/fpu/k_sinf.c: New file.
51052         * sysdeps/powerpc/fpu/s_cosf.c: New file.
51053         * sysdeps/powerpc/fpu/s_sinf.c: New file.
51054         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
51055         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
51056
51057 2011-08-15  Alan Modra  <amodra@gmail.com>
51058
51059         [BZ #13092]
51060         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
51061         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
51062         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
51063         ppc_mcount to static-only-routines.
51064         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
51065         __mcount_internal.
51066         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
51067         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
51068
51069 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
51070
51071         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
51072         for finite and infinity parameters.
51073
51074 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
51075
51076         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
51077         and add nop instructions for throughput optimization.
51078         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
51079
51080 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
51081
51082         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
51083         aligned copy for power7 with vector-scalar instructions.
51084         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
51085
51086 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
51087
51088         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
51089         AVX check.
51090
51091 2011-09-07  Andreas Schwab  <schwab@redhat.com>
51092
51093         [BZ #13144]
51094         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
51095         last change.
51096
51097 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
51098
51099         * sysdeps/unix/sysv/linux/x86_64/init-first.c
51100         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
51101         syscall wrapper around clock_gettime in __vdso_clock_gettime.
51102         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
51103         clock_gettime.
51104
51105 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
51106
51107         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
51108         Forgot to demangle the pointer.
51109
51110         * sysdeps/i386/sysdep.h: Define atom_text_section.
51111         * sysdeps/x86_64/sysdep.h: Likewise.
51112         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
51113         section with atom_text_section.
51114         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
51115         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
51116         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
51117         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
51118         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
51119
51120         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
51121         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
51122         already be defined.  Change to take two parameters and don't assign
51123         result to variable.  Adjust all users.
51124         Define INTERNAL_GETTIME if not already defined.
51125         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
51126         call.
51127         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
51128         HAVE_CLOCK_GETTIME_VSYSCALL.
51129         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
51130
51131         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
51132         gettimeofday vsyscall, just use time.
51133
51134 2011-09-06  Andreas Schwab  <schwab@redhat.com>
51135
51136         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
51137         <errno.h>.
51138
51139 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
51140
51141         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
51142         syscall on x86-64.
51143         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
51144         syscall.
51145         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
51146         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
51147         syscall if possible.
51148
51149 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
51150
51151         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
51152         e_ident.  Don't pass to find_mapsXX.
51153         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
51154
51155 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
51156
51157         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51158         strchr-sse2-no-bsf strrchr-sse2-no-bsf
51159         * sysdeps/x86_64/multiarch/strchr.S: Update.
51160         Check bit_slow_BSF bit.
51161         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
51162         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
51163         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
51164
51165 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
51166
51167         [BZ #13134]
51168         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
51169         before glibc 2.15.
51170         (tryshell): Define.
51171         (__spawni): Change last parameter to be flag.  Test
51172         SPAWN_XFLAGS_USE_PATH flag to use path or not.
51173         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
51174         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
51175         * posix/spawni.c: Likewise.
51176         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
51177         * posix/spawnp.c: Likewise.  Change normal version to use
51178         SPAWN_XFLAGS_USE_PATH.
51179         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
51180         SPAWN_XFLAGS_TRY_SHELL.
51181
51182         [BZ #13150]
51183         * posix/glob.h: Remove gcc 1.x support.
51184
51185         [BZ #13068]
51186         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
51187
51188 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
51189
51190         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51191         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
51192         strrchr-sse2-bsf
51193         * sysdeps/i386/i686/multiarch/strchr.S: New file.
51194         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
51195         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
51196         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
51197         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
51198         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
51199
51200 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51201
51202         * sysdeps/x86_64/wcscmp.S: New file.
51203
51204         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
51205         wcscmp-c wcscmp-sse2
51206         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
51207         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
51208         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
51209         * wcsmbs/wcscmp.c: Allow renaming.
51210
51211 2011-09-05  David S. Miller  <davem@davemloft.net>
51212
51213         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
51214         stack slot, rather than the struct return pointer slot.
51215         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
51216         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
51217         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
51218         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
51219
51220 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
51221
51222         * po/ja.po: Update from translation team.
51223
51224         [BZ #13144]
51225         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
51226         kernel in 64-bit binaries.
51227
51228 2011-09-01  David S. Miller  <davem@davemloft.net>
51229
51230         * elf/elf.h (HWCAP_SPARC_*): Move to..
51231         * sysdeps/sparc/sysdep.h: this new file and add new values.
51232         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
51233         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
51234         _DL_HWCAP_COUNT to 24.
51235         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
51236         entries.
51237         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
51238         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
51239         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
51240         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
51241         instead of magic constants.
51242         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
51243
51244 2011-08-31  David S. Miller  <davem@davemloft.net>
51245
51246         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
51247         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
51248         Reimplement to do errno handling inline.
51249         (SYSCALL_ERROR_HANDLER): New macro.
51250         (__SYSCALL_STRING): Do not do errno handling in asm.
51251         (__CLONE_SYSCALL_STRING): Delete.
51252         (__INTERNAL_SYSCALL_STRING): Delete.
51253         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
51254         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
51255         (PSEUDO): Reimplement to do errno handling inline.
51256         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
51257         (SYSCALL_ERROR_HANDLER): New macro.
51258         (__SYSCALL_STRING): Do not do errno handling in asm.
51259         (__CLONE_SYSCALL_STRING): Delete.
51260         (__INTERNAL_SYSCALL_STRING): Delete.
51261         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
51262         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
51263         i386.
51264         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
51265         (inline_syscall*): Add 'err' argument.
51266         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
51267         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
51268         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
51269         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
51270
51271         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
51272         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
51273
51274 2011-08-30  Andreas Schwab  <schwab@redhat.com>
51275
51276         * elf/rtld.c (dl_main): Relocate objects in dependency order.
51277
51278 2011-08-29  Jiri Olsa <jolsa@redhat.com>
51279
51280         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
51281         directive.
51282
51283 2011-08-24  David S. Miller  <davem@davemloft.net>
51284
51285         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
51286
51287 2011-08-24  Andreas Schwab  <schwab@redhat.com>
51288
51289         * elf/Makefile: Add rules to build and run unload8 test.
51290         * elf/unload8.c: New file.
51291         * elf/unload8mod1.c: New file.
51292         * elf/unload8mod1x.c: New file.
51293         * elf/unload8mod2.c: New file.
51294         * elf/unload8mod3.c: New file.
51295
51296         * elf/dl-close.c (_dl_close_worker): Reset private search list if
51297         it wasn't used.
51298
51299 2011-08-23  David S. Miller  <davem@davemloft.net>
51300
51301         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
51302         subtract stack bias.
51303         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
51304         %sp not %fp in calculations.
51305         (_JMPBUF_UNWINDS_ADJ): Likewise.
51306
51307         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
51308         (aio_suspend): Call it to force an exception region around the
51309         AIO_MISC_WAIT() invocation.
51310
51311 2011-08-23  Andreas Schwab  <schwab@redhat.com>
51312
51313         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
51314         backslash.
51315
51316 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
51317
51318         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
51319         protection macro.
51320         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
51321         and <dl-machine.h>.
51322         (Elf64_FuncDesc): Remove.
51323
51324 2011-08-22  David S. Miller  <davem@davemloft.net>
51325
51326         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
51327         sigaltstack check, add missing cfi directives.
51328         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
51329         missing cfi directives, and sigaltstack handling.
51330
51331 2011-08-16  Andreas Schwab  <schwab@redhat.com>
51332
51333         [BZ #11724]
51334         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
51335         object is seen twice.
51336         * elf/dl-fini.c (_dl_sort_fini): Likewise.
51337
51338         * elf/Makefile (distribute): Add tst-initorder2.c.
51339         (tests): Add tst-initorder2.
51340         (modules-names): Add tst-initorder2a tst-initorder2b
51341         tst-initorder2c tst-initorder2d.  Add rules to build them.
51342         ($(objpfx)tst-initorder2.out): New rule.
51343         * elf/tst-initorder2.c: New file.
51344         * elf/tst-initorder2.exp: New file.
51345
51346 2011-08-22  Andreas Schwab  <schwab@redhat.com>
51347
51348         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
51349
51350         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
51351         dependencies back to end of function.
51352
51353         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
51354         $(elfobjdir)/ld.so.
51355
51356 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
51357
51358         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
51359         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
51360         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
51361         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
51362         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
51363         of __vdso_gettimeofday.
51364         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
51365         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
51366         attribute_hidden.
51367         (_libc_vdso_platform_setup): Remove initialization of
51368         __vdso_gettimeofday and __vdso_time.
51369
51370 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
51371
51372         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
51373         and fgetc_unlocked.
51374         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
51375         getc_unlocked.
51376
51377         * elf/dl-open.c (add_to_global): Report additions to the global scope
51378         for LD_DEBUG=scopes.
51379         (dl_open_worker): Also print scope of newly loaded dependencies.
51380         (_dl_show_scope): Indicate if there is no scope.
51381
51382         [BZ #13114]
51383         * stdio-common/Makefile (tests): Add bug24.
51384         * stdio-common/bug24.c: New file.
51385
51386 2011-08-19  Andreas Jaeger  <aj@suse.de>
51387
51388         [BZ #13114]
51389         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
51390         non-existant file when using close-on-exec mode.
51391
51392 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
51393
51394         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
51395         the very first instruction.
51396
51397         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
51398         the CFI state in the end.
51399         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
51400         inclusion of dl-trampoline.h.
51401         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
51402
51403 2011-08-19  Andreas Schwab  <schwab@redhat.com>
51404
51405         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
51406         expectations for long double.
51407
51408         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
51409         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
51410
51411 2011-08-14  David S. Miller  <davem@davemloft.net>
51412
51413         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
51414         artificual limit depends upon the system page size.
51415
51416 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
51417
51418         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
51419         * resolv/Makefile: Define CFLAGS-libresolv.
51420
51421 2011-08-17  Andreas Schwab  <schwab@redhat.com>
51422
51423         * nss/makedb.c (compute_tables): Make variables used in nested
51424         function static.
51425
51426 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
51427
51428         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
51429         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
51430         if buffer was too small.
51431
51432         * elf/pldd.c (main): Attach to all threads in the process.
51433         Rewrite /proc handling to use *at functions.
51434
51435 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
51436
51437         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
51438         specifies first scope to show.
51439         (dl_open_worker): Update callers.  Move printing scope of new
51440         object to before the relocation.
51441         * elf/rtld.c (dl_main): Update _dl_show_scope call.
51442         * sysdeps/generic/ldsodefs.h: Update declaration.
51443
51444         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
51445         string for the scope number.
51446
51447 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
51448
51449         * nscd/servicescache.c (cache_addserv): Make sure written is always
51450         initialized.
51451
51452 2011-08-14  Roland McGrath  <roland@hack.frob.com>
51453
51454         * sysdeps/i386/i486/bits/atomic.h
51455         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
51456         statement expression, so as to suppress "set but not used" warning.
51457         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
51458
51459         * string/strncat.c (STRNCAT): Use prototype definition.
51460
51461         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
51462         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
51463         -Iprograms here.
51464         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
51465         (localedef-modules): Add localedef.
51466         (locale-modules): Add locale.
51467
51468         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
51469         * elf/rtld.c (dl_main): Invert order of assignment in last change,
51470         to avoid a warning.
51471
51472 2011-08-14  David S. Miller  <davem@davemloft.net>
51473
51474         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
51475         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
51476
51477 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
51478
51479         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
51480         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
51481         * elf/rtld.c (dl_main): Set l_name of vDSO.
51482         Call _dl_show_scope when DL_DEBUG_SCOPES.
51483         (process_dl_debug): Recognize scopes flag and also set it for all.
51484         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
51485         Declare _dl_show_scope.
51486
51487         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
51488         (do_dlopen): Pass caller_dlopen to dl_open.
51489         (__libc_dlopen_mode): Initialize caller_dlopen.
51490
51491         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
51492         of libc.  Make tolower call locale-independent.  Optimize a bit by
51493         using isdigit instead of isalnum.
51494         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
51495
51496 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
51497
51498         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
51499         was a dependency or dynamically loaded.
51500
51501 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
51502
51503         * intl/l10nflist.c: Allow architecture-specific pop function.
51504         * sysdeps/x86_64/l10nflist.c: New file.
51505
51506         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
51507         classification.
51508
51509 2011-08-10  Andreas Schwab  <schwab@redhat.com>
51510
51511         * include/dirent.h: Add libc_hidden_proto for scandirat and
51512         scandirat64.  Don't declare __scandirat64.
51513         * dirent/scandirat.c: Add libc_hidden_def.
51514         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
51515         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
51516
51517 2011-08-10  David S. Miller  <davem@davemloft.net>
51518
51519         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
51520         enum.
51521         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
51522         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
51523         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
51524
51525 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
51526
51527         * Versions.def [libc]: Add GLIBC_2.15.
51528         * dirent/Makefile (routines): Add scandirat and scandirat64.
51529         * dirent/Versions [libc]: Export scandirat and scandirat64 for
51530         GLIBC_2.15.
51531         * dirent/dirent.h: Declare scandirat and scandirat64.
51532         * dirent/scandirat.c: New file.
51533         * dirent/scandirat64.c: New file.
51534         * sysdeps/wordsize-64/scandirat.c: New file.
51535         * sysdeps/wordsize-64/scandirat64.c: New file.
51536         * dirent/opendir.c: Define opendirat.
51537         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
51538         using scandirat.
51539         * dirent/scandir64.c: Adjust for scandir.c change.
51540         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
51541         __scandirat64, and __scandir_cancel_handler.
51542         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
51543         additional parameter and use openat instead of open (outside of ld.so).
51544         Add new __opendir as wrapper around __opendirat.
51545         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
51546         here without requiring old scandirat implementation.
51547
51548 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
51549
51550         * dirent/scandir.c (cancel_handler): Renamed to
51551         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
51552         defined.  Adjust users.
51553         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
51554         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
51555
51556 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
51557
51558         * string/test-string.h (IMPL): Use __STRING to expand name and then
51559         stringify it.
51560
51561         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
51562         of cleanups.
51563
51564 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51565
51566         * string/Makefile: Update.
51567         (strop-tests): Append strncat.
51568         * string/test-wcscmp.c: New file.
51569         New comprehensive test for wcscmp.
51570         * string/test-strcmp.c: Update.
51571         (WIDE): New define.
51572
51573 2011-07-22  Andreas Schwab  <schwab@redhat.com>
51574
51575         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
51576         line.
51577
51578 2011-07-26  Andreas Schwab  <schwab@redhat.com>
51579
51580         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
51581         encoding to ACE if AI_IDN.
51582
51583 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
51584
51585         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
51586         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
51587
51588 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
51589
51590         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
51591         Fix overflow bug in strncat.
51592         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
51593
51594         * string/test-strncat.c: Update.
51595         Add new tests for checking overflow bugs.
51596
51597 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
51598
51599         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51600         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
51601         * sysdeps/i386/i686/multiarch/strcat.S: New file.
51602         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
51603         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
51604         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
51605         * sysdeps/i386/i686/multiarch/strncat.S: New file.
51606         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
51607         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
51608
51609         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
51610         (USE_AS_STRCAT): Define.
51611         Add strcat and strncat support.
51612         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
51613
51614 2011-07-25  Andreas Schwab  <schwab@redhat.com>
51615
51616         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
51617         __n bigger than INT_MAX+1.
51618         (__strncmp_g): Likewise.
51619
51620 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
51621
51622         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
51623         * libio/stido.h: Likewise.
51624
51625         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
51626         (AF_NFC): Define.
51627         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
51628         (AF_NFC): Define.
51629
51630         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
51631         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
51632         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
51633         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
51634         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
51635
51636         [BZ #13021]
51637         * scripts/test-installation.pl: Don't expect libnss_test1 to be
51638         installed.
51639
51640         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
51641         typo.
51642         (_dl_x86_64_save_sse): Likewise.
51643
51644 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
51645
51646         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
51647         OSXSAVE.
51648         (_dl_x86_64_save_sse): Likewise.
51649
51650         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
51651
51652         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
51653
51654 2011-07-21  Andreas Schwab  <schwab@redhat.com>
51655
51656         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
51657         change.
51658         (_dl_x86_64_save_sse): Use correct AVX check.
51659
51660 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51661
51662         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
51663         bug in strncpy/strncat.
51664         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
51665
51666 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
51667
51668         * string/tester.c (test_strcat): Add tests for different alignments
51669         of source and destination.
51670         (test_strncat): Likewise.
51671
51672 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
51673
51674         [BZ #12852]
51675         * posix/glob.c (glob): Check passed in values before using them in
51676         expressions to avoid some overflows.
51677         (glob_in_dir): Likewise.
51678
51679         [BZ #13007]
51680         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
51681         check for AVX enablement so that we don't crash with old kernels and
51682         new hardware.
51683         * elf/tst-audit4.c: Add same checks here.
51684         * elf/tst-audit6.c: Likewise.
51685
51686         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
51687
51688 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
51689
51690         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
51691
51692 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
51693
51694         * po/cs.po: Update from translation team.
51695         * po/bg.po: Likewise.
51696
51697 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
51698
51699         * misc/sys/cdefs.h: Add support for const attribute.
51700         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
51701         to gnu_dev_{major,minor,makedev} functions.
51702
51703 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
51704
51705         * intl/dcigettext.c (get_output_charset): Add missing bracket.
51706
51707 2011-07-20  Andreas Schwab  <schwab@redhat.com>
51708
51709         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
51710         strlen results.
51711
51712 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51713
51714         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
51715         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
51716         register in order to avoid conflicts with the soft frame pointer
51717         being held in r11 when necessary.
51718         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
51719         (INTERNAL_VSYSCALL_NCS): Likewise.
51720
51721 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
51722
51723         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
51724         * elf/dl-fini.c (_dl_fini): Adjust caller.
51725         * elf/dl-close.c (_dl_close_worker): Likewise.
51726         * sysdeps/generic/ldsodefs.h: Adjust declaration.
51727
51728 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
51729
51730         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
51731         "aux_cache->nlibs < 0".
51732
51733         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
51734         in the reload-count case.
51735
51736 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
51737
51738         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51739         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
51740         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
51741         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
51742         * sysdeps/x86_64/multiarch/strcat.S: New file.
51743         * sysdeps/x86_64/multiarch/strncat.S: New file.
51744         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
51745         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
51746         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
51747         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
51748         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
51749         (USE_AS_STRCAT): Define.
51750         Add strcat and strncat support.
51751         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
51752         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
51753         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
51754         * string/strncat.c: Update.
51755         (USE_AS_STRNCAT): Define.
51756         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51757         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
51758         and i7.
51759         * sysdeps/x86_64/multiarch/init-arch.h
51760         (bit_Prefer_PMINUB_for_stringop): New.
51761         (index_Prefer_PMINUB_for_stringop): Likewise.
51762         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
51763         bit_Prefer_PMINUB_for_stringop.
51764
51765 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
51766
51767         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
51768         buffer64.
51769         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
51770         of casting of buffer.
51771         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
51772         buffer32 and buffer64.
51773         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
51774         writes instead of casting of buffer.
51775         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
51776         buffer32.
51777         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
51778         casting of buffer.
51779
51780 2011-07-19  Andreas Schwab  <schwab@redhat.com>
51781
51782         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
51783
51784 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
51785
51786         * nscd/nscd.c (termination_handler): Don't do anything for a database
51787         if it has not yet been initialized.
51788
51789 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
51790
51791         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
51792
51793 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
51794
51795         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
51796
51797 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
51798
51799         * po/nl.po: Update from translation team.
51800         * po/sv.po: Likewise.
51801
51802 2011-07-16  Roland McGrath  <roland@hack.frob.com>
51803
51804         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
51805         now disallowed by GCC.
51806
51807         * configure.in (use-default-link): Default to yes if a test -shared
51808         link meets our qualifications.
51809         * configure: Regenerated.
51810
51811         * config.make.in (output-format): New variable.
51812         * configure.in: Check for ld --print-output-format support.
51813         * configure: Regenerated.
51814         * Makerules ($(common-objpfx)format.lds)
51815         [$(output-format) != unknown]: Just use $(output-format),
51816         instead of the linker-script munging.
51817
51818 2011-07-14  Roland McGrath  <roland@hack.frob.com>
51819
51820         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
51821         of $(common-objpfx)shlib.lds.
51822         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
51823
51824         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
51825         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
51826
51827         * configure.in (-z relro check): Adjust test code to add a large
51828         writable data section after it.
51829         * configure: Regenerated.
51830
51831 2011-07-11  Roland McGrath  <roland@hack.frob.com>
51832
51833         * configure.in (-z relro check): Fix test code to make the variable
51834         truly const.
51835         * configure: Regenerated.
51836
51837 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
51838
51839         * nscd/nscd.h (struct traced_file): Define.
51840         (struct database_dyn): Remove inotify_descr, reset_res, and filename
51841         elements.  Add traced_files.
51842         (inotify_fd): Declare.
51843         (register_traced_file): Declare.
51844         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
51845         (inotify_fd): Export.
51846         (resolv_conf_descr): Remove.
51847         (nscd_init): Move inotify descriptor creation to main.
51848         Don't register files for notification here.
51849         (register_traced_file): New function.
51850         (invalidate_cache): Don't use reset_res to determine whether to call
51851         res_init, go through the list of registered files.
51852         (main_loop_poll): The inotify descriptors are now stored in the
51853         structures for the traced files.
51854         (main_loop_epoll): Likewise
51855         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
51856         to __nss_disable_nscd.
51857         * nscd/cache.c (prune_cache): There is no single inotify descriptor
51858         for a database anymore.  Check the records for all the registered
51859         files instead.
51860         * nss/Makefile (libnss_files-routines): Add files-init.
51861         (libnss_db-routines): Add db-init.
51862         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
51863         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
51864         * nss/nss_db/db-init.c: New file.
51865         * nss/nss_files/files-init.c: New file.
51866         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
51867         __nss_lookup_function.
51868         (__nss_lookup_function): Call nss_load_library.
51869         (nss_load_all_libraries): New function.
51870         (__nss_disable_nscd): Take parameter with callback function for files
51871         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
51872         used for the cached services.
51873         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
51874         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
51875         options for features to all the files in nscd.
51876
51877         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
51878
51879 2011-07-10  Roland McGrath  <roland@hack.frob.com>
51880
51881         * csu/elf-init.c (__libc_csu_init): Comment typo.
51882
51883 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
51884
51885         * po/pl.po: Update from translation team.
51886         * po/ja.po: Likewise.
51887         * po/ru.po: Likewise.
51888         * po/ko.po: Likewise.
51889         * po/fr.po: Likewise.
51890
51891 2011-07-09  Roland McGrath  <roland@hack.frob.com>
51892
51893         * configure.in (.ctors/.dtors header and trailer check):
51894         Use an empirical test on a built program.
51895         * configure: Regenerated.
51896
51897         * configure.in (-z relro check): Use an empirical test on a built DSO.
51898         Detect, but do not require, on ia64.
51899         * configure: Regenerated.
51900
51901         * configure.in (READELF): Find it with AC_CHECK_TOOL.
51902         Update tests that use readelf to use $READELF instead.
51903         * configure: Regenerated.
51904
51905 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
51906
51907         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
51908         if the result is not used.
51909
51910 2011-07-05  Andreas Jaeger  <aj@suse.de>
51911
51912         [BZ#9696]
51913         * stdlib/tst-strtod.c: Add testcase.
51914
51915 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
51916
51917         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
51918         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
51919         The latter has a higher limit.  Take additional parameter to pass to
51920         the new function.
51921         (__pathconf): Pass file to __statfs_link_max.
51922         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
51923         __statfs_link_max.
51924         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
51925         __statfs_link_max.
51926
51927         [BZ #12868]
51928         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
51929         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51930         Handle Lustre.
51931         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
51932         (__statfs_filesize_max): Likewise.
51933         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
51934
51935 2011-07-05  Andreas Jaeger  <aj@suse.de>
51936
51937         * resolv/res_comp.c (dn_skipname): Remove unused variable.
51938
51939 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
51940
51941         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
51942         `status' variable.
51943         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
51944         Likewise.
51945
51946 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
51947
51948         * Makefile (strop-tests): Add strncat.
51949         * string/test-strncat.c: New file.
51950
51951 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
51952
51953         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
51954
51955 2011-06-21  Andreas Jaeger  <aj@suse.de>
51956
51957         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
51958         Copy rule from iconvdata/Makefile.
51959
51960 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
51961
51962         [BZ #12922]
51963         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
51964         but no long options are defined, just return 'W'.
51965
51966 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
51967
51968         [BZ #9696]
51969         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
51970
51971 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
51972
51973         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
51974         netgroups to read.
51975         (innetgr): Likewise.
51976
51977 2011-07-05  Roland McGrath  <roland@hack.frob.com>
51978
51979         * config.make.in (install_root): Default to $(DESTDIR).
51980
51981 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
51982
51983         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
51984
51985 2011-07-02  Roland McGrath  <roland@hack.frob.com>
51986
51987         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
51988
51989         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
51990         containing directory rather than embedding absolute directory names.
51991
51992         * scripts/check-local-headers.sh: Rewritten using awk.
51993         Match by word, not by line.  Print error messages for matches.
51994         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
51995
51996         * Makerules [shlib-lds-flags empty]:
51997         ($(common-objpfx)libc_pic.opts): New target.
51998         ($(common-objpfx)libc_pic.os.clean): New target.
51999         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
52000
52001         * config.make.in (OBJCOPY): New variable.
52002         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
52003         * configure: Regenerated.
52004
52005         * config.make.in (use-default-link): New variable.
52006         * configure.in (use_default_link): Grok --with-default-link to set it.
52007         * configure: Regenerated.
52008         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
52009         (shlib-lds, shlib-lds-flags): Define to empty.
52010
52011         * Makerules (shlib-lds): New variable.
52012         (shlib-lds-flags): New variable.
52013         (build-shlib, build-moduile, build-module-asneeded): Use it.
52014         ($(common-objpfx)libc.so): Use $(shlib-lds).
52015         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
52016         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
52017
52018         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
52019         DT_FLAGS/DT_FLAGS_1 with zero flags.
52020
52021         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
52022         linker script munging.
52023
52024 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
52025
52026         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
52027         as 128-bit value.
52028         * crypt/sha512.c (sha512_process_block): Perform total addition using
52029         128-bit if possible.
52030         (__sha512_finish_ctx): Likewise.
52031         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
52032         as 64-bit value.
52033         * crypt/sha256.c (SWAP64): Define.
52034         (sha256_process_block): Perform total addition using 64-bit if
52035         possible.
52036         (__sha256_finish_ctx): Likewise.
52037
52038 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
52039
52040         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
52041         * nscd/initgrcache.c (addinitgroupsX): Likewise.
52042         * nscd/hstcache.c (cache_addhst): Likewise.
52043         * nscd/grpcache.c (cache_addgr): Likewise.
52044         * nscd/aicache.c (addhstaiX): Likewise
52045         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
52046
52047 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
52048
52049         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
52050         * nscd/initgrcache.c (addinitgroupsX): Likewise.
52051         * nscd/hstcache.c (cache_addhst): Likewise.
52052         * nscd/grpcache.c (cache_addgr): Likewise.
52053         * nscd/aicache.c (addhstaiX): Likewise
52054
52055 2011-07-01  Andreas Schwab  <schwab@redhat.com>
52056
52057         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
52058         domain only when needed.
52059
52060 2011-06-30  Andreas Schwab  <schwab@redhat.com>
52061
52062         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
52063         is always restored.
52064
52065 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
52066
52067         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
52068         are re-adding the entry.
52069         * nscd/servicescache.c (cache_addserv): Likewise.
52070
52071 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
52072
52073         * sysdeps/generic/dl-irel.h: fix protection against multiple
52074         inclusions.
52075         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
52076
52077 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
52078
52079         [BZ #12935]
52080         * malloc/memusage.sh: Fix quoting in message.
52081         * debug/xtrace.sh: Likewise.
52082
52083         * configure.in: Remove support for --experimental-malloc option, make
52084         it the default.
52085         * config.make.in: Likewise.
52086         * malloc/Makefile: Likewise.
52087
52088 2011-06-27  Andreas Schwab  <schwab@redhat.com>
52089
52090         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
52091         two-byte characters.
52092
52093 2011-06-27  Roland McGrath  <roland@hack.frob.com>
52094
52095         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
52096         AC_CACHE_CHECK invocation.
52097         * configure: Regenerated.
52098
52099         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
52100
52101 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
52102
52103         [BZ #12350]
52104         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
52105         bit from old_res_options.
52106
52107         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
52108
52109         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
52110         value type for setfct.
52111
52112 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
52113
52114         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
52115         __gettimeofday instead of gettimeofday.
52116
52117 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
52118
52119         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
52120
52121 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
52122
52123         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
52124
52125         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
52126         info.
52127
52128 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
52129
52130         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52131         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
52132         strcpy-sse2-unaligned strncpy-sse2-unaligned
52133         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
52134         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
52135         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
52136         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
52137         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
52138         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
52139         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
52140         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
52141         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
52142         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
52143         (STRCPY): Support SSE2 and SSSE3 versions.
52144
52145 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
52146
52147         [BZ #12874]
52148         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
52149         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
52150         kernels which artificially limit size of requests.
52151
52152 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
52153
52154         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52155         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
52156         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
52157         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
52158         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
52159         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
52160         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
52161         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
52162         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
52163         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
52164         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
52165         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
52166         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
52167         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
52168         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
52169         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52170         Enable unaligned load optimization for Intel Core i3, i5 and i7
52171         processors.
52172         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
52173         Define.
52174         (index_Fast_Unaligned_Load): Define.
52175         (HAS_FAST_UNALIGNED_LOAD): Define.
52176
52177 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
52178
52179         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
52180
52181 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
52182
52183         [BZ #12907]
52184         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
52185         until it is clear that the information is realy needed.
52186         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
52187
52188 2011-06-22  Andreas Schwab  <schwab@redhat.com>
52189
52190         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
52191
52192 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
52193
52194         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
52195         /sys/devices/system/cpu/online if it is usable.
52196
52197         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
52198         reading the information from the /proc filesystem to once a second.
52199
52200 2011-06-21  Andreas Jaeger  <aj@suse.de>
52201
52202         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
52203         NULL after inclusion of kernel headers.
52204
52205 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
52206
52207         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
52208         calls to internal_setent.
52209
52210         [BZ #12885]
52211         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
52212         addresses using gethostbyname4_r ignore IPv4 addresses.
52213
52214         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
52215         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
52216
52217         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
52218
52219 2011-06-20  David S. Miller  <davem@davemloft.net>
52220
52221         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
52222         inclusions.
52223         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
52224
52225         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
52226         (elf_irel): Use it.
52227         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
52228         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
52229         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
52230         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
52231         * sysdeps/x86_64/dl-irel.h: Likewise.
52232
52233         * elf/dl-runtime.c: Use elf_ifunc_invoke.
52234         * elf/dl-sym.c: Likewise.
52235
52236 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
52237
52238         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
52239         need to dereference resplen2.
52240
52241 2011-06-14  Andreas Schwab  <schwab@redhat.com>
52242
52243         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
52244
52245 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
52246
52247         * Makeconfig: Define vardbdir and inst_vardbdir.
52248         * nss/Makefile: Add rules to install db-Makefile.
52249
52250         * nss/nss_db/db-XXX.c: Cleanup.
52251
52252         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
52253         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
52254         GLIBC_PRIVATE.
52255         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
52256         * nss/makedb.c: Implement -g option to specify that value strings
52257         are generated and should not be added to table iterated over for
52258         get*ent calls.
52259         * nss/nss_db/db-initgroups.c: New file.
52260
52261         * nss/getent.c: Add support for initgroups lookups through getgrouplist
52262         interface.
52263
52264         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
52265         (internal_getgrouplist): Adjust to name change.
52266         Update use_initgroups_entry if this is not the first call.
52267         * nss/databases.def: Add initgroups entry.
52268
52269         * nss/makedb.c (compute_tables): Check result of multiple hash table
52270         sizes to minimize maximum chain length.
52271
52272 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
52273
52274         * Versions.def: Add entry for libnss_db.
52275         * shlib-versions: Likewise.
52276         * nss/Makefile: Add rules to build libnss_db.
52277         * nss/Versions: Add libnss_db information.  Organize libnss_files
52278         entries better.
52279         * nss/db-Makefile: Add gshadow support.  Change rules for the new
52280         makedb progra.  Some minor improvements to generate smaller files.
52281         * nss/nss_db/nss_db.h: Move NSS database header data structures to
52282         here from...
52283         * nss/makedb.c: ...here.
52284         Improve database format to be smaller and require less memory at
52285         runtime.
52286         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
52287         db anymore.
52288         * nss/nss_db/db-netgrp.c: Likewise.
52289         * nss/nss_db/db-open.c: Likewise.
52290         * nss/nss_files/flies-XXX.x: Adjust comments.
52291         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
52292         * nss/nss_files/files-grp.c: Likewise.
52293         * nss/nss_files/files-hosts.c: Likewise.
52294         * nss/nss_files/files-network.c: Likewise.
52295         * nss/nss_files/files-proto.c: Likewise.
52296         * nss/nss_files/files-pwd.c: Likewise.
52297         * nss/nss_files/files-rpc.c: Likewise.
52298         * nss/nss_files/files-service.c: Likewise.
52299         * nss/nss_files/files-sgrp.c: Likewise.
52300         * nss/nss_files/files-spwd.c: Likewise.
52301         * nss/nss_db/db-alias.c: Removed.
52302         * nss/nss_db/dummy-db.h: Removed.
52303
52304 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
52305
52306         * nss/makedb.c: Rewritten to not use database library.
52307         * nss/Makefile: Update to build new makedb program.
52308
52309 2011-06-14  Andreas Jaeger  <aj@suse.de>
52310
52311         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
52312         memset declaration.
52313
52314 2011-06-10  Andreas Schwab  <schwab@redhat.com>
52315
52316         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
52317         tmpbuf.
52318
52319 2011-06-10  Roland McGrath  <roland@hack.frob.com>
52320
52321         * Makerules (shlib.lds): Fail if the linker script comes out empty.
52322         * elf/Makefile ($(objpfx)ld.so): Likewise.
52323
52324         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
52325         Don't list ld.so twice in dependencies.
52326
52327         * posix/bug-regex31.c: Include <stdlib.h>.
52328
52329         * nscd/hstcache.c (cache_addhst): Remove unused variable.
52330
52331         * nis/nss_compat/compat-spwd.c
52332         (getspent_next_nss_netgr): Remove unused variable.
52333         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
52334
52335         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
52336         nonmembers" output to use the right array.
52337
52338         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
52339
52340         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
52341
52342         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
52343         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
52344         * catgets/gencat.c (read_input_file): Likewise.
52345         * locale/programs/locarchive.c (enlarge_archive): Likewise.
52346
52347         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
52348         variable definition inside #if's controlling its use.
52349
52350         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
52351
52352         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
52353
52354         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
52355
52356         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
52357         unreachable code.
52358
52359         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
52360
52361         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
52362         * configure: Regenerated.
52363
52364         * Makerules: Revert last change.
52365         * elf/Makefile: Likewise.
52366
52367 2011-06-09  Roland McGrath  <roland@hack.frob.com>
52368
52369         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
52370         * elf/Makefile ($(objpfx)librtld.os): Likewise.
52371         (reloc-link): Likewise.
52372
52373 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
52374
52375         * elf/Makefile: Add rules to build pldd.
52376         * elf/pldd.c: New file.
52377         * elf/pldd-xx.c: New file.
52378
52379 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
52380
52381         * version.h: Update for 2.15 development version.
52382
52383 2011-06-07  David S. Miller  <davem@davemloft.net>
52384
52385         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
52386         ifuncs.
52387         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
52388         elf_machine_lazy_rel): Likewise.
52389         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
52390         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
52391         elf_machine_lazy_rel): Likewise.
52392         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
52393         dl_hwcap via passed in argument.
52394         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
52395         Likewise.
52396
52397 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52398
52399         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
52400
52401 2011-06-06  Roland McGrath  <roland@hack.frob.com>
52402
52403         [BZ #12849]
52404         * manual/fdl-1.1.texi: New file, verbatim from:
52405         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
52406         * manual/lgpl-2.1.texi: New file, verbatim from:
52407         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
52408         * manual/Makefile (licenses): New variable, list those new file names.
52409         (texis): Use it.
52410         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
52411
52412         * manual/fdl.texi: File removed.
52413         * manual/lesser.texi: File removed.
52414         * manual/libc.texinfo (Copying, Documentation License):
52415         Use new @include file names, put @appendix directive before @include.
52416
52417 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
52418
52419         [BZ #12841]
52420         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
52421         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
52422         (mq_open): Add __NTH.
52423
52424 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
52425
52426         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52427         Assume Intel Core i3/i5/i7 processor if AVX is available.
52428
52429 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
52430
52431         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
52432         typo.
52433
52434 2011-05-31  Andreas Schwab  <schwab@redhat.com>
52435
52436         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
52437         memory.  Use alloca_account.  Fix memory leak when retrying.
52438
52439 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
52440
52441         * version.h (RELEASE): Bump for 2.14 release.
52442         * include/features.h (__GLIBC_MINOR__): Bump to 14.
52443
52444         * config.make.in (RANLIB): Remove entry.
52445
52446 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
52447
52448         * po/Makefile (po-sed-cmd): Add ksh to extensions.
52449         (libc.pot): Work around missing support for .ksh extension in xgettext.
52450
52451         [BZ #12684]
52452         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
52453         if both request failed.
52454         (send_dg): In case of server errors clear resplen or *resplen2.
52455
52456         [BZ #12454]
52457         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
52458         when there are multiple maps.
52459         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
52460         (_dl_fini): Remove test here.
52461
52462         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
52463
52464 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
52465
52466         [BZ #12350]
52467         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
52468         bit from old_res_options.
52469         (gaih_inet): Likewise.
52470
52471         [BZ #11099]
52472         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
52473         as signed.
52474
52475         * resolv/res_init.c (res_setoptions): Make the code more compact.
52476
52477         [BZ #11558]
52478         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
52479         set RES_USEVC.
52480
52481         [BZ #11634]
52482         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
52483
52484         * malloc/malloc.h: Mark malloc hook variables as deprecated.
52485
52486         [BZ #11781]
52487         * malloc/malloc.h: Declare malloc hook variables as volatile.
52488
52489         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
52490         in last patch.
52491
52492         [BZ #11799]
52493         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
52494         raise in the comment.
52495         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
52496         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
52497         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
52498
52499 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
52500
52501         [BZ #12811]
52502         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
52503         grow the buffers more if it already has to be sufficient.
52504         (build_wcs_upper_buffer): Likewise.
52505         * posix/regexec.c (check_matching): Likewise.
52506         (clean_state_log_if_needed): Likewise.
52507         (extend_buffers): Don't enlarge buffers beyond size of the input
52508         buffer.
52509         Patches mostly by Emil Wojak <emil@wojak.eu>.
52510         * posix/bug-regex32.c: New file.
52511         * posix/Makefile (tests): Add bug-regex32.
52512
52513         * locale/findlocale.c (_nl_find_locale): Return right away if
52514         _nl_explode_name failed.
52515         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
52516
52517         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
52518
52519         * debug/xtrace.sh: Unify messages.
52520         * malloc/memusage.sh: Likewise.
52521
52522         [BZ #12813]
52523         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
52524         time symbol from vDSO.  Substitute with vsyscall if not available.
52525         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
52526         __vdso_time.
52527
52528         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
52529         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
52530         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
52531         Add sendmmsg and internal_sendmmsg.
52532         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
52533         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
52534         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
52535
52536         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
52537         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
52538         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
52539
52540 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
52541
52542         [BZ #12813]
52543         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
52544         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
52545         available.
52546         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
52547         __vdso_getcpu.
52548
52549         [BZ #12814]
52550         * iconvdata/Makefile (tests): Add bug-iconv9.
52551         * iconvdata/bug-iconv9.c: New file.
52552
52553 2011-05-27  Andreas Schwab  <schwab@redhat.com>
52554
52555         [BZ #12814]
52556         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
52557
52558 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
52559
52560         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
52561         (struct user_regs_struct): Change intcs field back to cs.
52562
52563 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
52564
52565         * po/ja.po: Update from translation team.
52566
52567 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
52568
52569         [BZ #12795]
52570         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
52571         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
52572
52573 2011-05-20  Andreas Schwab  <schwab@redhat.com>
52574
52575         * stdlib/longlong.h: Update from GCC.
52576
52577 2011-05-23  Andreas Schwab  <schwab@redhat.com>
52578
52579         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
52580         parameter name.
52581         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
52582         Add parameter name.
52583         (__sysconf): Pass it down.
52584
52585 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
52586
52587         [BZ #12671]
52588         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
52589         some situations.
52590         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
52591         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
52592         add in in __libc_use_alloca calls.  Adjust callers.
52593         (glob): Use malloc in some situations.
52594
52595         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
52596         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
52597         pltexit.
52598
52599 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
52600
52601         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
52602         and CLOCK_BOOTTIME_ALARM.
52603
52604         [BZ #12782]
52605         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
52606         is returned.
52607
52608         * string/_strerror.c (__strerror_r): Print negative errors as signed
52609         numbers.
52610
52611         [BZ #12777]
52612         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
52613         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
52614         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
52615
52616         * configure.in: Fix typo in redirection and correct removal of test
52617         files in two cases.
52618
52619         [BZ #12788]
52620         * locale/setlocale.c (new_composite_name): Fix test to check for
52621         identical name of all categories.
52622
52623         [BZ #12792]
52624         * libio/filedoalloc.c (local_isatty): New function.
52625         (_IO_file_doallocate): Use local_isatty.
52626         * stdio-common/perror.c (perror): In case a new stream is used
52627         forward the stream error.
52628         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
52629         error flag.
52630
52631 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
52632
52633         [BZ #11869]
52634         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
52635         alloca.
52636         * include/alloca.h (extend_alloca_account): Define.
52637
52638         [BZ #11857]
52639         * posix/regex.h: Fix comments with documentation of user-accessible
52640         fields after compilation and describe correct free'ing of pattern
52641         after re_compile_pattern.
52642         Patch by Reuben Thomas <rrt@sc3d.org>.
52643
52644 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
52645
52646         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
52647         and -mno-altivec to prevent the compiler from using Altivec and/or
52648         VSX instructions when the corresponding registers are not available.
52649
52650 2011-05-19  Andreas Schwab  <schwab@redhat.com>
52651
52652         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
52653
52654 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
52655
52656         * libio/freopen.c (freopen): Use __dup2, not dup2.
52657         * libio/freopen64.c (freopen64): Likewise.
52658
52659 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
52660
52661         [BZ #12775]
52662         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
52663         * math/Makefile (tests): Add test-powl.
52664         (CFLAGS-test-powl.c): Define.
52665         * math/test-powl.c: New file.
52666
52667 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
52668
52669         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
52670
52671 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
52672
52673         [BZ #11837]
52674         * iconvdata/gb18030.c: Update to GB18020-2005.
52675
52676 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
52677
52678         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
52679         RE_SYNTAX_POSIX_AWK): Update to match recent development.
52680         Patch by Aharon Robbins <arnold@skeeve.com>.
52681
52682         [BZ #11892]
52683         * stdlib/putenv.c (putenv): Don't always create copy of the variable
52684         on the stack.
52685
52686         [BZ #11895]
52687         * misc/pselect.c (__pselect): Handle timeout value errors hidden
52688         through underflows.
52689
52690         [BZ #12766]
52691         * misc/error.c (error_at_line): Ensure file_name and old_file_name
52692         point to strings before performing equality test for error_one_per_line
52693         mode.
52694
52695         [BZ #11697]
52696         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
52697
52698         [BZ #11820]
52699         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
52700         (struct user_fpregs_struct): Avoid __uint*_t types.
52701
52702         [BZ #6420]
52703         * malloc/mtrace.c (tr_where): Add additional parameter to point to
52704         symbol info.  Use it instead of calling _dl_addr locally.
52705         (lock_and_info): New function.
52706         (tr_freehook): Call lock_and_info and pass symbol info as additional
52707         parameter to tr_where.
52708         (tr_mallochook): Likewise.
52709         (tr_reallochook): Likewise.
52710         (tr_memalignhook): Likewise.
52711
52712         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
52713         used and couldn't be at all thread-safe.
52714
52715 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
52716
52717         * libio/freopen.c (freopen): Don't close old file descriptor
52718         before the new one is opened.  Instead dup the new file descriptor
52719         to the old one after the new stream is created.
52720         * libio/freopen64.c (freopen64): Likewise.
52721         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
52722         * libio/fileops.c (_IO_new_file_close_it): Handle new
52723         _IO_FLAGS2_NOCLOSE flag.
52724         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
52725         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
52726         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
52727         _IO_FLAGS2_NOCLOSE flag.
52728         * include/unistd.h: Add hidden_proto for dup3.
52729         Define __have_dup3.
52730         * io/dup3.c: Define hidden symbol.
52731         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
52732
52733         [BZ #7101]
52734         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
52735         when an incomplete long option is used.
52736         * posix/tst-getopt_long1.c: New file.
52737         * posix/Makefile (tests): Add tst-getopt_long1.
52738
52739         [BZ #10138]
52740         * scripts/config.guess: Update from autoconf-2.68.
52741         * scripts/config.sub: Likewise.
52742
52743         [BZ #10157]
52744         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
52745         tests into ...
52746         (has_cpuclock): ...this.  New function.
52747         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
52748         macro here based on has_cpuclock code.
52749
52750         [BZ #10149]
52751         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52752         First byte (not low byte) is now always NUL.
52753         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
52754
52755         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52756         Use non-cancelable interfaces.
52757
52758         [BZ #9809]
52759         * locale/iso-639.def: Add entry for Sorani.
52760
52761         [BZ #11901]
52762         * include/stdlib.h: Move include protection to the right place.
52763         Define abort_msg_s.  Declare __abort_msg with it.
52764         * stdlib/abort.c (__abort_msg): Adjust type.
52765         * assert/assert.c (__assert_fail_base): New function.  Majority
52766         of code from __assert_fail.  Allocate memory for __abort_msg with
52767         mmap.
52768         (__assert_fail): Now call __assert_fail_base.
52769         * assert/assert-perr.c: Remove bulk of implementation.  Use
52770         __assert_fail_base.
52771         * include/assert.hL Declare __assert_fail_base.
52772         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
52773         mmap.
52774         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
52775
52776 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
52777
52778         [BZ #11952]
52779         [BZ #12453]
52780         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
52781         until all modules are registered in the DTV.
52782         * elf/Makefile: Add rules to build and run tst-tls19.
52783         * elf/tst-tls19.c: New file.
52784         * elf/tst-tls19mod1.c: New file.
52785         * elf/tst-tls19mod2.c: New file.
52786         * elf/tst-tls19mod3.c: New file.
52787         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
52788
52789         [BZ #12083]
52790         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
52791         correctly.
52792
52793         [BZ #12601]
52794         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
52795         two-byte sequence errors.
52796         * iconvdata/Makefile (tests): Add bug-iconv8.
52797         * iconvdata/bug-iconv8.c: New file.
52798
52799         [BZ #12626]
52800         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
52801         buf2 definition.
52802
52803         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
52804
52805         [BZ #12432]
52806         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
52807         (dummy_getcfa): New function.
52808         (init): Get _Unwind_GetCFA address, use dummy if not found.
52809         (backtrace_helper): In recursion check, also check whether CFA changes.
52810         (__backtrace): Completely initialize arg.
52811
52812         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
52813         storing incomplete byte sequence in state object.  Avoid testing for
52814         guaranteed too small input if we know there is enough data available.
52815
52816 2011-05-11  Andreas Schwab  <schwab@redhat.com>
52817
52818         * Makeconfig (+link-pie): Indent.
52819         * Rules (binaries-pie): Define if $(have-fpie) and
52820         $(build-shared).
52821         (binaries-shared): Also filter out $(binaries-pie).
52822         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
52823         * nscd/Makefile (others-pie): Add nscd.
52824         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
52825         ($(objpfx)nscd): Remove command override.
52826         * login/Makefile (others-pie): Add pt_chown.
52827         ($(objpfx)pt_chown): Remove command override.
52828         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
52829         remove command overrides.
52830
52831 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
52832
52833         * libio/tst_putwc.c: Fix error messages.
52834
52835         [BZ #12724]
52836         * libio/fileops.c (_IO_new_file_close_it): Always flush when
52837         currently writing and seek to current position when not.
52838         * libio/Makefile (tests): Add bug-fclose1.
52839         * libio/bug-fclose1.c: New file.
52840
52841 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
52842
52843         [BZ #12511]
52844         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
52845         don't set DF_1_NODELETE here.
52846         (do_lookup_x): When entering new entry test for copy relocation
52847         and if necessary set DF_1_NODELETE flag.
52848         * elf/tst-unique4.cc: New file.
52849         * elf/tst-unique4.h: New file.
52850         * elf/tst-unique4lib.cc: New file.
52851         * elf/Makefile: Add rules to build and run tst-unique4.
52852         Patch by Piotr Bury <pbury@goahead.com>.
52853
52854 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
52855
52856         [BZ #12052]
52857         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
52858
52859         [BZ #12625]
52860         * misc/mntent_r.c (addmntent): Flush the stream after the output
52861
52862         [BZ #12393]
52863         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
52864         (is_trusted_path_normalize): Skip initial colon.  Append slash
52865         to empty buffer.  Duplicate is_trusted_path code but allow
52866         constructed patch to be prefix.
52867         (is_dst): Allow $ORIGIN followed by /.
52868         (_dl_dst_substitute): Correct clearing of check_for_trusted.
52869         Correct testing of result of is_trusted_path_normalize
52870         (decompose_rpath): Fix warning.
52871
52872 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
52873
52874         [BZ #11257]
52875         * grp/initgroups.c (internal_getgrouplist): When we found the service
52876         list through the initgroups entry in nsswitch.conf do not always
52877         continue on a successful lookup.  Don't always use the
52878         __nss_group_database value if it is set.
52879         * nss/nsswitch.conf (initgroups): Change action for successful db
52880         lookup to continue for compatibility.
52881
52882 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
52883
52884         [BZ #11532]
52885         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
52886         and CP774 modules.
52887         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
52888         and CP774 modules.
52889         * iconvdata/tst-tables.sh: Likewise.
52890         * iconvdata/cp770.c: New file.
52891         * iconvdata/cp771.c: New file.
52892         * iconvdata/cp772.c: New file.
52893         * iconvdata/cp773.c: New file.
52894         * iconvdata/cp774.c: New file.
52895         * iconvdata/testdata/CP770: New file.
52896         * iconvdata/testdata/CP770..UTF8: New file.
52897         * iconvdata/testdata/CP771: New file.
52898         * iconvdata/testdata/CP771..UTF8: New file.
52899         * iconvdata/testdata/CP772: New file.
52900         * iconvdata/testdata/CP772..UTF8: New file.
52901         * iconvdata/testdata/CP773: New file.
52902         * iconvdata/testdata/CP773..UTF8: New file.
52903         * iconvdata/testdata/CP774: New file.
52904         * iconvdata/testdata/CP774..UTF8: New file.
52905
52906         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
52907         END CHARMAP line.
52908         * iconvdata/gen-8bit-gap.sh: Likewise.
52909         * iconvdata/gen-8bit.sh: Likewise.
52910
52911         * locale/iso-639.def: Add ary entry.
52912
52913         [BZ #11258]
52914         * locale/C-translit.h.in: Add U20A1 transliteration.
52915
52916         [BZ #12178]
52917         * locale/iso-639.def: Add wae entry.
52918         Patch by Kevin Bortis <bortis@translate-wae.ch>.
52919
52920         [BZ #12545]
52921         * locale/programs/localedef.c (construct_output_path): Use ssize_t
52922         for n.
52923
52924         [BZ #12711]
52925         * locale/C-translit.h.in: Add entry for U20B9.
52926         Patch by pravin.d.s@gmail.com.
52927
52928 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
52929
52930         [BZ #12713]
52931         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
52932         ENAMETOOLONG use generic getcwd.
52933         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
52934         in rtld.  Use *stat64.
52935         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
52936         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
52937         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
52938         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
52939         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
52940         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
52941         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
52942         __fstatat64 macros.
52943         * include/dirent.h: Add libc_hidden_proto for rewinddir.
52944         * dirent/rewinddir.c: Add libc_hidden_def.
52945         * sysdeps/mach/hurd/rewinddir.c: Likewise.
52946         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
52947
52948         * include/dirent.h (__alloc_dir): Add flags parameter.
52949         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
52950         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
52951         __alloc_dir.
52952         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
52953         from fdopendir if O_CLOEXEC is already set.
52954
52955 2011-03-15  Alan Modra  <amodra@gmail.com>
52956
52957         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
52958         l_tls_firstbyte_offset non-zero.  Save padding offset in
52959         l_tls_firstbyte_offset for later use.
52960         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
52961         freeing static tls block.
52962
52963 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
52964
52965         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
52966         where #ifdef was intended.  The intent is to prevent ARG_MAX from
52967         being defined by the kernel headers.
52968
52969 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
52970
52971         [BZ #12734]
52972         * resolv/resolv.h: Define RES_NOTLDQUERY.
52973         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
52974         no-tld-query and set RES_NOTLDQUERY.
52975         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
52976         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
52977         modern BIND to search name as TLD unless forbidden.
52978
52979 2011-05-07  Petr Baudis  <pasky@suse.cz>
52980             Ulrich Drepper  <drepper@gmail.com>
52981
52982         [BZ #12393]
52983         * elf/dl-load.c (fillin_rpath): Move trusted path check...
52984         (is_trusted_path): ...to here.
52985         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
52986         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
52987         using is_trusted_path_normalize() in setuid scripts.
52988
52989 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
52990
52991         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
52992         __BEGIN/__END_DECLS.
52993
52994 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
52995
52996         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
52997         NSS_STATUS_NOTFOUND if no record was found.
52998
52999 2011-05-05  Andreas Schwab  <schwab@redhat.com>
53000
53001         * sunrpc/Makefile (headers): Add rpc/netdb.h.
53002         (headers-not-in-tirpc): Remove rpc/netdb.h
53003         * resolv/netdb.h: Revert last change.
53004
53005 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
53006
53007         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
53008         circular dependency between libgcc.a and libc.a.
53009
53010 2011-05-05  Andreas Schwab  <schwab@redhat.com>
53011
53012         * resolv/netdb.h: Don't include <rpc/netdb.h>.
53013         * nis/Makefile: Don't install rpcsvc/*.
53014         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
53015         instead of <rpc/types.h>.
53016         (MAXHOSTNAMELEN): Define.
53017
53018 2011-05-03  Andreas Schwab  <schwab@redhat.com>
53019
53020         * elf/ldconfig.c (add_dir): Don't crash on empty path.
53021
53022 2011-04-28  Maciej Babinski  <mbabinski@google.com>
53023
53024         [BZ #12714]
53025         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
53026         gethostbyname4_r when IPv6 results are possible.
53027
53028 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
53029
53030         [BZ #12723]
53031         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
53032         _PC_PIPE_BUF handling.
53033
53034 2011-04-30  Bruno Haible  <bruno@clisp.org>
53035
53036         [BZ #12717]
53037         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
53038         * resolv/netdb.h (getnameinfo): Change type of flags parameter
53039         to 'int'.
53040         * inet/getnameinfo.c (getnameinfo): Likewise.
53041
53042 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
53043
53044         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
53045         to groups setting in database lookup.
53046         * nss/nsswitch.conf: Add initgroups entry.
53047
53048 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
53049
53050         [BZ #12685]
53051         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
53052         mode string.
53053         Patch by Eric Blake <eblake@redhat.com>.
53054
53055 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
53056
53057         * sunrpc/Makefile (need-export-routines): Add svc_run.
53058         (routines): Remove svc_run.
53059         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
53060         * sunrpc/clnt_perr.c (clnt_perrno): Export.
53061         * sunrpc/svc_run.c (svc_run): Likewise.
53062         * sunrpc/svc_udp.c (svcudp_create): Likewise.
53063
53064 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
53065
53066         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
53067         problem in reallocation in last patch.
53068
53069 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
53070
53071         * sunrpc/Makefile: Move inclusion of Rules.
53072
53073 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
53074
53075         * nss/nss_files/files-initgroups.c: New file.
53076         * nss/Makefile (libnss_files-routines): Add files-initgroups.
53077         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
53078         _nss_files_initgroups_dyn.
53079
53080 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
53081
53082         * elf/elf.h (R_ARM_IRELATIVE): Define.
53083
53084 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
53085
53086         * po/ru.po: Update from translation team.
53087
53088 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
53089
53090         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
53091         dependencies.
53092
53093 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
53094
53095         [BZ #12653]
53096         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
53097         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
53098         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
53099         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
53100         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
53101
53102 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
53103
53104         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
53105         differing bytes.
53106         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
53107         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
53108         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
53109
53110 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
53111
53112         [BZ #12420]
53113         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
53114         storing it.
53115         * stdlib/bug-getcontext.c: New file.
53116         * stdlib/Makefile: Add rules to build and run bug-getcontext.
53117
53118 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53119
53120         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
53121         instructions into .machine "z9-109".
53122         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
53123         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
53124
53125 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53126
53127         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
53128         between environment variables and auxiliary vector.
53129
53130 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
53131
53132         * Makefile: Add rules to build linkobj/libc.so.
53133         * include/libc-symbols.h: Define libc_hidden_nolink.
53134         * include/rpc/auth.h: Mark functions which are to be hidden.
53135         * include/rpc/auth_des.h: Likewise.
53136         * include/rpc/auth_unix.h: Likewise.
53137         * include/rpc/clnt.h: Likewise.
53138         * include/rpc/des_crypt.h: Likewise.
53139         * include/rpc/key_prot.h: Likewise.
53140         * include/rpc/pmap_clnt.h: Likewise.
53141         * include/rpc/pmap_prot.h: Likewise.
53142         * include/rpc/pmap_rmt.h: Likewise.
53143         * include/rpc/rpc_msg.h: Likewise.
53144         * include/rpc/svc.h: Likewise.
53145         * include/rpc/svc_auth.h: Likewise.
53146         * include/rpc/xdr.h: Likewise.
53147         * nis/Makefile: Link all DSOs against linkobj/libc.so.
53148         * nss/Makefile: Likewise.
53149         * sunrpc/Makefile: Don't install headers.  Build library with normal
53150         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
53151         * sunrpc/auth_des.c: Hide exported symbols by default, export some
53152         for the compat linking library.  Remove use of INTDEF/INTUSE.
53153         * sunrpc/auth_none.c: Likewise.
53154         * sunrpc/auth_unix.c: Likewise.
53155         * sunrpc/authdes_prot.c: Likewise.
53156         * sunrpc/authuxprot.c: Likewise.
53157         * sunrpc/clnt_gen.c: Likewise.
53158         * sunrpc/clnt_perr.c: Likewise.
53159         * sunrpc/clnt_raw.c: Likewise.
53160         * sunrpc/clnt_simp.c: Likewise.
53161         * sunrpc/clnt_tcp.c: Likewise.
53162         * sunrpc/clnt_udp.c: Likewise.
53163         * sunrpc/clnt_unix.c: Likewise.
53164         * sunrpc/des_crypt.c: Likewise.
53165         * sunrpc/des_soft.c: Likewise.
53166         * sunrpc/get_myaddr.c: Likewise.
53167         * sunrpc/key_call.c: Likewise.
53168         * sunrpc/key_prot.c: Likewise.
53169         * sunrpc/netname.c: Likewise.
53170         * sunrpc/pm_getmaps.c: Likewise.
53171         * sunrpc/pm_getport.c: Likewise.
53172         * sunrpc/pmap_clnt.c: Likewise.
53173         * sunrpc/pmap_prot.c: Likewise.
53174         * sunrpc/pmap_prot2.c: Likewise.
53175         * sunrpc/pmap_rmt.c: Likewise.
53176         * sunrpc/publickey.c: Likewise.
53177         * sunrpc/rpc_cmsg.c: Likewise.
53178         * sunrpc/rpc_common.c: Likewise.
53179         * sunrpc/rpc_dtable.c: Likewise.
53180         * sunrpc/rpc_prot.c: Likewise.
53181         * sunrpc/rpc_thread.c: Likewise.
53182         * sunrpc/rtime.c: Likewise.
53183         * sunrpc/svc.c: Likewise.
53184         * sunrpc/svc_auth.c: Likewise.
53185         * sunrpc/svc_authux.c: Likewise.
53186         * sunrpc/svc_raw.c: Likewise.
53187         * sunrpc/svc_run.c: Likewise.
53188         * sunrpc/svc_simple.c: Likewise.
53189         * sunrpc/svc_tcp.c: Likewise.
53190         * sunrpc/svc_udp.c: Likewise.
53191         * sunrpc/svc_unix.c: Likewise.
53192         * sunrpc/svcauth_des.c: Likewise.
53193         * sunrpc/xcrypt.c: Likewise.
53194         * sunrpc/xdr.c: Likewise.
53195         * sunrpc/xdr_array.c: Likewise.
53196         * sunrpc/xdr_float.c: Likewise.
53197         * sunrpc/xdr_intXX_t.c: Likewise.
53198         * sunrpc/xdr_mem.c: Likewise.
53199         * sunrpc/xdr_rec.c: Likewise.
53200         * sunrpc/xdr_ref.c: Likewise.
53201         * sunrpc/xdr_sizeof.c: Likewise.
53202         * sunrpc/xdr_stdio.c: Likewise.
53203
53204 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
53205
53206         [BZ #12650]
53207         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
53208         * sysdeps/ia64/dl-tls.h: Likewise.
53209         * sysdeps/powerpc/dl-tls.h: Likewise.
53210         * sysdeps/s390/dl-tls.h: Likewise.
53211         * sysdeps/sh/dl-tls.h: Likewise.
53212         * sysdeps/sparc/dl-tls.h: Likewise.
53213         * sysdeps/x86_64/dl-tls.h: Likewise.
53214         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
53215
53216 2011-03-14  Andreas Schwab  <schwab@redhat.com>
53217
53218         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
53219         rpath element also skip the following colon.
53220         (expand_dynamic_string_token): Add is_path parameter and pass
53221         down to DL_DST_REQUIRED and _dl_dst_substitute.
53222         (decompose_rpath): Call expand_dynamic_string_token with
53223         non-zero is_path.  Ignore empty rpaths.
53224         (_dl_map_object_from_fd): Call expand_dynamic_string_token
53225         with zero is_path.
53226
53227 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
53228
53229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
53230         Make cancelable.
53231
53232 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
53233
53234         [BZ #12655]
53235         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
53236         Patch by Filipe David Manana <fdmanana@apache.org>.
53237
53238 2011-04-07  Andreas Schwab  <schwab@redhat.com>
53239
53240         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
53241         Maintain aligned stack.
53242         (CHECK_RSP): Remove unused macro.
53243
53244 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
53245
53246         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
53247         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
53248
53249 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
53250
53251         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
53252
53253         * include/features.h: Mention __USE_XOPEN2K8 in comment.
53254
53255 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
53256
53257         [BZ #12518]
53258         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
53259         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
53260         * sysdeps/x86_64/memmove.c: New file.
53261         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
53262         (memcpy): Renamed to ...
53263         (__new_memcpy): This.
53264         (memcpy): Provide GLIBC_2_14 memcpy.
53265         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
53266         (memcpy): Provide GLIBC_2_2_5 memcpy.
53267
53268 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
53269
53270         [BZ #12631]
53271         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
53272
53273 2011-03-30  Andreas Schwab  <schwab@redhat.com>
53274
53275         * misc/syncfs.c: New file.
53276         * misc/Makefile (routines): Add syncfs.
53277         * posix/unistd.h: Declare syncfs.
53278         * sysdeps/unix/syscalls.list: Add syncfs.
53279
53280 2011-04-01  Andreas Schwab  <schwab@redhat.com>
53281
53282         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
53283         open_by_handle_at.
53284         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
53285         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
53286         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53287         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53288         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53289         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
53290         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53291
53292 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
53293
53294         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
53295         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
53296         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
53297         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53298         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53299         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53300         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53301
53302         * io/Makefile: Compile fallocate.c, fallocate64.c, and
53303         sync_file_range.c with -fexceptions.
53304         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
53305         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
53306         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
53307         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
53308         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
53309         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
53310         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
53311         sync_file_range as cancellation point
53312         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
53313         now a wrapper around __call_sync_file_range with cancellation handling.
53314         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
53315         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
53316         function name to __call_sync_file_range.
53317         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
53318         Add call_sync_file_range.
53319
53320 2011-04-01  Andreas Schwab  <schwab@redhat.com>
53321
53322         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53323         bits/timex.h.
53324
53325 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
53326
53327         * iconv/iconv.h: Fix typo in comment.
53328         * io/fcntl.h: Likewise.
53329         * libio/stdio.h: Likewise.
53330         * posix/spawn.h: Likewise.
53331         * posix/unistd.h: Likewise.
53332         * stdlib/stdlib.h: Likewise.
53333         * time/time.h: Likewise.
53334         * wcsmbs/wchar.h: Likewise.
53335
53336         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
53337         open_by_handle): Add.
53338         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
53339         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
53340         Augment a few comments.
53341         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
53342         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53343         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53344         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53345         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53346         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
53347         open_by_handle.
53348
53349         * io/fcntl.h (AT_EMPTY_PATH): Define.
53350
53351 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
53352
53353         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
53354         * sysdeps/unix/sysv/linux/bits/time.h: New file.
53355         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
53356         to...
53357         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
53358         * Versions.def: Add GLIBC_2.14.
53359         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
53360         Export.
53361
53362 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
53363
53364         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
53365         round counter.
53366         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
53367
53368 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
53369
53370         [BZ #12597]
53371         * string/test-strncmp.c (do_page_test): New function.
53372         (check2): Likewise.
53373         (test_main): Call check2.
53374         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
53375
53376 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
53377
53378         [BZ #12587]
53379         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
53380         Handle cache information in CPU leaf 4.
53381         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
53382
53383 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
53384
53385         [BZ #12583]
53386         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
53387         character representation.
53388         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
53389
53390 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
53391
53392         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
53393         END(__isnan) to END(__isnanf) to match function entry point/label
53394         EALIGN(__isnanf,...).
53395
53396 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
53397
53398         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
53399
53400 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
53401
53402         [BZ #12510]
53403         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
53404         copy from the symbol referenced in the relocation to initialize the
53405         used variable.
53406         Patch by Piotr Bury <pbury@goahead.com>.
53407         * elf/Makefile: Add rules to build and tst-unique3.
53408         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
53409         * elf/tst-unique3.cc: New file.
53410         * elf/tst-unique3.h: New file.
53411         * elf/tst-unique3lib.cc: New file.
53412         * elf/tst-unique3lib2.cc: New file.
53413
53414         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
53415
53416 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
53417
53418         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
53419         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
53420         to _start.
53421
53422 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
53423
53424         * elf/dl-load.c (_dl_map_object): If we are looking for the first
53425         to-be-loaded object along a path to loader is ld.so.
53426
53427 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
53428             Ulrich Drepper  <drepper@gmail.com>
53429
53430         * sysdeps/x86_64/memset.S: After aligning destination, code
53431         branches to different locations depending on the value of
53432         misalignment, when multiarch is enabled. Fix this.
53433
53434 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
53435
53436         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
53437         Set _x86_64_preferred_memory_instruction for AMD processsors.
53438         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53439         Set bit_Prefer_SSE_for_memop for AMD processors.
53440
53441 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
53442
53443         * libio/fmemopen.c (fmemopen): Optimize a bit.
53444
53445 2011-03-03  Andreas Schwab  <schwab@redhat.com>
53446
53447         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
53448
53449 2011-03-03  Roland McGrath  <roland@redhat.com>
53450
53451         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
53452
53453 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
53454
53455         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
53456         __bzero_ultra1 instead of __memset_ultra1.
53457
53458 2011-02-23  Andreas Schwab  <schwab@redhat.com>
53459             Ulrich Drepper  <drepper@gmail.com>
53460
53461         [BZ #12509]
53462         * include/link.h (struct link_map): Add l_orig_initfini.
53463         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
53464         returning unsuccessfully.
53465         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
53466         close of a file loaded at startup, restore the original l_initfini
53467         list.
53468         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
53469         list, store the pointer.
53470         * elf/Makefile ($(objpfx)noload-mem): New rule.
53471         (noload-ENV): Define.
53472         (tests): Add $(objpfx)noload-mem.
53473         * elf/noload.c: Include <memcheck.h>.
53474         (main): Call mtrace.  Close all opened handles.
53475
53476 2011-02-17  Andreas Schwab  <schwab@redhat.com>
53477
53478         [BZ #12454]
53479         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
53480         dependencies are missing.
53481
53482 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53483
53484         Fix __if_freereq crash: Unlike the generic version which uses free,
53485         Hurd needs munmap.
53486         * sysdeps/mach/hurd/ifreq.h: New file.
53487
53488 2011-01-27  Petr Baudis  <pasky@suse.cz>
53489             Ulrich Drepper  <drepper@gmail.com>
53490
53491         [BZ 12445]#
53492         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
53493         to extend_alloca().
53494         * stdio-common/bug23.c: New file.
53495         * stdio-common/Makefile (tests): Add bug23.
53496
53497 2010-09-28  Andreas Schwab  <schwab@redhat.com>
53498             Ulrich Drepper  <drepper@gmail.com>
53499
53500         [BZ #12489]
53501         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
53502         before performing relro protection.  At old place add assertion
53503         to make sure nothing changed.
53504
53505 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
53506             Glauber de Oliveira Costa  <glommer@gmail.com>
53507
53508         * elf/elf.h: Add new ARM TLS relocs.
53509
53510 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
53511
53512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
53513         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
53514         cast from r3.
53515         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
53516         'tests' variable.
53517         * sysdeps/wordsize-64/tst-writev.c: New file.
53518
53519 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
53520
53521         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
53522         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
53523         insns in _dl_start to prevent a TOC reference before relocs are
53524         resolved.
53525
53526 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
53527
53528         [BZ #12469]
53529         * Makeconfig: Remove RANLIB definition.
53530         * Makerules: Don't use RANLIB.
53531         * aclocal.m4: Remove ranlib test.
53532         * configure.in: No need to check for ranlib.
53533         * elf/rtld-Rules: Don't use RANLIB.
53534
53535 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53536
53537         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
53538         protection macro.
53539         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
53540         inclusion protection macro.
53541
53542         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
53543         SIGRTMIN and SIGRTMAX and print information in that case only when
53544         SIGRTMIN is defined.
53545
53546 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
53547
53548         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
53549         arginfo fn returning -1.
53550
53551         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
53552         and thousands string is zero terminated.
53553
53554 2011-02-03  Andreas Schwab  <schwab@redhat.com>
53555
53556         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
53557         sysdeps/unix/sysv/linux/bits/socket.h.
53558
53559 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53560
53561         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
53562         (__CPU_COUNT): Remove old macros.
53563         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
53564         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
53565         (__CPU_ALLOC, __CPU_FREE): Add macros.
53566         (__sched_cpualloc, __sched_cpufree): Add declarations.
53567
53568 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
53569
53570         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
53571         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
53572         * nscd/aicache.c (addhstaiX): Return timeout of added value.
53573         (readdhstai): Return value of addhstaiX call.
53574         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
53575         (addgrbyX): Return value returned by cache_addgr.
53576         (readdgrbyname): Return value returned by addgrbyX.
53577         (readdgrbygid): Likewise.
53578         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
53579         (addpwbyX): Return value returned by cache_addpw.
53580         (readdpwbyname): Return value returned by addhstbyX.
53581         (readdpwbyuid): Likewise.
53582         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
53583         (addservbyX): Return value returned by cache_addserv.
53584         (readdservbyname): Return value returned by addservbyX:
53585         (readdservbyport): Likewise.
53586         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
53587         (addhstbyX): Return value returned by cache_addhst.
53588         (readdhstbyname): Return value returned by addhstbyX.
53589         (readdhstbyaddr): Likewise.
53590         (readdhstbynamev6): Likewise.
53591         (readdhstbyaddrv6): Likewise.
53592         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
53593         (readdinitgroups): Return value returned by addinitgroupsX.
53594         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
53595         (prune_cache): Keep track of timeout value of re-added entries.
53596         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
53597         * nscd/nscd.h: Adjust prototypes of readd* functions.
53598
53599 2011-02-04  Roland McGrath  <roland@redhat.com>
53600
53601         * nis/nis_server.c (nis_servstate): Use the right name for 0.
53602         (nis_stats): Likewise.
53603         * nis/nis_modify.c (nis_modify): Likewise.
53604         * nis/nis_remove.c (nis_remove): Likewise.
53605         * nis/nis_add.c (nis_add): Likewise.
53606
53607         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
53608
53609         * posix/fnmatch_loop.c: Add some consts.
53610
53611         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
53612
53613 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
53614
53615         [BZ #12460]
53616         * config.make.in (config-cflags-novzeroupper): Define.
53617         * configure.in: Substitute libc_cv_cc_novzeroupper.
53618         * elf/Makefile (AVX-CFLAGS): Define.
53619         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
53620         (CFLAGS-tst-auditmod4a.c): Likewise.
53621         (CFLAGS-tst-auditmod4b.c): Likewise.
53622         (CFLAGS-tst-auditmod6b.c): Likewise.
53623         (CFLAGS-tst-auditmod6c.c): Likewise.
53624         (CFLAGS-tst-auditmod7b.c): Likewise.
53625         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
53626
53627 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
53628
53629         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
53630         function to the callback.
53631         Patch partly by Jiri Olsa <jolsa@redhat.com>.
53632
53633 2011-02-02  Andreas Schwab  <schwab@redhat.com>
53634
53635         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
53636         of errno.
53637
53638 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
53639
53640         [BZ #11724]
53641         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
53642         of constructors.
53643         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
53644         of destructors.
53645         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
53646
53647         [BZ #11724]
53648         * elf/Makefile: Add rules to build and run new test.
53649         * elf/tst-initorder.c: New file.
53650         * elf/tst-initorder.exp: New file.
53651         * elf/tst-initordera1.c: New file.
53652         * elf/tst-initordera2.c: New file.
53653         * elf/tst-initordera3.c: New file.
53654         * elf/tst-initordera4.c: New file.
53655         * elf/tst-initorderb1.c: New file.
53656         * elf/tst-initorderb2.c: New file.
53657         * elf/tst-order-a1.c: New file.
53658         * elf/tst-order-a2.c: New file.
53659         * elf/tst-order-a3.c: New file.
53660         * elf/tst-order-a4.c: New file.
53661         * elf/tst-order-b1.c: New file.
53662         * elf/tst-order-b2.c: New file.
53663         * elf/tst-order-main.c: New file.
53664         New test case by George Gensure <werkt0@gmail.com>.
53665
53666 2010-10-01  Andreas Schwab  <schwab@redhat.com>
53667
53668         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
53669         decoding ACE if AI_CANONIDN.
53670
53671 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
53672
53673         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
53674
53675 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
53676
53677         * version.h (RELEASE): Bump for 2.13 release.
53678         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
53679
53680         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
53681
53682         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
53683         MADV_NOHUGEPAGE.
53684         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
53685         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
53686         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
53687         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
53688         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
53689         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
53690
53691         * posix/getconf.c: Update copyright year.
53692         * catgets/gencat.c: Likewise.
53693         * csu/version.c: Likewise.
53694         * debug/catchsegv.sh: Likewise.
53695         * debug/xtrace.sh: Likewise.
53696         * elf/ldconfig.c: Likewise.
53697         * elf/ldd.bash.in: Likewise.
53698         * elf/sprof.c (print_version): Likewise.
53699         * iconv/iconv_prog.c: Likewise.
53700         * iconv/iconvconfig.c: Likewise.
53701         * locale/programs/locale.c: Likewise.
53702         * locale/programs/localedef.c: Likewise.
53703         * malloc/memusage.sh: Likewise.
53704         * malloc/mtrace.pl: Likewise.
53705         * nscd/nscd.c (print_version): Likewise.
53706         * nss/getent.c: Likewise.
53707
53708         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
53709         PF_CAIF, and PF_ALG.
53710         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53711
53712 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
53713
53714         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
53715         (modules-names): Use them.
53716         (ifunc-test-modules, ifunc-pie-tests): Define.
53717         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
53718         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
53719         (test-extras): Likewise.
53720         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
53721         $(compile-command.c).
53722         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
53723         (all-built-dso): Define.
53724         (check-textrel.out, check-execstack.out): Depend on it.
53725
53726         * configure.in: Don't override --enable-multi-arch.
53727
53728 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
53729
53730         [BZ #6812]
53731         * nscd/hstcache.c (tryagain): Define.
53732         (cache_addhst): Return tryagain not notfound for temporary errors.
53733         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
53734         failed.
53735
53736 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
53737
53738         [BZ #10563]
53739         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
53740         to make the syscall.
53741         * sysdeps/unix/sysv/linux/setgroups.c: New file.
53742
53743         [BZ #12378]
53744         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
53745         and fall back to matching as normal character if the string ends before
53746         the matching ']' is found.  This is what POSIX requires.
53747         * posix/testfnm.c: Adjust test result.
53748         * posix/globtest.sh: Adjust test result.  Add new test.
53749         * posix/tst-fnmatch.input: Likewise.
53750         * posix/tst-fnmatch2.c: Add new test.
53751
53752 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
53753
53754         * elf/Makefile (check-execstack): Revert last change.  Depend on
53755         check-execstack.h.
53756         (check-execstack.h): New target.
53757         (generated): Add check-execstack.h.
53758         * elf/check-execstack.c: Include "check-execstack.h".
53759         (main): Revert last change.
53760         (handle_file): Return zero if GNU_STACK is absent and
53761         DEFAULT_STACK_PERMS doesn't include PF_X.
53762
53763 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
53764
53765         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
53766         in child fails because the descriptor is already closed.
53767         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
53768         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
53769         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
53770
53771         [BZ #12397]
53772         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
53773         syscall.
53774
53775         [BZ #10484]
53776         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
53777         temporary buffer used to handle multi lookups locally.
53778         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
53779
53780 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
53781
53782         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
53783         loader is ld.so.
53784
53785 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
53786
53787         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
53788         alignment for SSE2.
53789
53790 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
53791
53792         [BZ #12394]
53793         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
53794         characters.  When rounding increased number of integer digits recompute
53795         number of groups.
53796         * stdio-common/tst-grouping.c: New file.
53797         * stdio-common/Makefile: Add rules to build and run tst-grouping.
53798
53799 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
53800
53801         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
53802         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
53803
53804         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
53805         void.
53806         * bits/select.h: Likewise.
53807
53808 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
53809
53810         * po/ja.po: Update from translation team.
53811
53812 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
53813
53814         [BZ #11155]
53815         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
53816         implementation just like for lxstat, fxstatat, et al.
53817
53818 2010-12-27  Jim Meyering  <meyering@redhat.com>
53819
53820         [BZ #12348]
53821         * posix/regexec.c (build_trtable): Return failure indication upon
53822         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
53823
53824 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
53825
53826         [BZ #12201]
53827         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
53828         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
53829         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
53830         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
53831
53832         [BZ #12207]
53833         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
53834
53835         [BZ #12204]
53836         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
53837         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
53838
53839 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
53840
53841         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
53842         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
53843         script has SORT_BY_INIT_PRIORITY.
53844         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
53845         NO_CTORS_DTORS_SECTIONS is defined.
53846         * elf/soinit.c: Likewise.
53847         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
53848         NO_CTORS_DTORS_SECTIONS is defined.
53849         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
53850         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
53851         * sysdeps/sh/init-first.c: Likewise.
53852         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
53853
53854 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
53855
53856         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
53857         always use the slow path.
53858
53859 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
53860
53861         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
53862         similar rule which adds the sysdep directories to the header search in
53863         order to pick up the correct platform stackinfo.h.
53864         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
53865         perform test if it is, otherwise return successfully without testing.
53866         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
53867         DEFAULT_STACK_PERMS define in stackinfo.h.
53868         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
53869         defined in stackinfo.h.
53870         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
53871         DEFAULT_STACK_PERMS defined in stackinfo.h.
53872         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
53873         * sysdeps/ia64/stackinfo.h: Likewise.
53874         * sysdeps/s390/stackinfo.h: Likewise.
53875         * sysdeps/sh/stackinfo.h: Likewise.
53876         * sysdeps/sparc/stackinfo.h: Likewise.
53877         * sysdeps/x86_64/stackinfo.h: Likewise.
53878         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
53879         PF_X for powerpc64.  Retain PF_X for powerpc32.
53880
53881 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
53882
53883         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
53884         accurately.
53885         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
53886         GETDENTS_64BIT_ALIGNED.
53887
53888 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
53889
53890         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
53891
53892 2010-12-10  Andreas Schwab  <schwab@redhat.com>
53893
53894         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
53895         _GNU_SOURCE.
53896
53897         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
53898         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
53899         Remove __restrict.
53900         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
53901         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
53902
53903 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
53904
53905         [BZ #11655]
53906         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
53907         are initialized.
53908
53909 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
53910
53911         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
53912
53913 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
53914
53915         * po/it.po: Update from translation team.
53916
53917 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
53918
53919         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
53920         unused codes.
53921
53922 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
53923
53924         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
53925
53926 2010-11-24  Andreas Schwab  <schwab@redhat.com>
53927
53928         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
53929         specially.
53930         (gaih_getanswer_slice): Likewise.
53931
53932 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
53933
53934         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
53935
53936 2010-05-31  Petr Baudis  <pasky@suse.cz>
53937
53938         [BZ #11149]
53939         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
53940         silently even in the chroot mode.
53941
53942 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
53943
53944         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
53945         last patch a bit.  Pretty printing
53946
53947 2010-05-31  Petr Baudis <pasky@suse.cz>
53948
53949         [BZ #10085]
53950         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
53951         initialization of skip_initgroups_dyn.
53952
53953 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
53954
53955         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
53956         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
53957
53958 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
53959
53960         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
53961
53962 2010-11-11  Andreas Schwab  <schwab@redhat.com>
53963
53964         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
53965         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
53966         (tst-fnmatch-ENV): Set MALLOC_TRACE.
53967         ($(objpfx)tst-fnmatch-mem): New rule.
53968         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
53969         * posix/tst-fnmatch.c (main): Call mtrace.
53970
53971 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
53972
53973         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53974         Support Intel processor model 6 and model 0x2c.
53975
53976 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
53977
53978         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
53979           signed comparison.
53980
53981 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
53982
53983         [BZ #12205]
53984         * string/test-strncasecmp.c (check_result): New function.
53985         (do_one_test): Use it.
53986         (check1): New function.
53987         (test_main): Use it.
53988         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
53989         Support strcasecmp and strncasecmp.
53990
53991 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
53992
53993         [BZ #12194]
53994         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
53995         * sysdeps/x86_64/bits/byteswap.h: Likewise.
53996
53997 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
53998
53999         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
54000         IFUNC support.
54001         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54002         memset-x86-64.
54003         * sysdeps/x86_64/multiarch/bzero.S: New file.
54004         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
54005         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
54006         * sysdeps/x86_64/multiarch/memset.S: New file.
54007         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
54008         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54009         Set bit_Prefer_SSE_for_memop for Intel processors.
54010         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
54011         Define.
54012         (index_Prefer_SSE_for_memop): Define.
54013         (HAS_PREFER_SSE_FOR_MEMOP): Define.
54014
54015 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
54016
54017         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
54018         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
54019
54020 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
54021
54022         [BZ #12191]
54023         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
54024         (__x86_64_raw_data_cache_size_half): Likewise.
54025         (__x86_64_raw_shared_cache_size): Likewise.
54026         (__x86_64_raw_shared_cache_size_half): Likewise.
54027
54028         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
54029         (__x86_64_raw_data_cache_size_half): Likewise.
54030         (__x86_64_raw_shared_cache_size): Likewise.
54031         (__x86_64_raw_shared_cache_size_half): Likewise.
54032         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
54033         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
54034         and __x86_64_raw_shared_cache_size_half.  Round
54035         __x86_64_data_cache_size_half, __x86_64_data_cache_size
54036         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
54037         to multiple of 256 bytes.
54038
54039 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
54040
54041         [BZ #12167]
54042         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
54043         of inacessible symlinks.  Verify result of symlink before returning it.
54044         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
54045         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
54046
54047 2010-10-28  Erich Ritz  <erichritz@gmail.com>
54048
54049         * math/math.h (isinf): Fix typo in comment.
54050
54051 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
54052
54053         * po/da.po: Update from translation team.
54054
54055 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
54056
54057         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
54058         is added to the list.
54059
54060 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54061             Ulrich Drepper  <drepper@gmail.com>
54062
54063         * elf/dl-object.c (_dl_new_object): Don't append the new object to
54064         the global list here.  Move code to...
54065         (_dl_add_to_namespace_list): ...here.  New function.
54066         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
54067         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
54068         * elf/dl-load.c (lose): Don't remove the element from the list.
54069         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
54070         (_dl_map_object): Likewise.
54071
54072 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
54073
54074         [BZ #12159]
54075         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
54076         into all bytes of SSE register.
54077         Patch by Richard Li <richardpku@gmail.com>.
54078
54079 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
54080
54081         [BZ #12140]
54082         * malloc/malloc.c (_int_free): Fill correct number of bytes when
54083         perturbing.
54084
54085 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
54086
54087         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
54088         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
54089         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
54090         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
54091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
54092         submachine.
54093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
54094
54095 2010-10-22  Andreas Schwab  <schwab@redhat.com>
54096
54097         * include/dlfcn.h (__RTLD_SECURE): Define.
54098         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
54099         mode & __RTLD_SECURE instead.
54100         (open_path): Rename preloaded parameter to secure.
54101         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
54102         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
54103         * elf/dl-deps.c (openaux): Likewise.
54104         * elf/rtld.c (struct map_args): Remove is_preloaded.
54105         (map_doit): Don't use it.
54106         (dl_main): Likewise.
54107         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
54108         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
54109
54110 2010-09-09  Andreas Schwab  <schwab@redhat.com>
54111
54112         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
54113         (sysd-rules-targets): Remove duplicates.
54114         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
54115         rtld-%.$o dependency.
54116
54117 2010-10-18  Andreas Schwab  <schwab@redhat.com>
54118
54119         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
54120         _dl_map_object do it.
54121
54122 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
54123
54124         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
54125         fast fma builtins, define the macros in the C99 standard.
54126         (FP_FAST_FMAF): Likewise.
54127         (FP_FAST_FMAL): Likewise.
54128         * sysdeps/x86_64/bits/mathdef.h: Likewise.
54129
54130         * bits/mathdef.h: Update copyright year.
54131         * sysdeps/powerpc/bits/mathdef.h: Likewise.
54132
54133 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
54134
54135         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
54136         builtins, define the macros in the C99 standard.
54137         (FP_FAST_FMAF): Likewise.
54138         (FP_FAST_FMAL): Likewise.
54139         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
54140         multiply/add.
54141         (FP_FAST_FMAF): Likewise.
54142
54143 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
54144
54145         [BZ #3268]
54146         * math/libm-test.inc (fma_test): Some new testcases.
54147         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
54148         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
54149         y and infinite z.  Do multiplication by C already in long double.
54150         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
54151         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
54152         y and infinite z.  Do bitwise or of inexact bit into u.d.
54153         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
54154         * sysdeps/i386/fpu/s_fmaf.S: Removed.
54155         * sysdeps/i386/fpu/s_fma.S: Removed.
54156         * sysdeps/i386/fpu/s_fmal.S: Removed.
54157
54158 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
54159
54160         [BZ #3268]
54161         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
54162         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
54163         computation is not scheduled after fetestexcept.  Fix value
54164         of minimum denormal long double.
54165
54166 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
54167
54168         [BZ #3268]
54169         * math/libm-test.inc (fma_test): Add some more tests.
54170         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
54171         correctly.
54172
54173 2010-10-15  Andreas Schwab  <schwab@redhat.com>
54174
54175         * scripts/data/localplt-s390-linux-gnu.data: New file.
54176         * scripts/data/localplt-s390x-linux-gnu.data: New file.
54177
54178 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
54179
54180         [BZ #3268]
54181         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
54182         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
54183         instead of dbl-64.
54184         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
54185         inlines.
54186         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
54187         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
54188         if one of x and y is very large and the other is subnormal.
54189         * sysdeps/s390/fpu/s_fmaf.c: New file.
54190         * sysdeps/s390/fpu/s_fma.c: New file.
54191         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
54192         * sysdeps/powerpc/fpu/s_fma.S: New file.
54193         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
54194         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
54195         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
54196
54197 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
54198
54199         [BZ #3268]
54200         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
54201         fma tests.
54202         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
54203         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
54204         * sysdeps/i386/i686/multiarch/s_fma.c: Include
54205         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
54206         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
54207         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
54208         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
54209
54210 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
54211
54212         [BZ #12078]
54213         * posix/regcomp.c (parse_branch): One more memory leak plugged.
54214         * posix/bug-regex31.input: Add test case.
54215
54216 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
54217
54218         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
54219         * posix/bug-regex31.input: New file.
54220
54221         [BZ #12078]
54222         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
54223         (parse_sub_exp): Fix last change, use postorder.
54224
54225         * posix/bug-regex31.c: New file.
54226         * posix/Makefile: Add rules to build and run bug-regex31.
54227
54228         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
54229
54230         [BZ #12078]
54231         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
54232
54233         [BZ #12108]
54234         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
54235         to have entries in sys_siglist.
54236
54237         [BZ #12093]
54238         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
54239         be NULL.
54240
54241 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
54242
54243         [BZ #3268]
54244         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
54245         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
54246         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
54247         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
54248         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
54249         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
54250         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
54251         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
54252         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
54253         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
54254         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
54255         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
54256         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
54257         * math/ftestexcept.c (fetestexcept): Likewise.
54258         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
54259         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
54260         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
54261         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
54262         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
54263         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
54264         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
54265
54266 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
54267
54268         [BZ #12107]
54269         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
54270         newline.
54271
54272 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
54273
54274         * string/bug-strstr1.c: New file.
54275         * string/Makefile: Add rules to build and run bug-strstr1.
54276
54277 2010-10-05  Eric Blake  <eblake@redhat.com>
54278
54279         [BZ #12092]
54280         * string/str-two-way.h (two_way_long_needle): Always clear memory
54281         when skipping input due to the shift table.
54282
54283 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
54284
54285         [BZ #12005]
54286         * malloc/mcheck.c: Handle large requests.
54287
54288         [BZ #12077]
54289         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
54290         for strncmp and strncasecmp.
54291         * string/stratcliff.c: Add tests for strcmp and strncmp.
54292         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
54293
54294 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
54295
54296         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
54297         __set_fpscr.
54298
54299 2010-09-30  Andreas Jaeger  <aj@suse.de>
54300
54301         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
54302         (CGROUP_SUPER_MAGIC): Define.
54303         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
54304         Handle btrfs and cgroup file systems.
54305         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
54306         Likewise.
54307
54308 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
54309
54310         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
54311         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
54312
54313 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54314
54315         [BZ #12067]
54316         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
54317         trying to locate the ELF header.
54318
54319 2010-09-27  Andreas Schwab  <schwab@redhat.com>
54320
54321         [BZ #11611]
54322         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
54323         Mask out sign-bit copies when constructing f_fsid.
54324
54325 2010-09-24  Petr Baudis <pasky@suse.cz>
54326
54327         * debug/stack_chk_fail_local.c: Add missing licence exception.
54328         * debug/warning-nop.c: Likewise.
54329
54330 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
54331
54332         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
54333         implementing getdents64 using getdents syscall, set d_type if
54334         __ASSUME_GETDENTS32_D_TYPE.
54335
54336 2010-09-16  Andreas Schwab  <schwab@redhat.com>
54337
54338         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
54339         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
54340
54341 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
54342
54343         [BZ #12037]
54344         * posix/unistd.h: Undo change of feature selection for ftruncate from
54345         2010-01-11.
54346
54347 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
54348
54349         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
54350         detection.
54351
54352 2010-09-20  Andreas Schwab  <schwab@redhat.com>
54353
54354         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
54355         fanotify_mark.
54356         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
54357
54358 2010-09-14  Andreas Schwab  <schwab@redhat.com>
54359
54360         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
54361         variables after CHECK_SP call.
54362         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
54363
54364 2010-09-13  Andreas Schwab  <schwab@redhat.com>
54365             Ulrich Drepper  <drepper@redhat.com>
54366
54367         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
54368         re-relocationg ld.so.
54369         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
54370         _dl_init_paths call.
54371         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
54372         here anymore.
54373
54374 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
54375
54376         * resolv/res_init.c (__res_vinit): Count the default server we added.
54377
54378 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
54379             Ulrich Drepper  <drepper@redhat.com>
54380
54381         [BZ #11968]
54382         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
54383         (____longjmp_chk): Use %ebx for saving value across system call.
54384         Add unwind info.
54385
54386 2010-09-06  Andreas Schwab  <schwab@redhat.com>
54387
54388         * manual/Makefile: Don't mix pattern rules with normal rules.
54389
54390 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
54391
54392         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
54393         operation.
54394         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
54395         * libio/iofopncook.c (_IO_cookie_init): Likewise.
54396         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
54397         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
54398         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
54399         Likewise.
54400
54401 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
54402
54403         [BZ #11979]
54404         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
54405         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
54406
54407 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
54408
54409         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
54410         * sysdeps/x86_64/addmul_1.S: Likewise.
54411         * sysdeps/x86_64/lshift.S: Likewise.
54412         * sysdeps/x86_64/mul_1.S: Likewise.
54413         * sysdeps/x86_64/rshift.S: Likewise.
54414         * sysdeps/x86_64/sub_n.S: Likewise.
54415         * sysdeps/x86_64/submul_1.S: Likewise.
54416
54417 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54418
54419         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
54420         Define __sched_param instead of SCHED_* and sched_param when
54421         <bits/sched.h> is included with __need_schedparam defined.
54422         * bits/sched.h [__need_schedparam]
54423         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
54424         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
54425         (__defined_schedparam): Define to 1.
54426         (__sched_param): New structure, identical to sched_param.
54427         (__need_schedparam): Undefine.
54428
54429 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
54430
54431         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
54432         (epoll_create1): Declare.
54433
54434         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
54435
54436 2010-08-31  Andreas Schwab  <schwab@redhat.com>
54437
54438         [BZ #7066]
54439         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
54440         shifting retval into place.
54441
54442 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
54443
54444         * nis/rpcsvc/nis.h: Update copyright notice.
54445         * nis/rpcsvc/nis.x: Likewise.
54446         * nis/rpcsvc/nis_callback.h: Likewise.
54447         * nis/rpcsvc/nis_callback.x: Likewise.
54448         * nis/rpcsvc/nis_object.x: Likewise.
54449         * nis/rpcsvc/nis_tags.h: Likewise.
54450         * nis/rpcsvc/yp.h: Likewise.
54451         * nis/rpcsvc/yp.x: Likewise.
54452         * nis/rpcsvc/ypupd.h: Likewise.
54453         * nis/yp_xdr.c: Likewise.
54454         * nis/ypupdate_xdr.c: Likewise.
54455
54456         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
54457         mainly the body of pmap_getport.  Add parameters to specify timeouts.
54458         (pmap_getport): Use __libc_rpc_getport.
54459         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
54460         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
54461         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
54462
54463 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
54464
54465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
54466         fanotify_mark.
54467
54468 2010-08-27  Roland McGrath  <roland@redhat.com>
54469
54470         * sysdeps/i386/i686/multiarch/Makefile
54471         (CFLAGS-varshift.c): New variable.
54472
54473 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
54474
54475         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
54476         * sysdeps/i386/i686/multiarch/varshift.c: New file.
54477
54478         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
54479
54480         * sysdeps/x86_64/strlen.S: Minimal code improvement.
54481
54482 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
54483
54484         * sysdeps/x86_64/strlen.S: Unroll the loop.
54485         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54486         strlen-sse2 strlen-sse2-bsf.
54487         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
54488         __strlen_no_bsf if bit_Slow_BSF is set.
54489         (__strlen_sse42): Removed.
54490         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
54491         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
54492
54493 2010-08-25  Roland McGrath  <roland@redhat.com>
54494
54495         * sysdeps/x86_64/multiarch/varshift.S: File removed.
54496         * sysdeps/x86_64/multiarch/varshift.c: New file.
54497         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
54498         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
54499         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
54500         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
54501
54502 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
54503
54504         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54505         strlen-sse2 strlen-sse2-bsf.
54506         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
54507         __strlen_sse2_bsf if bit_Slow_BSF is unset.
54508         (__strlen_sse2): Removed.
54509         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
54510         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
54511         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
54512         bit_Slow_BSF for Atom.
54513         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
54514         (index_Slow_BSF): Define.
54515         (HAS_SLOW_BSF): Define.
54516
54517 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
54518
54519         [BZ #10851]
54520         * resolv/res_init.c (__res_vinit): When no server address at all
54521         is given default to loopback.
54522
54523 2010-08-24  Roland McGrath  <roland@redhat.com>
54524
54525         * configure.in: Remove config-name.h generation.
54526         * configure: Regenerated.
54527         * config-name.in: File removed.
54528         * scripts/config-uname.sh: New file.
54529         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
54530         ($(objdir)config-name.h): New target.
54531
54532         * sunrpc/rpc_parse.h: Avoid nested comment.
54533
54534 2010-08-24  Richard Henderson  <rth@redhat.com>
54535             Ulrich Drepper  <drepper@redhat.com>
54536             H.J. Lu  <hongjiu.lu@intel.com>
54537
54538         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
54539         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
54540         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
54541         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
54542         _mm_alignr_epi8 with _mm_loadu_si128.
54543         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
54544         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
54545         (__m128i_shift_right): Removed.
54546         * sysdeps/i386/i686/multiarch/varshift.h: New file.
54547         * sysdeps/i386/i686/multiarch/varshift.S: New file.
54548         * sysdeps/x86_64/multiarch/varshift.h: New file.
54549         * sysdeps/x86_64/multiarch/varshift.S: New file.
54550
54551 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
54552
54553         * configure.in: Move assembler checks to before sysdep dir checking.
54554
54555 2010-08-20  Petr Baudis  <pasky@suse.cz>
54556
54557         * LICENSES: Sync the sunrpc license.
54558
54559 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
54560
54561         * sunrpc/auth_des.c: Update copyright notice once again.
54562         * sunrpc/auth_none.c: Likewise.
54563         * sunrpc/auth_unix.c: Likewise.
54564         * sunrpc/authdes_prot.c: Likewise.
54565         * sunrpc/authuxprot.c: Likewise.
54566         * sunrpc/bindrsvprt.c: Likewise.
54567         * sunrpc/clnt_gen.c: Likewise.
54568         * sunrpc/clnt_perr.c: Likewise.
54569         * sunrpc/clnt_raw.c: Likewise.
54570         * sunrpc/clnt_simp.c: Likewise.
54571         * sunrpc/clnt_tcp.c: Likewise.
54572         * sunrpc/clnt_udp.c: Likewise.
54573         * sunrpc/clnt_unix.c: Likewise.
54574         * sunrpc/des_crypt.c: Likewise.
54575         * sunrpc/des_soft.c: Likewise.
54576         * sunrpc/get_myaddr.c: Likewise.
54577         * sunrpc/getrpcport.c: Likewise.
54578         * sunrpc/key_call.c: Likewise.
54579         * sunrpc/key_prot.c: Likewise.
54580         * sunrpc/openchild.c: Likewise.
54581         * sunrpc/pm_getmaps.c: Likewise.
54582         * sunrpc/pm_getport.c: Likewise.
54583         * sunrpc/pmap_clnt.c: Likewise.
54584         * sunrpc/pmap_prot.c: Likewise.
54585         * sunrpc/pmap_prot2.c: Likewise.
54586         * sunrpc/pmap_rmt.c: Likewise.
54587         * sunrpc/rpc/auth.h: Likewise.
54588         * sunrpc/rpc/auth_unix.h: Likewise.
54589         * sunrpc/rpc/clnt.h: Likewise.
54590         * sunrpc/rpc/des_crypt.h: Likewise.
54591         * sunrpc/rpc/key_prot.h: Likewise.
54592         * sunrpc/rpc/netdb.h: Likewise.
54593         * sunrpc/rpc/pmap_clnt.h: Likewise.
54594         * sunrpc/rpc/pmap_prot.h: Likewise.
54595         * sunrpc/rpc/pmap_rmt.h: Likewise.
54596         * sunrpc/rpc/rpc.h: Likewise.
54597         * sunrpc/rpc/rpc_des.h: Likewise.
54598         * sunrpc/rpc/rpc_msg.h: Likewise.
54599         * sunrpc/rpc/svc.h: Likewise.
54600         * sunrpc/rpc/svc_auth.h: Likewise.
54601         * sunrpc/rpc/types.h: Likewise.
54602         * sunrpc/rpc/xdr.h: Likewise.
54603         * sunrpc/rpc_clntout.c: Likewise.
54604         * sunrpc/rpc_cmsg.c: Likewise.
54605         * sunrpc/rpc_common.c: Likewise.
54606         * sunrpc/rpc_cout.c: Likewise.
54607         * sunrpc/rpc_dtable.c: Likewise.
54608         * sunrpc/rpc_hout.c: Likewise.
54609         * sunrpc/rpc_main.c: Likewise.
54610         * sunrpc/rpc_parse.c: Likewise.
54611         * sunrpc/rpc_parse.h: Likewise.
54612         * sunrpc/rpc_prot.c: Likewise.
54613         * sunrpc/rpc_sample.c: Likewise.
54614         * sunrpc/rpc_scan.c: Likewise.
54615         * sunrpc/rpc_scan.h: Likewise.
54616         * sunrpc/rpc_svcout.c: Likewise.
54617         * sunrpc/rpc_tblout.c: Likewise.
54618         * sunrpc/rpc_util.c: Likewise.
54619         * sunrpc/rpc_util.h: Likewise.
54620         * sunrpc/rpcinfo.c: Likewise.
54621         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
54622         * sunrpc/rpcsvc/key_prot.x: Likewise.
54623         * sunrpc/rpcsvc/klm_prot.x: Likewise.
54624         * sunrpc/rpcsvc/mount.x: Likewise.
54625         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
54626         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
54627         * sunrpc/rpcsvc/rex.x: Likewise.
54628         * sunrpc/rpcsvc/rstat.x: Likewise.
54629         * sunrpc/rpcsvc/rusers.x: Likewise.
54630         * sunrpc/rpcsvc/sm_inter.x: Likewise.
54631         * sunrpc/rpcsvc/spray.x: Likewise.
54632         * sunrpc/rpcsvc/yppasswd.x: Likewise.
54633         * sunrpc/rtime.c: Likewise.
54634         * sunrpc/svc.c: Likewise.
54635         * sunrpc/svc_auth.c: Likewise.
54636         * sunrpc/svc_authux.c: Likewise.
54637         * sunrpc/svc_raw.c: Likewise.
54638         * sunrpc/svc_run.c: Likewise.
54639         * sunrpc/svc_simple.c: Likewise.
54640         * sunrpc/svc_tcp.c: Likewise.
54641         * sunrpc/svc_udp.c: Likewise.
54642         * sunrpc/svc_unix.c: Likewise.
54643         * sunrpc/svcauth_des.c: Likewise.
54644         * sunrpc/xcrypt.c: Likewise.
54645         * sunrpc/xdr.c: Likewise.
54646         * sunrpc/xdr_array.c: Likewise.
54647         * sunrpc/xdr_float.c: Likewise.
54648         * sunrpc/xdr_mem.c: Likewise.
54649         * sunrpc/xdr_rec.c: Likewise.
54650         * sunrpc/xdr_ref.c: Likewise.
54651         * sunrpc/xdr_sizeof.c: Likewise.
54652         * sunrpc/xdr_stdio.c: Likewise.
54653
54654         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
54655         handling.
54656
54657 2010-08-19  Andreas Schwab  <schwab@redhat.com>
54658
54659         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
54660
54661 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
54662
54663         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
54664         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
54665         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
54666         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
54667         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
54668         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
54669         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
54670         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
54671         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
54672         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
54673         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
54674         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
54675         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
54676         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
54677
54678 2010-07-26  Anton Blanchard  <anton@samba.org>
54679
54680         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
54681         * malloc/arena.c (heap_trim): Likewise.
54682
54683 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
54684
54685         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
54686         here.  Not...
54687         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
54688         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
54689
54690 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
54691
54692         * sysdeps/i386/elf/Makefile: New file.
54693
54694 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
54695
54696         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
54697         from fanotify_init.
54698         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
54699         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
54700
54701 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
54702
54703         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
54704         of strncasecmp_l.
54705         * sysdeps/multiarch/strcmp.S: Likewise.
54706
54707 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
54708
54709         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
54710         strncase_l-nonascii.
54711         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
54712         Add strncase_l-ssse3.
54713         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
54714         * sysdeps/x86_64/strcmp.S: Likewise.
54715         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
54716         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
54717         * sysdeps/x86_64/strncase.S: New file.
54718         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
54719         * sysdeps/x86_64/strncase_l.S: New file.
54720         * string/Makefile (strop-tests): Add strncasecmp.
54721         * string/test-strncasecmp.c: New file.
54722
54723         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
54724         warning.
54725
54726         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
54727         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
54728
54729 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
54730
54731         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
54732
54733 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
54734
54735         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
54736         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
54737         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
54738
54739 2010-05-01  Alan Modra  <amodra@gmail.com>
54740
54741         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
54742         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
54743         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
54744         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
54745         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
54746         tidying.  Don't tail-call __sigjmp_save for static lib.
54747         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
54748         save location.
54749         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
54750         (CALL_MCOUNT): Add eh info, and nop after bl.
54751         (TAIL_CALL_SYSCALL_ERROR): New macro.
54752         (PSEUDO_RET): Use it.
54753         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
54754         Correct save location of integer regs and cr.
54755         (_dl_profile_resolve): Correct cr save location.  Delete nops
54756         after bl when SHARED.  Reduce cfi size a little by better
54757         placement of cfi directives.
54758         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
54759         make a stack frame.  Instead use parm save area as a temp.
54760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
54761         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
54762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
54763         Don't make a stack frame for parent, use parm save area.
54764         Increase child stack frame to 112 bytes.  Don't save unused reg,
54765         and adjust reg usage.  Set up cfi on error recovery and
54766         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
54767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
54768         (__makecontext): Add dummy nop after jump to exit.
54769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
54770         Use correct parm save area and cr save, reduce stack frame.
54771         Correct cfi for possible PSEUDO_RET frame setup.
54772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
54773         Branch to local label emitted by PSEUDO_RET rather than
54774         __syscall_error.
54775
54776 2010-08-12  Andreas Schwab  <schwab@redhat.com>
54777
54778         [BZ #11904]
54779         * locale/programs/locale.c (print_assignment): New function.
54780         (show_locale_vars): Use it.
54781
54782 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
54783
54784         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
54785         field.
54786         (struct statfs64): Likewise.
54787         (_STATFS_F_FLAGS): Define.
54788         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
54789         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
54790         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
54791         (ST_VALID): Define locally.
54792         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
54793         __statvfs_getflags, use the provided value.
54794         * sysdeps/unix/sysv/linux/kernel-features.h: Define
54795         __ASSUME_STATFS_F_FLAGS.
54796
54797         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
54798
54799         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
54800         Add sys/fanotify.h.
54801         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
54802         fanotify_mask for GLIBC_2.13.
54803         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
54804         fanotify_init and fanotify_mark.
54805         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
54806         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
54807
54808         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
54809         Add prlimit.
54810         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
54811         prlimit64 for GLIBC_2.13.
54812         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
54813         prlimit64.
54814         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
54815         syscall.
54816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
54817         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
54818         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
54819         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
54820         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
54821         add prlimit alias.
54822         * sysdeps/unix/sysv/linux/prlimit.c: New file.
54823
54824         [BZ #11903]
54825         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
54826         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
54827
54828         * nss/Makefile: Add rules to build and run tst-nss-test1.
54829         * shlib-versions: Add entry for libnss_test1.
54830         * nss/nss_test1.c: New file.
54831         * nss/tst-nss-test1.c: New file.
54832
54833         * nss/nsswitch.c (__nss_database_custom): Define new variable.
54834         (__nss_configure_lookup): Set appropriate entry in
54835         __nss_configure_lookup to true.
54836         * nss/nsswitch.h: Define enum with indeces of databases in
54837         databases and __nss_database_custom arrays.  Declare
54838         __nss_database_custom.
54839         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
54840         to avoid using nscd when custom rules are installed.
54841         * nss/getXXbyYY_r.c: Likewise.
54842         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
54843
54844         * nss/nss_files/files-parse.c: Whitespace fixes.
54845
54846 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
54847
54848         [BZ #11883]
54849         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
54850         * posix/fnmatch_loop.c: Likewise.
54851
54852 2010-07-17  Andi Kleen  <ak@linux.intel.com>
54853
54854         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
54855         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
54856         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
54857         * Versions.def [GLIBC_2.13]: Add.
54858
54859 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
54860
54861         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
54862         Also fail if tpwd after pwuid call is NULL.
54863
54864 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54865
54866         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
54867         when converting to ms.
54868
54869 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54870
54871         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
54872         EOPNOTSUPP errors with ENOTTY.
54873         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
54874         EOPNOTSUPP errors with ENOTTY.
54875
54876 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
54877
54878         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
54879         Add strcasecmp_l-ssse3.
54880         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
54881         strcasecmp.
54882         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
54883         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
54884         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
54885
54886 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
54887
54888         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
54889
54890         * string/Makefile (strop-tests): Add strcasecmp.
54891         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
54892         strcasecmp_l-nonascii.
54893         (gen-as-const-headers): Add locale-defines.sym.
54894         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
54895         * sysdeps/x86_64/strcasecmp.S: New file.
54896         * sysdeps/x86_64/strcasecmp_l.S: New file.
54897         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
54898         * sysdeps/x86_64/locale-defines.sym: New file.
54899         * string/test-strcasecmp.c: New file.
54900
54901         * string/test-strcasestr.c: Test both ends of the range of characters.
54902         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
54903
54904 2010-07-29  Roland McGrath  <roland@redhat.com>
54905
54906         [BZ #11856]
54907         * manual/locale.texi (Yes-or-No Questions): Fix example code.
54908
54909 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
54910
54911         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
54912         for ld.so.
54913
54914 2010-07-27  Andreas Schwab  <schwab@redhat.com>
54915
54916         * manual/memory.texi (Malloc Tunable Parameters): Document
54917         M_PERTURB.
54918
54919 2010-07-26  Roland McGrath  <roland@redhat.com>
54920
54921         [BZ #11840]
54922         * configure.in (-fgnu89-inline check): Set and substitute
54923         gnu89_inline, not libc_cv_gnu89_inline.
54924         * configure: Regenerated.
54925         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
54926
54927 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
54928
54929         * string/test-strnlen.c: New file.
54930         * string/Makefile (strop-tests): Add strnlen.
54931         * string/tester.c (test_strnlen): Add a few more test cases.
54932         * string/tst-strlen.c: Better error reporting.
54933
54934         * sysdeps/x86_64/strnlen.S: New file.
54935
54936 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
54937
54938         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
54939         lower-latency instructions.
54940
54941 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
54942
54943         * string/test-strcasestr.c: New file.
54944         * string/test-strstr.c: New file.
54945         * string/Makefile (strop-tests): Add strstr and strcasestr.
54946         * string/str-two-way.h: Don't undefine MAX.
54947         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
54948
54949 2010-07-21  Andreas Schwab  <schwab@redhat.com>
54950
54951         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54952         strcasestr-nonascii.
54953         (CFLAGS-strcasestr-nonascii.c): Define.
54954         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
54955         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
54956         Remove unused attribute.
54957
54958 2010-07-20  Roland McGrath  <roland@redhat.com>
54959
54960         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
54961         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
54962         ld.so.cache was broken.  With it, there is no way to disable dsocaps
54963         like LD_HWCAP_MASK can disable hwcaps.
54964
54965 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
54966
54967         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
54968
54969 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
54970
54971         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
54972         call in strcasestr.
54973         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
54974         __strcasestr_sse42_nonascii.
54975         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
54976         strcasestr-nonascii.c.
54977         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
54978
54979 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
54980
54981         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
54982         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
54983         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
54984         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
54985
54986 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
54987
54988         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
54989         fcntl.
54990
54991 2010-07-06  Andreas Schwab  <schwab@redhat.com>
54992
54993         [BZ #11577]
54994         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
54995         dl_signal_cerror.
54996
54997 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
54998
54999         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
55000         _PC_PIPE_BUF using F_GETPIPE_SZ.
55001
55002 2010-07-05  Roland McGrath  <roland@redhat.com>
55003
55004         * manual/arith.texi (Rounding Functions): Fix rint description
55005         implicit in round description.
55006
55007 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
55008
55009         * elf/Makefile: Fix linking for a few tests to make recent linker
55010         happy.
55011
55012 2010-06-30  Andreas Schwab  <schwab@redhat.com>
55013
55014         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
55015         $(common-objpfx)libc_nonshared.a.
55016
55017 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
55018
55019         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
55020         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
55021         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
55022         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
55023         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
55024         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
55025         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
55026         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
55027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
55028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
55029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
55030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
55031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
55032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
55033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
55034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
55035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
55036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
55037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
55038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
55039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
55040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
55041         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
55042         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
55043         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
55044         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
55045         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
55046         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
55047         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
55048         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
55049         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
55050         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
55051         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
55052         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
55053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
55054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
55055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
55056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
55057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
55058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
55059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
55060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
55061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
55062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
55063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
55064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
55065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
55066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
55067
55068 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
55069
55070         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
55071         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
55072         * string/memmove.c (memmove): Renamed to ...
55073         (MEMMOVE): ...this.  Default to memmove.
55074         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
55075         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
55076         (END_CHK): Define.
55077         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55078         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
55079         mempcpy-ssse3-back memmove-ssse3-back.
55080         * sysdeps/x86_64/multiarch/bcopy.S: New file .
55081         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
55082         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
55083         * sysdeps/x86_64/multiarch/memcpy.S: New file.
55084         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
55085         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
55086         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
55087         * sysdeps/x86_64/multiarch/memmove.c: New file.
55088         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
55089         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
55090         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
55091         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
55092         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
55093         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
55094         Define.
55095         (index_Fast_Copy_Backward): Define.
55096         (HAS_ARCH_FEATURE): Define.
55097         (HAS_FAST_REP_STRING): Define.
55098         (HAS_FAST_COPY_BACKWARD): Define.
55099
55100 2010-06-21  Andreas Schwab  <schwab@redhat.com>
55101
55102         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
55103         Restore proper fallback handling.
55104
55105 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
55106
55107         [BZ #11701]
55108         * posix/group_member.c (__group_member): Correct checking loop.
55109
55110         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
55111         OOM in getpwuid_r correctly.  Return error number when the caller
55112         should return, otherwise -1.
55113         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
55114         call returning > 0 value.
55115         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
55116
55117 2010-06-07  Andreas Schwab  <schwab@redhat.com>
55118
55119         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
55120         libc_nonshared.a from targets in modules-names.
55121
55122 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
55123
55124         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
55125         requires it.
55126
55127 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
55128
55129         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
55130         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
55131         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
55132         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
55133
55134 2010-06-02  Andreas Schwab  <schwab@redhat.com>
55135
55136         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
55137
55138 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
55139
55140         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
55141         and F_GETPIPE_SZ.
55142         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
55143         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55144         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55145         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55146         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55147         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
55148
55149 2010-06-14  Roland McGrath  <roland@redhat.com>
55150
55151         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
55152
55153 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
55154
55155         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
55156         __REDIRECT followed by __THROW.
55157         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
55158         * posix/getopt.h (getopt): Likewise.
55159
55160 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
55161
55162         * hurd/lookup-at.c (__file_name_lookup_at): Accept
55163         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
55164         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
55165         in AT_FLAGS.
55166         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
55167         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
55168
55169 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
55170
55171         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
55172
55173 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
55174
55175         [BZ #11640]
55176         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55177         Properly check family and model.
55178
55179 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
55180
55181         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
55182
55183 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
55184
55185         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
55186
55187 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
55188
55189         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
55190         symbol reference.
55191
55192 2010-05-19  Andreas Schwab  <schwab@redhat.com>
55193
55194         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
55195         symbol reference.
55196
55197 2010-05-21  Andreas Schwab  <schwab@redhat.com>
55198
55199         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
55200         and internal_recvmmsg.
55201         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
55202         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
55203         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
55204         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
55205
55206         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
55207         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
55208         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
55209
55210 2010-05-20  Andreas Schwab  <schwab@redhat.com>
55211
55212         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
55213
55214 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
55215
55216         POWER7 optimizations.
55217         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
55218         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
55219
55220 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
55221
55222         * version.h: Update for 2.13 development version.
55223
55224 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
55225
55226         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
55227         exceptions.  Return 0.
55228
55229 2010-05-07  Roland McGrath  <roland@redhat.com>
55230
55231         * elf/ldconfig.c (main): Add a const.
55232
55233 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
55234
55235         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
55236         (args_options): Add no-idn option.
55237         (ahosts_keys_int): Add idn_flags to ai_flags.
55238         (parse_option): Handle 'i' option to clear idn_flags.
55239
55240         * malloc/malloc.c (_int_free): Possible race in the most recently
55241         added check.  Only act on the data if no current modification
55242         happened.
55243
55244 See ChangeLog.17 for earlier changes.