be5eb186f59335e117f178bb7e87f905aa82b1c2
[platform/upstream/glibc.git] / ChangeLog
1 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
2
3         [BZ #17797]
4         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
5         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
6         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
7         CLOCKS_PER_SEC == 1000000.
8         * time/clocktest.c (main): Replace %ld with %jd and cast to
9         intmax_t.
10
11 2015-01-05  Roland McGrath  <roland@hack.frob.com>
12
13         * sysdeps/generic/unwind-resume.h: New file.
14         * sysdeps/gnu/unwind-resume.c: Include it.
15         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
16         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
17         argument list.
18         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
19         global rather than static.
20         (_Unwind_Resume): Update user.
21         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
22         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
23         rather than static.  Add __attribute__ ((cold)).
24         (_Unwind_Resume, __gcc_personality_v0): Update callers.
25         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
26         * sysdeps/arm/arm-unwind-resume.S: New file.
27         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
28         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
29         * sysdeps/arm/Makefile [$(subdir) = csu]
30         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
31         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
32         Add rt-arm-unwind-resume.
33         [$(subdir) = nptl]
34         (libpthread-sysdep_routines, libpthread-shared-only-routines):
35         Add pt-arm-unwind-resume.
36         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
37         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
38
39 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
40
41         [BZ #17748]
42         * include/fenv.h (__feholdexcept): Declare.  Use
43         libm_hidden_proto.
44         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
45         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
46         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
47         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
48         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
49         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
50         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
51         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
52         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
53         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
54         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
55         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
56         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
57         (feholdexcept): Likewise.
58         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
59         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
60         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
61         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
62         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
63         __feholdexcept instead of feholdexcept.
64         (default_libc_feholdexcept_setround): Likewise.
65
66 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
67
68         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
69         to avoid using stl/str to align destination.
70
71 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
72
73         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
74
75 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
76
77         [BZ #17796]
78         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
79         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
80         Define as weak alias not strong alias.
81
82 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
83
84         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
85         bltzal with addiupc.
86         (RTLD_START): Ditto.
87
88 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
89
90         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
91         for __vdso_* functions in declarations.
92         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
93         definitions.
94         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
95         INTERNAL_VSYSCALL): Use struct return types to check for error.
96
97         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
98         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
99         function with cast from llround().
100         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
101         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
102         Define.
103
104 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
105
106         [BZ #17793]
107         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
108         Define as weak alias not strong alias.
109
110         [BZ #17635]
111         * ctype/ctype-c99.c: New file.  isblank implementation moved from
112         ...
113         * ctype/ctype-extn.c: ... here.
114         (__isblank_l): Move to ...
115         * ctype/ctype-c99_l.c: ... here.  New file.
116         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
117         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
118         Remove variable.
119         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
120         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
121         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
122         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
123         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
124
125         [BZ #17777]
126         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
127         (posix_fadvise64): Define as weak alias not strong alias.
128         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
129         (posix_fallocate64): Likewise.
130         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
131         Remove variable.
132         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
133         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
134         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
135         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
136         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
137
138 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
139
140         [BZ #16191]
141         * NEWS: Mention bug fix.
142         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
143         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
144         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
145         (HOST_STACK_END_ADDR): Likewise.
146
147 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
148
149         [BZ #17748]
150         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
151         * math/fegetround.c (fegetround): Rename to __fegetround and
152         define as weak alias of __fegetround.  Use libm_hidden_weak.
153         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
154         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
155         * sysdeps/arm/fegetround.c (fegetround): Likewise.
156         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
157         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
158         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
159         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
160         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
161         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
162         Undefine after rather than before function definition; use
163         parentheses around function name in definition.
164         (__fegetround): Also undefine macro after function definition.
165         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
166         __fegetround and define as weak alias of __fegetround.  Use
167         libm_hidden_weak.  Do not undefine as macro.
168         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
169         Likewise.
170         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
171         __fegetround and define as weak alias of __fegetround.  Use
172         libm_hidden_weak.
173         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
174         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
175         * sysdeps/tile/math_private.h (__fegetround): New inline function.
176         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
177         __fegetround and define as weak alias of __fegetround.  Use
178         libm_hidden_weak.
179         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
180         __fegetround instead of fegetround.
181
182         [BZ #17782]
183         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
184         Condition macro definition on [__USE_MISC].
185
186         [BZ #17781]
187         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
188         (struct sigaction): Change type of sa_flags field to int.
189
190         [BZ #17780]
191         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
192         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
193         __glibc_reserved0.
194
195         * nptl/version.c (banner): Use single year in copyright notice.
196
197         * NEWS: Update copyright dates.
198         * catgets/gencat.c (print_version): Likewise.
199         * csu/version.c (banner): Likewise.
200         * debug/catchsegv.sh: Likewise.
201         * debug/pcprofiledump.c (print_version): Likewise.
202         * debug/xtrace.sh (do_version): Likewise.
203         * elf/ldconfig.c (print_version): Likewise.
204         * elf/ldd.bash.in: Likewise.
205         * elf/pldd.c (print_version): Likewise.
206         * elf/sotruss.sh: Likewise.
207         * elf/sprof.c (print_version): Likewise.
208         * iconv/iconv_prog.c (print_version): Likewise.
209         * iconv/iconvconfig.c (print_version): Likewise.
210         * locale/programs/locale.c (print_version): Likewise.
211         * locale/programs/localedef.c (print_version): Likewise.
212         * login/programs/pt_chown.c (print_version): Likewise.
213         * malloc/memusage.sh (do_version): Likewise.
214         * malloc/memusagestat.c (print_version): Likewise.
215         * malloc/mtrace.pl: Likewise.
216         * manual/libc.texinfo: Likewise.
217         * nptl/version.c (banner): Likewise.
218         * nscd/nscd.c (print_version): Likewise.
219         * nss/getent.c (print_version): Likewise.
220         * nss/makedb.c (print_version): Likewise.
221         * posix/getconf.c (main): Likewise.
222         * scripts/test-installation.pl: Likewise.
223         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
224
225 2015-01-02  Will Newton  <will.newton@linaro.org>
226
227         * sysdeps/arm/armv7/configure: Removed.
228         * sysdeps/arm/armv7/configure.ac: Likewise.
229
230 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
231
232         * All files with FSF copyright notices: Update copyright dates
233         using scripts/update-copyrights.
234         * intl/plural.c: Regenerated.
235         * locale/programs/charmap-kw.h: Likewise.
236         * locale/programs/locfile-kw.h: Likewise.
237
238 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
239
240         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
241
242 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
243
244         [BZ #17748]
245         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
246         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
247         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
248         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
249         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
250         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
251         define as weak alias of __fegetenv.  Use libm_hidden_weak.
252         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
253         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
254         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
255         define as weak alias of __fegetenv.  Use libm_hidden_weak.
256         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
257         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
258         define as weak alias of __fegetenv.  Use libm_hidden_weak.
259         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
260         libm_hidden_def.
261         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
262         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
263         Likewise.
264         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
265         define as weak alias of __fegetenv.  Use libm_hidden_weak.
266         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
267         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
268         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
269         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
270         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
271         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
272         __fegetenv instead of fegetenv.
273         (libc_feholdsetround_noex_ctx): Likewise.
274
275 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
276
277         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
278         (Elf_MIPS_ABIFlags_v0): New structure.
279         (EF_MIPS_FP64): Define.
280         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
281         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
282         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
283         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
284         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
285         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
286         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
287         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
288         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
289         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
290         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
291         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
292         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
293         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
294         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
295         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
296         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
297         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
298         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
299         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
300         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
301         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
302         field.
303         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
304         EF_MIPS_FP64.
305         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
306         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
307         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
308         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
309         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
310         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
311         * sysdeps/mips/tst-abi-interlink.c: Likewise.
312         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
313         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
314         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
315         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
316         record the current FP ABI extension.
317         (mips-mode-switch): Define to show if kernel headers support mode
318         switching.
319         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
320         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
321         supported SYSV ABI version to 3.
322         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
323         feature.
324
325 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
326             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
327
328         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
329         path.
330         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
331
332 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
333
334         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
335         __fegetround and redefine to call __fegetround.  Remove condition
336         on [!__NO_MATH_INLINES].
337         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
338         function.
339         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
340         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
341         Remove macro.
342         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
343         instead of <fenv_libc.h>.
344         (__llrintl): Call fegetround instead of __fegetround.
345         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
346         instead of <fenv_libc.h>.
347         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
348         (__lrintl): Call fegetround instead of __fegetround.
349         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
350         instead of <fenv_libc.h>.
351         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
352         (__rintl): Call fegetround instead of __fegetround.
353
354 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
355
356         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
357         arrays.
358
359 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
360
361         [BZ #17775]
362         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
363         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
364         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
365
366 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
367
368         * sysdeps/i386/tls-macros.h: Include <features.h>.
369         (TLS_LE): Use non-PIC version for GCC >= 5.0.
370         (TLS_IE): Likewise.
371         (TLS_LD): Likewise.
372         (TLS_GD): Likewise.
373         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
374         define for GCC >= 5.0.
375
376 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
377
378         * math/test-fenv.c (test_single_exception, set_single_exc,
379         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
380         feexcp_mask_test, feenable_test, fe_single_test): Add
381         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
382         case where they are not used.
383         * math/libm-test.inc: Likewise.
384         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
385         unused in the absence of FP rounding/exception support.
386         * stdio-common/tst-printf-round.c: Likewise.
387         * stdlib/tst-strtod-round.c: Likewise.
388         * stdlib/tst-strtod-underflow.c: Likewise.
389
390 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
391
392         [BZ #17723]
393         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
394         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
395         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
396         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
397         libm_hidden_weak.
398         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
399         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
400         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
401         libm_hidden_def.
402         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
403         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
404         libm_hidden_weak.
405         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
406         Likewise.
407         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
408         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
409         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
410         libm_hidden_weak.
411         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
412         libm_hidden_def.
413         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
414         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
415         (__feraiseexcept): Likewise.
416         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
417         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
418         libm_hidden_weak.
419         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
420         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
421         libm_hidden_def.
422         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
423         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
424         Use libm_hidden_def.
425         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
426         libm_hidden_def.
427         (feraiseexcept): Define as weak not strong alias.  Use
428         libm_hidden_weak.
429         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
430         New inline function.  Factored out of ...
431         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
432         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
433         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
434         feraiseexcept.
435         * math/w_acos.c (__acos): Likewise.
436         * math/w_asin.c (__asin): Likewise.
437         * math/w_ilogb.c (__ilogb): Likewise.
438         * math/w_j0.c (y0): Likewise.
439         * math/w_j1.c (y1): Likewise.
440         * math/w_jn.c (yn): Likewise.
441         * math/w_log.c (__log): Likewise.
442         * math/w_log10.c (__log10): Likewise.
443         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
444         * sysdeps/aarch64/fpu/math_private.h
445         (libc_feupdateenv_test_aarch64): Likewise.
446         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
447         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
448         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
449         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
450         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
451         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
452         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
453         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
454         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
455         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
456
457 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
458
459         [BZ #17732]
460         * io/test-utime.c (main): Replace %ld with %jd and cast to
461         intmax_t.
462         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
463         * nptl/tst-mutex5.c: Include <stdint.h>.
464         (do_test): Replace %ld with %jd and cast to intmax_t.
465         * posix/tst-regex.c (run_test): Likewise.
466         (run_test_backwards): Likewise.
467         * rt/tst-clock.c: Include <stdint.h>.
468         (clock_test): Replace %ld with %jd and cast to intmax_t.
469         * rt/tst-cpuclock1.c: Include <stdint.h>.
470         (do_test): Replace %lu with %ju and cast to uintmax_t.
471         * rt/tst-cpuclock2.c: Include <stdint.h>.
472         (do_test): Replace %lu with %ju and cast to uintmax_t.
473         * rt/tst-mqueue1.c: Include <stdint.h>.
474         (check_attrs): Replace %ld with %jd and cast to intmax_t.
475         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
476         intmax_t.
477         * rt/tst-mqueue4.c (do_test): Likewise.
478         * rt/tst-timer4.c: Include <stdint.h>.
479         (check_ts): Replace %ld with %jd and cast to intmax_t.
480         (do_test): Likewise.
481         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
482         and cast to intmax_t.
483         * sysdeps/pthread/tst-timer.c (main): Likewise.
484         * time/clocktest.c (main): Likewise.
485         * time/tst-posixtz.c (do_test): Likewise.
486         * timezone/tst-timezone.c (main): Likewise.
487
488 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
489             H.J. Lu  <hongjiu.lu@intel.com>
490
491         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
492         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
493         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
494         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
495         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
496         version if bit_Fast_Unaligned_Load is set.
497         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
498         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
499         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
500         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
501         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
502         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
503         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
504         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
505         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
506         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
507         to 4.
508         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
509         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
510         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
511         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
512
513 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
514
515         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
516         instead of #if to avoid a Wundef warning.
517         * stdlib/tst-limits.c (do_test): Likewise.
518
519         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
520         parallel other exception macros.
521         (fegetenv): Convert from macro to extern inline so that it applies
522         retroactively to inline functions already seen by the compiler.
523         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
524
525         * posix/Makefile (before-compile): Use $(objpfx) for
526         posix-conf-vars-def.h.
527
528 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
529
530         * posix/getconf.c (main): Use size_t for type of I.
531         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
532         NSPEC.
533
534         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
535         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
536         * posix/posix-envs.def: Likewise.
537         * sysdeps/posix/sysconf.c: Likewise.
538         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
539         (specs): Remove array.
540         * scripts/gen-posix-conf-vars.awk: Support generation of specs
541         array.
542
543         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
544         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
545         (__sysconf): Use CONF_IS_* macros.
546
547         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
548         ($(objpfx)posix-conf-vars-def.h): New target.
549         * posix/posix-conf-vars.list: New file.
550         * posix/posix-conf-vars.h: New file.
551         * posix/confstr.c: Include posix-conf-vars.h.
552         (confstr): Use CONF_IS_* macros.
553         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
554         CONF_IS_* macros.
555         * scripts/gen-posix-conf-vars.awk: New file.
556
557 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
558
559         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
560         fegetround): Add no-op macros to avoid linknamespace issues.
561
562         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
563         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
564
565         * sysdeps/unix/sysv/linux/tile/sysdep.h
566         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
567         assembly-specific section to avoid a redefinition warning.
568
569         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
570         long before casting to pointer to avoid a cast warning.
571
572 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
573
574         * sysdeps/tile/tilegx/Implies: New file.
575
576 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
577
578         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
579
580 2014-12-23  Florian Weimer  <fweimer@redhat.com>
581
582         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
583
584 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
585
586         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
587         not define.
588         * sysdeps/unix/sysv/linux/utimes.c: Do not include
589         <kernel-features.h>.
590         (__utimes) [__NR_utimes]: Make code unconditional.
591         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
592         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
593         (__ASSUME_UTIMES): Do not undefine.
594         * sysdeps/unix/sysv/linux/tile/kernel-features.h
595         (__ASSUME_UTIMES): Likewise.
596         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
597         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
598         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
599         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
600
601 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
602
603         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
604
605 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
606
607         [BZ #17747]
608         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
609         alias to weak alias for j0l, y0l.
610         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
611         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
612
613         [BZ #17746]
614         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
615         conversion.
616
617 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
618
619         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
620         to zero if not already defined.
621
622 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
623
624         [BZ #17724]
625         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
626         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
627         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
628         (char *) casts added.
629         * sysdeps/ieee754/k_standardf.c: New file.
630         * sysdeps/ieee754/k_standardl.c: Likewise.
631         * math/Makefile (libm-support): Remove k_standard.
632         (libm-calls): Add k_standard.
633
634 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
635
636         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
637         Optimize to avoid an unnecessary FPCR read.
638
639 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
640
641         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
642         Optimize to reduce FPCR/FPSR accesses.
643
644 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
645
646         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
647         Call libc_fetestexcept_aarch64.
648
649 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
650
651         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
652         Call libc_fesetround_aarch64.
653
654 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
655
656         [BZ #17733]
657         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
658         (__bind): Do not define as weak alias.
659         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
660         define.
661         (__getsockname): Do not define as weak alias.
662
663 2014-12-22  Will Newton  <will.newton@linaro.org>
664
665         * manual/install.texi: Document that we require bison 2.7
666         or above.
667         * INSTALL: Regenerate.
668         * configure.ac: Use AC_CHECK_PROG_VER instead of
669         AC_PATH_PROG when checking for bison and check for
670         version 2.7 or above.
671         * configure: Regenerate.
672
673 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
674
675         [BZ #17745]
676         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
677         * sysdeps/tile/ffsll.c (ffsll): To here.
678
679         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
680
681 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
682
683         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
684         if not defined.
685         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
686         definition.
687         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
688         hidden ___tls_get_addr.
689         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
690         hidden __tls_get_addr.
691         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
692         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
693         Likewise.
694
695 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
696
697         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
698         _dl_init call.
699
700 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
701
702         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
703         from "call _dl_init@PLT".
704         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
705
706 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
707
708         * manual/search.texi: (Array Sort Function): Clarify stable sorting
709         guarantees.
710
711 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
712
713         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
714
715 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
716
717         [BZ #17744]
718         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
719         strnlen.
720
721 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
722
723         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
724         of multu on MIPSr6.
725         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
726         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
727         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
728         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
729         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
730
731 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
732
733         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
734         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
735         (PTR_SUBU): Use subu for mips32r6/mips64r6.
736         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
737         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
738         mips32r6/mips64r6.
739         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
740
741 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
742
743         * string/strncat.c (STRNCAT): Simplify implementation.
744
745 2014-12-19  David S. Miller  <davem@davemloft.net>
746
747         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
748         access the quad as both a long double and as a series of 4 words.
749
750         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
751         link_map->l_info array access.
752
753 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
754
755         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
756
757         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
758         * math/atest-exp2.c (TIMEOUT): Likewise.
759         * math/atest-sincos.c (TIMEOUT): Likewise.
760
761 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
762
763         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
764         -Wno-error with -fno-builtin-lround.
765
766 2014-12-19  Torvald Riegel  <triegel@redhat.com>
767
768         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
769         Contains futex constants and functions moved over from ...
770         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
771         <lowlevellock-futex.h>.
772         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
773         (lll_timedwait_tid): Add comments and parentheses around macro
774         arguments.
775
776 2014-12-19  Torvald Riegel  <triegel@redhat.com>
777
778         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
779         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
780         (__lll_private_flag): Remove.
781         (lll_futex_wait): Likewise.
782         (lll_futex_timed_wait): Likewise.
783         (lll_futex_wake): Likewise.
784         (lll_futex_requeue): Likewise.
785         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
786         (__lll_timedwait_tid): Spell out argument names.
787         (lll_timedwait_tid): Add comments and parentheses around macro
788         arguments.
789         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
790         LLL_SHARED and LLL_PRIVATE usable from assembly code.
791
792 2014-12-19  Torvald Riegel  <triegel@redhat.com>
793
794         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
795         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
796         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
797         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
798         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
799         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
800         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
801         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
802         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
803         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
804         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
805         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
806         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
807         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
808         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
809         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
810         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
811         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
812         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
813
814 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
815
816         * sysdeps/x86_64/x32/Makefile: New file.
817
818 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
819
820         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
821         1L with (mp_limb_t) 1.
822
823 2014-12-17  Roland McGrath  <roland@hack.frob.com>
824
825         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
826         * nptl/libc_pthread_init.c: ... here.
827         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
828         * nptl/register-atfork.c: ... here.
829
830         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
831         Use pthread_sigmask rather than INTERNAL_SYSCALL.
832         Use assert_perror to check its return value.
833         (__gai_create_helper_thread): Likewise.
834
835         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
836
837         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
838
839 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
840
841         [BZ #17725]
842         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
843         __profil_counter.
844         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
845         Likewise.
846         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
847         Likewise.
848         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
849         Likewise.
850         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
851         (profil_counter): Likewise.
852         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
853         (profil_counter): Likewise.
854         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
855         Likewise.
856         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
857         Likewise.
858         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
859         (profil_counter): Likewise.
860         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
861         Likewise.
862         [!__profil_counter] (profil_counter): Define as weak alias of
863         __profil_counter.
864         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
865         (profil_counter): Rename to __profil_counter.
866         [!__profil_counter] (profil_counter): Define as weak alias of
867         __profil_counter.
868         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
869         (profil_counter): Rename to __profil_counter.
870         [!__profil_counter] (profil_counter): Define as weak alias of
871         __profil_counter.
872         * sysdeps/posix/profil.c: Update comment referring to
873         profil_counter.
874         (__profil): Use __profil_counter instead of profil_counter.
875         * sysdeps/posix/sprofil.c (profil_counter): Rename to
876         __profil_counter.  Use __profil_counter_ushort and
877         __profil_counter_uint in definitions.
878         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
879         instead of profil_counter_uint and profil_counter_ushort.
880
881         [BZ #17722]
882         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
883         define as weak alias of __inet_makeaddr.
884         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
885         as weak alias of __inet_addr.
886         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
887         as weak alias of __inet_pton.  Use libc_hidden_weak.
888         * include/arpa/inet.h (__inet_pton): Declare.  Use
889         libc_hidden_proto.
890         (inet_makeaddr): Don't use libc_hidden_proto.
891         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
892         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
893         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
894         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
895         Remove variable.
896         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
897         (test-xfail-POSIX/time.h/linknamespace): Likewise.
898
899 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
900
901         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
902
903 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
904
905         * stdio-common/bug-vfprintf-nargs.c (do_test):
906         Cast value to intptr_t to avoid format warning
907         for usage with PRIdPTR printing macro.
908
909 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
910
911         * libio/tst-widetext.c (do_test):
912         Use format type %td instead of %Zd for ptrdiff_t
913         in order to avoid format warning.
914
915 2014-12-17  Andreas Schwab  <schwab@suse.de>
916
917         * nscd/mem.c (gc): Add size_t cast to match printf format.
918
919 2014-12-16  Roland McGrath  <roland@hack.frob.com>
920
921         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
922         (init): Apply PTR_MANGLE to pointers before storing them.
923         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
924         before using them.
925
926 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
927
928         [BZ #17719]
929         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
930         define as weak alias of __memrchr.
931         (__memrchr): Do not define as strong alias of memrchr.
932         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
933         Remove variable.
934         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
935         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
936         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
937
938         [BZ #17717]
939         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
940         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
941         (if_indextoname): Rename to __if_indextoname and define as weak
942         alias of __if_indextoname.  Use libc_hidden_weak.
943         (if_freenameindex): Rename to __if_freenameindex and define as
944         weak alias of __if_freenameindex.
945         (if_nameindex): Rename to __if_nameindex and define as weak alias
946         of __if_nameindex.
947         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
948         __if_nametoindex and define as weak alias of __if_nametoindex.
949         Use libc_hidden_weak.
950         (if_freenameindex): Rename to __if_freenameindex and define as
951         weak alias of __if_freenameindex.
952         (if_nameindex): Rename to __if_nameindex and define as weak alias
953         of __if_nameindex.
954         (if_indextoname): Rename to __if_indextoname and define as weak
955         alias of __if_indextoname.  Use libc_hidden_weak.
956         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
957         __if_nametoindex and define as weak alias of __if_nametoindex.
958         Use libc_hidden_weak.
959         (if_freenameindex): Rename to __if_freenameindex and define as
960         weak alias of __if_freenameindex.  Use libc_hidden_weak.
961         (if_nameindex_netlink): Use __if_freenameindex instead of
962         if_freenameindex.
963         (if_nameindex): Rename to __if_nameindex and define as weak alias
964         of __if_nameindex.  Use libc_hidden_weak.
965         (if_indextoname): Rename to __if_indextoname and define as weak
966         alias of __if_indextoname.  Use libc_hidden_weak.
967         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
968         libc_hidden_proto.
969         [!_ISOMAC] (__if_freenameindex): Likewise.
970         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
971         if_nametoindex.
972         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
973         variable.
974         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
975         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
976         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
977         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
978         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
979         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
980         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
981
982         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
983         Remove variable.
984         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
985         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
986
987 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
988
989         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
990         subscript above bounds'
991
992         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
993         bounds.
994
995 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
996
997         * libio/tst-fopenloc.c: Use test-skeleton.c.
998
999         * stdlib/tst-bsearch.c: Use test-skeleton.c.
1000         (entry): Rename to ITEM.
1001         (do_test, comp): Adjust.
1002
1003         * stdio-common/tst-fseek.c: Use test-skeleton.c.
1004
1005 2014-12-16  Torvald Riegel  <triegel@redhat.com>
1006
1007         * string/tester.c: Include <libc-internal.h>.
1008         (test_memset): Ignore -Wmemset-transposed-args.
1009
1010 2014-12-16  Torvald Riegel  <triegel@redhat.com>
1011
1012         * misc/tst-mntent2.c (do_test): Fix warning.
1013
1014 2014-12-16  Torvald Riegel  <triegel@redhat.com>
1015
1016         * elf/tst-unique4lib.cc(a): Mark as used.
1017
1018 2014-12-16  Florian Weimer  <fweimer@redhat.com>
1019
1020         [BZ #17630]
1021         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
1022         names.
1023
1024 2014-12-16  Allan McRae  <allan@archlinux.org>
1025
1026         * stdio-common/Makefile (tests): Re-add bug26.
1027
1028 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
1029
1030         [BZ #17657]
1031         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
1032         static array.
1033
1034 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
1035
1036         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
1037         (__lll_lock_wait): Likewise.
1038         (__lll_timedlock_wait): Likewise.
1039         (__lll_timedwait_tid): Likewise.
1040         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
1041         (__lll_robust_timedlock_wait): Likewise.
1042         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
1043         (lll_cond_trylock): Likewise.
1044         (__lll_lock): Likewise.
1045         (__lll_robust_lock): Likewise.
1046         (__lll_cond_lock): Likewise.
1047         (lll_robust_cond_lock): Likewise.
1048         (__lll_timedlock): Likewise.
1049         (__lll_robust_timedlock): Likewise.
1050         (__lll_unlock): Likewise.
1051         (__lll_robust_unlock): Likewise.
1052         (lll_wait_tid): Likewise.
1053         (lll_timedwait_tid): Likewise.
1054
1055 2014-12-15  Torvald Riegel  <triegel@redhat.com>
1056
1057         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
1058
1059 2014-12-15  Torvald Riegel  <triegel@redhat.com>
1060
1061         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
1062
1063 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
1064
1065         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
1066         * stdio-common/tst-sprintf.c: Likewise.
1067
1068 2014-12-15  Torvald Riegel  <triegel@redhat.com>
1069
1070         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
1071
1072 2014-12-15  Jeff Law  <law@redhat.com>
1073
1074         [BZ #16617]
1075         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
1076         on the heap.  (CVE-2012-3406)
1077         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
1078         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
1079         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
1080
1081 2014-12-15  Will Newton  <will.newton@linaro.org>
1082
1083         * manual/install.texi: Bump required version of texinfo
1084         to 4.7 from 4.5.
1085         * INSTALL: Regenerated.
1086         * configure.ac: Check for makeinfo version 4.7 and above.
1087         * configure: Regenerated.
1088
1089 2014-12-12  Roland McGrath  <roland@hack.frob.com>
1090
1091         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
1092         PREFIX, string constant to insert between directory and name.
1093         * sysdeps/posix/shm_open.c: Update caller.
1094         * sysdeps/posix/shm_unlink.c: Likewise.
1095         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
1096         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
1097         (SEM_SHM_PREFIX): New macro.
1098         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
1099         [$(have-thread-library) = no].
1100         * nptl/Makefile (libpthread-routines): Add shm-directory.
1101         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
1102         * sysdeps/nptl/shm-directory.h: New file.
1103         * sysdeps/posix/shm-directory.c
1104         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
1105         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
1106         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
1107         INTERNAL_SYSCALL.
1108         (__where_is_shmfs): Function removed.
1109         (mountpoint, defaultmount, defaultdir, __namedsem_once):
1110         Variables removed.
1111         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
1112         Use SHM_GET_NAME.
1113         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
1114
1115         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
1116         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
1117         unconditional for use inside libpthread.
1118         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
1119
1120 2014-12-12  Roland McGrath  <roland@hack.frob.com>
1121
1122         * nptl/pthread_getaffinity.c: New file.
1123         * nptl/pthread_setaffinity.c: New file.
1124         * nptl/pthread_getname.c: New file.
1125         * nptl/pthread_setname.c: New file.
1126
1127         * nptl/pthread_create.c (START_THREAD_DEFN)
1128         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
1129
1130 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
1131             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1132
1133         * resolv/res_send.c (send_vc): Disable warning resplen may
1134         be used uninitialized.
1135
1136 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
1137
1138         * nptl/tst-mutex6.c
1139         (ATTR_NULL): New define checks ATTR against NULL.
1140         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
1141         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
1142
1143 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
1144
1145         [BZ #17581]
1146         * malloc/hooks.c
1147         (mem2mem_check): Revert my previous change.
1148         (malloc_check_get_size): Revert my previous change.
1149         (mem2chunk_check): Revert my previous change.
1150
1151 2014-12-11  Roland McGrath  <roland@hack.frob.com>
1152
1153         * sysdeps/posix/shm-directory.c: New file.
1154         * sysdeps/posix/shm-directory.h: New file.
1155         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
1156         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
1157         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
1158         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
1159         Transmute EPERM to EACCES.
1160         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
1161         from ...
1162         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
1163         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
1164
1165 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1166
1167         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
1168         pointer and cast to uintptr_t.
1169         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
1170         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
1171         Add cast to avoid warning.
1172         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
1173
1174 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
1175
1176         * nptl/semaphore.h: Move to ...
1177         * sysdeps/pthread/semaphore.h: ... here.
1178         * Makefile (installed-headers): Change nptl/semaphore.h to
1179         sysdeps/pthread/semaphore.h.
1180
1181 2014-12-11  Roland McGrath  <roland@hack.frob.com>
1182
1183         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
1184         generated error format strings.
1185
1186         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
1187         -Wformat-extra-args warnings for scanf formats.
1188         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
1189         test of zero-length format (duh).
1190         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
1191         corner-case scanf format test.
1192         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
1193         generated fprintf format string.
1194         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
1195         corner-case sprintf format tests.
1196         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
1197         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
1198         -Wformat-extra-args warnings throughout.
1199         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
1200         (CFLAGS-scanf4.c): Likewise.
1201         (CFLAGS-scanf7.c): Likewise.
1202         (CFLAGS-tst-sprintf.c): Likewise.
1203         (CFLAGS-tst-printf.c): Likewise.
1204         (CFLAGS-tst-printfsz.c): Likewise.
1205
1206 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
1207
1208         * include/cpio.h: New file.
1209         * include/fmtmsg.h: Likewise.
1210
1211         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
1212         corresponding format argument to size_t.
1213         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
1214         arguments.
1215         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
1216         corresponding format argument to size_t.
1217         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
1218         arguments.
1219         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
1220         corresponding format argument to size_t.
1221         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
1222         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
1223         (CFLAGS-tst-mbswcs2.c): Likewise.
1224         (CFLAGS-tst-mbswcs3.c): Likewise.
1225         (CFLAGS-tst-mbswcs4.c): Likewise.
1226         (CFLAGS-tst-mbswcs5.c): Likewise.
1227         (CFLAGS-tst-trans.c): Likewise
1228
1229 2014-12-11  Roland McGrath  <roland@hack.frob.com>
1230
1231         * posix/regexbug1.c (main): Use "%s" format with regerror results,
1232         rather than assuming they won't contain any '%'s.
1233
1234 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
1235
1236         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
1237         inhibit_loop_to_libcall to avoid recursive calls.
1238         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
1239         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
1240
1241 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
1242
1243         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
1244         prototype.
1245
1246 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
1247
1248         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
1249         integer value instead of boolean.
1250
1251 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
1252
1253         * malloc/malloc.c: Fix powerof2 check.
1254
1255 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
1256
1257         * locale/programs/locfile.h (maybe_swap_uint32):
1258         Remove inline and add unused attribute.
1259
1260 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
1261
1262         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
1263         Truncating assembler expression to a .long expression.
1264
1265 2014-12-11  Andreas Schwab  <schwab@suse.de>
1266
1267         * elf/rtld.c (struct map_args): Constify str member.
1268         (do_preload): Constify fname argument.
1269
1270 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1271
1272         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
1273         constants definition.
1274
1275 2014-12-11  Andreas Schwab  <schwab@suse.de>
1276
1277         [BZ #16657]
1278         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
1279         FORCE_ELISION instead of DO_ELISION.
1280         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
1281         Remove.
1282         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
1283         Likewise.
1284
1285         * iconvdata/gconv-modules: Remove duplicate entry.
1286
1287 2014-12-11  Will Newton  <will.newton@linaro.org>
1288
1289         Merge gettext 0.19.3 into intl/.
1290
1291         This involves a number of cosmetic changes to comments
1292         and ANSI function definitions and prototypes throughout
1293         all the files. The gettext copyright header is used but
1294         with the date ranges taken from the glibc copy.
1295
1296         * NEWS: Add gettext merge to 2.21.
1297         * intl/bindtextdom.c: Switch to gettext copyright.
1298         Use ANSI definitions and prototypes.
1299         Use gl_* locking primitives rather than __libc_* ones.
1300         Use __builtin_expect rather than __glibc_likely/unlikely.
1301         * intl/dcgettext.c: Switch to gettext copyright.
1302         Use ANSI definitions and prototypes.
1303         * intl/dcigettext.c: Switch to gettext copyright.
1304         Use ANSI definitions and prototypes.
1305         (INTDIV0_RAISES_SIGFPE): New define.
1306         Use gl_* locking primitives rather than __libc_* ones.
1307         Include eval-plural.h instead of plural-eval.c.
1308         Use __builtin_expect rather than __glibc_likely/unlikely.
1309         * intl/dcngettext.c: Switch to gettext copyright.
1310         Use ANSI definitions and prototypes.
1311         * intl/dgettext.c: Likewise.
1312         * intl/dngettext.c: Likewise.
1313         * intl/plural-eval.c: Renamed to...
1314         * intl/eval-plural.h: ...this.
1315         * intl/explodename.c: Switch to gettext copyright.
1316         Use ANSI definitions and prototypes.
1317         (_nl_explode_name): Use strchr instead of __rawmemchr.
1318         * intl/finddomain.c: Switch to gettext copyright.
1319         Use ANSI definitions and prototypes.
1320         Use gl_* locking primitives rather than __libc_* ones.
1321         (_nl_find_domain): Use malloc rather than alloca for
1322         allocation of temporary locale name.
1323         * intl/gettext.c: Switch to gettext copyright.
1324         Use ANSI definitions and prototypes.
1325         * intl/gettextP.h: Switch to gettext copyright.
1326         Use ANSI definitions and prototypes.
1327         Use gl_* locking primitives rather than __libc_* ones.
1328         * intl/gmo.h: Switch to gettext copyright.
1329         (struct sysdep_string): Move struct segment_pair outside of
1330         struct definition.
1331         * intl/hash-string.c: Use ANSI definitions and prototypes.
1332         * intl/hash-string.h: Switch to gettext copyright.
1333         Use ANSI definitions and prototypes.
1334         * intl/l10nflist.c: Switch to gettext copyright.
1335         Use ANSI definitions and prototypes.
1336         (_nl_normalize_codeset): Avoid integer overflow.
1337         * intl/loadinfo.h: Switch to gettext copyright.
1338         Use ANSI definitions and prototypes.
1339         (LIBINTL_DLL_EXPORTED): New define.
1340         (PATH_SEPARATOR): New define.
1341         * intl/loadmsgcat.c: Switch to gettext copyright.
1342         * intl/localealias.c: Switch to gettext copyright.
1343         Use ANSI definitions and prototypes.
1344         (_nl_expand_alias): Use PATH_SEPARATOR.
1345         * intl/ngettext.c: Switch to gettext copyright.
1346         Use ANSI definitions and prototypes.
1347         * intl/plural-exp.c: Likewise.
1348         * intl/plural-exp.h: Switch to gettext copyright.
1349         Use ANSI definitions and prototypes.
1350         (struct expression): Move definition of enum operator outside
1351         of struct definition.
1352         * intl/plural.c: Regenerate.
1353         * intl/plural.y: Switch to gettext copyright.
1354         Use ANSI definitions and prototypes.
1355         Port to bison 3.0.
1356         * intl/textdomain.c: Switch to gettext copyright.
1357         Use ANSI definitions and prototypes.
1358         Use gl_* locking primitives rather than __libc_* ones.
1359
1360 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
1361
1362         * debug/warning-nop.c: Add used atrribute.
1363
1364 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
1365
1366         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
1367
1368         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
1369         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
1370         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
1371
1372 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
1373             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1374
1375         [BZ #17634]
1376         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
1377         Undefine after defining function.  Define as weak alias of
1378         __wcschr.  Use libc_hidden_weak.
1379         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
1380         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
1381         (libc_hidden_def): Also define __GI___wcschr alias.
1382         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
1383         __wcschr and define as weak alias of __wcschr.
1384         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
1385         __wcschr.
1386         [!WCSCHR] (DEFAULT_WCSCHR): Define.
1387         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
1388         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
1389         libc_hidden_weak.  Do not use libc_hidden_def.
1390         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
1391         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
1392         __GI___wcschr alias.
1393         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
1394         [IS_IN (libc)] (wcschr): Define as macro expanding to
1395         __redirect_wcschr.
1396         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
1397         [IS_IN (libc)] (__wcschr_power6): Likewise.
1398         [IS_IN (libc)] (__wcschr_power7): Likewise.
1399         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
1400         instead of wcschr.
1401         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
1402         __libc_wcschr.
1403         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
1404         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
1405         __wcschr and define as weak alias of __wcschr.  Use
1406         libc_hidden_builtin_def.
1407         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
1408         as weak alias of __wcschr.  Use libc_hidden_weak.
1409         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
1410         wcschr.
1411         * time/era.c (_nl_init_era_entries): Likewise.
1412         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
1413         variable.
1414         (test-xfail-XPG3/time.h/linknamespace): Likewise.
1415         (test-xfail-XPG4/time.h/linknamespace): Likewise.
1416
1417 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
1418
1419         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
1420         format for long int variable.
1421
1422 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
1423
1424         [BZ #10672]
1425         * manual/search.texi: (Array Sort Function): Remove claim how to make
1426         qsort stable.
1427
1428 2014-12-10  Andreas Schwab  <schwab@suse.de>
1429
1430         [BZ #12847]
1431         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
1432         user-controlled locks.
1433
1434 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
1435
1436         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
1437         register.
1438
1439 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
1440
1441         * configure.ac (--disable-werror): New configure option.
1442         (enable_werror): New AC_SUBST.
1443         * configure: Regenerated.
1444         * config.make.in (enable-werror): New variable.
1445         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
1446         -Wno-error=undef.
1447         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
1448         * manual/install.texi (Configuring and compiling): Document
1449         --disable-werror.
1450         * INSTALL: Regenerated.
1451         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
1452         (CFLAGS-tst-chk2.c): Likewise.
1453         (CFLAGS-tst-chk3.c): Likewise.
1454         (CFLAGS-tst-chk4.cc): Likewise.
1455         (CFLAGS-tst-chk5.cc): Likewise.
1456         (CFLAGS-tst-chk6.cc): Likewise.
1457         (CFLAGS-tst-lfschk1.c): Likewise.
1458         (CFLAGS-tst-lfschk2.c): Likewise.
1459         (CFLAGS-tst-lfschk3.c): Likewise.
1460         (CFLAGS-tst-lfschk4.cc): Likewise.
1461         (CFLAGS-tst-lfschk5.cc): Likewise.
1462         (CFLAGS-tst-lfschk6.cc): Likewise.
1463
1464         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
1465         (main): Disable -Wdeprecated-declarations around calls to
1466         register_printf_function.
1467
1468         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
1469         (do_test): Disable -Wdiv-by-zero around some calls to
1470         fwrite_unlocked and fread_unlocked.
1471
1472         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
1473         (DIAG_POP_NEEDS_COMMENT): Likewise.
1474         (_DIAG_STR1): Likewise.
1475         (_DIAG_STR): Likewise.
1476         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
1477         * stdio-common/bug21.c: Include <libc-internal.h>.
1478         (do_test): Disable -Wformat around call to sscanf.
1479         * stdio-common/scanf14.c: Include <libc-internal.h>.
1480         (main): Disable -Wformat around some calls to scanf functions.
1481
1482 2014-12-09  Torvald Riegel  <triegel@redhat.com>
1483
1484         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
1485
1486 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1487
1488         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
1489         stack variable alignment.
1490
1491 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
1492
1493         [BZ #17682]
1494         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
1495         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
1496         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
1497         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
1498         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
1499         __getrlimit instead of getrlimit.
1500         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
1501         __gettimeofday instead of gettimeofday.
1502         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
1503         Likewise.
1504         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
1505         Likewise.
1506         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
1507         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
1508         Remove variable.
1509         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
1510         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
1511
1512 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1513
1514         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
1515         for wide-character tests.
1516
1517 2014-12-04  Roland McGrath  <roland@hack.frob.com>
1518
1519         * io/openat64.c: #include <libc-internal.h>
1520         (__openat64): Prototypify.  Use ignore_value on MODE.
1521         * io/openat.c: Likewise.
1522         * misc/reboot.c: #include <libc-internal.h>
1523         (reboot): Prototypify.  Use ignore_value on HOWTO.
1524         * misc/ptrace.c: #include <libc-internal.h>
1525         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
1526
1527 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
1528
1529         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
1530         XPG4, UNIX98 and XOPEN2K.
1531         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
1532         Remove variable.
1533         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
1534
1535 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
1536
1537         * libio/fileops.c: Use ISO C style for function definitions.
1538         * libio/iofopen.c: Likewise.
1539         * libio/wfileops.c: Likewise.
1540
1541         [BZ #17653]
1542         * libio/fileops.c (_IO_new_file_underflow): Unset cached
1543         offset on EOF.
1544         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
1545         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
1546         (fgets_func): Function pointer to fgets and fgetws.
1547         (do_ftell_test): Add test to verify ftell value after read
1548         EOF.
1549         (do_test): Set fgets_func.
1550
1551         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
1552         O_TRUNC flag for w and w+ modes.
1553         (do_rewind_test): Likewise.
1554         (do_ftell_test): Likewise.
1555         (do_write_test): Likewise.
1556
1557         [BZ #17647]
1558         * libio/fileops.c (do_ftell): Seek only when there are
1559         unflushed writes.
1560         * libio/wfileops.c (do_ftell_wide): Likewise.
1561         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
1562         test case.
1563         (do_one_test): Call it.
1564
1565 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
1566
1567         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
1568         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
1569         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
1570         Remove variable.
1571         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
1572         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
1573         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
1574
1575 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
1576
1577         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
1578         Remove variable.
1579         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
1580
1581         [BZ #17668]
1582         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
1583         as weak alias of __getifaddrs.  Use libc_hidden_weak.
1584         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
1585         __freeifaddrs.  Use libc_hidden_weak.
1586         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
1587         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
1588         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
1589         __freeifaddrs.  Use libc_hidden_weak.
1590         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
1591         __getifaddrs and define as weak alias of __getifaddrs.  Use
1592         libc_hidden_weak.
1593         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
1594         __freeifaddrs.  Use libc_hidden_weak.
1595         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
1596         Remove variable.
1597         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
1598         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
1599
1600 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
1601
1602         [BZ #17601]
1603         * sysdeps/mips/start.S (__start): Use indirect jump to call
1604         __libc_start_main.
1605
1606 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
1607
1608         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
1609
1610         * nptl/tst-mutex1.c: Include <stdbool.h>.
1611         [!ATTR] (ATTR_NULL): New macro.
1612         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
1613         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
1614         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
1615
1616         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
1617         to char *.
1618
1619         [BZ #17665]
1620         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
1621         Change conditional to [__USE_MISC].
1622
1623         [BZ #17664]
1624         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
1625         fgets_unlocked.
1626         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
1627         __fgets_unlocked.
1628         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
1629         fgets_unlocked.
1630         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
1631         Remove variable.
1632         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
1633         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
1634         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
1635         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
1636         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
1637         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
1638         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
1639         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
1640         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
1641
1642         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
1643
1644 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1645
1646         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1647         Remove strpbrk objects.
1648         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1649         (__libc_ifunc_impl_list): Remove strpbrk implementation.
1650         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
1651         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
1652         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
1653         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
1654
1655         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1656         Remove strcspn objects.
1657         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1658         (__libc_ifunc_impl_list): Remove strcspn implementation.
1659         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
1660         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
1661         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
1662         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
1663
1664         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1665         Remove strspn objetcs.
1666         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1667         (__libc_ifunc_impl_list): Remove strspn implementation.
1668         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
1669         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
1670         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
1671         * sysdeps/powerpc/powerpc64/strspn.S: New file.
1672
1673 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
1674
1675         [BZ #17581]
1676         * malloc/hooks.c
1677         (mem2mem_check): Add a terminator to the chain of checking blocks.
1678         (malloc_check_get_size): Use it here.
1679         (mem2chunk_check): Ditto.
1680
1681 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1682
1683         * sysdeps/powerpc/powerpc64/strtok.S: New file.
1684         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
1685
1686 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
1687
1688         * bits/ioctl-types.h: Indent preprocessor directives correctly.
1689
1690         * nptl/nptl-init.c: Include libc-internal.h.
1691         (__pthread_initialize_minimal_internal): Use ROUND_UP.
1692
1693         * elf/ldconfig.c (search_dir): Expand comment.
1694
1695 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
1696
1697         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
1698         variable.
1699         (linknamespace-symlist-stdlibs-tests): Likewise.
1700         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
1701         instead of $(objpfx)symlist-stdlibs.
1702         (linknamespace-libs-isoc): New variable.
1703         (linknamespace-libs): Use $(linknamespace-libs-isoc).
1704         (linknamespace-libs-ISO): New variable.
1705         (linknamespace-libs-ISO99): Likewise.
1706         (linknamespace-libs-ISO11): Likewise.
1707         (linknamespace-libs-XPG3): Likewise.
1708         (linknamespace-libs-XPG4): Likewise.
1709         (linknamespace-libs-POSIX): Likewise.
1710         (linknamespace-libs-UNIX98): Likewise.
1711         (linknamespace-libs-XOPEN2K): Likewise.
1712         (linknamespace-libs-POSIX2008): Likewise.
1713         (linknamespace-libs-XOPEN2K8): Likewise.
1714         ($(objpfx)symlist-stdlibs): Replace by
1715         $(linknamespace-symlist-stdlibs-tests).  Use
1716         $(linknamespace-libs-$*) as set of libraries.
1717         ($(linknamespace-header-tests)): Update dependencies.  Use
1718         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
1719         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
1720         * conform/linknamespace.pl: Remove comment about considering
1721         definitions of symbols from irrelevant libraries.
1722
1723 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
1724
1725         [BZ #13862]
1726         * elf/dl-tls.c: Include <atomic.h>.
1727         (oom): Remove #ifdef SHARED/#endif.
1728         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
1729         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
1730         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
1731         big enough.
1732         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
1733         * nptl/Makefile (tests): Add tst-stack4.
1734         (modules-names): Add tst-stack4mod.
1735         ($(objpfx)tst-stack4): New.
1736         (tst-stack4mod.sos): Likewise.
1737         ($(objpfx)tst-stack4.out): Likewise.
1738         ($(tst-stack4mod.sos)): Likewise.
1739         (clean): Likewise.
1740         * nptl/tst-stack4.c: New file.
1741         * nptl/tst-stack4mod.c: Likewise.
1742
1743 2014-11-27  J. Brown  <jb999@gmx.de>
1744
1745         * sysdeps/x86/bits/string.h: Add recent CPUs.
1746
1747 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
1748
1749         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
1750         sigblock.
1751
1752         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
1753         feof.
1754
1755         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
1756         variable.
1757
1758 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
1759
1760         * nscd/connections.c: Include libc-internal.h because of macro
1761         usage ignore_value.
1762
1763 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
1764
1765         * string/bits/string3.h (__warn_memset_zero_len): Don't
1766         declare for gcc newer than 5.0.
1767         (memset): Don't test for zero-length __LEN for gcc newer than
1768         5.0.
1769
1770 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
1771
1772         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
1773         size_t for %zu format.
1774
1775         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
1776         difference, not %ju.
1777
1778 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
1779
1780         * include/libc-internal.h (ignore_value): New macro.
1781         * nscd/connections.c (restart): Wrap calls to setuid and setgid
1782         with ignore_value.
1783
1784         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
1785         definition.
1786
1787         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
1788         pthread_cleanup_push to void *.
1789
1790         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
1791         Undefine.
1792
1793         [BZ #16619]
1794         [BZ #16740]
1795         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
1796         instead of 1L << 52.
1797
1798         * libio/bug-rewind.c (do_test): Check fwscanf return values.
1799         * libio/bug-rewind2.c (do_test): Likewise.
1800
1801         * debug/test-stpcpy_chk-ifunc.c: Remove file.
1802         * debug/test-strcpy_chk-ifunc.c: Likewise.
1803         * wcsmbs/test-wcschr-ifunc.c: Likewise.
1804         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
1805         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
1806         * wcsmbs/test-wcslen-ifunc.c: Likewise.
1807         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
1808         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
1809         * Rules [$(multi-arch) = no] (tests): Do not filter out
1810         $(tests-ifunc).
1811         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
1812         * debug/Makefile (tests-ifunc): Remove variable.
1813         (tests): Do not add $(tests-ifunc).
1814         * wcsmbs/Makefile (tests-ifunc): Remove variable.
1815         (tests): Do not add $(tests-ifunc).
1816         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
1817         [TEST_IFUNC]: Remove conditionals.
1818         * string/test-string.h (TEST_IFUNC): Remove macro.
1819         [TEST_IFUNC]: Remove conditionals.
1820
1821         * string/test-strchr.c [!WIDE] (L): New macro.
1822         [WIDE] (L): Likewise.
1823         (check1): Use CHAR instead of char.  Use L on string and character
1824         constants.
1825
1826 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
1827
1828         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
1829         tests.
1830         * sysdeps/powerpc/bits/atomic.h
1831         (__arch_atomic_exchange_and_add_32_acq): Add definition.
1832         (__arch_atomic_exchange_and_add_32_rel): Likewise.
1833         (atomic_exchange_and_add_acq): Likewise.
1834         (atomic_exchange_and_add_rel): Likewise.
1835         * sysdeps/powerpc/powerpc32/bits/atomic.h
1836         (__arch_atomic_exchange_and_add_64_acq): Add definition.
1837         (__arch_atomic_exchange_and_add_64_rel): Likewise.
1838         * sysdeps/powerpc/powerpc64/bits/atomic.h
1839         (__arch_atomic_exchange_and_add_64_acq): Add definition.
1840         (__arch_atomic_exchange_and_add_64_rel): Likewise.
1841
1842 2014-11-26  Torvald Riegel  <triegel@redhat.com>
1843
1844         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
1845         Change synchronization of __sched_fifo_min_prio and
1846         __sched_fifo_max_prio.
1847         * nptl/pthread_mutexattr_getprioceiling.c
1848         (pthread_mutexattr_getprioceiling): Likewise.
1849         * nptl/pthread_mutexattr_setprioceiling.c
1850         (pthread_mutexattr_setprioceiling): Likewise.
1851         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
1852         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
1853         Likewise.
1854
1855 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
1856
1857         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
1858         void.
1859
1860 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
1861
1862         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
1863         third argument const.
1864
1865 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
1866
1867         fnmatch: work around GCC compiler warning bug with uninit var
1868         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
1869         This works around a bug with x86-64 GCC 4.9.2 and earlier
1870         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
1871         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
1872         used uninitialized in this function [-Wmaybe-uninitialized]".
1873
1874 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
1875
1876         * posix/bug-regex31.c (main): Return RES not 0.
1877
1878 2014-11-25  Anton Blanchard <anton@samba.org>
1879
1880         * sysdeps/powerpc/bits/atomic.h
1881         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
1882
1883 2014-11-24  Sterling Augustine  <saugustine@google.com>
1884
1885         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
1886
1887 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
1888
1889         [BZ #17608]
1890         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
1891
1892 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
1893
1894         [BZ #17633]
1895         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
1896         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
1897         variable.
1898         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
1899         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
1900
1901 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
1902
1903         * string/strncpy.c (strncpy): Improve performance by using memset.
1904
1905 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
1906
1907         * string/strcpy.c (strcpy):
1908         Improve performance by using strlen and memcpy.
1909
1910 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
1911
1912         * string/strcoll_l.c (get_next_seq): __always_inline.
1913         * string/strcoll_l.c (do_compare): __always_inline.
1914
1915 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1916
1917         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
1918         defined.
1919         * include/mqueue.h: Likewise.
1920         * include/stdlib.h: Likewise.
1921
1922         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
1923         (get_null_defines): Adjust.
1924         * sunrpc/Makefile: Adjust comment.
1925         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
1926         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
1927         (CFLAGS-interp.c): Likewise.
1928         (CFLAGS-ldconfig.c): Likewise.
1929         (CPPFLAGS-.os): Likewise.
1930         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
1931         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
1932         * extra-modules.mk (extra-modules.mk): Likewise.
1933         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
1934         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
1935         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
1936         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
1937         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
1938         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
1939         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
1940         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
1941         * iconvdata/Makefile (CPPFLAGS): Likewise.
1942         (cpp-srcs-left): Add libof for all iconvdata routines.
1943         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
1944         * include/assert.h: Likewise.
1945         * include/ctype.h: Likewise.
1946         * include/errno.h: Likewise.
1947         * include/libc-symbols.h: Likewise.
1948         * include/math.h: Likewise.
1949         * include/netdb.h: Likewise.
1950         * include/resolv.h: Likewise.
1951         * include/stdio.h: Likewise.
1952         * include/stdlib.h: Likewise.
1953         * include/string.h: Likewise.
1954         * include/sys/stat.h: Likewise.
1955         * include/wctype.h: Likewise.
1956         * intl/l10nflist.c: Likewise.
1957         * libidn/idn-stub.c: Likewise.
1958         * libio/libioP.h: Likewise.
1959         * nptl/libc_multiple_threads.c: Likewise.
1960         * nptl/pthreadP.h: Likewise.
1961         * posix/regex_internal.h: Likewise.
1962         * resolv/res_hconf.c: Likewise.
1963         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
1964         * sysdeps/arm/memmove.S: Likewise.
1965         * sysdeps/arm/sysdep.h: Likewise.
1966         * sysdeps/generic/_itoa.h: Likewise.
1967         * sysdeps/generic/symbol-hacks.h: Likewise.
1968         * sysdeps/gnu/errlist.awk: Likewise.
1969         * sysdeps/gnu/errlist.c: Likewise.
1970         * sysdeps/i386/i586/memcpy.S: Likewise.
1971         * sysdeps/i386/i586/memset.S: Likewise.
1972         * sysdeps/i386/i686/memcpy.S: Likewise.
1973         * sysdeps/i386/i686/memmove.S: Likewise.
1974         * sysdeps/i386/i686/mempcpy.S: Likewise.
1975         * sysdeps/i386/i686/memset.S: Likewise.
1976         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
1977         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
1978         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
1979         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
1980         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
1981         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
1982         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
1983         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
1984         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
1985         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
1986         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
1987         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
1988         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
1989         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
1990         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
1991         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
1992         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
1993         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
1994         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
1995         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
1996         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
1997         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
1998         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
1999         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
2000         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
2001         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
2002         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
2003         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
2004         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
2005         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
2006         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
2007         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
2008         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
2009         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2010         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
2011         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
2012         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
2013         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
2014         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
2015         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
2016         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
2017         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
2018         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
2019         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
2020         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
2021         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
2022         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
2023         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
2024         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
2025         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
2026         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
2027         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
2028         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
2029         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
2030         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
2031         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
2032         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
2033         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
2034         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
2035         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
2036         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
2037         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
2038         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
2039         * sysdeps/nptl/bits/libc-lock.h: Likewise.
2040         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
2041         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
2042         * sysdeps/posix/closedir.c: Likewise.
2043         * sysdeps/posix/opendir.c: Likewise.
2044         * sysdeps/posix/readdir.c: Likewise.
2045         * sysdeps/posix/rewinddir.c: Likewise.
2046         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
2047         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
2048         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
2049         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2050         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
2051         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
2052         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
2053         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
2054         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
2055         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
2056         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
2057         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
2058         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
2059         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
2060         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
2061         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
2062         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
2063         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
2064         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
2065         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
2066         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
2067         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
2068         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
2069         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
2070         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
2071         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
2072         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
2073         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
2074         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
2075         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
2076         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
2077         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
2078         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
2079         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
2080         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
2081         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
2082         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
2083         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
2084         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
2085         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
2086         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
2087         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
2088         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
2089         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
2090         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
2091         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
2092         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
2093         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
2094         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
2095         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
2096         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
2097         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
2098         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
2099         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
2100         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
2101         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
2102         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
2103         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
2104         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
2105         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
2106         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
2107         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
2108         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
2109         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
2110         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
2111         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
2112         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
2113         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
2114         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
2115         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
2116         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
2117         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
2118         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
2119         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
2120         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
2121         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
2122         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
2123         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
2124         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
2125         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
2126         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
2127         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
2128         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
2129         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
2130         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
2131         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
2132         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
2133         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
2134         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
2135         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
2136         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
2137         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
2138         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
2139         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
2140         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2141         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
2142         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
2143         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2144         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
2145         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
2146         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2147         * sysdeps/unix/alpha/sysdep.S: Likewise.
2148         * sysdeps/unix/alpha/sysdep.h: Likewise.
2149         * sysdeps/unix/make-syscalls.sh: Likewise.
2150         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
2151         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2152         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
2153         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
2154         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
2155         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
2156         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
2157         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2158         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
2159         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
2160         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2161         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
2162         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2163         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
2164         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
2165         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
2166         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2167         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
2168         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
2169         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
2170         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
2171         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2172         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
2173         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
2174         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
2175         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
2176         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
2178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
2179         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
2180         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2181         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
2182         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
2183         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2184         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
2185         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
2186         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
2187         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2188         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
2189         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
2190         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2191         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
2192         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2193         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
2194         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2195         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
2196         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2197         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2198         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
2199         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2200         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2201         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
2202         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2203         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
2204         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
2205         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2206         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
2207         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2208         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
2209         * sysdeps/x86_64/memcpy.S: Likewise.
2210         * sysdeps/x86_64/memmove.c: Likewise.
2211         * sysdeps/x86_64/memset.S: Likewise.
2212         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
2213         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
2214         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
2215         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
2216         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
2217         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
2218         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
2219         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
2220         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2221         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2222         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2223         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2224         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
2225         * sysdeps/x86_64/multiarch/memset.S: Likewise.
2226         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2227         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
2228         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
2229         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
2230         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
2231         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
2232         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
2233         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2234         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
2235         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
2236         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
2237         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
2238         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2239         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
2240         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
2241         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
2242         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
2243         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
2244         * sysdeps/x86_64/strcmp.S: Likewise.
2245
2246         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
2247
2248         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
2249         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
2250         * elf/rtld-Rules: Likewise.
2251         * elf/setup-vdso.h: Likewise.
2252         * include/assert.h: Likewise.
2253         * include/bits/stdlib-float.h: Likewise.
2254         * include/errno.h: Likewise.
2255         * include/sys/stat.h: Likewise.
2256         * include/unistd.h: Likewise.
2257         * sysdeps/aarch64/setjmp.S: Likewise.
2258         * sysdeps/alpha/setjmp.S: Likewise.
2259         * sysdeps/arm/__longjmp.S: Likewise.
2260         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
2261         * sysdeps/arm/setjmp.S: Likewise.
2262         * sysdeps/arm/sysdep.h: Likewise.
2263         * sysdeps/generic/_itoa.h: Likewise.
2264         * sysdeps/generic/dl-sysdep.h: Likewise.
2265         * sysdeps/generic/ldsodefs.h: Likewise.
2266         * sysdeps/i386/dl-tls.h: Likewise.
2267         * sysdeps/i386/setjmp.S: Likewise.
2268         * sysdeps/m68k/setjmp.c: Likewise.
2269         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
2270         * sysdeps/mach/hurd/opendir.c: Likewise.
2271         * sysdeps/posix/getcwd.c: Likewise.
2272         * sysdeps/posix/opendir.c: Likewise.
2273         * sysdeps/posix/profil.c: Likewise.
2274         * sysdeps/powerpc/dl-procinfo.h: Likewise.
2275         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
2276         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
2277         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
2278         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2279         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
2280         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
2281         * sysdeps/s390/dl-tls.h: Likewise.
2282         * sysdeps/s390/s390-32/setjmp.S: Likewise.
2283         * sysdeps/s390/s390-64/setjmp.S: Likewise.
2284         * sysdeps/sh/sh3/setjmp.S: Likewise.
2285         * sysdeps/sh/sh4/setjmp.S: Likewise.
2286         * sysdeps/unix/alpha/sysdep.h: Likewise.
2287         * sysdeps/unix/arm/sysdep.S: Likewise.
2288         * sysdeps/unix/i386/sysdep.S: Likewise.
2289         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2290         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
2291         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2292         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2293         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2294         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
2295         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
2296         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2297         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
2298         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
2299         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
2300         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2301         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
2303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2304         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2305         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2306         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2307         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2308         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2309         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2310         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2311         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2312         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2313         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2314         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2315         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2316         * sysdeps/unix/x86_64/sysdep.S: Likewise.
2317         * sysdeps/x86_64/setjmp.S: Likewise.
2318
2319         * include/math.h: Use IS_IN instead of IS_IN_libm.
2320         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
2321         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
2322         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
2323         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
2324         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
2325         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
2326         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
2327         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
2328         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2329         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
2330         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
2331         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
2332         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
2333         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
2334         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
2335         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
2336         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
2337         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
2338         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
2339         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
2340         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
2341         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
2342         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
2343         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
2344         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
2345         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
2346         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
2347         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
2348         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
2349         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
2350         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
2351         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
2352         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
2353         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
2354         Likewise.
2355         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
2356         Likewise.
2357         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
2358         Likewise.
2359         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
2360         Likewise.
2361         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
2362         Likewise.
2363         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
2364         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
2365         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
2366         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
2367         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
2368         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
2369         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
2370         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
2371         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
2372         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
2373         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
2374         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
2375         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
2376         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
2377         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
2378         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
2379         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
2380         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
2381         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
2382         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
2383         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
2384         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
2385         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
2386         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
2387         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
2388         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
2389         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
2390
2391         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
2392         * nptl/pthreadP.h: Likewise.
2393         * nptl_db/structs.def: Likewise.
2394         * sysdeps/arm/sysdep.h: Likewise.
2395         * sysdeps/nptl/bits/libc-lock.h: Likewise.
2396         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
2397         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
2398         * sysdeps/unix/alpha/sysdep.h: Likewise.
2399         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
2400         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2401         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
2402         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
2403         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
2404         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
2405         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2406         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
2407         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2408         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
2409         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
2410         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
2411         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
2412         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
2413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
2414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
2415         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
2416         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
2417         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
2418         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
2419         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
2420         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
2421         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2422         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
2423         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
2424         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
2425
2426         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
2427         * nptl/pthreadP.h: Likewise.
2428         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
2429         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
2430         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
2431         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
2432         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
2433         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
2434         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2435         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
2436         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
2437         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
2438         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
2439         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
2440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
2441         Likewise.
2442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
2443         Likewise.
2444         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
2445         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
2446         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
2447         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
2448         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
2449         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
2450         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
2451         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
2452
2453         * dlfcn/dladdr.c: Use IS_IN.
2454         * dlfcn/dladdr1.c: Likewise.
2455         * dlfcn/dlclose.c: Likewise.
2456         * dlfcn/dlerror.c: Likewise.
2457         * dlfcn/dlinfo.c: Likewise.
2458         * dlfcn/dlmopen.c: Likewise.
2459         * dlfcn/dlopen.c: Likewise.
2460         * dlfcn/dlsym.c: Likewise.
2461         * dlfcn/dlvsym.c: Likewise.
2462
2463         * include/ifaddrs.h: Use IS_IN.
2464         * inet/check_pf.c: Likewise.
2465         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2466         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
2467
2468         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
2469         IS_IN_ldconfig.
2470         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
2471         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
2472
2473         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
2474         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
2475         IS_IN (libc).
2476
2477         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
2478
2479         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
2480         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
2481         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
2482         * include/libc-symbols.h (IS_IN_LIB): New macro.
2483         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
2484         * include/netdb.h: Likewise.
2485         * include/stap-probe.h: Remove all uses of IN_LIB.
2486
2487         * Makeconfig (module-cppflags-real): Define MODULE_NAME
2488         instead of IN_MODULE.
2489         * include/libc-symbols.h (IN_MODULE): Define using
2490         MODULE_NAME.
2491         (PASTE_NAME, PASTE_NAME1): New macros.
2492         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
2493         of IN_LIB.
2494         (STAP_PROBE_ASM): Likewise.
2495
2496 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2497
2498         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
2499         __mach_init in dlopened libc.
2500
2501 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
2502
2503         * sysdeps/arm/preconfigure.ac: Delete EABI check.
2504         * sysdeps/arm/preconfigure: Regenerate.
2505
2506 2014-11-21  Roland McGrath  <roland@hack.frob.com>
2507
2508         * nptl/pthread_create.c (__pthread_create_2_1): Set
2509         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
2510         when copying values from IATTR into PD.
2511
2512 2014-11-21  Will Newton  <will.newton@linaro.org>
2513             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
2514
2515         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
2516         Refactor inline-asm.  Also add comment.
2517
2518         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
2519         ElfW macro instead of hardcoded Elf64 types.
2520         (la_aarch64_gnu_pltenter): Likewise.
2521         * sysdeps/aarch64/dl-machine.h
2522         (elf_machine_runtime_setup): Use ElfW(Addr).
2523
2524         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
2525         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
2526         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
2527         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
2528         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
2529         (R_AARCH64_TLS_DTPMOD64): Rename to ..
2530         (R_AARCH64_TLS_DTPMOD): This.
2531         (R_AARCH64_TLS_DTPREL64): Rename to ...
2532         (R_AARCH64_TLS_DTPREL): This.
2533         (R_AARCH64_TLS_TPREL64): Rename to ...
2534         (R_AARCH64_TLS_TPREL): This.
2535         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
2536         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
2537         R_AARCH64_TLS_TPREL64.
2538         (elf_machine_rela): Likewise.
2539
2540 2014-11-21  Torvald Riegel  <triegel@redhat.com>
2541
2542         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
2543         by setting it to 0.  64b atomics are not supported currently.
2544
2545 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
2546
2547         [BZ #16469]
2548         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
2549         search domain names.
2550
2551 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
2552
2553         [BZ #16469]
2554         * NEWS: Update.
2555         * resolv/res_query.c (__libc_res_nquerydomain): Retain
2556         trailing dot.
2557         * posix/tst-getaddrinfo5.c: New.
2558         * posix/Makefile (tests): Add it.
2559
2560 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
2561
2562         [BZ #14498]
2563         * NEWS: Fixed.
2564         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
2565         after parsing line but before break_if_match.
2566         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
2567         if there is a protocol mismatch.
2568
2569 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
2570
2571         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
2572         because the potential race is on the user-supplied stream.
2573
2574 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
2575
2576         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
2577         string literal if not passed a buffer.
2578         * manual/job.texi (ctermid): Update reasoning, note deviation
2579         from posix, suggest mtasurace when not passed a buffer, for
2580         future non-preliminary safety notes.
2581
2582 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
2583
2584         * manual/users.texi (cuserid): Fix MT-Safety note for the case
2585         of not passing it a buffer.
2586         Reported by Peng Haitao.
2587
2588 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
2589
2590         * manual/Makefile ($(objpfx)stamp-summary): Require
2591         check-safety.sh to pass.
2592         * manual/check-safety.sh: Wish for verification that every
2593         @deftypefn and @deftypefun is followed by a @safety remark.
2594
2595 2014-11-20  Roland McGrath  <roland@hack.frob.com>
2596
2597         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
2598
2599         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
2600         PTHREAD_CANCEL_ASYNCHRONOUS.
2601         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
2602         send SIGCANCEL.
2603
2604         * nptl/default-sched.h: New file.
2605         * sysdeps/unix/sysv/linux/default-sched.h: New file.
2606         * nptl/pthread_create.c: Include it.
2607         (__pthread_create_2_1): Use collect_default_sched instead of making
2608         Linux syscalls here directly.
2609
2610 2014-11-20  Torvald Riegel  <triegel@redhat.com>
2611
2612         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
2613         __pthread_once): Use C11 atomics.
2614
2615 2014-11-20  Torvald Riegel  <triegel@redhat.com>
2616
2617         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
2618
2619 2014-11-20  Torvald Riegel  <triegel@redhat.com>
2620
2621         * include/atomic.h (__atomic_link_error, __atomic_check_size,
2622         atomic_thread_fence_acquire, atomic_thread_fence_release,
2623         atomic_thread_fence_seq_cst, atomic_load_relaxed,
2624         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
2625         atomic_compare_exchange_weak_relaxed,
2626         atomic_compare_exchange_weak_acquire,
2627         atomic_compare_exchange_weak_release,
2628         atomic_exchange_acquire, atomic_exchange_release,
2629         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
2630         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
2631         atomic_fetch_and_acquire,
2632         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
2633
2634 2014-11-20  Torvald Riegel  <triegel@redhat.com>
2635
2636         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
2637         USE_ATOMIC_COMPILER_BUILTINS): Define.
2638         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
2639         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2640         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
2641         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2642         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
2643         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2644         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
2645         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2646         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
2647         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2648         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
2649         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2650         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
2651         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2652         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
2653         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2654         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
2655         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2656         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
2657         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2658         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
2659         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2660         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
2661         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2662         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
2663         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2664         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
2665         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2666         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
2667         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2668         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
2669         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2670         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
2671         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2672         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
2673         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2674         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
2675         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2676         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
2677         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2678
2679 2014-11-19  Roland McGrath  <roland@hack.frob.com>
2680
2681         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
2682         the sched_priority value here.  It was already checked when the user
2683         called pthread_attr_setschedparam.
2684
2685         * nptl/tst-bad-schedattr.c: New file.
2686         * nptl/Makefile (tests): Add it.
2687
2688 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
2689             Florian Weimer  <fweimer@redhat.com>
2690             Joseph Myers  <joseph@codesourcery.com>
2691             Adam Conrad  <adconrad@0c3.net>
2692             Andreas Schwab  <schwab@suse.de>
2693             Brooks  <bmoses@google.com>
2694
2695         [BZ #17625]
2696         * wordexp-test.c (__dso_handle): Add prototype.
2697         (__register_atfork): Likewise.
2698         (__app_register_atfork): New function.
2699         (registered_forks): New global.
2700         (register_fork): New function.
2701         (test_case): Add 3 new tests for WRDE_CMDSUB.
2702         (main): Call __app_register_atfork.
2703         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
2704         fork count is non-zero fail the test.
2705         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
2706         is set.
2707         (parse_dollars): Remove check for WRDE_NOCMD.
2708         (parse_dquote): Likewise.
2709
2710 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
2711
2712         * Makeconfig (built-modules): List non-library modules to be
2713         built.
2714         (module-cppflags): Include libc-modules.h for
2715         everything except shlib-versions.v.i.
2716         (CPPFLAGS): Use it.
2717         (before-compile): Add libc-modules.h.
2718         ($(common-objpfx)libc-modules.h,
2719         $(common-objpfx)libc-modules.stmp): New targets.
2720         (common-generated): Add libc-modules.h and libc-modules.stmp.
2721         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
2722         * include/libc-symbols.h: Don't include libc-modules.h.
2723         * include/libc-modules.h: Remove file.
2724         * scripts/gen-libc-modules.awk: New script to generate
2725         libc-modules.h.
2726         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
2727         Depend on libc-modules.stmp.
2728
2729         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
2730
2731         * Makeconfig (in-module): Get value of libof set for the
2732         translation unit.
2733         (CPPFLAGS): Use $(in-module).
2734         * Makerules: Don't suffix routine names for nonlib.
2735         * include/libc-modules.h: New file.
2736         * include/libc-symbols.h: Include libc-modules.h
2737         (IS_IN): New macro to replace IS_IN_* macros.
2738         * elf/Makefile: Set libof-* for each routine.
2739         * elf/rtld-Rules: Likewise.
2740         * extra-modules.mk: Likewise.
2741         * iconv/Makefile: Likewise.
2742         * iconvdata/Makefile: Likewise.
2743         * locale/Makefile: Likewise.
2744         * malloc/Makefile: Likewise.
2745         * nss/Makefile: Likewise.
2746         * sysdeps/gnu/Makefile: Likewise.
2747         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
2748         * sysdeps/unix/sysv/linux/Makefile: Likewise.
2749         * sysdeps/s390/s390-64/Makefile: Likewise.
2750         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
2751         CPPFLAGS for nscd instead of nonlib.
2752
2753 2014-11-18  Roland McGrath  <roland@hack.frob.com>
2754
2755         * nptl/createthread.c: New file.
2756
2757         * nptl/createthread.c: Moved ...
2758         * sysdeps/unix/sysv/linux/createthread.c: ... here.
2759
2760         * nptl/createthread.c: Add proper top-line comment.
2761         (do_clone): Folded into ...
2762         (create_thread): ... here.  Take new arguments STOPPED_START and
2763         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
2764         increment __nptl_threads, do event-reporting logic, do
2765         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
2766         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
2767         resource cleanup if sched_setaffinity or sched_setscheduler fails,
2768         just send SIGCANCEL.
2769         * nptl/pthread_create.c: Forward-declare create_thread before
2770         including createthread.c.
2771         (start_thread): Use new macro START_THREAD_DEFN to replace defining
2772         declaration, and new macro START_THREAD_SELF to replace argument.
2773         Remove return statement.
2774         (report_thread_creation): New function.
2775         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
2776         synchronization logic, and __nptl_nthreads increment here, around
2777         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
2778         PD->parent_cancelhandling here, before create_thread.  When
2779         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
2780         __deallocate_stack, and ENOMEM translation here.
2781
2782 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
2783
2784         [BZ #17616]
2785         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
2786         (mptwo): Rename to __mptwo.
2787         (__inv): Use __mptwo instead of mptwo.
2788         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
2789         (mptwo): Rename to __mptwo.
2790         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
2791         of mpone and __mptwo instead of mptwo.
2792         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
2793         instead of mpone.
2794         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
2795         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
2796         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
2797         of mpone and __mptwo instead of mptwo.
2798         (__mpranred): Use __mpone instead of mpone.
2799         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
2800         variable.
2801         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
2802         (test-xfail-ISO99/math.h/linknamespace): Likewise.
2803         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
2804         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
2805         (test-xfail-ISO11/math.h/linknamespace): Likewise.
2806         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
2807         (test-xfail-XPG3/math.h/linknamespace): Likewise.
2808         (test-xfail-XPG4/math.h/linknamespace): Likewise.
2809         (test-xfail-POSIX/math.h/linknamespace): Likewise.
2810         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
2811         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
2812         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
2813         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
2814         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
2815         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
2816         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
2817         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
2818         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
2819         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
2820
2821 2014-11-18  Tom de Vries  <tom@codesoucery.com>
2822
2823         * manual/signal.texi (Primitives Interrupted by Signals): In section,
2824         replace BSD Handler xref with BSD Signal Handling.
2825
2826 2014-11-17  Richard Henderson  <rth@redhat.com>
2827
2828         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
2829         (_FP_PACK_RAW_2): Remove.
2830         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
2831         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
2832         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
2833         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
2834         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
2835         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
2836         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
2837         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
2838         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
2839         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
2840         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
2841         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
2842         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
2843         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
2844         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
2845         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
2846
2847 2014-11-14  Roland McGrath  <roland@hack.frob.com>
2848
2849         * signal/signal.h [__USE_MISC]
2850         (struct sigvec): Remove type.
2851         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
2852         (sigvec): Remove declaration.
2853         * sysdeps/posix/sigvec.c: Moved ...
2854         * signal/sigvec.c: ... here, replacing old file.
2855         (struct sigvec): New type, copied from old signal.h definition.
2856         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
2857         (__sigvec): Convert definition to prototype.
2858         (sigvec): Replace weak_alias with compat_symbol.
2859         * signal/Versions (libc: GLIBC_2.21): New version set.
2860         * include/signal.h: Remove __sigvec declaration.
2861         * sysdeps/unix/bsd/sigvec.c: Remove file.
2862         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
2863         * manual/signal.texi (BSD Handler): Remove subsection.
2864         Move siginterrupt up to ...
2865         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
2866         (Blocking in BSD): Fold subsection into its parent.
2867         * NEWS: Mention sigvec removal.
2868
2869 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
2870
2871         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
2872         (DLA_FMS): Make definition conditional only on [__FMA4__].
2873         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
2874         definition.
2875
2876         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
2877         Make definition conditional only on [PROF].
2878         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
2879         definition.
2880         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
2881         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
2882
2883         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
2884         !__GNUC__].
2885         * include/signal.h (__sigpause): Move declaration above call to
2886         libc_hidden_proto.
2887         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
2888         variable.
2889         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
2890         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
2891
2892 2014-11-14  David S. Miller  <davem@davemloft.net>
2893
2894         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
2895         Define before including <string/memcpy.c> and <string/mempcpy.c>.
2896
2897 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
2898
2899         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
2900         * configure: Regenerated.
2901         * manual/install.texi (Tools for Compilation): Document a
2902         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
2903         compiler verified to work.
2904         * INSTALL: Regenerated.
2905
2906         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
2907         redeclare with asm name.
2908         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
2909         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
2910         including <string.h>.
2911         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2912         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
2913         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2914         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
2915         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2916         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
2917         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2918
2919 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
2920
2921         * stdlib/strtol.c (__strtol): Use prototype definition.
2922
2923         [BZ #17594]
2924         * stdlib/strtol.c (SYM__): New macro.
2925         (SYM__1): Likewise.
2926         (__strtol): Likewise.
2927         (strtol): Rename to __strtol and define as weak alias of
2928         __strtol.  Use libc_hidden_weak.
2929
2930 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
2931
2932         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
2933         Use numbered labels in inline assembly.
2934
2935 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
2936
2937         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
2938         Add setjmp LIBC_PROBE.
2939         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
2940         Likewise.
2941         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
2942         Add longjmp, longjmp_target LIBC_PROBE.
2943         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
2944         Likewise.
2945
2946 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
2947
2948         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
2949         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
2950         to get rid of unused variable warning.
2951
2952 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
2953
2954         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
2955         Check for unwind_backtrace ==  NULL only in SHARED case.
2956         (__backchain_backtrace): Compile only in SHARED case.
2957         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
2958         Likewise.
2959         (__backchain_backtrace): Declare as static.
2960
2961 2014-11-12  Roland McGrath  <roland@hack.frob.com>
2962
2963         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
2964         (__libc_multiple_threads_ptr): Variable moved ...
2965         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
2966
2967 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
2968
2969         * conform/GlibcConform.pm: New file.
2970         * conform/conformtest.pl: Use GlibcConform module.
2971         * conform/linknamespace.pl: New file.
2972         * conform/list-header-symbols.pl: Likewise.
2973         * conform/Makefile (linknamespace-symlists-base): New variable.
2974         (linknamespace-symlists-tests): Likewise.
2975         (linknamespace-header-base): Likewise.
2976         (linknamespace-header-tests): Likewise.
2977         (tests-special): Add new tests.
2978         ($(linknamespace-symlists-tests)): New rule.
2979         (linknamespace-libs): New variable.
2980         ($(objpfx)symlist-stdlibs): New rule.
2981         ($(linknamespace-header-tests)): Likewise.
2982         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
2983         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
2984         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
2985         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
2986         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
2987         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
2988         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
2989         (test-xfail-ISO/math.h/linknamespace): Likewise.
2990         (test-xfail-ISO/signal.h/linknamespace): Likewise.
2991         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
2992         (test-xfail-ISO/time.h/linknamespace): Likewise.
2993         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
2994         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
2995         (test-xfail-ISO99/math.h/linknamespace): Likewise.
2996         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
2997         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
2998         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
2999         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
3000         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
3001         (test-xfail-ISO11/math.h/linknamespace): Likewise.
3002         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
3003         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
3004         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
3005         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
3006         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
3007         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
3008         (test-xfail-XPG3/math.h/linknamespace): Likewise.
3009         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
3010         (test-xfail-XPG3/search.h/linknamespace): Likewise.
3011         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
3012         (test-xfail-XPG3/time.h/linknamespace): Likewise.
3013         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
3014         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
3015         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
3016         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
3017         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
3018         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
3019         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
3020         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
3021         (test-xfail-XPG4/math.h/linknamespace): Likewise.
3022         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
3023         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
3024         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
3025         (test-xfail-XPG4/search.h/linknamespace): Likewise.
3026         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
3027         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
3028         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
3029         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
3030         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
3031         (test-xfail-XPG4/time.h/linknamespace): Likewise.
3032         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
3033         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
3034         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
3035         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
3036         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
3037         (test-xfail-POSIX/math.h/linknamespace): Likewise.
3038         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
3039         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
3040         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
3041         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
3042         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
3043         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
3044         (test-xfail-POSIX/time.h/linknamespace): Likewise.
3045         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
3046         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
3047         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
3048         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
3049         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
3050         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
3051         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
3052         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
3053         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
3054         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
3055         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
3056         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
3057         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
3058         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
3059         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
3060         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
3061         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
3062         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
3063         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
3064         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
3065         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
3066         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
3067         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
3068         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
3069         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
3070         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
3071         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
3072         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
3073         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
3074         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
3075         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
3076         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
3077         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
3078         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
3079         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
3080         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
3081         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
3082         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
3083         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
3084         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
3085         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
3086         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
3087         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
3088         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
3089         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
3090         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
3091         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
3092         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
3093         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
3094         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
3095         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
3096         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
3097         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
3098         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
3099         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
3100         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
3101         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
3102         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
3103         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
3104         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
3105         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
3106         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
3107         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
3108         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
3109         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
3110         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
3111         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
3112         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
3113         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
3114         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
3115         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
3116         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
3117         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
3118         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
3119         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
3120         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
3121         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
3122         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
3123         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
3124         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
3125         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
3126         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
3127         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
3128         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
3129         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
3130         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
3131         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
3132         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
3133         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
3134         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
3135         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
3136         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
3137         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
3138         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
3139         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
3140         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
3141         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
3142         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
3143
3144         [BZ #17589]
3145         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
3146         of fgets_unlocked.
3147
3148         [BZ #17585]
3149         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
3150         (memmem): Rename to __memmem and define as weak alias of
3151         __memmem.  Use libc_hidden_weak.
3152         (__memmem): Use libc_hidden_def.
3153         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
3154         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
3155         memmem.
3156
3157         [BZ #17582]
3158         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
3159         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
3160         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
3161         and define as weak alias of __fgets_unlocked.  Use
3162         libc_hidden_weak.
3163         (__fgets_unlocked): Use libc_hidden_def.
3164         * include/stdio.h (__fgets_unlocked): Declare.  Use
3165         libc_hidden_proto.
3166         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
3167         __fgets_unlocked instead of fgets_unlocked.
3168         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
3169         (GET_NPROCS_CONF_PARSER): Likewise.
3170         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
3171         (GET_NPROCS_CONF_PARSER): Likewise.
3172
3173         [BZ #17574]
3174         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
3175         weak alias of __wmemset.  Use libc_hidden_weak.
3176         (__wmemset): Use libc_hidden_def.
3177         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
3178         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
3179         of wmemset.
3180
3181         [BZ #17573]
3182         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
3183         with asm name __mempcpy.
3184         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
3185
3186         [BZ #17572]
3187         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
3188         and define as weak alias of __rawmemchr.
3189         (__rawmemchr): Do not define as strong alias of rawmemchr.
3190
3191         [BZ #17571]
3192         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
3193         alias of __qsort_r.
3194         (qsort): Call __qsort_r instead of qsort_r.
3195         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
3196         (__qsort_r): Declare.  Call libc_hidden_proto.
3197         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
3198         instead of qsort_r.
3199         * nscd/gai.c (__qsort_r): Define to qsort_r.
3200         * posix/tst-rfc3484.c (__qsort_r): Likewise.
3201         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
3202         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
3203
3204         [BZ #17570]
3205         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
3206         define as weak alias of __malloc_info.
3207
3208         [BZ #17584]
3209         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
3210         as weak alias of __rewinddir.  Don't use libc_hidden_def.
3211         (__rewinddir): Use libc_hidden_def.
3212         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
3213         as weak alias of __rewinddir.  Don't use libc_hidden_def.
3214         (__rewinddir): Use libc_hidden_def.
3215         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
3216         weak alias of __rewinddir.  Don't use libc_hidden_def.
3217         (__rewinddir): Use libc_hidden_def.
3218         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
3219         (__rewinddir): Use libc_hidden_proto.
3220         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
3221         rewinddir.
3222         (__getcwd): Use __rewinddir instead of rewinddir.
3223
3224         [BZ #17583]
3225         * libio/fileno.c (fileno): Rename to __fileno and define as weak
3226         alias of __fileno.  Use libc_hidden_weak.
3227         (__fileno): Use libc_hidden_def.
3228         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
3229         * libio/ftello.c (ftello): Rename to __ftello and define as weak
3230         alias of __ftello.
3231         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
3232         __ftello.
3233         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
3234         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
3235         libc_hidden_def.
3236         (fread_unlocked): Don't use libc_hidden_ver.
3237         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
3238         and define as weak alias of __fread_unlocked.  Don't use
3239         libc_hidden_def.
3240         (__fread_unlocked): Use libc_hidden_def.
3241         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
3242         (ftello): Don't use libc_hidden_proto.
3243         (__ftello): Declare.  Use libc_hidden_proto.
3244         (fread_unlocked): Don't use libc_hidden_proto.
3245         (__fread_unlocked): Declare.  Use libc_hidden_proto.
3246         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
3247         and __ftello instead of fileno, fread_unlocked and ftello.
3248
3249 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
3250
3251         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
3252         GOT12.
3253         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
3254         Likewise.
3255         (_dl_start_user): Likewise.
3256         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
3257
3258 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
3259             Siddhesh Poyarekar  <siddhesh@redhat.com>
3260
3261         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
3262         Move argv and envp down instead of moving argc up.
3263         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
3264
3265 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
3266
3267         [BZ #17506]
3268         * test-skeleton.c (main): Return successful if one of
3269         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
3270         * string/tst-strcoll-overflow.c: Define expected status.
3271
3272 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
3273
3274         [BZ #17475]
3275         * locale/iso-639.def: Define Bhili and Tulu language codes.
3276
3277 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
3278
3279         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
3280
3281 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
3282
3283         [BZ #17555]
3284         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
3285
3286 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
3287
3288         * configure.ac: Updated check of minimal required version to
3289         2.22.
3290         * manual/install.texi (Tools for Compilation): Updated version
3291         number.
3292         * configure: Regenerated.
3293         * INSTALL: Likewise.
3294
3295 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
3296
3297         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
3298         __tls_get_addr.
3299
3300 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
3301
3302         * include/sys/wait.h (__libc_waitpid): Remove declaration.
3303         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
3304         (__waitpid): Don't define as alias.  Use libc_hidden_def not
3305         libc_hidden_weak.
3306         (waitpid): Define as alias of __waitpid.
3307         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
3308         __waitpid.
3309         (__waitpid): Don't define as alias.  Use libc_hidden_def not
3310         libc_hidden_weak.
3311         (waitpid): Define as alias of __waitpid.
3312         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
3313         __libc_waitpid alias.
3314         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
3315         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
3316         Likewise.
3317         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
3318         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
3319         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
3320         alias.
3321         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
3322         __waitpid.
3323         (__waitpid): Don't define as alias.  Use libc_hidden_def not
3324         libc_hidden_weak.
3325         (waitpid): Define as alias of __waitpid.
3326
3327 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
3328
3329         * manual/llio.texi: Add comment that write safety has been
3330         fixed in Linux.
3331
3332         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
3333         (localplt-build-dso): Add elf/ld.so.
3334         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
3335         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
3336         and free for ld.so.
3337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
3338         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
3339         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
3340         Likewise.
3341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
3342         Likewise.
3343         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
3344         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
3345         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
3346         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
3347         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
3348         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
3349         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
3350         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
3351         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
3352         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
3353         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
3354
3355 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
3356
3357         [BZ #14132]
3358         * include/libc-symbols.h (INTUSE): Remove macro.
3359         (INTDEF): Likewise.
3360         (INTVARDEF): Likewise.
3361         (_INTVARDEF): Likewise.
3362         (INTDEF2): Likewise.
3363         (INTVARDEF2): Likewise.
3364         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
3365         rtld_hidden_def instead of INTVARDEF.
3366         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
3367         (_dl_starting_up_internal): Remove declaration.
3368         (_dl_starting_up): Use rtld_hidden_proto.
3369         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
3370         declaration.
3371         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
3372         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
3373         _dl_starting_up.
3374         * elf/dl-writev.h (_dl_writev): Likewise.
3375         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
3376         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
3377         _dl_starting_up_internal.
3378
3379 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3380
3381         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
3382         test-skeleton.c.
3383
3384 2014-11-05  Will Newton  <will.newton@linaro.org>
3385
3386         * benchtests/Makefile: (bench-malloc): Add malloc thread
3387         scalability benchmark.
3388         * benchtests/bench-malloc-threads.c: New file.
3389
3390 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
3391
3392         * sysdeps/aarch64/strchrnul.S: New file.
3393
3394 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3395
3396         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
3397         definition.
3398         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
3399         Likwise.
3400         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
3401         Likewise.
3402         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
3403         Likewise.
3404         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
3405         Likewise.
3406         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
3407         Likewise.
3408
3409 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
3410
3411         * catgets/test-gencat.c: Use test-skeleton.c.
3412         * catgets/tst-catgets.c: Likewise.
3413         * csu/tst-empty.c: Likewise.
3414         * elf/tst-audit2.c: Likewise.
3415         * elf/tst-global1.c: Likewise.
3416         * elf/tst-pathopt.c: Likewise.
3417         * elf/tst-piemod1.c: Likewise.
3418         * elf/tst-tls10.c: Likewise.
3419         * elf/tst-tls11.c: Likewise.
3420         * elf/tst-tls12.c: Likewise.
3421         * gnulib/tst-gcc.c: Likewise.
3422         * iconvdata/tst-e2big.c: Likewise.
3423         * iconvdata/tst-loading.c: Likewise.
3424         * iconv/tst-iconv1.c: Likewise.
3425         * iconv/tst-iconv2.c: Likewise.
3426         * inet/test-inet6_opt.c: Likewise.
3427         * inet/tst-gethnm.c: Likewise.
3428         * inet/tst-network.c: Likewise.
3429         * inet/tst-ntoa.c: Likewise.
3430         * intl/tst-codeset.c: Likewise.
3431         * intl/tst-gettext2.c: Likewise.
3432         * intl/tst-gettext3.c: Likewise.
3433         * intl/tst-ngettext.c: Likewise.
3434         * intl/tst-translit.c: Likewise.
3435         * io/test-stat.c: Likewise.
3436         * libio/test-fmemopen.c: Likewise.
3437         * libio/tst-freopen.c: Likewise.
3438         * libio/tst-sscanf.c: Likewise.
3439         * libio/tst-ungetwc1.c: Likewise.
3440         * libio/tst-ungetwc2.c: Likewise.
3441         * libio/tst-widetext.c: Likewise.
3442         * localedata/tst-ctype.c: Likewise.
3443         * localedata/tst-digits.c: Likewise.
3444         * localedata/tst-leaks.c: Likewise.
3445         * localedata/tst-mbswcs1.c: Likewise.
3446         * localedata/tst-mbswcs2.c: Likewise.
3447         * localedata/tst-mbswcs3.c: Likewise.
3448         * localedata/tst-mbswcs4.c: Likewise.
3449         * localedata/tst-mbswcs5.c: Likewise.
3450         * localedata/tst-setlocale.c: Likewise.
3451         * localedata/tst-trans.c: Likewise.
3452         * localedata/tst-wctype.c: Likewise.
3453         * localedata/tst-xlocale1.c: Likewise.
3454         * login/tst-grantpt.c: Likewise.
3455         * malloc/tst-calloc.c: Likewise.
3456         * malloc/tst-malloc.c: Likewise.
3457         * malloc/tst-mallocstate.c: Likewise.
3458         * malloc/tst-mcheck.c: Likewise.
3459         * malloc/tst-mtrace.c: Likewise.
3460         * malloc/tst-obstack.c: Likewise.
3461         * math/atest-exp2.c: Likewise.
3462         * math/atest-exp.c: Likewise.
3463         * math/atest-sincos.c: Likewise.
3464         * math/test-matherr.c: Likewise.
3465         * math/test-misc.c: Likewise.
3466         * math/test-powl.c: Likewise.
3467         * math/tst-definitions.c: Likewise.
3468         * misc/tst-dirname.c: Likewise.
3469         * misc/tst-efgcvt.c: Likewise.
3470         * misc/tst-fdset.c: Likewise.
3471         * misc/tst-hsearch.c: Likewise.
3472         * misc/tst-mntent2.c: Likewise.
3473         * nptl/tst-sem7.c: Likewise.
3474         * nptl/tst-sem8.c: Likewise.
3475         * nptl/tst-sem9.c: Likewise.
3476         * nss/test-netdb.c: Likewise.
3477         * posix/tst-fnmatch.c: Likewise.
3478         * posix/tst-getlogin.c: Likewise.
3479         * posix/tst-gnuglob.c: Likewise.
3480         * posix/tst-mmap.c: Likewise.
3481         * pwd/tst-getpw.c: Likewise.
3482         * resolv/tst-inet_ntop.c: Likewise.
3483         * rt/tst-timer.c: Likewise.
3484         * stdio-common/test-fseek.c: Likewise.
3485         * stdio-common/test-popen.c: Likewise.
3486         * stdio-common/test-vfprintf.c: Likewise.
3487         * stdio-common/tst-cookie.c: Likewise.
3488         * stdio-common/tst-fileno.c: Likewise.
3489         * stdio-common/tst-gets.c: Likewise.
3490         * stdio-common/tst-obprintf.c: Likewise.
3491         * stdio-common/tst-perror.c: Likewise.
3492         * stdio-common/tst-sprintf2.c: Likewise.
3493         * stdio-common/tst-sprintf3.c: Likewise.
3494         * stdio-common/tst-sprintf.c: Likewise.
3495         * stdio-common/tst-swprintf.c: Likewise.
3496         * stdio-common/tst-tmpnam.c: Likewise.
3497         * stdio-common/tst-unbputc.c: Likewise.
3498         * stdio-common/tst-wc-printf.c: Likewise.
3499         * stdlib/tst-environ.c: Likewise.
3500         * stdlib/tst-fmtmsg.c: Likewise.
3501         * stdlib/tst-limits.c: Likewise.
3502         * stdlib/tst-rand48-2.c: Likewise.
3503         * stdlib/tst-rand48.c: Likewise.
3504         * stdlib/tst-random2.c: Likewise.
3505         * stdlib/tst-random.c: Likewise.
3506         * stdlib/tst-strtol.c: Likewise.
3507         * stdlib/tst-strtoll.c: Likewise.
3508         * stdlib/tst-tls-atexit.c: Likewise.
3509         * stdlib/tst-xpg-basename.c: Likewise.
3510         * string/test-ffs.c: Likewise.
3511         * string/tst-bswap.c: Likewise.
3512         * string/tst-inlcall.c: Likewise.
3513         * string/tst-strtok.c: Likewise.
3514         * string/tst-strxfrm.c: Likewise.
3515         * sysdeps/x86_64/tst-audit10.c: Likewise.
3516         * sysdeps/x86_64/tst-audit3.c: Likewise.
3517         * sysdeps/x86_64/tst-audit4.c: Likewise.
3518         * sysdeps/x86_64/tst-audit5.c: Likewise.
3519         * time/tst-ftime_l.c: Likewise.
3520         * time/tst-getdate.c: Likewise.
3521         * time/tst-mktime3.c: Likewise.
3522         * time/tst-mktime.c: Likewise.
3523         * time/tst-posixtz.c: Likewise.
3524         * time/tst-strptime2.c: Likewise.
3525         * time/tst-strptime3.c: Likewise.
3526         * wcsmbs/tst-btowc.c: Likewise.
3527         * wcsmbs/tst-mbrtowc.c: Likewise.
3528         * wcsmbs/tst-mbsrtowcs.c: Likewise.
3529         * wcsmbs/tst-wchar-h.c: Likewise.
3530         * wcsmbs/tst-wcpncpy.c: Likewise.
3531         * wcsmbs/tst-wcrtomb.c: Likewise.
3532         * wcsmbs/tst-wcsnlen.c: Likewise.
3533         * wcsmbs/tst-wcstof.c: Likewise.
3534
3535 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
3536
3537         [BZ #14132]
3538         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
3539         INTDEF.
3540         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
3541         declaration.
3542         (_dl_mcount): Use rtld_hidden_proto.
3543         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
3544         _dl_mcount.
3545         * elf/rtld.c (_rtld_global_ro): Likewise.
3546
3547         [BZ #14132]
3548         * elf/dl-init.c (_dl_init): Don't use INTDEF.
3549         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
3550         of _dl_init_internal.
3551         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
3552         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
3553         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
3554         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
3555         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
3556         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
3557         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
3558         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
3559         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
3560         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
3561         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
3562         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
3563         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
3564         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
3565         * sysdeps/tile/dl-start.S (_start): Likewise.
3566         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
3567         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
3568
3569         [BZ #14132]
3570         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
3571         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
3572         (rtld_progname): Make macro definition unconditional.
3573         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
3574         INTDEF.
3575         (dlmopen_doit): Do not use INTUSE with _dl_argv.
3576         (dl_main): Likewise.
3577         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
3578         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
3579         instead of _dl_argv_internal.
3580         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
3581         __GI__dl_argv instead of INTUSE(_dl_argv).
3582         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
3583         __GI__dl_argv instead of _dl_argv_internal.
3584
3585         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
3586         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
3587         macro.
3588         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
3589         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
3590         New macro.
3591         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
3592         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
3593         macro.
3594         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
3595         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
3596
3597 2014-11-04  Andreas Schwab  <schwab@suse.de>
3598
3599         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
3600
3601 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3602
3603         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
3604         mtvsrd instruction in binary form.
3605
3606 2014-11-03  Andreas Schwab  <schwab@suse.de>
3607
3608         [BZ #17522]
3609         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
3610         for less than MB_LEN_MAX use a local buffer of that size.
3611         * libio/tst-fputws.c: New file.
3612         * libio/Makefile (tests): Add tst-fputws.
3613
3614 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
3615
3616         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
3617         the size of the fpu_fr.fpu_dregs[] array.
3618
3619 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
3620
3621         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
3622         (__nanosleep): Do not define as alias.
3623         (nanosleep): Define as alias of __nanosleep.
3624         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
3625         __libc_nanosleep name.
3626
3627 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
3628
3629         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
3630         install.texi in comment.
3631
3632 2014-10-31  Torvald Riegel  <triegel@redhat.com>
3633
3634         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
3635         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
3636         ... add here and use lwsync or sync ...
3637         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
3638         ... and add here using lwsync.
3639
3640 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
3641
3642         * elf/dl-machine-reject-phdr.h: New file.
3643         * elf/dl-load.c: #include that.
3644         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
3645         if that returned true.
3646
3647 2014-10-31  Roland McGrath  <roland@hack.frob.com>
3648
3649         [BZ #17496]
3650         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
3651         gen-as-const-headers chunk.  Add a big scare comment after the last
3652         safe place to touch before-compile.
3653
3654 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
3655
3656         * manual/install.texi (Tools for Compilation): Update autoconf
3657         version requirements.
3658         * INSTALL: Regenerated.
3659
3660         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
3661         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
3662         (__libc_pselect): Likewise.
3663
3664         [BZ #14138]
3665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
3666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
3667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
3668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
3669
3670 2014-10-31  Torvald Riegel  <triegel@redhat.com>
3671
3672         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
3673         correct barrier instruction.
3674         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
3675         Likewise.
3676         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
3677         Likewise.
3678
3679 2014-10-30  Roland McGrath  <roland@hack.frob.com>
3680
3681         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
3682         after defining inlines.  Instead, just use parens to defeat macro
3683         expansion of __isctype in its declaration.
3684
3685 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
3686
3687         * include/sys/uio.h (__libc_readv): Remove declaration.
3688         (__libc_writev): Likewise.
3689         * misc/readv.c (__libc_readv): Rename to __readv.
3690         (__readv): Do not define as alias.
3691         (readv): Define as alias of __readv.
3692         * misc/writev.c (__libc_writev): Rename to __writev.
3693         (__writev): Do not define as alias.
3694         (writev): Define as alias of __writev.
3695         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
3696         (__readv): Do not define as alias.
3697         (readv): Define unconditionally as alias of __readv.
3698         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
3699         (__writev): Do not define as alias.
3700         (writev): Define unconditionally as alias of __writev.
3701         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
3702         name.
3703         (writev): Do not define __libc_writev name.
3704
3705 2014-10-30  Roland McGrath  <roland@hack.frob.com>
3706
3707         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
3708         (convert_charseq): New function, broken out of ...
3709         (use_from_charmap): ... here.  Call it.
3710         (use_to_charmap): Use convert_charseq and free instead of duplicating
3711         its code with a variable-length stack struct.
3712
3713 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
3714
3715         * include/fcntl.h (__libc_creat): Remove declaration.
3716         * io/creat.c (__libc_creat): Rename to creat.
3717         (creat): Do not define as alias.
3718         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
3719         of creat instead of __libc_creat.
3720         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
3721         to creat.
3722         (creat): Do not define as alias.
3723         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
3724         __libc_creat.
3725         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
3726         __libc_creat name.
3727         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
3728         Likewise.
3729
3730 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
3731
3732         * manual/llio.texi: Add comments discussing why write() may be
3733         considered MT-unsafe on Linux.
3734
3735 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
3736
3737         * dl-load.c (local_strdup): Remove.
3738         (expand_dynamic_string_token): Use __strdup.
3739         (decompose_rpath): Likewise.
3740         (_dl_map_object): Likewise.
3741
3742 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
3743
3744         [BZ #14132]
3745         * sysdeps/generic/unwind-dw2-fde.c
3746         (__register_frame_info_bases_internal): Do not declare.
3747         (__register_frame_info_table_bases_internal): Likewise.
3748         (__deregister_frame_info_bases_internal): Likewise.
3749         (__register_frame_info_bases): Declare and use hidden_proto before
3750         definition.  Use hidden_def instead of INTDEF.
3751         (__register_frame_info_table_bases): Likewise.
3752         (__deregister_frame_info_bases): Likewise.
3753         (__register_frame_info): Do not use INTUSE.
3754         (__register_frame): Likewise.
3755         (__register_frame_info_table): Likewise.
3756         (__register_frame_table): Likewise.
3757         (__deregister_frame_info): Likewise.
3758         (__deregister_frame): Likewise.
3759
3760 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
3761
3762         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3763         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
3764         not undefine.
3765         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
3766         Likewise.
3767         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
3768         Likewise.
3769
3770 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
3771
3772         [BZ #14138]
3773         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
3774         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
3775         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
3776         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
3777         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
3778         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
3779         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
3780         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
3781         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
3782         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
3783         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
3784         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
3785         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
3786         syscall.
3787         (setfsuid): Likewise.
3788         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
3789         (setfsuid): Likewise.
3790         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
3791         (setfsuid): Likewise.
3792         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
3793         Likewise.
3794         (setfsuid): Likewise.
3795         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
3796         (setfsuid): Likewise.
3797         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
3798         Likewise.
3799         (setfsuid): Likewise.
3800
3801 2014-10-27  Andreas Schwab  <schwab@suse.de>
3802
3803         [BZ #17501]
3804         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
3805         check for Slow_SSE4_2 feature bit.
3806         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
3807         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
3808         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
3809         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
3810
3811 2014-10-24  Roland McGrath  <roland@hack.frob.com>
3812
3813         * configure.ac: Validate compiler version with a empirical test of
3814         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
3815         $CC -v output.
3816         * configure: Regenerated.
3817
3818         * inet/htons.c (htons): Prototypify.
3819         * inet/htonl.c (htonl): Likewise.
3820
3821 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3822
3823         * string/strncat.c (strncat): Improve performance by using strlen.
3824
3825 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3826
3827         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
3828
3829 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3830
3831         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
3832         Call libc_fetestexcept_aarch64.
3833
3834 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3835
3836         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
3837         Call libc_feholdexcept_aarch64.
3838
3839 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3840
3841         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
3842         Call get_rounding_mode.
3843
3844 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3845
3846         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
3847         Simplify logic.
3848
3849 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3850
3851         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
3852         Simplify logic.
3853
3854 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
3855
3856         [BZ #14138]
3857         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
3858         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
3859         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
3860         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
3861         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
3862         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
3863         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
3864         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
3865         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
3866         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
3867         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
3868         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
3869         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
3870         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
3871         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
3872         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
3873         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
3874         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
3875         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
3876         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
3877         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
3878         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
3879         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
3880         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
3881         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
3882         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
3883         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
3884         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
3885         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
3886         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
3887         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
3888         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
3889         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
3890         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
3891         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
3892         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
3893         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
3894         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
3895         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
3896         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
3897         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
3898         syscall.
3899         (geteuid): Likewise.
3900         (getgid): Likewise.
3901         (getuid): Likewise.
3902         (getresgid): Likewise.
3903         (getresuid): Likewise.
3904         (getgroups): Likewise.
3905         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
3906         (geteuid): Likewise.
3907         (getgid): Likewise.
3908         (getuid): Likewise.
3909         (getresgid): Likewise.
3910         (getresuid): Likewise.
3911         (getgroups): Likewise.
3912         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
3913         (geteuid): Likewise.
3914         (getgid): Likewise.
3915         (getuid): Likewise.
3916         (getresgid): Likewise.
3917         (getresuid): Likewise.
3918         (getgroups): Likewise.
3919         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
3920         Likewise.
3921         (geteuid): Likewise.
3922         (getgid): Likewise.
3923         (getuid): Likewise.
3924         (getresgid): Likewise.
3925         (getresuid): Likewise.
3926         (getgroups): Likewise.
3927         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
3928         (geteuid): Likewise.
3929         (getgid): Likewise.
3930         (getuid): Likewise.
3931         (getresgid): Likewise.
3932         (getresuid): Likewise.
3933         (getgroups): Likewise.
3934         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
3935         Likewise.
3936         (geteuid): Likewise.
3937         (getgid): Likewise.
3938         (getuid): Likewise.
3939         (getgroups): Likewise.
3940
3941         [BZ #14138]
3942         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
3943         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
3944         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
3945         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
3946         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
3947         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
3948         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
3949         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
3950         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
3951         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
3952         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
3953         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
3954         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
3955         __chown.
3956         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
3957         (lchown): Likewise.
3958         (fchown): Likewise.
3959         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
3960         Likewise.
3961         (lchown): Likewise.
3962         (fchown): Likewise.
3963         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
3964         (lchown): Likewise.
3965         (fchown): Likewise.
3966         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
3967         Likewise.
3968         (lchown): Likewise.
3969         (fchown): Likewise.
3970
3971 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
3972
3973         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
3974         Simplify logic.
3975
3976 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
3977
3978         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
3979         Cleanup logic.
3980
3981 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
3982
3983         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
3984         Remove unused include.
3985
3986 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
3987
3988         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
3989         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
3990         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
3991         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
3992
3993 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
3994             Helge Deller <deller@gmx.de>
3995
3996         [BZ #17508]
3997         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
3998         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
3999         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
4000
4001 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
4002
4003         [BZ #14132]
4004         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
4005         Remove macro definition.
4006         (__ashrdi3_v_glibc20): Likewise.
4007         (__lshrdi3_v_glibc20): Likewise.
4008         (__cmpdi2_v_glibc20): Likewise.
4009         (__ucmpdi2_v_glibc20): Likewise.
4010         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
4011         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
4012         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
4013         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
4014         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
4015         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
4016
4017 2014-10-22  Roland McGrath  <roland@hack.frob.com>
4018
4019         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
4020         old GNU extension [0] syntax.
4021         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
4022         alloca rather than an array member with variable length.
4023         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
4024         * nscd/nscd.c (invalidate_db): New function, broken out of ...
4025         (parse_opt): ... here.  Likewise use alloca there.
4026         Validate the -i argument before checking for rootness.
4027         (send_shutdown): New function, broken out of ...
4028         (parse_opt): ... here.
4029
4030 2014-10-22  Roland McGrath  <roland@hack.frob.com>
4031
4032         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
4033         macro to get at the _rt_local_ro field.
4034         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
4035         ([PIC] case) or _dl_hwcap ([!PIC] case).
4036         * sysdeps/arm/setjmp.S: Likewise.
4037
4038         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
4039         * sysdeps/arm/configure.ac: New check to define it.
4040         * sysdeps/arm/configure: Regenerated.
4041         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
4042         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
4043         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
4044         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
4045         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
4046         Use move/movt pair instead of a load.
4047         (LDST_GLOBAL): Macro removed.
4048         (LDR_GLOBAL): New macro replaces it.
4049         (LDR_HIDDEN): New macro.
4050         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
4051         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
4052
4053         * setjmp/tst-setjmp-static.c: New file.
4054         * setjmp/Makefile (tests): Add it.
4055         (tests-static): New variable.
4056
4057 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
4058
4059         [BZ #17485]
4060         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
4061
4062 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
4063
4064         [BZ #14132]
4065         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
4066
4067 2014-10-21  Roland McGrath  <roland@hack.frob.com>
4068
4069         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
4070
4071 2014-10-20  Roland McGrath  <roland@hack.frob.com>
4072
4073         * io/fts.c (dirent_not_directory): New function.
4074         (fts_build): Call it.
4075
4076 2014-10-20  Roland McGrath  <roland@hack.frob.com>
4077
4078         * nptl/version.c (__nptl_main): Use normal __write rather than
4079         INTERNAL_SYSCALL.
4080         (banner): Update copyright years.
4081
4082         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
4083         gettimeofday.
4084         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
4085         * nptl/pthread_cond_timedwait.c: Likewise.
4086         * nptl/pthread_mutex_timedlock.c: Likewise.
4087         * nptl/sem_timedwait.c: Likewise.
4088
4089         * sysdeps/nptl/bits/libc-lock.h
4090         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
4091         (__libc_lock_init_recursive): Return void, not 0.
4092         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
4093         (__libc_rwlock_init): Likewise.
4094         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
4095
4096 2014-10-20  Torvald Riegel  <triegel@redhat.com>
4097
4098         [BZ #15215]
4099         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
4100         (__pthread_once_slow): ... here.
4101         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
4102         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
4103
4104 2014-10-20  Torvald Riegel  <triegel@redhat.com>
4105
4106         [BZ #15215]
4107         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
4108         __PTHREAD_ONCE_FORK_GEN_INCR): New.
4109         * sysdeps/nptl/fork.c (__libc_fork): Use them.
4110         * nptl/pthread_once.c (__pthread_once): Likewise.
4111         Update comments.
4112
4113 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
4114
4115         [BZ #14138]
4116         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
4117         name.
4118         (writev): Use __libc_writev as strong name.
4119         * sysdeps/unix/sysv/linux/readv.c: Remove file.
4120         * sysdeps/unix/sysv/linux/writev.c: Likewise.
4121
4122 2014-10-17  Roland McGrath  <roland@hack.frob.com>
4123
4124         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
4125
4126         * sysdeps/i386/nptl/tls.h
4127         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
4128         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
4129         New macros.
4130         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
4131         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
4132         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
4133         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
4134         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
4135         Call CHECK_THREAD_SYSINFO instead of doing an assert.
4136
4137         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
4138         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
4139         on [__NR_futex].
4140         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
4141         broken out of ...
4142         (__pthread_mutex_init): ... here.  Call it.
4143         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
4144         Conditionalize PI cases on [__NR_futex].
4145         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
4146         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
4147         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
4148
4149         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
4150         conditional on [SIGSETXID].
4151         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
4152         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
4153         is defined.  Likewise for SIGSETXID.
4154         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
4155         Conditionalize definitions on [SIGSETXID].
4156         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
4157         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
4158         unblocking on [SIGCANCEL].
4159
4160         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
4161         [__NR_set_robust_list].
4162
4163 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
4164
4165         * string/strcoll_l.c (get_next_seq): Fix up formatting.
4166         (do_compare): Likewise.
4167
4168 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
4169
4170         [BZ #15884]
4171         * string/strcoll_l.c: Don't include stdio.h.
4172         (coll_seq): Remove members idxarr and rulearr.
4173         (get_next_seq_cached): Remove function.
4174         (get_next_seq): Likewise.
4175         (get_next_seq_nocache): Rename to get_next_seq.
4176         (do_compare): Remove function.
4177         (do_compare_nocache): Rename to do_compare.
4178         (STRCOLL): Remove weight and rules cache.
4179
4180 2014-10-16  Roland McGrath  <roland@hack.frob.com>
4181
4182         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
4183         * sysdeps/arm/sfp-machine.h: ... to here.
4184         * sysdeps/arm/Implies: Remove arm/soft-fp.
4185
4186 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
4187
4188         * conform/data/sys/utsname.h-data (*_t): Allow.
4189         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
4190         [POSIX] (WEXITED): Do not expect constant.
4191         [POSIX] (WSTOPPED): Likewise.
4192         [POSIX] (WNOHANG): Likewise.
4193         [POSIX] (WNOWAIT): Likewise.
4194         [POSIX] (siginfo_t): Do not expect type or elements.
4195         [POSIX] (pid_t): Do not expect type.
4196         [POSIX] (signal.h): Do not allow header.
4197         [POSIX] (sys/resource.h): Likewise.
4198         [POSIX] (si_*): Do not allow pattern.
4199         [POSIX] (W*): Likewise.
4200         [POSIX] (P_*): Likewise.
4201         [POSIX] (BUS_*): Likewise.
4202         [POSIX] (CLD_*): Likewise.
4203         [POSIX] (FPE_*): Likewise.
4204         [POSIX] (ILL_*): Likewise.
4205         [POSIX] (POLL_*): Likewise.
4206         [POSIX] (SEGV_*): Likewise.
4207         [POSIX] (SI_*): Likewise.
4208         [POSIX] (TRAP_*): Likewise.
4209         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
4210         variable.
4211
4212 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
4213
4214         [BZ #12926]
4215         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
4216         infinite loop when __recvmsg returns 0.
4217
4218 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
4219
4220         * CANCEL-FCT-WAIVE: Remove file.
4221         * CANCEL-FILE-WAIVE: Likewise.
4222
4223         [BZ #14132]
4224         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
4225         instead of INTVARDEF.
4226         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
4227         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
4228         rtld_hidden_data_def instead of INTVARDEF.
4229         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
4230         * elf/dl-deps.c (expand_dst): Likewise.
4231         * elf/dl-load.c (_dl_dst_count): Likewise.
4232         (_dl_dst_substitute): Likewise.
4233         (decompose_rpath): Likewise.
4234         (_dl_init_paths): Likewise.
4235         (open_path): Likewise.
4236         (_dl_map_object): Likewise.
4237         * elf/rtld.c (dl_main): Likewise.
4238         (process_dl_audit): Likewise.
4239         (process_envvars): Likewise.
4240         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
4241         Remove declaration.
4242         (__libc_enable_secure): Use rtld_hidden_proto.
4243
4244 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
4245
4246         * elf/dl-load.c
4247         (add_path): New function broken out of _dl_rtld_di_serinfo.
4248         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
4249
4250 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
4251
4252         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
4253         parentheses around macro arguments.
4254         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
4255         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
4256         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
4257         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
4258         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
4259         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
4260         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
4261         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
4262         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
4263         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
4264         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
4265         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
4266         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
4267         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
4268         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
4269         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
4270         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
4271         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
4272         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
4273         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
4274         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
4275         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
4276         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
4277         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
4278         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
4279         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
4280         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
4281         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
4282         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
4283         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
4284         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
4285         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
4286         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
4287         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
4288         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
4289         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
4290         Likewise.
4291         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
4292         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
4293         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
4294         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
4295         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
4296         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
4297         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
4298         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
4299         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
4300         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
4301         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
4302         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
4303         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
4304         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
4305         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
4306         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
4307         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
4308         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
4309         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
4310         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
4311         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
4312         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
4313         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
4314         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
4315         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
4316         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
4317         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
4318         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
4319         (_FP_FRAC_SRS_1): Likewise.
4320         (_FP_FRAC_CLZ_1): Likewise.
4321         (_FP_MUL_MEAT_1_imm): Likewise.
4322         (_FP_MUL_MEAT_1_wide): Likewise.
4323         (_FP_MUL_MEAT_1_hard): Likewise.
4324         (_FP_SQRT_MEAT_1): Likewise.
4325         (_FP_FRAC_ASSEMBLE_1): Likewise.
4326         (_FP_FRAC_DISASSEMBLE_1): Likewise.
4327         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
4328         (__FP_CLZ_2): Likewise.
4329         (_FP_MUL_MEAT_2_wide): Likewise.
4330         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
4331         (_FP_MUL_MEAT_2_gmp): Likewise.
4332         (_FP_MUL_MEAT_2_120_240_double): Likewise.
4333         (_FP_SQRT_MEAT_2): Likewise.
4334         (_FP_FRAC_ASSEMBLE_2): Likewise.
4335         (_FP_FRAC_DISASSEMBLE_2): Likewise.
4336         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
4337         (_FP_FRAC_CLZ_4): Likewise.
4338         (_FP_MUL_MEAT_4_wide): Likewise.
4339         (_FP_MUL_MEAT_4_gmp): Likewise.
4340         (_FP_SQRT_MEAT_4): Likewise.
4341         (_FP_FRAC_ASSEMBLE_4): Likewise.
4342         (_FP_FRAC_DISASSEMBLE_4): Likewise.
4343         * soft-fp/op-common.h (_FP_CMP): Likewise.
4344         (_FP_CMP_EQ): Likewise.
4345         (_FP_CMP_UNORD): Likewise.
4346         (_FP_TO_INT): Likewise.
4347         (_FP_FROM_INT): Likewise.
4348         [!__FP_CLZ] (__FP_CLZ): Likewise.
4349         (_FP_DIV_HELP_imm): Likewise.
4350         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
4351         Likewise.
4352         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
4353         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
4354         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
4355         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
4356         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
4357         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
4358         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
4359         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
4360         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
4361         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
4362         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
4363         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
4364         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
4365         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
4366         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
4367         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
4368         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
4369         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
4370         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
4371         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
4372         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
4373         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
4374         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
4375         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
4376         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
4377         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
4378         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
4379         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
4380         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
4381         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
4382         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
4383         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
4384         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
4385         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
4386         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
4387         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
4388         (FP_UNPACK_RAW_SP): Likewise.
4389         (FP_PACK_RAW_S): Likewise.
4390         (FP_PACK_RAW_SP): Likewise.
4391         (FP_UNPACK_S): Likewise.
4392         (FP_UNPACK_SP): Likewise.
4393         (FP_UNPACK_SEMIRAW_S): Likewise.
4394         (FP_UNPACK_SEMIRAW_SP): Likewise.
4395         (FP_PACK_S): Likewise.
4396         (FP_PACK_SP): Likewise.
4397         (FP_PACK_SEMIRAW_S): Likewise.
4398         (FP_PACK_SEMIRAW_SP): Likewise.
4399         (_FP_SQRT_MEAT_S): Likewise.
4400         (FP_CMP_S): Likewise.
4401         (FP_CMP_EQ_S): Likewise.
4402         (FP_CMP_UNORD_S): Likewise.
4403         (FP_TO_INT_S): Likewise.
4404         (FP_FROM_INT_S): Likewise.
4405
4406         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
4407
4408         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
4409         (FP_EX_INVALID_IMZ): Likewise.
4410         (FP_EX_INVALID_IMZ_FMA): Likewise.
4411         (FP_EX_INVALID_ISI): Likewise.
4412         (FP_EX_INVALID_ZDZ): Likewise.
4413         (FP_EX_INVALID_IDI): Likewise.
4414         (FP_EX_INVALID_SQRT): Likewise.
4415         (FP_EX_INVALID_CVI): Likewise.
4416         (FP_EX_INVALID_VC): Likewise.
4417         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
4418         "invalid" exceptions.
4419         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
4420         (_FP_ADD_INTERNAL): Likewise.
4421         (_FP_MUL): Likewise.
4422         (_FP_FMA): Likewise.
4423         (_FP_DIV): Likewise.
4424         (_FP_CMP_CHECK_NAN): Likewise.
4425         (_FP_SQRT): Likewise.
4426         (_FP_TO_INT): Likewise.
4427         (FP_EXTEND): Likewise.
4428
4429 2014-10-09  Allan McRae  <allan@archlinux.org>
4430
4431         * po/fr.po: Update French translation from translation project.
4432
4433 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
4434
4435         [BZ #14132]
4436         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
4437         of INTDEF.
4438         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
4439         (__cxa_atexit): Use libc_hidden_proto.
4440         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
4441
4442         [BZ #14132]
4443         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
4444         declaration.
4445         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
4446         [!_ISOMAC] (__iswspace_l_internal): Likewise.
4447         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
4448         [!_ISOMAC] (__iswctype_internal): Likewise.
4449         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
4450         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
4451         alias.
4452         (fcntl): Remove __fcntl_internal alias.
4453         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
4454         __connect_internal alias.
4455         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
4456         Likewise.
4457
4458         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
4459         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
4460         FP_DENORM_ZERO.
4461         (_FP_CHECK_FLUSH_ZERO): New macro.
4462         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
4463         (_FP_CMP): Likewise.
4464         (_FP_CMP_EQ): Likewise.
4465         (_FP_TO_INT): Do not set inexact for subnormal arguments if
4466         FP_DENORM_ZERO.
4467         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
4468         (FP_TRUNC): Likewise.
4469
4470         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
4471         treated as invalid conversion, not as normal exponent.
4472
4473         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
4474         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
4475         (_FP_CMP_EQ): Likewise.
4476         (_FP_CMP_UNORD): Likewise.
4477         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
4478         (FP_CMP_EQ_D): Likewise.
4479         (FP_CMP_UNORD_D): Likewise.
4480         * soft-fp/extended.h (FP_CMP_E): Likewise.
4481         (FP_CMP_EQ_E): Likewise.
4482         (FP_CMP_UNORD_E): Likewise.
4483         * soft-fp/quad.h (FP_CMP_Q): Likewise.
4484         (FP_CMP_EQ_Q): Likewise.
4485         (FP_CMP_UNORD_Q): Likewise.
4486         * soft-fp/single.h (FP_CMP_S): Likewise.
4487         (FP_CMP_EQ_S): Likewise.
4488         (FP_CMP_UNORD_S): Likewise.
4489         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
4490         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
4491         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
4492         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
4493         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
4494         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
4495         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
4496         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
4497         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
4498         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
4499         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
4500         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
4501         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
4502         to FP_CMP_Q.
4503         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
4504         FP_CMP_Q.
4505         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
4506         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
4507         FP_CMP_EQ_Q.
4508         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
4509         FP_CMP_Q.
4510         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
4511         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
4512         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
4513         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
4514         FP_CMP_EQ_Q.
4515         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
4516         FP_CMP_Q.
4517         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
4518         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
4519         FP_CMP_EQ_Q.
4520         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
4521         FP_CMP_Q.
4522         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
4523         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
4524         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
4525         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
4526         FP_CMP_EQ_Q.
4527
4528         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
4529         a subnormal result, set the underflow exception if trapping on
4530         underflow is enabled.
4531         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
4532         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
4533         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
4534         redefine to 0.
4535         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
4536         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
4537         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
4538         * soft-fp/extendxftf2.c (__extendxftf2): Use
4539         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
4540
4541         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
4542         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
4543         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4544         FP_HANDLE_EXCEPTIONS.
4545         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
4546         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4547         FP_HANDLE_EXCEPTIONS.
4548         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
4549         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4550         FP_HANDLE_EXCEPTIONS.
4551         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
4552         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4553         FP_HANDLE_EXCEPTIONS.
4554
4555 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
4556
4557         [BZ #14132]
4558         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
4559         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
4560         use INTUSE.
4561         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
4562         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
4563         Remove alias.
4564         (__adjtimex): Define using libc_hidden_ver.
4565         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
4566         Remove declaration.
4567         (ntp_gettime): Call __adjtimex directly.
4568         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
4569         Remove declaration.
4570         (ntp_gettimex): Call __adjtimex directly.
4571         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
4572         __adjtimex_internal alias.
4573
4574 2014-10-08  Roland McGrath  <roland@hack.frob.com>
4575
4576         [BZ #17460]
4577         * nscd/nscd.c (more_help): Rewrite list of tables collection
4578         using xstrdup and asprintf.
4579
4580         * nscd/nscd_conf.c: Remove local xstrdup declaration.
4581
4582 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
4583             Roland McGrath  <roland@hack.frob.com>
4584
4585         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
4586         (do_lookup_unique): ... local function 'enter' here; update callers.
4587
4588 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
4589
4590         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
4591         compat_symbol calls on [SHARED].
4592         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
4593         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
4594         Remove.
4595         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4596         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
4597         (oldsetrlimit): Remove.
4598         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
4600         (lchown): New syscall entry.
4601         (oldsetrlimit): Remove.
4602         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4603         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
4604         (oldsetrlimit): Remove.
4605         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4606
4607         [BZ #14138]
4608         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
4609         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
4610         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
4611         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
4612         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
4613         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
4614         (fchown): Likewise.
4615         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
4616         (fchown): Likewise.
4617         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
4618         Likewise.
4619
4620 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4621
4622         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
4623         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
4624         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
4625         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
4626         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
4627         Likewise.
4628         (__old_sem_post): Likewise.
4629
4630 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
4631
4632         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
4633         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
4634         HAVE_CLOCK_GETTIME_VSYSCALL macros.
4635         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
4636         Use INLINE_VSYSCALL macro.
4637         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
4638         __vdso_clock_gettime.
4639         * sysdeps/unix/sysv/linux/tile/init-first.c
4640         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
4641         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
4642         __vdso_clock_gettime.
4643
4644         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
4645         to set up frame more cleanly.
4646
4647         * sysdeps/tile/memcmp.c: New file.
4648
4649         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
4650
4651         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
4652         * sysdeps/tile/tilegx/strcasestr.c: New file.
4653         * sysdeps/tile/tilegx/strnlen.c: New file.
4654         * sysdeps/tile/tilegx/strstr.c: New file.
4655
4656         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
4657
4658 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
4659
4660         * nptl/tst-setuid3.c: Write errors to stdout.
4661
4662 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
4663
4664         * elf/dl-deps.c
4665         (preload): New functions broken out of _dl_map_object_deps.
4666         (_dl_map_object_deps):  Remove a nested function. Update call sites.
4667
4668 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
4669
4670         [BZ #14138]
4671         * sysdeps/unix/sysv/linux/execve.c: Remove file.
4672         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
4673
4674 2014-10-01  Steve Ellcey  <sellcey@mips.com>
4675
4676         * sysdeps/mips/strcmp.S: New.
4677
4678 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
4679
4680         [BZ #14138]
4681         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
4682         (linkat): Likewise.
4683         (mkdirat): Likewise.
4684         (readlinkat): Likewise.
4685         (renameat): Likewise.
4686         (symlinkat): Likewise.
4687         (unlinkat): Likewise.
4688         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
4689         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
4690         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
4691         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
4692         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
4693         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
4694         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
4695
4696 2014-09-30  Will Newton  <will.newton@linaro.org>
4697
4698         * math/math.h: Define long double math functions if
4699         _LIBC_TEST is defined.
4700         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
4701
4702         * localedata/Makefile: Move assignment to tests-special
4703         into an ifdef testing run-built-tests.
4704         * timezone/Makefile: Likewise.
4705
4706 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
4707
4708         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
4709         with $(BASH) not $(SHELL).
4710
4711 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
4712             Matthew LeGendre  <legendre1@llnl.gov>
4713
4714         [BZ #17411]
4715         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
4716         l_reloc_result.
4717
4718 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
4719
4720         * stdio-common/printf_fp.c
4721         (hack_digit): New function, broken out of ...
4722         (__printf_fp): ... local function here.  Update call sites.
4723         hack_digit now takes an additional parameter that is a pointer
4724         to a struct of the referenced locals.  Those locals moved inside
4725         the struct and references updated.
4726
4727 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
4728
4729         * aclocal.m4: Require autoconf 2.69.
4730         * configure: Regenerated.
4731         * sysdeps/aarch64/configure: Likewise.
4732         * sysdeps/alpha/configure: Likewise.
4733         * sysdeps/arm/armv7/configure: Likewise.
4734         * sysdeps/arm/configure: Likewise.
4735         * sysdeps/ia64/configure: Likewise.
4736         * sysdeps/mach/configure: Likewise.
4737         * sysdeps/mips/configure: Likewise.
4738         * sysdeps/s390/configure: Likewise.
4739         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
4740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
4741
4742         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
4743         file.
4744         * sysdeps/ia64/configure.ac: Likewise.
4745
4746 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
4747
4748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
4749         specify symbol version for ld.so.  Do not include entry for
4750         libpthread.
4751         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
4752         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
4753         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
4754
4755         [BZ #14171]
4756         * Makeconfig [$(build-shared) = yes]
4757         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
4758         makefiles.
4759         [$(build-shared) = yes && $(soversions.mk-done) = t]
4760         ($(common-objpfx)gnu/lib-names.h): Remove rule.
4761         [$(build-shared) = yes && $(soversions.mk-done) = t]
4762         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
4763         to Makerules.
4764         [$(build-shared) = yes && $(soversions.mk-done) = t]
4765         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
4766         here.
4767         [$(build-shared) = yes && $(soversions.mk-done) = t]
4768         (common-generated): Don't append gnu/lib-names.h and
4769         gnu/lib-names.stmp here.
4770         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
4771         (lib-names-h-abi): New variable.
4772         [$(build-shared) = yes && $(soversions.mk-done) = t]
4773         (lib-names-stmp-abi): Likewise.
4774         [$(build-shared) = yes && $(soversions.mk-done) = t &&
4775         abi-variants] (before-compile): Append
4776         $(common-objpfx)$(lib-names-h-abi).
4777         [$(build-shared) = yes && $(soversions.mk-done) = t &&
4778         abi-variants] (common-generated): Append gnu/lib-names.h.
4779         [$(build-shared) = yes && $(soversions.mk-done) = t &&
4780         abi-variants] (install-others-nosubdir): Depend on
4781         $(inst_includedir)/$(lib-names-h-abi).
4782         [$(build-shared) = yes && $(soversions.mk-done) = t &&
4783         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
4784         [$(build-shared) = yes && $(soversions.mk-done) = t]
4785         ($(common-objpfx)$(lib-names-h-abi)): New rule.
4786         [$(build-shared) = yes && $(soversions.mk-done) = t]
4787         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
4788         [$(build-shared) = yes && $(soversions.mk-done) = t]
4789         (common-generated): Append $(lib-names-h-abi) and
4790         $(lib-names-stmp-abi).
4791         * scripts/lib-names.awk: Do not handle multi being set.
4792         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
4793         Remove variable.
4794         (abi-lp64_be-ld-soname): Likewise.
4795         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
4796         Likewise.
4797         (abi-hard-ld-soname): Likewise.
4798         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
4799         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
4800         Remove variable.
4801         (abi-o32_hard-ld-soname): Likewise.
4802         (abi-o32_soft_2008-ld-soname): Likewise.
4803         (abi-o32_hard_2008-ld-soname): Likewise.
4804         (abi-n32_soft-ld-soname): Likewise.
4805         (abi-n32_hard-ld-soname): Likewise.
4806         (abi-n32_soft_2008-ld-soname): Likewise.
4807         (abi-n32_hard_2008-ld-soname): Likewise.
4808         (abi-n64_soft-ld-soname): Likewise.
4809         (abi-n64_hard-ld-soname): Likewise.
4810         (abi-n64_soft_2008-ld-soname): Likewise.
4811         (abi-n64_hard_2008-ld-soname): Likewise.
4812         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
4813         Likewise.
4814         (abi-64-v2-ld-soname): Likewise.
4815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
4816         ld.so entries.
4817         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
4818         variable.
4819         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
4820         entry.
4821         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
4822         variable.
4823         (abi-64-ld-soname): Likewise.
4824         (abi-x32-ld-soname): Likewise.
4825         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
4826         entry.
4827         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
4828
4829 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
4830
4831         [BZ #14138]
4832         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
4833         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
4834         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
4835         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
4836         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
4837         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
4838         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
4839         syscall entry for GLIBC_2.2 symbol version.
4840         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
4841         Likewise.
4842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
4843         (setrlimit): Likewise.
4844         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
4845         Likewise.
4846
4847 2014-09-23  Will Newton  <will.newton@linaro.org>
4848
4849         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
4850         _LINUX_ARM_SYSDEP_H include guard too.
4851         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
4852         define.
4853
4854 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
4855
4856         * sysdeps/unix/sysv/linux/eventfd.c:
4857         Make first argument unsigned.
4858         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
4859         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
4860
4861 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
4862
4863         * socket/recvmmsg.c (recvmmsg): Drop const argument.
4864         * socket/sys/socket.h: Likewise
4865         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
4866
4867 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4868
4869         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
4870
4871 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
4872
4873         * time/tst-ftime.c: New test.
4874         * time/Makefile (tests): Add tst-ftime.
4875
4876 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
4877
4878         * soft-fp/extended.h: Fix comment formatting.
4879         * soft-fp/op-1.h: Likewise.
4880         * soft-fp/op-2.h: Likewise.
4881         * soft-fp/op-4.h: Likewise.
4882         * soft-fp/op-8.h: Likewise.
4883         * soft-fp/op-common.h: Likewise.
4884         * soft-fp/soft-fp.h: Likewise.
4885
4886         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
4887
4888 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
4889
4890         [BZ #6652]
4891         * Makeconfig (soversions-default-setname): Remove variable.
4892         ($(common-objpfx)soversions.i): Don't pass default_setname to
4893         soversions.awk.
4894         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
4895         oldest_abi to abi-versions.awk.
4896         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
4897         * config.make.in (oldest-abi): Remove variable.
4898         * configure.ac (--enable-oldest-abi): Remove configure option.
4899         * configure: Regenerated.
4900         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
4901         text.
4902         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
4903         * scripts/soversions.awk: Do not handle default_setname variable.
4904         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
4905         variable.
4906         * sysdeps/mach/hurd/configure: Regenerated.
4907         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
4908         variable.
4909         * sysdeps/unix/sysv/linux/configure: Regenerated.
4910
4911 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
4912
4913         * elf/Makefile (CFLAGS-interp.c): Remove.
4914         ($(elf-objpfx)runtime-linker.h): Generate header with linker
4915         path string.
4916         * elf/interp.c: Include generated runtime-linker.h
4917
4918         * Makerules (lib%.so): Don't include $(+interp) in
4919         prerequisites.
4920         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
4921         * dlfcn/eval.c: Remove file.
4922
4923         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
4924         macros.
4925
4926         [BZ #17266]
4927         * misc/sys/cdefs.h: Define __extern_always_inline for clang
4928         4.2 and newer.
4929
4930         [BZ #17370]
4931         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
4932
4933 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
4934             Jakub Jelinek  <jakub@redhat.com>
4935
4936         [BZ #17266]
4937         * libio/stdio.h: Check definition of __fortify_function
4938         instead of __extern_always_inline to include bits/stdio2.h.
4939         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
4940         check if __extern_always_inline is defined.
4941         [__USE_MISC || __USE_XOPEN]: Likewise.
4942         [__USE_ISOC99] Likewise.
4943         * misc/sys/cdefs.h (__fortify_function): Define only if
4944         __extern_always_inline is defined.
4945         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
4946         __extern_always_inline and __extern_inline only for g++-4.3
4947         and newer or a compatible gcc.
4948
4949 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
4950
4951         [BZ #17371]
4952         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
4953         last change to handle zero prefix length.
4954
4955 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
4956
4957         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
4958         _SC_REGEX_VERSION.
4959
4960         * posix/getconf.c (vars): Add _POSIX_IPV6 and
4961         _POSIX_RAW_SOCKETS.
4962
4963 2014-09-13  Allan McRae  <allan@archlinux.org>
4964
4965         * po/ru.po: Update Russian translation from translation project.
4966
4967 2014-09-12  Roland McGrath  <roland@hack.frob.com>
4968
4969         * locale/programs/locale.c (show_locale_vars): Inline local function
4970         into its sole call site.  Clean up some style nits.
4971         (print_item): New function, broken out of ...
4972         (show_info): ... local function here.  Clean up style nits.
4973
4974         * locale/programs/ld-ctype.c (set_one_default): New function, broken
4975         out of ...
4976         (set_class_defaults): ... local function set_default here.
4977         Define set_default as a macro locally to pass constant parameters.
4978         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
4979         rather than a shared local.
4980
4981         * stdlib/rpmatch.c (try): New function, broken out of ...
4982         (rpmatch): ... local function here.  Also, prototypify definition.
4983
4984 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
4985
4986         * scripts/soversions.awk: Do not handle configuration names.
4987         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
4988         vendor and os variables to soversions.awk.
4989         * configure.ac: Do not modify gnu-* host_os.
4990         * configure: Regenerated
4991         * shlib-versions: Remove first column with configuration names.
4992         * nptl/shlib-versions: Likewise.
4993         * nptl_db/shlib-versions: Likewise.
4994         * sysdeps/hppa/shlib-versions: Likewise.
4995         * sysdeps/m68k/shlib-versions: Likewise.
4996         * sysdeps/mach/hurd/shlib-versions: Likewise.
4997         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
4998         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
4999         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
5000         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
5001         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
5002         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
5003         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
5004         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
5005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
5006         Likewise.
5007         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
5008         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
5009         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
5010         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
5011         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
5012         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
5013         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
5014         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
5015
5016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
5017         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
5018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
5019         Regenerated.
5020         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
5021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
5022         Condition symbol version definitions on [HAVE_ELFV2_ABI].
5023
5024         * shlib-versions: Remove OS-specific entries.  Moved to files in
5025         sysdeps.
5026         * sysdeps/mach/hurd/shlib-versions: New file.
5027         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
5028
5029         * nptl/shlib-versions: Remove architecture-specific entries.
5030         Moved to files in sysdeps.
5031         * shlib-versions: Likewise.
5032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
5033         file.
5034         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
5035         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
5036         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
5037         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
5038
5039         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
5040         (UDP_NO_CHECK6_RX): Likewise.
5041
5042 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
5043
5044         * sysdeps/posix/sysconf.c (__sysconf): Spell
5045         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
5046
5047 2014-08-12  Florian Weimer  <fweimer@redhat.com>
5048
5049         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
5050         loading.
5051         * iconv/Versions (__gconv_transliterate): Export for use from
5052         gconv modules.
5053         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
5054         (struct __gconv_trans_data, __gconv_trans_fct,
5055         __gconv_trans_context_fct, __gconv_trans_query_fct,
5056         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
5057         definitions.
5058         (struct __gconv_step_data): Remove __trans member.
5059         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
5060         longer hidden.  Remove unused trans_data argument.
5061         * iconv/gconv_int.h (struct trans_struct): Remove definition.
5062         (__gconv_translit_find): Remove declaration.
5063         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
5064         prototype.
5065         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
5066         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
5067         trans_data argument.  Add hidden definition.
5068         (__gconv_translit_find): Remove.
5069         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
5070         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
5071         * iconv/skeleton.c: Remove transliteration initialization.
5072         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
5073         __gconv_step_data initialization.
5074         * libio/iofwide.c (__libio_translit_): Remove.
5075         (_IO_fwide): Adjust struct __gconv_step_data initialization.
5076         * wcsmbs/btowc.c (__btowc): Likewise.
5077         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
5078         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
5079         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
5080         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
5081         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
5082         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
5083         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
5084         * wcsmbs/wctob.c (wctob): Likewise.
5085
5086 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
5087
5088         [BZ #16194]
5089         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
5090         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
5091         register usage.
5092         * sysdeps/x86/Makefile: Adjust.
5093
5094 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
5095             Roland McGrath  <roland@hack.frob.com>
5096
5097         * locale/weight.h: Add include guard.
5098         (findidx): Make static rather than auto; take new parameters
5099         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
5100         * locale/weightwc.h: Likewise.
5101         * posix/fnmatch_loop.c
5102         (FCT): Change type of EXTRA from int32_t to wint_t.
5103         Don't include either header inside the function.
5104         Call FINDIDX rather than findidx, and pass new arguments.
5105         #undef FINDIDX at the end of the file.
5106         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
5107         FINDIDX before including fnmatch_loop.c for the non-wide version.
5108         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
5109         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
5110         for the wide version.
5111         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
5112         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
5113         Pass new arguments to findidx.
5114         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
5115         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
5116         Don't #include it inside the function.  Pass new arguments to findidx.
5117         * posix/regex_internal.h
5118         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
5119         (re_string_elem_size_at): Don't #include it inside the function.
5120         Pass new arguments to findidx.
5121         * string/strcoll_l.c: #include WEIGHT_H at top level.
5122         (get_next_seq): Don't #include it inside the function.
5123         Pass new arguments to findidx.
5124         (get_next_seq_nocache): Likewise.
5125         * string/strxfrm_l.c: #include WEIGHT_H at top level.
5126         (STRXFRM): Don't #include it inside the function.
5127         Pass new arguments to findidx.
5128
5129 2014-09-11  Florian Weimer  <fweimer@redhat.com>
5130
5131         [BZ #17344]
5132         * malloc/malloc.c (unlink): Turn asserts into a call to
5133         malloc_printerr.
5134
5135 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
5136
5137         [BZ #17370]
5138         * libio/wfileops (do_ftell_wide): Free OUT.
5139
5140 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
5141
5142         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
5143
5144 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
5145
5146         [BZ #17363]
5147         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
5148         group if the current group is empty.
5149
5150 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5151
5152         * benchtests/bench-memset.c (test_main): Add more test from size
5153         from 32 to 512 bytes.
5154         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5155         Add POWER8 memset object.
5156         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5157         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
5158         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
5159         implementation.
5160         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
5161         Likewise.
5162         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
5163         multiarch POWER8 memset optimization.
5164         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
5165         POWER8 memset optimization.
5166
5167         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5168         Remove bzero multiarch objects.
5169         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
5170         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
5171         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
5172         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
5173         Remove define.
5174         [__bzero]: Redefine to specific name.
5175         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
5176         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
5177         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
5178         define.
5179         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5180         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
5181
5182 2014-09-10  Florian Weimer  <fweimer@redhat.com>
5183
5184         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
5185         warnings into errors.
5186
5187         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
5188         __cxa_thread_atexit_impl prototype.
5189
5190 2014-09-09  Steve Ellcey  <sellcey@mips.com>
5191
5192         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
5193         Fix capitalization of error message.
5194
5195 2014-09-09  Steve Ellcey  <sellcey@mips.com>
5196
5197         * sysdeps/mips/preconfigure: Modify ABI tests.
5198
5199 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
5200
5201         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
5202
5203 2014-09-07  Roland McGrath  <roland@hack.frob.com>
5204             Carlos O'Donell  <carlos@systemhalted.org>
5205
5206         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
5207         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
5208         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
5209         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
5210         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
5211         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
5212         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
5213         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
5214         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
5215         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
5216         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
5217         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
5218         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
5219         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
5220         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
5221         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
5222         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
5223         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
5224         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
5225         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
5226         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
5227         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
5228         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
5229         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
5230         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
5231         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
5232         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
5233         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
5234         Deconditionalize the code that was previously under [RESET_PID].
5235         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
5236         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
5237         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
5238         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
5239         include sysdep.h.
5240
5241 2014-09-08  Allan McRae  <allan@archlinux.org>
5242
5243         * version.h (RELEASE): Set to "development".
5244         (VERSION): Set to "2.20.90"
5245
5246 2014-09-07  Allan McRae  <allan@archlinux.org
5247
5248         * version.h (RELEASE): Set to "stable".
5249         (VERSION): Set to "2.20"
5250         * include/features.h (__GLIBC_MINOR__): Set to 20.
5251
5252         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
5253         Liebler.
5254
5255         * po/ko.po: Update Korean translation from translation project.
5256
5257 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
5258
5259         [BZ #17354]
5260         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
5261         macro for handling signed relocations.
5262
5263 2014-09-03  Florian Weimer  <fweimer@redhat.com>
5264
5265         [BZ #17325]
5266         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
5267         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
5268         assert.
5269         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
5270         * iconvdata/ibm935.c (BODY): Likewise.
5271         * iconvdata/ibm937.c (BODY): Likewise.
5272         * iconvdata/ibm939.c (BODY): Likewise.
5273         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
5274         assert.
5275         * iconvdata/Makefile (iconv-test.out): Pass module list to test
5276         script.
5277         * iconvdata/run-iconv-test.sh: New test loop for checking for
5278         decoder crashers.
5279
5280 2014-09-02  Khem Raj  <raj.khem@gmail.com>
5281
5282         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
5283         libm_hidden_ver.
5284
5285 2014-09-01  Allan McRae  <allan@archlinux.org>
5286
5287         * po/eo.po: Update Esperanto translation from translation project.
5288
5289         * po/ca.po: Update Catalan translation from translation project.
5290
5291 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5292
5293         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
5294         __proc_dostop call.
5295
5296 2014-08-27  Mark Wielaard  <mjw@redhat.com>
5297
5298         [BZ #17319]
5299         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
5300         to call set_thread_area instead of hand written asm.
5301         (__NR_set_thread_area): Removed define.
5302         (TLS_FLAG_WRITABLE): Likewise.
5303         (__ASSUME_SET_THREAD_AREA): Remove check.
5304         (TLS_EBX_ARG): Remove define.
5305         (TLS_LOAD_EBX): Likewise.
5306
5307 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5308
5309         Simplify atomicity of socket creation in bind.
5310
5311         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
5312         looking up the name after linking the file.
5313
5314 2014-08-27  Allan McRae  <allan@archlinux.org>
5315
5316         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
5317
5318 2014-08-26  Florian Weimer  <fweimer@redhat.com>
5319
5320         [BZ #17187]
5321         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
5322         trans_compare, open_translit, __gconv_translit_find):
5323         Remove module loading code.
5324
5325 2014-08-26  Allan McRae  <allan@archlinux.org>
5326
5327         * po/vi.po: Update Vietnamese translation from translation project.
5328
5329         * po/uk.po: Update Ukrainian translation from translation project.
5330
5331         * po/fr.po: Update French translation from translation project.
5332
5333         * po/ru.po: Update Russian translation from translation project.
5334
5335         * po/pl.po: Update Polish translation from translation project.
5336
5337         * po/cs.po: Update Czech translation from translation project.
5338
5339         * po/de.po: Update German translation from translation project.
5340
5341         * po/bg.po: Update Bulgarian translation from translation project.
5342
5343         * po/sv.po: Update Sweedish translation from translation project.
5344
5345         * po/nl.po: Update Dutch translation from translation project.
5346
5347         * po/es.po: Update Spanish translation from translation project.
5348
5349 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
5350
5351         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
5352
5353         * catgets/Makefile (CPPFLAGS-gencat): Remove.
5354         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
5355         (CPPFLAGS-iconvconfig): Likewise.
5356         * timezone/Makefile (CPPFLAGS-zic): Likewise.
5357
5358         * include/libc-symbols.h: Remove unnecessary check for
5359         NOT_IN_libc.
5360         * nptl/pthreadP.h: Likewise.
5361         * sysdeps/aarch64/setjmp.S: Likewise.
5362         * sysdeps/alpha/setjmp.S: Likewise.
5363         * sysdeps/arm/sysdep.h: Likewise.
5364         * sysdeps/i386/setjmp.S: Likewise.
5365         * sysdeps/m68k/setjmp.c: Likewise.
5366         * sysdeps/posix/getcwd.c: Likewise.
5367         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
5368         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
5369         * sysdeps/s390/s390-32/setjmp.S: Likewise.
5370         * sysdeps/s390/s390-64/setjmp.S: Likewise.
5371         * sysdeps/sh/sh3/setjmp.S: Likewise.
5372         * sysdeps/sh/sh4/setjmp.S: Likewise.
5373         * sysdeps/unix/alpha/sysdep.h: Likewise.
5374         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5375         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5376         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
5377         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
5379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5380         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5381         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5382         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5383         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5384         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5385         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5386         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5387         * sysdeps/x86_64/setjmp.S: Likewise.
5388
5389 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
5390
5391         [BZ #17263]
5392         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
5393         <stdint.h>.
5394         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
5395         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
5396
5397 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
5398
5399         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
5400
5401         [BZ #17262]
5402         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
5403         and __x86_64__ when disabling x87 inline functions.
5404
5405 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
5406
5407         [BZ #17259]
5408         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
5409         asm statement with __cpuid_count.
5410
5411 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
5412
5413         * configure.ac: Change __ehdr_start code to dereference the struct.
5414         Run readelf on the output to look for relocations.
5415         * configure: Regenerated.
5416
5417 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
5418
5419         [BZ #17261]
5420         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
5421         value to 0.
5422         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
5423
5424 2014-08-12  Roland McGrath  <roland@hack.frob.com>
5425
5426         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
5427
5428 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
5429
5430         [BZ #16892]
5431         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
5432         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
5433
5434 2014-08-12  Sean Anderson  <seanga2@gmail.com>
5435
5436         * malloc/malloc.c: Fix typo in comment.
5437
5438 2014-08-09  Allan McRae  <allan@archlinux.org>
5439
5440         * Regenerate libc.po.
5441
5442 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
5443
5444         * intl/tst-gettext2.sh: Check every lang file for creation.
5445
5446 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
5447
5448         * sysdeps/aarch64/fpu/math_private.h
5449         (libc_feholdsetround_noex_aarch64_ctx): New function.
5450
5451 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
5452
5453         * sysdeps/arm/armv6/strcpy.S (strcpy):
5454         Fix performance issue in misaligned cases.
5455
5456 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5457
5458         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
5459         Move definition from termios.h.
5460         (struct termio): Likewise.
5461         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5462         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
5463         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
5464         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
5465         Likewise.
5466         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
5467         Move definition to ioctl-types.h
5468         (struct termio): Likewise.
5469         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5470         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
5471         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
5472         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
5473         Likewise.
5474
5475 2014-08-05  Richard Henderson  <rth@redhat.com>
5476
5477         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
5478         exceptions.
5479         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
5480         Add fraiseexcpt.
5481         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
5482         Use __feraiseexcept.
5483         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
5484         Protect libm symbols with IS_IN_libm.
5485
5486         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
5487
5488 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
5489
5490         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
5491
5492 2014-08-04  Will Newton  <will.newton@linaro.org>
5493
5494         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
5495         file.
5496
5497 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
5498
5499         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
5500         variants for each function.
5501
5502 2014-08-04  Roland McGrath  <roland@hack.frob.com>
5503
5504         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
5505         appended ...
5506         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
5507         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
5508         appended ...
5509         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
5510         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
5511         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
5512         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
5513         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
5514         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
5515         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
5516         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
5517         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
5518         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
5519         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
5520         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
5521         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
5522         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
5523         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
5524         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
5525         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
5526         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
5527         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
5528         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
5529         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
5530         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
5531         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
5532         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
5533         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
5534         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
5535         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
5536         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
5537         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
5538         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
5539         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
5540         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
5541         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
5542         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
5543         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
5544         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
5545         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
5546         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
5547         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
5548         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
5549         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
5550         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
5551         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
5552         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
5553         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
5554         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
5555         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
5556         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
5557         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
5558         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
5559         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
5560         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
5561         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
5562         Update #include.
5563         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
5564         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
5565
5566 2014-08-04  Roland McGrath  <roland@hack.frob.com>
5567
5568         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
5569         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
5570         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
5571         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
5572         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
5573         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
5574
5575 2014-08-04  Roland McGrath  <roland@hack.frob.com>
5576
5577         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
5578         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
5579         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5580         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
5581
5582 2014-08-04  Roland McGrath  <roland@hack.frob.com>
5583
5584         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
5585         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
5586         (__libc_vfork): Define function under this name.
5587         (__vfork): Define as an alias.
5588         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
5589         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
5590
5591 2014-08-04  Roland McGrath  <roland@hack.frob.com>
5592
5593         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
5594         that was previously under [RESET_PID].
5595         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
5596
5597 2014-08-04  Andreas Schwab  <schwab@suse.de>
5598
5599         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
5600
5601 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
5602
5603         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
5604         (main): Likewise.
5605
5606 2014-08-01  Roland McGrath  <roland@hack.frob.com>
5607
5608         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
5609
5610 2014-08-01  Richard Henderon  <rth@redhat.com>
5611
5612         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
5613         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
5614         typo in exact zero test.
5615         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5616         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5617         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5618
5619 2014-08-01  Roland McGrath  <roland@hack.frob.com>
5620
5621         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
5622         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
5623         * sysdeps/arm/sysdep.h: ... here.
5624         [!__ASSEMBLER__]: Include <stdint.h>.
5625
5626 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
5627
5628         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
5629         (HAVE_WCTYPE_H): Likewise.
5630         (HAVE_ISWCTYPE): Likewise.
5631         (ENABLE_NLS): Likewise.
5632         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
5633         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
5634
5635         * posix/regex_internal.c: Check if DEBUG is defined and is
5636         set.
5637
5638         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
5639         (HAVE_MBSRTOWCS): Likewise.
5640         * posix/fnmatch.c: Include string.h unconditionally.
5641
5642 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
5643
5644         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
5645         reversal.
5646
5647 2014-07-31  Roland McGrath  <roland@hack.frob.com>
5648
5649         * sysdeps/generic/safe-fatal.h: New file.
5650         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
5651         * nptl/forward.c: Include it.
5652         (__pthread_unwind): Use __safe_fatal as default action, rather
5653         than a bogus use of INTERNAL_SYSCALL that could never work.
5654
5655         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
5656         * configure.ac (libc_cv_builtin_trap): New test.
5657         * configure: Regenerated.
5658         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
5659         (ABORT_INSTRUCTION): Define using __builtin_trap.
5660
5661         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
5662         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
5663         * sysdeps/nptl/nptl-signals.h: New file.
5664         * nptl/pthreadP.h: Include <nptl-signals.h>.
5665
5666 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
5667
5668         * sysdeps/s390/s390-64/utf16-utf32-z9.c
5669         (ONE_DIRECTION): Define.
5670         * sysdeps/s390/s390-64/utf8-utf16-z9.c
5671         (ONE_DIRECTION): Define.
5672         * sysdeps/s390/s390-64/utf8-utf32-z9.c
5673         (ONE_DIRECTION): Define.
5674
5675 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
5676
5677         * sysdeps/s390/Makefile: Delete file.
5678         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
5679         * sysdeps/s390/__longjmp.c: Delete file.
5680         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
5681         Remove fields __flags and __reserved.
5682         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
5683         and add versioning.
5684         * sysdeps/s390/rtld-__longjmp.c: Delete file.
5685         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
5686         * sysdeps/s390/rtld-setjmp.S: Likewise.
5687         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
5688         * sysdeps/s390/s390-32/__longjmp.c: ... here.
5689         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
5690         * sysdeps/s390/s390-32/setjmp.S: ... here.
5691         Add versioning.
5692         (__sigsetjmp): Remove setting __flags field.
5693         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
5694         * sysdeps/s390/s390-64/__longjmp.c: ... here.
5695         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
5696         * sysdeps/s390/s390-64/setjmp.S: ... here.
5697         Add versioning.
5698         (__sigsetjmp): Remove setting __flags field.
5699         * sysdeps/s390/setjmp.S: Delete file.
5700         * sysdeps/s390/sigjmp.c: Likewise.
5701         * sysdeps/s390/v1-longjmp.c: Likewise.
5702         * sysdeps/s390/v1-setjmp.h: Likewise.
5703         * sysdeps/s390/v1-sigjmp.c: Likewise.
5704         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
5705         Remove v1-longjmp_chk.
5706         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
5707         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
5708         Include debug/longjmp_chk.c and add versioning.
5709         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
5710         Include nptl/pt-longjmp.c and add versioning.
5711         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
5712         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
5713         Include __longjmp.c.
5714         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
5715         Move to ...
5716         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
5717         (__getcontext): Remove setting __flags field.
5718         Add versioning.
5719         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
5720         Don't restore upper high grps.
5721         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
5722         Likewise.
5723         (__swapcontext): Remove setting uc_flags field.
5724         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
5725         Delete file.
5726         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
5727         Include __longjmp.c.
5728         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
5729         Move to ...
5730         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
5731         (__getcontext): Remove setting __flags field.
5732         Add versioning.
5733         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
5734         (__swapcontext): Remove setting uc_flags field.
5735         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
5736         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
5737         Remove fields uc_high_gprs and __reserved.
5738         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
5739         New file with reverted content.
5740         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
5741         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
5742         Regenerated.
5743         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
5744         Regenerated.
5745
5746 2014-07-31  Andreas Schwab  <schwab@suse.de>
5747
5748         * config.h.in (HAVE_IFUNC): Define to 0.
5749         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
5750         definedness.
5751
5752 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
5753
5754         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5755         memmove-avx-unaligned, memcpy-avx-unaligned and
5756         mempcpy-avx-unaligned.
5757         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5758         Add tests for AVX memcpy functions.
5759         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
5760         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
5761         memcpy_chk.
5762         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
5763         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
5764         memmove_chk.
5765         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
5766         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
5767         mempcpy_chk.
5768         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
5769         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
5770         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
5771
5772 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5773
5774         [BZ #17213]
5775         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
5776         powerpc64le.
5777
5778 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
5779
5780         [BZ #16839]
5781         * manual/llio.texi: Add section about open file description locks.
5782         * manual/examples/ofdlocks.c: Example of open file description
5783         lock usage.
5784         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
5785         F_OFD_SETLK, and F_OFD_SETLKW.
5786
5787 2014-07-23  Allan McRae  <allan@archlinux.org>
5788
5789         * po/es.po: Update Spanish translation from translation project.
5790
5791 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
5792
5793         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
5794
5795 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
5796
5797         [BZ #17078]
5798         * sysdeps/arm/dl-machine.h (elf_machine_rela)
5799         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
5800         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
5801
5802 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
5803
5804         [BZ #17088]
5805         * math/fesetenv.c (__fesetenv)
5806         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
5807         * math/feupdateenv.c (__feupdateenv)
5808         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
5809
5810         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
5811         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
5812         (__ASSUME_SOCKETCALL): Do not define.
5813
5814         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
5815         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
5816         (__ASSUME_SOCKETCALL): Do not define.
5817         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
5818         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
5819         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5820         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
5821         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5822         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
5823         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5824         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5825
5826         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
5827         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
5828         (__ASSUME_SOCKETCALL): Do not define.
5829         (__ASSUME_IPC64): Define unconditionally.
5830         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
5831         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5832         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
5833         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5834         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
5835         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5836         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
5837         Likewise.
5838
5839         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
5840         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
5841         (__ASSUME_SOCKETCALL): Do not define.
5842         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
5843         (__ASSUME_FUTEX_LOCK_PI): Likewise.
5844         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5845         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
5846         (__ASSUME_REQUEUE_PI): Define unconditionally.
5847         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
5848         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
5849         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5850         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
5851         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5852         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5853
5854         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
5855         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
5856         (__ASSUME_SOCKETCALL): Do not define.
5857         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
5858         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5859         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5860         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
5861         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5862         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5863
5864         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
5865         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
5866         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5867         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
5868         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5869         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
5870         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5871         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
5872         (__ASSUME_GETCPU_SYSCALL): Likewise.
5873
5874         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
5875         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
5876         cases for individual architectures.
5877         * sysdeps/gnu/configure: Regenerated.
5878         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
5879         LIBC_SLIBDIR_RTLDDIR.
5880         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
5881         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
5882         LIBC_SLIBDIR_RTLDDIR.
5883         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
5884         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
5885         LIBC_SLIBDIR_RTLDDIR.
5886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
5887         Regenerated.
5888         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
5889         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
5890         file.
5891         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
5892         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
5893         file.
5894         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
5895         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
5896         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
5897         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
5898
5899         * sysdeps/aarch64/shlib-versions: Move to ...
5900         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
5901         * sysdeps/alpha/shlib-versions: Move to ...
5902         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
5903         * sysdeps/arm/shlib-versions: Move to ...
5904         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
5905         * sysdeps/hppa/shlib-versions: Move all contents except for
5906         libgcc_s entry to ...
5907         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
5908         entry from ...
5909         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
5910         * sysdeps/ia64/shlib-versions: Move to ...
5911         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
5912         entry from ...
5913         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
5914         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
5915         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
5916         * sysdeps/microblaze/shlib-versions: Move to ...
5917         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
5918         * sysdeps/mips/shlib-versions: Move to ...
5919         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
5920         entry from ...
5921         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
5922         * sysdeps/tile/shlib-versions: Move to ...
5923         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
5924         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
5925         from ...
5926         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
5927         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
5928         entry from ...
5929         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
5930
5931 2014-07-17  Will Newton  <will.newton@linaro.org>
5932
5933         * sysdeps/arm/bits/atomic.h
5934         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
5935         (__arch_compare_and_exchange_bool_16_int): Likewise.
5936         (__arch_compare_and_exchange_bool_64_int): Likewise.
5937
5938         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
5939         into an #else block.
5940
5941 2014-07-16  Roland McGrath  <roland@hack.frob.com>
5942
5943         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
5944         just Linux configurations.  Test empirically that the compiler sets
5945         __ARM_EABI__, rather than using the tuple to decide.
5946         * sysdeps/arm/preconfigure: Regenerated.
5947         * sysdeps/unix/sysv/linux/arm/configure: File removed.
5948         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
5949         contents appended ...
5950         * sysdeps/arm/configure.ac: ... here.
5951         * sysdeps/arm/configure: Regenerated.
5952
5953 2014-07-15  Roland McGrath  <roland@hack.frob.com>
5954
5955         * nptl/pthread_kill.c: New file.
5956         * nptl/pthread_sigmask.c: New file.
5957         * nptl/pthread_sigqueue.c: New file.
5958
5959         * sysdeps/nptl/lowlevellock.h: New file.
5960         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
5961         * sysdeps/nptl/lowlevellock-futex.h: New file.
5962
5963         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
5964         Remove dead declarations.
5965
5966 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
5967
5968         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
5969         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
5970         config-cflags-avx2.
5971         * sysdeps/x86_64/configure.ac: Likewise.
5972         * sysdeps/i386/configure: Regenerated.
5973         * sysdeps/x86_64/configure: Likewise.
5974         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5975         memset-avx2 only if config-cflags-avx2 is yes.
5976         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5977         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
5978         defined.
5979         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
5980         only if HAVE_AVX2_SUPPORT is defined.
5981         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5982
5983 2014-07-14  Alan Modra  <amodra@gmail.com>
5984
5985         [BZ #17153]
5986         * elf/elf.h (DT_PPC64_NUM): Correct value.
5987         * NEWS: Add to fixed bug list.
5988
5989 2014-07-13  Jim Meyering  <meyering@fb.com>
5990
5991         [BZ 17150]
5992         regex: don't deref NULL upon heap allocation failure
5993         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
5994         failure in one more place.
5995         To trigger the segfault, configure grep -with-included-regex,
5996         build it, and run these commands:
5997         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
5998
5999 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
6000
6001         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
6002
6003 2014-07-11  Richard Henderson  <rth@redhat.com>
6004
6005         * sysdeps/aarch64/libm-test-ulps: Update.
6006
6007 2014-07-10  Florian Weimer  <fweimer@redhat.com>
6008
6009         [BZ #17135]
6010         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
6011         * nptl/allocatestack.c (__nptl_setxid_error): New function.
6012         (__nptl_setxid): Initialize error member.  Call
6013         __nptl_setxid_error.
6014         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
6015         * nptl/descr.h (struct xid_command): Add error member.
6016         * nptl/tst-setuid3.c: New file.
6017         * nptl/Makefile (tests): Add it.
6018
6019 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6020
6021         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
6022         New define.
6023         (__lll_trylock): Use __lll_base_trylock.
6024         (__lll_cond_trylock): Likewise.
6025
6026 2014-07-10  Roland McGrath  <roland@hack.frob.com>
6027
6028         * nptl/pthread_create.c (start_thread): Use atomic_or and
6029         lll_futex_wake directly rather than lll_robust_dead.
6030         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
6031         (lll_robust_dead): Macro removed.
6032         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
6033         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
6034         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
6035         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
6036         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
6037         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
6038         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
6039         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
6040         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
6041         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
6042         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
6043         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
6044         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
6045         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
6046         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6047
6048         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
6049         Use atomic_compare_and_exchange_val_acq directly rather than
6050         lll_robust_trylock.
6051         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
6052         (__lll_robust_trylock, lll_robust_trylock): Removed.
6053         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
6054         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
6055         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
6056         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
6057         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
6058         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
6059         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
6060         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
6061         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
6062         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
6063         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
6064         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
6065         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
6066         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6067
6068 2014-07-02  Florian Weimer  <fweimer@redhat.com>
6069
6070         * manual/locale.texi (Locale Names): New section documenting
6071         locale name syntax.  Adjust menu and node chaining accordingly.
6072         (Choosing Locale): Reference Locale Names, Locale Categories.
6073         Mention setting LC_ALL=C.  Reflect that name syntax is now
6074         documented.
6075         (Locale Categories): New section title.  Reference Locale Names.
6076         LC_ALL is an environment variable, but not a category.
6077         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
6078         description, now in Locale Name.  Reference that section.  Locale
6079         name syntax is now documented.
6080
6081 2014-07-02  Florian Weimer  <fweimer@redhat.com>
6082
6083         [BZ #17137]
6084         * locale/findlocale.c (name_present, valid_locale_name): New
6085         functions.
6086         (_nl_find_locale): Use the loc_name variable to store name
6087         candidates.  Call name_present and valid_locale_name to check and
6088         validate locale names.  Return an error if the locale is invalid.
6089
6090 2014-07-02  Florian Weimer  <fweimer@redhat.com>
6091
6092         * locale/setlocale.c (setlocale): Use strdup for allocating
6093         composite name copy.
6094
6095 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
6096
6097         Sync up with gnulib.
6098         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
6099         [!_LIBC && ENABLE_NLS]: Include gettext.h.
6100         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
6101         and _GL_ARG_NONNULL.
6102         [USE_UNLOCKED_IO]: Include unlocked-io.h.
6103         [!_LIBC]: Include code for Windows and Cygwin.
6104         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
6105         Include prototype for int strerror_r.
6106         [!_LIBC] (is_open): New function.
6107         (flush_stdout): New function.
6108         (print_errno_message): Use it.
6109         (error): Likewise.
6110         (error_at_line): Likewise.
6111         (error_tail) Add function attribute macros.  Use
6112         __builtin_expect.
6113
6114         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
6115
6116         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
6117
6118         * io/ftw.c: Include sys/param.h unconditionally.
6119
6120         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
6121
6122         [BZ #17125]
6123         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
6124         libc_freeres_ptr.
6125         (freecache): New function to free CACHE on exit.
6126
6127         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
6128         initialization.
6129
6130 2014-07-09  David S. Miller  <davem@davemloft.net>
6131
6132         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6133
6134         * sysdeps/sparc/nptl/internaltypes.h: Delete.
6135         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
6136         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
6137         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
6138         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
6139         * sysdeps/sparc/nptl/sem_init.c: Likewise.
6140         * sysdeps/sparc/nptl/sem_post.c: Likewise.
6141         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
6142         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
6143         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
6144         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
6145         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
6146         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
6147
6148 2014-07-09  Andreas Schwab  <schwab@suse.de>
6149
6150         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
6151         output.
6152         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
6153         (do_test): Likewise.
6154
6155         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6156
6157 2014-07-09  Will Newton  <will.newton@linaro.org>
6158
6159         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
6160         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
6161         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
6162         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
6163         * sysdeps/hppa/start.S (_start): Likewise.
6164
6165 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
6166
6167         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
6168
6169         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
6170         defined.
6171
6172 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
6173
6174         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
6175         after checking that it is non-NULL.
6176
6177         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
6178
6179 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6180
6181         * sysdeps/powerpc/memmove.c: Remove file.
6182         * sysdeps/powerpc/powerpc32/power4/memcopy.h
6183         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
6184         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
6185         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
6186         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
6187         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
6188         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
6189         string memmove instead of removed powerpc one.
6190
6191         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
6192         [weak_alias]: Fix compiler warning due trailing data.
6193         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
6194         [weak_alias]: Likewise.
6195         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
6196         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
6197
6198         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6199         (__libc_ifunc_impl_list): Add memmove functions.
6200
6201 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
6202
6203         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
6204         Remove code.
6205         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
6206         Likewise
6207         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
6208         Likewise
6209         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
6210         Likewise
6211         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
6212         Likewise
6213         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
6214         Likewise
6215         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
6216         Likewise
6217         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
6218         Likewise
6219         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
6220         Likewise
6221         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
6222         Likewise
6223         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
6224         Likewise
6225         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
6226         Likewise
6227         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
6228         Likewise
6229         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
6230         Likewise
6231         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
6232         Likewise
6233         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
6234         Likewise
6235         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
6236         Likewise
6237
6238 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6239
6240         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
6241         to avoid alignment traps in non-cacheable memory.
6242         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
6243
6244         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
6245         multiarch objects.
6246         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
6247         file: multiarch power7 memmove.
6248         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
6249         multiarch default memmove.
6250         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
6251         multiarch memove for powerpc32/power4.
6252
6253         * string/bcopy.c: Use full path to include memmove.c.
6254         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
6255         multiarch objects.
6256         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
6257         bcopy for powerpc64.
6258         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
6259         bcopy for powerpc64.
6260         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
6261         and memmove implementations.
6262         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
6263         optimized multiarch memmove for POWER7/powerpc64.
6264         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
6265         default multiarch memmove for powerpc64.
6266         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
6267         multiarch for powerpc64.
6268         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
6269         for POWER7/powerpc64.
6270         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
6271         memmove for POWER7/powerpc64.
6272
6273         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
6274         glibc default one.
6275
6276         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
6277         __ELF_NATIVE_CLASS equal to 64.
6278
6279 2014-07-07  Roland McGrath  <roland@hack.frob.com>
6280
6281         * sysdeps/nptl/lowlevellock.h: File removed.
6282
6283         * NEWS: NPTL is no longer an add-on!
6284         * nptl/internaltypes.h: Moved ...
6285         * sysdeps/nptl/internaltypes.h: ... here.
6286         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
6287         * sysdeps/nptl/fork.c: Likewise.
6288         * sysdeps/nptl/gai_misc.h: Likewise.
6289         * sysdeps/nptl/librt-cancellation.c: Likewise.
6290         * sysdeps/nptl/jmp-unwind.c: Likewise.
6291         * sysdeps/nptl/setxid.h: Likewise.
6292         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
6293         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
6294         * sysdeps/unix/sysv/linux/arm/Implies: New file.
6295         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
6296         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
6297         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
6298         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
6299         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
6300         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
6301         * sysdeps/unix/sysv/linux/mips/Implies: New file.
6302         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
6303         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
6304         * sysdeps/unix/sysv/linux/sh/Implies: New file.
6305         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
6306         * sysdeps/unix/sysv/linux/tile/Implies: New file.
6307         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
6308         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
6309         * nptl/Makeconfig: Moved ...
6310         * sysdeps/nptl/Makeconfig: ... here.
6311         * nptl/configure: File removed.
6312         * nptl/ANNOUNCE: File removed.
6313         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
6314         * sysdeps/unix/sysv/linux/configure: Regenerated.
6315
6316         * nptl/Makefile (routines): Add libc_pthread_init,
6317         libc_multiple_threads, register-atfork and unregister-atfork.
6318         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
6319         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
6320         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
6321         pthread-pi-defines.sym, structsem.sym.
6322         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
6323         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
6324         [$(subdir) = nptl] (tests): Add tst-setgetname.
6325         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
6326         * sysdeps/unix/sysv/linux/sigaction.c: Just include
6327         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
6328         [!LIBC_SIGACTION]: Remove aliases.
6329         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
6330         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
6331         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
6332         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
6333         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
6334         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
6335         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
6336         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
6337         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
6338         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
6339         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
6340         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
6341         __libc_allocate_rtsig_private.
6342         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
6343         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
6344         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
6345         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
6346         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
6347         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
6348         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
6349         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
6350         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
6351         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
6352         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
6353         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
6354         * nptl/internaltypes.h: ... here.
6355         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
6356         * sysdeps/nptl/jmp-unwind.c: ... here.
6357         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
6358         * nptl/libc-lowlevellock.c: ... here.
6359         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
6360         * nptl/libc_multiple_threads.c: ... here.
6361         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
6362         * nptl/libc_pthread_init.c: ... here.
6363         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
6364         * nptl/lowlevelbarrier.sym: ... here.
6365         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
6366         * nptl/lowlevelcond.sym: ... here.
6367         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
6368         * nptl/lowlevellock.c: ... here.
6369         * nptl/lowlevellock.h: Moved ...
6370         * sysdeps/nptl/lowlevellock.h: ... here.
6371         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
6372         * nptl/lowlevelrobustlock.c: ... here.
6373         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
6374         * nptl/lowlevelrobustlock.sym: ... here.
6375         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
6376         * nptl/lowlevelrwlock.sym: ... here.
6377         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
6378         * nptl/pt-fork.c: ... here.
6379         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
6380         * nptl/pthread-pi-defines.sym: ... here.
6381         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
6382         * nptl/pthread_attr_getaffinity.c: ... here.
6383         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
6384         * nptl/pthread_attr_setaffinity.c: ... here.
6385         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
6386         * nptl/pthread_mutex_cond_lock.c: ... here.
6387         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
6388         Update #include.
6389         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
6390         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
6391         * nptl/pthread_once.c: ... here, replacing old file.
6392         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
6393         * nptl/pthread_yield.c: ... here.
6394         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
6395         * nptl/register-atfork.c: ... here.
6396         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
6397         * nptl/sem_post.c: ... here.
6398         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
6399         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
6400         * nptl/sem_timedwait.c: ... here.
6401         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
6402         * nptl/sem_trywait.c: ... here.
6403         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
6404         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
6405         * nptl/sem_wait.c: ... here.
6406         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
6407         * nptl/structsem.sym: ... here.
6408         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
6409         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
6410         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
6411         * nptl/unregister-atfork.c: ... here.
6412         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
6413         * nptl/unwindbuf.sym: ... here.
6414         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
6415         * sysdeps/nptl/fork.c: ... here.
6416         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
6417         * sysdeps/nptl/fork.h: ... here.
6418         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
6419         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
6420         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
6421         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
6422         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
6423         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
6424         * sysdeps/unix/sysv/linux/getpid.c: ... here.
6425         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
6426         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
6427         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
6428         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
6429         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
6430         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
6431         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
6432         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
6433         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
6434         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
6435         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
6436         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
6437         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
6438         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
6439         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
6440         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
6441         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
6442         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
6443         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
6444         * sysdeps/unix/sysv/linux/raise.c: ... here.
6445         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
6446         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
6447         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
6448         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
6449         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
6450         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
6451         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
6452         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
6453         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
6454         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
6455         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
6456         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
6457         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
6458         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
6459         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
6460
6461 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
6462
6463         * sysdeps/generic/memcopy.h: Add comment for
6464         MEMCPY_OK_FOR_FWD_MEMMOVE.
6465
6466 2014-07-04  Will Newton  <will.newton@linaro.org>
6467
6468         * string/memchr.c: Merge from gnulib.
6469         [_LIBC]: Remove conditionals.
6470         (__ptr_t): Remove define.
6471         (LONG_MAX_32_BITS): Likewise.
6472         (LONG_MAX): Likewise.
6473         (MEMCHR): Use ANSI prototype and optimize algorithm.
6474
6475         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
6476
6477 2014-07-03  Roland McGrath  <roland@hack.frob.com>
6478
6479         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
6480         (lll_futex_timed_wait_bitset): Fix syscall argument count.
6481
6482         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
6483         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
6484         in a bare environment with no <stdlib.h> installed.
6485         * sysdeps/nptl/configure: Regenerated.
6486
6487         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
6488
6489         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
6490         AC_EGREP_CPP for kernel header checks, so they only succeed if
6491         including <linux/version.h> actually works right.
6492         * sysdeps/unix/sysv/linux/configure: Regenerated.
6493
6494         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
6495         value so it's not diagnosed as unused.
6496
6497         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
6498         thing) with "ifeq ($(subdir),rt)".
6499
6500 2014-07-03  Richard Henderson  <rth@redhat.com>
6501
6502         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
6503         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
6504         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
6505
6506         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
6507         (math_force_eval): New.
6508
6509         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
6510         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
6511
6512         * sysdeps/alpha/fpu/s_round.c: Remove file.
6513         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
6514
6515         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
6516         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
6517         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
6518         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
6519         (_dl_start, print_statistics): Likewise.
6520         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
6521         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
6522
6523         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6524         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6525         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6526         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6527         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
6528         (HP_SMALL_TIMING_AVAIL): Define.
6529         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6530         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
6531         (HP_SMALL_TIMING_AVAIL): Define.
6532         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6533         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6534
6535         * sysdeps/aarch64/hp-timing.h: New file.
6536
6537         * sysdeps/generic/hp-timing.h: Remove dead comment.
6538         * sysdeps/generic/hp-timing-common.h: New file.
6539         * sysdeps/alpha/hp-timing.h: Include it.
6540         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
6541         * sysdeps/i386/i686/hp-timing.h: Likewise.
6542         * sysdeps/ia64/hp-timing.h: Likewise.
6543         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
6544         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
6545         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
6546         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
6547         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
6548         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
6549         (hp_timing_t): New.
6550
6551         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
6552         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
6553         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
6554         * elf/rtld.c (_dl_start_final): Likewise.
6555         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
6556         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6557         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6558         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6559         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6560         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
6561         (HP_TIMING_DIFF_INIT): Remove.
6562         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6563         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
6564         (HP_TIMING_DIFF_INIT): Remove.
6565         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6566         * sysdeps/i386/i686/hp-timing.c: Remove file.
6567         * sysdeps/x86_64/hp-timing.c: Remove file.
6568         * sysdeps/ia64/hp-timing.c: Remove file.
6569         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
6570         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
6571         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
6572         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
6573
6574         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
6575         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
6576         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
6577         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
6578         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
6579         (HP_TIMING_ACCUM): Remove.
6580         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
6581         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
6582         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
6583
6584         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
6585         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
6586         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
6587         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
6588         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
6589         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
6590         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
6591         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
6592
6593         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
6594
6595 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
6596
6597         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
6598
6599 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
6600
6601         Sync up with gettext.
6602         * intl/loadmsgcat.c: Define O_BINARY if not defined.
6603         [_MSC_VER]: Include malloc.h
6604         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
6605         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
6606         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
6607         TEMP_FAILURE_RETRY.  Cast return of alloca.
6608         [!_LIBC] Call gl_rwlock_init.
6609         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
6610
6611 2014-07-02  Roland McGrath  <roland@hack.frob.com>
6612
6613         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
6614         before checking its value.
6615
6616 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
6617
6618         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
6619
6620         * debug/memcpy_chk.c: Don't include pagecopy.h.
6621         * debug/mempcpy_chk.c: Likewise.
6622         * string/memcpy.c: Likewise.
6623         * string/memmove.c: Likewise.
6624         * sysdeps/powerpc/memmove.c: Likewise.
6625         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
6626         definition of PAGE_COPY_FWD_MAYBE here...
6627         * sysdeps/generic/pagecopy.h: ... from here.
6628         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
6629
6630 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
6631             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6632
6633         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
6634         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
6635         optimizations.
6636         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6637         (__libc_ifunc_impl_list): Likewise.
6638         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
6639         multiarch strcat for PPC64.
6640         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
6641         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
6642
6643 2014-07-02  Roland McGrath  <roland@hack.frob.com>
6644
6645         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
6646
6647 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
6648
6649         * intl/loadmsgcat.c: Remove declaration of
6650         get_sysdep_segment_value.
6651         (get_sysdep_segment_value): Use ISO C style.
6652         (_nl_load_domain): Use ISO C style.  Get rid of redundant
6653         semicolon.  Fix typo and formatting in comment.
6654         (_nl_unload_domain): Use ISO C style.
6655
6656         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
6657
6658 2014-07-02  Will Newton  <will.newton@linaro.org>
6659
6660         * malloc/obstack.c: Merge from gnulib master.
6661         [HAVE_CONFIG_H]: Remove conditional code.
6662         [!_LIBC]: Include config.h.
6663         [!ELIDE_CODE]: Don't include inttypes.h, include
6664         stdint.h unconditionally.
6665         (print_and_abort): Mark as _Noreturn.
6666         (_obstack_allocated_p): Mark as __attribute_pure__.
6667         (obstack_free): Rename to __obstack_free.
6668         [!__attribute__]: Remove conditional code.
6669         * malloc/obstack.h: Merge from gnulib master.
6670         [__cplusplus]: Move conditional down.
6671         [!__attribute_pure__]: Define __attribute_pure__ here
6672         if it is not already defined.
6673         (_obstack_memory_used): Mark as __attribute_pure__.
6674         [!__obstack_free]: Define as obstack_free.
6675         [__GNUC__]: Remove check for ancient NeXT gcc.
6676
6677 2014-07-02  Will Newton  <will.newton@linaro.org>
6678             Paul Eggert  <eggert@cs.ucla.edu>
6679
6680         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
6681
6682 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
6683
6684         * resolv/gethnamaddr.c: Add comment warning that the file is
6685         not maintained.
6686
6687 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
6688
6689         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
6690         entries.
6691
6692         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
6693         entry for aio_cancel and aio_cancel64.
6694         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
6695         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
6696         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
6697         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
6698         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
6699         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
6700         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
6701         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
6702         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
6703         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
6704         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
6705         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
6706         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
6707
6708 2014-07-01  Roland McGrath  <roland@hack.frob.com>
6709
6710         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
6711         * nptl/pthread_mutex_lock.c: Likewise.
6712         * nptl/pthread_mutex_timedlock.c: Likewise.
6713         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
6714
6715 2014-07-01  Richard henderson  <rth@redhat.com>
6716
6717         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
6718         (__isnan, __isnanl): Remove.
6719         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
6720
6721         * sysdeps/alpha/fpu/libm-test-ulps: Update.
6722
6723 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
6724
6725         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6726
6727 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
6728
6729         * resolv/nss_dns/dns-host.c (getanswer_r)
6730         [MULTI_PTRS_ARE_ALIASES]: Remove code.
6731
6732 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
6733
6734         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6735         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
6736         undefine.
6737         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
6738         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
6739
6740 2014-07-01  Roland McGrath <roland@hack.frob.com>
6741
6742         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
6743         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
6744
6745         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
6746         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
6747
6748         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
6749         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
6750         ... here.
6751         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
6752         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
6753
6754         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
6755         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
6756         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
6757         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
6758
6759         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
6760         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
6761         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
6762         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
6763         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
6764         Moved ...
6765         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
6766         ... here.
6767         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
6768         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
6769         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
6770         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
6771         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
6772         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
6773         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
6774         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
6775         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
6776         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
6777         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
6778         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
6779         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
6780         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
6781         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
6782         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
6783         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
6784         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
6785         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
6786         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
6787         ... here.
6788         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
6789         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
6790         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
6791         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
6792         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
6793         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
6794         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
6795         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
6796
6797 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
6798
6799         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
6800         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
6801         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
6802         Add sysdep.
6803
6804 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6805
6806         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6807
6808 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
6809
6810         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
6811         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6812
6813         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6814
6815         * sysdeps/arm/libm-test-ulps: Regenerated.
6816
6817 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
6818             Roland McGrath <roland@hack.frob.com>
6819
6820         * test-skeleton.c (signal_handler): Kill the whole process group
6821         before killing the child individually.
6822         (main): Report any failure on `setpgid'.
6823
6824 2014-06-30  Roland McGrath  <roland@hack.frob.com>
6825
6826         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
6827         from _TLS_H to _ARM_NPTL_TLS_H.
6828         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
6829         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
6830
6831 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
6832
6833         [BZ #16539]
6834         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
6835         (__expm1l): Return argument unchanged when small but not
6836         subnormal.
6837
6838         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
6839         include macro name.
6840         (_FP_UNPACK_RAW_1_P): Likewise.
6841         (_FP_PACK_RAW_1): Likewise.
6842         (_FP_PACK_RAW_1_P): Likewise.
6843         (_FP_MUL_MEAT_1_wide): Likewise.
6844         (_FP_MUL_MEAT_DW_1_hard): Likewise.
6845         (_FP_MUL_MEAT_1_hard): Likewise.
6846         (_FP_DIV_MEAT_1_imm): Likewise.
6847         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
6848         (_FP_DIV_MEAT_1_udiv): Likewise.
6849         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
6850         (_FP_UNPACK_RAW_2): Likewise.
6851         (_FP_UNPACK_RAW_2_P): Likewise.
6852         (_FP_PACK_RAW_2): Likewise.
6853         (_FP_PACK_RAW_2_P): Likewise.
6854         (_FP_MUL_MEAT_DW_2_wide): Likewise.
6855         (_FP_MUL_MEAT_2_wide): Likewise.
6856         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
6857         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
6858         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
6859         (_FP_MUL_MEAT_2_gmp): Likewise.
6860         (_FP_DIV_MEAT_2_udiv): Likewise.
6861         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
6862         (_FP_FRAC_SRL_4): Likewise.
6863         (_FP_FRAC_SRST_4): Likewise.
6864         (_FP_FRAC_SRS_4): Likewise.
6865         (_FP_UNPACK_RAW_4): Likewise.
6866         (_FP_UNPACK_RAW_4_P): Likewise.
6867         (_FP_PACK_RAW_4): Likewise.
6868         (_FP_PACK_RAW_4_P): Likewise.
6869         (_FP_MUL_MEAT_DW_4_wide): Likewise.
6870         (_FP_MUL_MEAT_4_wide): Likewise.
6871         (_FP_MUL_MEAT_4_gmp): Likewise.
6872         (umul_ppppmnnn): Likewise.
6873         (_FP_DIV_MEAT_4_udiv): Likewise.
6874         (__FP_FRAC_ADD_4): Likewise.
6875         (__FP_FRAC_SUB_3): Likewise.
6876         (__FP_FRAC_SUB_4): Likewise.
6877         (__FP_FRAC_DEC_3): Likewise.
6878         (__FP_FRAC_DEC_4): Likewise.
6879         (__FP_FRAC_ADDI_4): Likewise.
6880         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
6881         (_FP_FRAC_SRL_8): Likewise.
6882         (_FP_FRAC_SRS_8): Likewise.
6883
6884         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
6885         include macro name.
6886         (FP_UNPACK_RAW_EP): Likewise.
6887         (FP_PACK_RAW_E): Likewise.
6888         (FP_PACK_RAW_EP): Likewise.
6889         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
6890         (_FP_ISSIGNAN): Likewise.
6891         (_FP_ADD_INTERNAL): Likewise.
6892         (_FP_FMA): Likewise.
6893         (_FP_CMP): Likewise.
6894         (_FP_SQRT): Likewise.
6895         (_FP_TO_INT): Likewise.
6896         (_FP_FROM_INT): Likewise.
6897         (FP_EXTEND): Likewise.
6898         (_FP_DIV_MEAT_N_loop): Likewise.
6899
6900 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
6901
6902         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
6903         throughout.
6904
6905 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
6906
6907         [BZ #17097]
6908         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
6909         result with correct sign in case of exponents that produce
6910         overflow except for X very close to 1.
6911
6912 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
6913
6914         mktime: merge #if/#ifdef usage from glibc
6915         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
6916         as that works with both Glibc's and Gnulib's style.
6917         See thread starting at Siddhesh Poyarekar's bug report at:
6918         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
6919
6920 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
6921
6922         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
6923         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
6924         * sysdeps/tile/tilegx/memmove.c: Remove file.
6925
6926 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
6927
6928         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
6929         abi-name definition.
6930         * scripts/soversions.awk: Do not handle or generate ABI lines.
6931         * shlib-versions: Remove ABI entries.
6932         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
6933         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
6934
6935 2014-06-27  Roland McGrath  <roland@hack.frob.com>
6936
6937         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
6938         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
6939         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
6940         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
6941         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
6942         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
6943         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
6944         Moved ...
6945         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
6946         ... here.
6947         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
6948         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
6949         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
6950         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
6951         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
6952         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
6953         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
6954         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
6955         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
6956         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
6957         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
6958         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
6959         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
6960         Moved ...
6961         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
6962         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
6963         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
6964         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
6965         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
6966         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
6967         Moved ...
6968         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
6969         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
6970         Moved ...
6971         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
6972         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
6973         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
6974         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
6975         Moved ...
6976         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
6977         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
6978         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
6979         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
6980         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
6981         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
6982         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
6983         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
6984         Moved ...
6985         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
6986         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
6987         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
6988         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
6989         Moved ...
6990         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
6991         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
6992         Moved ...
6993         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
6994         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
6995         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
6996         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
6997         Moved ...
6998         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
6999         ... here.
7000         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
7001         Identical file removed.
7002         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
7003         Moved ...
7004         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
7005         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
7006         Identical file removed.
7007         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
7008         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
7009         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
7010         Moved ...
7011         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
7012         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
7013         Identical file removed.
7014         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
7015         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
7016         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
7017         Identical file removed.
7018         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
7019         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
7020         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
7021         Identical file removed.
7022         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
7023         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
7024         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
7025         Identical file removed.
7026         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
7027         Moved ...
7028         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
7029         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
7030         Identical file removed.
7031         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
7032         Moved ...
7033         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
7034         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
7035         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
7036         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
7037         Identical file removed.
7038         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
7039         Moved ...
7040         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
7041         ... here.
7042         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
7043         Identical file removed.
7044         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
7045         Moved ...
7046         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
7047         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
7048         Identical file removed.
7049         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
7050         Moved ...
7051         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
7052         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
7053         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
7054         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
7055         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
7056         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
7057         Moved ...
7058         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
7059         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
7060         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
7061
7062         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
7063         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
7064         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
7065         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
7066         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
7067
7068 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
7069
7070         [BZ #17092]
7071         * nscd/nscd.c (monitor_child): Return exit status of child
7072         instead of return value from wait syscall.
7073
7074 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
7075
7076         * configure.ac (libc_commonpagesize): Remove variable.
7077         (libc_relro_required): Likewise.
7078         (libc_cv_z_relro): Remove configure test.
7079         * configure: Regenerated.
7080         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
7081         variable.
7082         (libc_relro_required): Likewise.
7083         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
7084         (libc_relro_required): Likewise.
7085         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
7086         (libc_relro_required): Likewise.
7087         * sysdeps/arm/preconfigure: Regenerated.
7088         * sysdeps/ia64/preconfigure: Remove file.
7089         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
7090         variable.
7091         (libc_relro_required): Likewise.
7092
7093         [BZ #16561]
7094         [BZ #16562]
7095         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
7096         (__ieee754_yn): Set FE_TONEAREST mode internally and then
7097         recompute overflowing results in original rounding mode.
7098         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
7099         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
7100         recompute overflowing results in original rounding mode.
7101         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
7102         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
7103         recompute overflowing results in original rounding mode.
7104         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
7105         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
7106         recompute overflowing results in original rounding mode.
7107         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
7108         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
7109         recompute overflowing results in original rounding mode.
7110         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
7111         (libc_feholdsetround_ctx): New macro.
7112         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
7113         * sysdeps/i386/fpu/libm-test-ulps: Update.
7114         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
7115
7116 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
7117
7118         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
7119         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
7120         corresponding .cpsetup call.
7121
7122 2014-06-26  Roland McGrath  <roland@hack.frob.com>
7123
7124         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
7125         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
7126         * sysdeps/arm/Makefile [$(subdir) = csu]
7127         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
7128         (static-only-routines): Add aeabi_read_tp here.
7129         (shared-only-routines): Add libc-aeabi_read_tp here.
7130         (CFLAGS-libc-start.c): Add -fexceptions here.
7131         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
7132         (sysdep_routines, static-only-routines, shared-only-routines):
7133         Don't add to these here.
7134         (CFLAGS-libc-start.c): Likewise.
7135
7136         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
7137         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
7138         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
7139         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
7140         * sysdeps/arm/Makefile [$(subdir) = rt]
7141         (librt-sysdep_routines, librt-shared-only-routines):
7142         Append rt-aeabi_unwind_cpp_pr1 here.
7143         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
7144         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
7145         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
7146         (libpthread-sysdep_routines, libpthread-shared-only-routines):
7147         Append nptl-aeabi_unwind_cpp_pr1 here.
7148         (tests): Filter out tst-cleanupx4 here.
7149         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
7150         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
7151         Don't do those here.
7152
7153 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
7154
7155         * scripts/list-sources.sh: Do not handle ports specially.
7156
7157 2014-06-26  Roland McGrath  <roland@hack.frob.com>
7158
7159         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
7160         * sysdeps/arm/feupdateenv.c: Likewise.
7161
7162         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
7163
7164 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
7165
7166         * manual/texinfo.tex: Update to version 2014-05-05.10 with
7167         trailing whitespace removed.
7168         * scripts/config.guess: Update to version 2014-03-23.
7169         * scripts/config.sub: Update to version 2014-05-01
7170         * scripts/install-sh: Update to version 2013-12-25.23.
7171         * scripts/move-if-change: Update from gnulib.
7172
7173 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
7174
7175         * debug/memmove_chk.c: Remove pagecopy.h include.
7176
7177 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
7178
7179         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
7180         identical to gnulib mktime.
7181
7182 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
7183
7184         * configure.ac: Do not test for machine being rs6000.  Do not test
7185         for powerpc*-*soft.
7186         * configure: Regenerated.
7187
7188         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
7189         test.
7190         * configure: Regenerated.
7191         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
7192         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
7193         Remove configure test.
7194         * sysdeps/arm/configure: Regenerated.
7195         * sysdeps/nptl/configure.ac: Do not check
7196         libc_cv_asm_cfi_directives.
7197         * sysdeps/nptl/configure: Regenerated.
7198         * sysdeps/x86_64/nptl/configure.ac: Remove file.
7199         * sysdeps/x86_64/nptl/configure: Remove generated file.
7200         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
7201         unconditional.
7202         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
7203
7204 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
7205
7206         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
7207         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
7208         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
7209         it is defined.
7210
7211         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
7212         instead of whether it is defined.
7213         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
7214         * sysdeps/hppa/dl-machine.h: Likewise.
7215         * sysdeps/ia64/dl-machine.h: Likewise.
7216         * sysdeps/m68k/dl-machine.h: Likewise.
7217         * sysdeps/microblaze/dl-machine.h: Likewise.
7218         * sysdeps/mips/dl-machine.: Likewise.
7219         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
7220         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
7221         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
7222         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
7223         * sysdeps/sh/dl-machine.h: Likewise.
7224         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7225         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7226         * sysdeps/tile/dl-machine.h: Likewise.
7227         * sysdeps/x86_64/dl-machine.h: Likewise.
7228
7229         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
7230         code.
7231         (verify_persistent_db): Likewise.
7232
7233 2014-06-26  Roland McGrath  <roland@hack.frob.com>
7234
7235         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
7236         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
7237         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
7238         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
7239         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
7240         Moved ...
7241         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
7242         ... here.
7243         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
7244         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
7245         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
7246         Identical file removed.
7247         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
7248         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
7249         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
7250         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
7251         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
7252         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
7253         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
7254         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
7255         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
7256         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
7257         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7258         Moved ...
7259         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
7260         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
7261         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
7262         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
7263         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
7264         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
7265         Moved ...
7266         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
7267         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
7268         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
7269         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
7270         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
7271         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
7272         Identical file removed.
7273         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
7274         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
7275         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
7276         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
7277         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
7278         Moved ...
7279         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
7280         ... here.
7281         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
7282         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
7283         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
7284         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
7285         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
7286         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
7287         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
7288         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
7289         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
7290         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
7291         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7292         Moved ...
7293         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
7294         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
7295         Moved ...
7296         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
7297         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
7298         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
7299         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
7300         Moved ...
7301         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
7302         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
7303         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
7304
7305         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
7306         folded into ...
7307         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
7308         * sysdeps/unix/sysv/linux/s390/Versions
7309         (libpthread: GLIBC_2.19): New version set.
7310         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
7311         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
7312         (librt: GLIBC_2.3.3): New version set.
7313         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
7314         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
7315         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
7316         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
7317         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
7318         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
7319         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
7320         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
7321         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
7322         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
7323         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
7324         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
7325         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
7326         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
7327         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
7328         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
7329         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
7330         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
7331         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
7332         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
7333         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
7334         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
7335         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
7336         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
7337         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
7338         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
7339         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
7340         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
7341         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
7342         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
7343         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
7344         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
7345         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
7346         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
7347         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
7348         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
7349         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
7350         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
7351         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
7352         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
7353         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
7354         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
7355         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
7356         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
7357         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
7358
7359         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
7360         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
7361         (__libc_vfork): Define the function under this name.
7362         [!NOT_IN_libc] (__vfork): Make this an alias.
7363         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
7364         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
7365         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
7366         (__libc_vfork): Define the function under this name.
7367         [!NOT_IN_libc] (__vfork): Make this an alias.
7368         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
7369         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
7370         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
7371         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
7372         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
7373         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
7374
7375         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
7376         code that was previously under [RESET_PID].
7377         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
7378         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
7379         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
7380
7381         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
7382         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
7383         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
7384         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
7385         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
7386         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
7387         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
7388         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
7389         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
7390         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
7391         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
7392         Moved ...
7393         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
7394         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
7395         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
7396         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
7397         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
7398         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
7399         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
7400         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
7401         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
7402         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
7403         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
7404         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
7405         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
7406         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
7407         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
7408         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
7409         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
7410         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
7411         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
7412         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
7413         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
7414         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
7415         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
7416         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
7417         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
7418         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
7419         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
7420         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
7421         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
7422
7423 2014-06-25  Roland McGrath  <roland@hack.frob.com>
7424
7425         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
7426         that was previously under [RESET_PID].
7427         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
7428
7429 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
7430
7431         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
7432         not undefine and redefine.
7433         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
7434         [O_CLOEXEC]: Make code unconditional.
7435         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
7436         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
7437         <kernel-features.h>.
7438         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
7439         conditional variable definition.
7440         (shm_open) [O_CLOEXEC]: Make code unconditional.
7441         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
7442         code.
7443
7444         * configure.ac (USE_REGPARMS): Don't define here.
7445         * configure: Regenerated.
7446         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
7447         * sysdeps/i386/configure: Regenerated.
7448
7449         * nptl/createthread.c: Don't include kernel-features.h.
7450         * nptl/pthread_cancel.c: Likewise.
7451         * nptl/pthread_condattr_setclock.c: Likewise.
7452         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
7453         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
7454         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
7455         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
7456         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
7457         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
7458         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
7459         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
7460         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
7461         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
7462         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
7463         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
7464         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
7465         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
7466         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
7467         * nscd/gai.c: Likewise.
7468         * nss/nss_db/db-open.c: Likewise.
7469         * sysdeps/generic/ldsodefs.h: Likewise.
7470         * sysdeps/sh/nptl/tls.h: Likewise.
7471         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
7472         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
7473         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
7474         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
7475         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
7476         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
7477         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
7478         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
7479         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
7480         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
7481         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
7482         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
7483         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
7484         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
7485         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
7486         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
7487         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
7488         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
7489         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
7490         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
7491         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
7492         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
7493         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
7494         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
7495         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
7496         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
7497         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
7498         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
7499         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
7500         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
7501         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
7502         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
7503         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
7504         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
7505         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
7506         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
7507         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
7508         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
7509         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
7510         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
7511         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
7512         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
7513         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
7514         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7515         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
7516         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
7517         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
7518         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
7519         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
7520         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
7521         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
7522         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
7523         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
7524         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
7525         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
7526         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
7527         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
7528         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
7529         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
7530         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
7531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
7532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
7533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
7534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
7535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
7536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
7537         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
7538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
7539         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
7540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
7541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
7542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
7543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
7544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
7545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
7546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
7547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
7548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
7549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
7550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
7551         * sysdeps/unix/sysv/linux/pread.c: Likewise.
7552         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
7553         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
7554         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
7555         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
7556         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
7557         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
7558         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
7559         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
7560         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
7561         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
7562         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
7563         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
7564         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
7565         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
7566         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
7567         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
7568         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
7569         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
7570         * sysdeps/unix/sysv/linux/system.c: Likewise.
7571         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
7572         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
7573         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
7574         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
7575         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
7576         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
7577         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
7578
7579         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
7580         * configure: Regenerated.
7581         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
7582
7583         * configure.ac (base_machine): Do not set specially for particular
7584         machines here.
7585         * configure: Regenerated.
7586         * sysdeps/powerpc/preconfigure: Move machine and base_machine
7587         settings from configure.ac.
7588         * sysdeps/i386/preconfigure: New file.
7589         * sysdeps/s390/preconfigure: Likewise.
7590         * sysdeps/sh/preconfigure: Likewise.
7591         * sysdeps/sparc/preconfigure: Likewise.
7592
7593 2014-06-25  Roland McGrath  <roland@hack.frob.com>
7594
7595         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
7596         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
7597         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
7598         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
7599         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
7600         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
7601         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
7602         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
7603         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
7604         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
7605         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
7606         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
7607         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
7608         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
7609         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
7610         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
7611         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
7612         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
7613         * sysdeps/sparc/sparc64/Makefile: ... appended here.
7614
7615         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
7616         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
7617         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
7618         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
7619         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
7620         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
7621         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
7622         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
7623         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
7624         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
7625         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
7626         * sysdeps/sparc/sparc32/sem_post.c: ... here.
7627         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
7628         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
7629         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
7630         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
7631         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
7632         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
7633         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
7634         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
7635         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
7636         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
7637         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
7638         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
7639         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
7640         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
7641         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
7642         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
7643         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
7644         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
7645         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
7646         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
7647         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
7648         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
7649         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
7650         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
7651         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
7652         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
7653
7654         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
7655         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
7656         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
7657         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
7658         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
7659         Moved ...
7660         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
7661         ... here.
7662         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
7663         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
7664         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
7665         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
7666         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
7667         Moved ...
7668         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
7669         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
7670         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
7671         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
7672         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
7673         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
7674         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
7675         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7676         Moved ...
7677         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
7678         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
7679         Moved ...
7680         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
7681         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
7682         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
7683         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
7684         Moved ...
7685         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
7686         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
7687         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
7688         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
7689         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
7690         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
7691         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
7692         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
7693         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
7694         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
7695         Moved ...
7696         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
7697         ... here.
7698         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
7699         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
7700         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
7701         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
7702         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
7703         Moved ...
7704         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
7705         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
7706         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
7707         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
7708         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
7709         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
7710         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
7711         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7712         Moved ...
7713         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
7714         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
7715         Moved ...
7716         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
7717         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
7718         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
7719         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
7720         Moved ...
7721         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
7722         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
7723         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
7724         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
7725         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
7726
7727 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
7728
7729         * timezone/checktab.awk: Update from tzcode 2014e.
7730         * timezone/private.h: Likewise.
7731         * timezone/tzfile.h: Likewise.
7732         * timezone/zdump.c: Likewise.
7733         * timezone/zic.c: Likewise.
7734
7735         * sysdeps/unix/sysv/linux/kernel-features.h
7736         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
7737         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
7738         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
7739         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
7740         Remove conditional code.
7741
7742 2014-06-25  Will Newton  <will.newton@linaro.org>
7743
7744         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
7745         (_dl_arm_cap_flags): Add HWCAP2 values.
7746         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
7747         (_DL_HWCAP_COUNT): Increase to 37.
7748         (_DL_HWCAP_LAST): New define.
7749         (_DL_HWCAP2_LAST): New define.
7750         (_dl_procinfo): Add support for printing
7751         AT_HWCAP2 entries.
7752         (_dl_string_hwcap): Use _dl_hwcap_string.
7753
7754 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7755
7756         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7757
7758 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
7759
7760         * README: Do not mention ports directory.
7761
7762         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
7763         Remove macro.
7764         * sysdeps/unix/sysv/linux/futimes.c: Do not include
7765         <kernel-features.h>.
7766         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
7767         conditional variable definition.
7768         (__futimes): Update comment.
7769         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
7770         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
7771
7772         [BZ #16560]
7773         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
7774         arguments close to 0.
7775         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
7776         Likewise.
7777         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
7778         Likewise.
7779         * math/auto-libm-test-in: Add more tests of exp10.
7780         * math/auto-libm-test-out: Regenerated.
7781         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7782
7783         * sysdeps/unix/sysv/linux/kernel-features.h
7784         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
7785         * sysdeps/unix/sysv/linux/readv.c: Do not include
7786         <kernel-features.h>.
7787         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
7788         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
7789         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
7790         unconditional.
7791         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
7792         conditional code.
7793         * sysdeps/unix/sysv/linux/writev.c: Do not include
7794         <kernel-features.h>.
7795         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
7796         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
7797         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
7798         unconditional.
7799         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
7800         conditional code.
7801
7802 2014-06-25  Will Newton  <will.newton@linaro.org>
7803
7804         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
7805         comment changes throughout the file.  Remove checks
7806         for HAVE_*_H definitions that are not required.
7807         (__gen_tempname): Call abort if an unknown kind value is
7808         passed.
7809
7810 2014-06-25  Andreas Schwab  <schwab@suse.de>
7811
7812         [BZ #17086]
7813         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
7814         scalbln, scalblnf, scalblnl in libc.
7815
7816 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
7817
7818         [BZ #17086]
7819         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
7820         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
7821         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
7822
7823 2014-06-24  Roland McGrath  <roland@hack.frob.com>
7824
7825         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
7826         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
7827         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
7828         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
7829         Update #include.
7830         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
7831         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
7832         Update #include.
7833         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
7834         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
7835         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
7836         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
7837         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
7838         * sysdeps/x86/bits/pthreadtypes.h: ... here.
7839         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
7840         * sysdeps/x86/bits/semaphore.h: ... here.
7841         * sysdeps/x86/nptl/elide.h: Moved ...
7842         * sysdeps/x86/elide.h: ... here.
7843         * sysdeps/x86_64/nptl/Implies: File removed.
7844         * sysdeps/i386/nptl/Implies: File removed.
7845
7846 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
7847
7848         [BZ #16539]
7849         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
7850         return the argument for normal arguments with exponent below -64.
7851         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
7852         Likewise.
7853         * math/auto-libm-test-in: Add another test of expm1.
7854         * math/auto-libm-test-out: Regenerated.
7855
7856         [BZ #16287]
7857         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
7858         calling __erfcl for arguments at least 16.
7859         * math/auto-libm-test-in: Add more tests of erf.
7860         * math/auto-libm-test-out: Regenerated.
7861
7862         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
7863         individual architectures.
7864         * sysdeps/unix/sysv/linux/configure: Regenerated.
7865         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
7866         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
7867         * sysdeps/unix/sysv/linux/powerpc/configure.ac
7868         (ldd_rewrite_script): Define variable.
7869         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
7870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
7871         file.
7872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
7873         generated file.
7874         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
7875         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
7876         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
7877         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
7878         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
7879         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
7880         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
7881         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
7882
7883 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7884
7885         [BZ #17084]
7886         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
7887         Rename member __data.d to __data.__elision_data.
7888
7889 2014-06-24  Wilco  <wdijkstr@arm.com>
7890
7891         * NEWS: Add 16918 to fixed bug list.
7892
7893 2014-06-24  Wilco  <wdijkstr@arm.com>
7894
7895         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
7896
7897 2014-06-24  Wilco  <wdijkstr@arm.com>
7898
7899         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
7900         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
7901         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
7902         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
7903         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
7904         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
7905         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
7906         Use _FPU_MASK_RM.
7907
7908 2014-06-24  Wilco  <wdijkstr@arm.com>
7909
7910         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
7911
7912 2014-06-24  Wilco  <wdijkstr@arm.com>
7913
7914         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
7915         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
7916         * sysdeps/arm/fesetround.c (fesetround): Remove space.
7917         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
7918
7919 2014-06-24  Wilco  <wdijkstr@arm.com>
7920
7921         [BZ #16918]
7922         * sysdeps/arm/feupdateenv.c (feupdateenv):
7923         Rewrite to reduce FPSCR accesses and fix return value.
7924
7925 2014-06-24  Wilco  <wdijkstr@arm.com>
7926
7927         * sysdeps/arm/fclrexcpt.c (feclearexcept):
7928         Optimize to avoid unnecessary FPSCR writes.
7929         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
7930         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
7931         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
7932         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
7933
7934 2014-06-24  Wilco  <wdijkstr@arm.com>
7935
7936         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
7937         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
7938         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
7939         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
7940         Call libc_fetestexcept_vfp.
7941         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
7942         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
7943         __SOFTFP__ ifdef so that they can be built for softfp.
7944
7945 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7946
7947         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
7948         argument type signed char.
7949
7950         * Makerules (check-abi): Dump diff of symlist if the test
7951         fails.
7952
7953 2014-06-23  Roland McGrath  <roland@hack.frob.com>
7954
7955         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
7956         using abort.
7957
7958         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
7959         Remove unused variable ST.
7960
7961 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
7962
7963         [BZ #16354]
7964         [BZ #17061]
7965         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
7966         small arguments before calling __expm1.
7967         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
7968         small arguments before calling __expm1f.
7969         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
7970         small arguments before calling __expm1l.
7971         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
7972         Likewise.
7973         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
7974         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
7975         spurious underflow for some cosh tests.
7976         * math/auto-libm-test-out: Regenerated.
7977         * sysdeps/i386/fpu/libm-test-ulps: Update.
7978
7979         [BZ #17050]
7980         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
7981         (__ieee754_y1): Set errno if return value overflows.
7982         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
7983         (__ieee754_y1f): Set errno if return value overflows.
7984         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
7985         (__ieee754_y1l): Set errno if return value overflows.
7986         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
7987         (__ieee754_y1l): Set errno if return value overflows.
7988         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
7989         * math/auto-libm-test-out: Regenerated.
7990
7991         * math/gen-auto-libm-tests.c: Document use of
7992         ignore-zero-inf-sign.
7993         (input_flag_type): Add value flag_ignore_zero_inf_sign.
7994         (input_flags): Add ignore-zero-inf-sign.
7995         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
7996         * math/gen-libm-test.pl (generate_testfile): Handle
7997         ignore-zero-inf-sign.
7998         * math/auto-libm-test-in: Mark some cpow tests with
7999         ignore-zero-inf-sign and some with xfail-rounding.
8000         * math/auto-libm-test-out: Regenerated.
8001         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
8002         * sysdeps/i386/fpu/libm-test-ulps: Update.
8003         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8004
8005         [BZ #16315]
8006         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
8007         overflowing or underflowing operations take place with sign of
8008         result.
8009         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8010         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
8011         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
8012         (__ieee754_pow): Recompute overflowing and underflowing results in
8013         original rounding mode.
8014         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
8015         (__powl_helper): Allow negative argument X and scale negated value
8016         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
8017         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
8018         overflowing or underflowing operations take place with sign of
8019         result.
8020         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
8021         Include <math.h>.
8022         * math/auto-libm-test-in: Add more tests of pow.
8023         * math/auto-libm-test-out: Regenerated.
8024         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
8025         (pow_tonearest_test_data): Remove.
8026         (pow_test_tonearest): Likewise.
8027         (pow_towardzero_test_data): Likewise.
8028         (pow_test_towardzero): Likewise.
8029         (pow_downward_test_data): Likewise.
8030         (pow_test_downward): Likewise.
8031         (pow_upward_test_data): Likewise.
8032         (pow_test_upward): Likewise.
8033         (main): Don't call removed functions.
8034         * sysdeps/i386/fpu/libm-test-ulps: Update.
8035         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8036
8037 2014-06-23  Roland McGrath  <roland@hack.frob.com>
8038
8039         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
8040         Moved ...
8041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
8042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8043         Moved ...
8044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
8045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
8046         Moved ...
8047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
8048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
8049         Moved ...
8050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
8051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
8052         File removed.
8053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
8054         File removed.
8055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
8056         File removed.
8057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
8058         File removed.
8059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
8060         File removed.
8061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
8062         File removed.
8063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
8064         File removed.
8065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
8066         File removed.
8067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
8068         File removed.
8069         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
8070         File removed.
8071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
8072         File removed.
8073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
8074         File removed.
8075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
8076         Moved ...
8077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
8078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
8079         Moved ...
8080         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
8081         ... here.
8082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
8083         Moved ...
8084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
8085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
8086         Moved ...
8087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
8088         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
8089         Moved ...
8090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
8091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
8092         Moved ...
8093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
8094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
8095         Moved ...
8096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
8097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
8098         Moved ...
8099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
8100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
8101         Moved ...
8102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
8103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
8104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
8105         ... here.
8106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
8107         Moved ...
8108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
8109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
8110         Moved ...
8111         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
8112         ... here.
8113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
8114         Moved ...
8115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8116         ... here.
8117         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8118         Moved ...
8119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
8120         ... here.
8121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
8122         Moved ...
8123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
8124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
8125         Moved ...
8126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
8127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
8128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
8129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
8130         Moved ...
8131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
8132         ... here.
8133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
8134         Moved ...
8135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
8136         ... here.
8137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
8138         Moved ...
8139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
8140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
8141         Moved ...
8142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
8143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
8144         Moved ...
8145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
8146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8147         Moved ...
8148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
8149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
8150         Moved ...
8151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
8152         ... here.
8153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
8154         Moved ...
8155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
8156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
8157         Moved ...
8158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
8159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
8160         Moved ...
8161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
8162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
8163         Moved ...
8164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
8165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
8166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
8167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
8168         Moved ...
8169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
8170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
8171         Moved ...
8172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
8173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
8174         Moved ...
8175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
8176         ... here.
8177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8178         Moved ...
8179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
8180         ... here.
8181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
8182         Moved ...
8183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
8184         ... here.
8185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
8186         Moved ...
8187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
8188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
8189         Moved ...
8190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
8191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
8192         Moved ...
8193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
8194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
8195         Moved ...
8196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
8197         ... here.
8198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
8199         Moved ...
8200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
8201         ... here.
8202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
8203         Moved ...
8204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
8205         ... here.
8206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
8207         Moved ...
8208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
8209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
8210         Moved ...
8211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
8212
8213 2014-06-23  Will Newton  <will.newton@linaro.org>
8214             Wilco  <wdijkstr@arm.com>
8215
8216         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
8217         implementation.  Include get-rounding-mode.h.
8218         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
8219         [!libc_feholdsetround_noex_ctx]: Define
8220         libc_feholdsetround_noex_ctx.
8221         [!libc_feholdsetround_noexf_ctx]: Define
8222         libc_feholdsetround_noexf_ctx.
8223         [!libc_feholdsetround_noexl_ctx]: Define
8224         libc_feholdsetround_noexl_ctx.
8225         (libc_feholdsetround_ctx): New function.
8226         (libc_feresetround_ctx): New function.
8227         (libc_feholdsetround_noex_ctx): New function.
8228         (libc_feresetround_noex_ctx): New function.
8229
8230 2014-06-23  Roland McGrath  <roland@hack.frob.com>
8231
8232         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
8233         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
8234         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
8235         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
8236         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
8237         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
8238
8239         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
8240         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
8241         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
8242         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
8243         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
8244         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
8245         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
8246         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
8247         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
8248         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
8249         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
8250         Moved ...
8251         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
8252         ... here.
8253         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
8254         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
8255         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
8256         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
8257         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
8258         Moved ...
8259         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
8260         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
8261         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
8262         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
8263         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
8264         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
8265         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
8266         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
8267         Moved ...
8268         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
8269         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
8270         Moved ...
8271         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
8272         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
8273         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
8274         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
8275         Moved ...
8276         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
8277         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
8278         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
8279         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
8280         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
8281         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
8282         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
8283         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
8284         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
8285         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
8286         Moved ...
8287         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
8288         ... here.
8289         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
8290         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
8291         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
8292         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
8293         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
8294         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
8295         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
8296         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
8297         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
8298         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
8299         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
8300         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
8301         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
8302         Moved ...
8303         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
8304         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
8305         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
8306         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
8307         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
8308         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
8309         Moved ...
8310         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
8311         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
8312         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
8313         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
8314         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
8315
8316         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
8317         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
8318         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
8319         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
8320         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
8321         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
8322         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
8323         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
8324         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
8325         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
8326         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
8327         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
8328         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
8329         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
8330         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
8331         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
8332         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
8333         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
8334         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
8335         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
8336         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
8337         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
8338         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
8339         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
8340         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
8341         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
8342         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
8343         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
8344
8345 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
8346
8347         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
8348         (FALLOC_FL_COLLAPSE_RANGE): New macro.
8349         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
8350         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
8351         (IPV6_PMTUDISC_INTERFACE): Likewise.
8352         (IPV6_PMTUDISC_OMIT): Likewise.
8353
8354 2014-06-23  Andreas Schwab  <schwab@suse.de>
8355
8356         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
8357         Remove unused errout label.
8358
8359 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8360
8361         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
8362         macro: hardware supports Vector Crypto instructions.
8363
8364 2014-06-23  Will Newton  <will.newton@linaro.org>
8365
8366         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
8367         rather than __builtin_expect.
8368
8369         * elf/dl-lookup.c (undefined_msg): Remove variable.
8370         (_dl_lookup_symbol_x): Replace undefined_msg with string
8371         literal.
8372
8373         * elf/dl-lookup.c (do_lookup_unique): New function.
8374         (do_lookup_x): Move STB_GNU_UNIQUE handling code
8375         to a separate function.
8376
8377 2014-06-23  Andreas Schwab  <schwab@suse.de>
8378
8379         [BZ #17079]
8380         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
8381         before reading the next line.
8382
8383 2014-06-23  Will Newton  <will.newton@linaro.org>
8384
8385         * test-skeleton.c (signal_handler): Use printf and %m
8386         rather than perror.  Use printf rather than fprintf to
8387         stderr.  Use puts rather than fputs to stderr.
8388         (main): Likewise.
8389
8390 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
8391
8392         * nscd/nscd.c (thread_info_t): Remove typedef.
8393         (thread_info): Remove variable.
8394
8395 2014-06-21  Allan McRae  <allan@archlinux.org>
8396
8397         * NEWS: Mention CVE-2014-4043.
8398
8399 2014-06-20  Roland McGrath  <roland@hack.frob.com>
8400
8401         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
8402         * nptl/smp.h: ... here.
8403
8404         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
8405
8406         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
8407         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
8408         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
8409         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
8410
8411         * nptl/allocatestack.c: Include <stack-aliasing.h>.
8412         * nptl/stack-aliasing.h: New file.
8413         * sysdeps/i386/i686/stack-aliasing.h: New file.
8414         * sysdeps/i386/i686/nptl/Makefile: File removed.
8415         * sysdeps/x86_64/stack-aliasing.h: New file.
8416         * sysdeps/x86_64/nptl/Makefile
8417         (CFLAGS-pthread_create.c): Variable removed.
8418
8419         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
8420         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
8421         old file.
8422         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
8423         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
8424         old file.
8425
8426 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
8427
8428         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8429         (__ASSUME_SIGFRAME_V2): Remove macro.
8430         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
8431         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
8432         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
8433         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
8434         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
8435         Declare as function.  Remove conditional macro definitions.
8436         (__default_rt_sa_restorer): Likewise.
8437         (__default_sa_restorer_v1): Remove declaration.
8438         (__default_sa_restorer_v2): Likewise.
8439         (__default_rt_sa_restorer_v1): Likewise.
8440         (__default_rt_sa_restorer_v2): Likewise.
8441         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
8442         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
8443         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
8444
8445 2014-06-20  Roland McGrath  <roland@hack.frob.com>
8446
8447         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
8448         (libpthread-routines): Add sysdep.
8449         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
8450         * sysdeps/unix/sysv/linux/sparc/Versions
8451         (libpthread: GLIBC_2.3.3): New version set.
8452         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
8453         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
8454         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
8455         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
8456         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
8457         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
8458         Moved ...
8459         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
8460         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
8461         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
8462         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
8463         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
8464         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
8465         * sysdeps/sparc/nptl/sem_init.c: ... here.
8466         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
8467         * sysdeps/sparc/nptl/sem_post.c: ... here.
8468         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
8469         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
8470         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
8471         * sysdeps/sparc/nptl/sem_wait.c: ... here.
8472         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
8473         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
8474         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
8475         (libpthread-routines): Add cpu_relax.
8476         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
8477         File removed.
8478         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
8479         (librt: GLIBC_2.3.3): New version set.
8480         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
8481         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
8482         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
8483         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
8484         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
8485         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
8486         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
8487         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
8488         Moved ...
8489         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
8490         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
8491         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
8492         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
8493         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
8494         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
8495         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
8496         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
8497         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
8498         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
8499         Moved ...
8500         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
8501         Update #include.
8502         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
8503         Moved ...
8504         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
8505         Update #include.
8506         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
8507         Moved ...
8508         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
8509         Update #include.
8510         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
8511         Moved ...
8512         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
8513         Update #include.
8514         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
8515         Moved ...
8516         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
8517         Update #include.
8518         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
8519         Moved ...
8520         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
8521         Update #include.
8522         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
8523         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
8524         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
8525         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
8526         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
8527         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
8528         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
8529         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
8530         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
8531         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
8532         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
8533         Moved ...
8534         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
8535         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
8536         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
8537         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
8538         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
8539
8540 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
8541
8542         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
8543         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
8544         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
8545         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
8546         * nscd/nscd.c: Likewise.
8547         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
8548         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
8549         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
8550         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
8551
8552         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
8553         <kernel-features.h>.
8554         (init_mq_netlink): Remove conditional have_sock_cloexec
8555         definitions.  Remove code conditional on have_sock_cloexec < 0.
8556         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
8557         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
8558         * sysdeps/unix/sysv/linux/opensock.c: Do not include
8559         <kernel-features.h>.
8560         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
8561         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
8562
8563 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
8564
8565         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8566         Add tests for memset_chk and memset.
8567
8568         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
8569         with AVX2_Usable.
8570
8571 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
8572
8573         [BZ #16046]
8574         * elf/tst-dl-iter-static.c: New file.
8575         * elf/Makefile (tests-static): Add tst-dl-iter-static.
8576
8577         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
8578         error.
8579
8580 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
8581
8582         * sysdeps/unix/sysv/linux/kernel-features.h
8583         (__ASSUME_F_GETOWN_EX): Remove macro.
8584         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
8585         <kernel-features.h>.
8586         (miss_F_GETOWN_EX): Remove variable or macro.
8587         (do_fcntl): Do not check miss_F_GETOWN_EX.
8588         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
8589
8590         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
8591         Remove macro.
8592         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
8593         [!__ASSUME_AT_RANDOM]: Remove conditional code.
8594         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
8595
8596         * sysdeps/unix/sysv/linux/kernel-features.h
8597         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
8598         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
8599         [ADJ_OFFSET_SS_READ]: Make code unconditional.
8600         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
8601
8602 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
8603
8604         [BZ #17075]
8605         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
8606         Fix calculation of the symbol's value.
8607         * sysdeps/arm/tst-armtlsdescloc.c: New file.
8608         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
8609         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
8610         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
8611         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
8612         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
8613         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
8614         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
8615         (modules-names): Add `tst-armtlsdescmod',
8616         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
8617         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
8618         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
8619         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
8620         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
8621         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
8622         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
8623         ($(objpfx)tst-armtlsdescloc): New dependency.
8624         ($(objpfx)tst-armtlsdescextnow): Likewise.
8625         ($(objpfx)tst-armtlsdescextlazy): Likewise.
8626         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
8627         TLS scheme support.
8628         * sysdeps/arm/configure: Regenerate.
8629
8630 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
8631
8632         * include/fcntl.h (__atfct_seterrno): Remove prototype.
8633         (__atfct_seterrno_2): Likewise.
8634         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
8635         <kernel-features.h>.
8636         (__ASSUME_ATFCTS): Do not undefine and redefine.
8637         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
8638         (__have_atfcts): Remove conditional definition.
8639         (__fxstatat([__NR_fstatat64]: Make code unconditional.
8640         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
8641         unreachable if [__ASSUME_ATFCTS].
8642         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
8643         not undefine and redefine.
8644         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
8645         <kernel-features.h>.
8646         (faccessat) [__NR_faccessat]: Make code unconditional.
8647         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
8648         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
8649         <kernel-features.h>.
8650         (fchmodat) [__NR_fchmodat]: Make code unconditional.
8651         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
8652         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
8653         <kernel-features.h>.
8654         (fchownat) [__NR_fchownat]: Make code unconditional.
8655         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
8656         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
8657         <kernel-features.h>.
8658         (futimesat) [__NR_futimesat]: Make code unconditional.
8659         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
8660         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
8661         <kernel-features.h>.
8662         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
8663         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
8664         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
8665         <kernel-features.h>.
8666         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
8667         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
8668         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
8669         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
8670         <kernel-features.h>.
8671         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
8672         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
8673         * sysdeps/unix/sysv/linux/linkat.c: Do not include
8674         <kernel-features.h>.
8675         (linkat) [__NR_linkat]: Make code unconditional.
8676         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
8677         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
8678         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
8679         <kernel-features.h>.
8680         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
8681         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
8682         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
8683         <kernel-features.h>.
8684         (mkdirat) [__NR_mkdirat]: Make code unconditional.
8685         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
8686         * sysdeps/unix/sysv/linux/openat.c: Do not include
8687         <kernel-features.h>.
8688         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
8689         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
8690         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
8691         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
8692         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
8693         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
8694         <kernel-features.h>.
8695         (readlinkat) [__NR_readlinkat]: Make code unconditional.
8696         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
8697         result of INLINE_SYSCALL directly, not via int variable.
8698         * sysdeps/unix/sysv/linux/renameat.c: Do not include
8699         <kernel-features.h>.
8700         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
8701         (renameat) [__NR_renameat]: Make code unconditional.
8702         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
8703         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
8704         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
8705         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
8706         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
8707         (__ASSUME_ATFCTS): Do not undefine and redefine.
8708         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
8709         <kernel-features.h>.
8710         (symlinkat) [__NR_symlinkat]: Make code unconditional.
8711         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
8712         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
8713         <kernel-features.h>.
8714         (unlinkat) [__NR_unlinkat]: Make code unconditional.
8715         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
8716         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
8717         (__ASSUME_ATFCTS): Do not undefine and redefine.
8718         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
8719         <kernel-features.h>.
8720         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
8721         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
8722         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
8723         <kernel-features.h>.
8724         (__xmknodat) [__NR_mknodat]: Make code unconditional.
8725         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
8726
8727 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
8728
8729         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
8730
8731 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
8732
8733         [BZ #17069]
8734         * posix/regcomp.c (parse_reg_exp): Deallocate partially
8735         constructed tree before returning error.
8736         * posix/bug-regexp36.c: Expand test case.
8737
8738 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
8739
8740         [BZ #6803]
8741         * math/libm-test.inc (scalbln_test_date):
8742         Add errno expectations.
8743         * math/w_scalblnf.c: New File.
8744         Add wrapper which checks for setting errno to ERANGE.
8745         Add weak_alias for corresponding scalbln function.
8746         * math/w_scalbln.c: Likewise.
8747         * math/w_scalblnl.c: Likewise.
8748         * math/Makefile (libm-calls): Add w_scalbln.
8749         * sysdeps/ieee754/flt-32/s_scalblnf.c:
8750         Remove weak_alias for corresponding scalbln function.
8751         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8752         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
8753         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
8754         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8755         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
8756         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
8757         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
8758         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
8759         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
8760         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
8761         Remove long_double_symbol for scalblnl function in libm, libc.
8762         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
8763         Add wrapper which checks for setting errno to ERANGE.
8764         Add long_double_symbol for scalblnl function in libm, libc.
8765         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
8766         Remove long_double_symbol for scalblnl in libm.
8767         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
8768         Add wrapper which checks for setting errno to ERANGE.
8769         Add long_double_symbol for scalblnl function in libm.
8770         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
8771         Do not use wrapper because of own implementation.
8772
8773 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
8774
8775         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
8776         3 bytes for __pad1 for x32.
8777         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
8778
8779 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
8780             H.J. Lu  <hongjiu.lu@intel.com>
8781
8782         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
8783         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
8784         * sysdeps/x86_64/multiarch/memset.S: Likewise.
8785         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8786         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
8787
8788 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
8789
8790         [BZ #17069]
8791         * posix/regcomp.c (parse_expression): Deallocate partially
8792         constructed tree before returning error.
8793         * posix/Makefile.c (tests): Add bug-regex36.
8794         (generated): Add bug-regex36.mtrace.
8795         (tests-special): Add $(objpfx)bug-regex36-mem.out
8796         (bug-regex36-ENV): New variable.
8797         ($(objpfx)bug-regex36-mem.out): New rule.
8798         * posix/bug-regex36.c: New file.
8799
8800 2014-06-19  Will Newton  <will.newton@linaro.org>
8801
8802         * malloc/malloc.c (systrim): If extra is zero then return
8803         early.
8804
8805 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
8806
8807         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
8808
8809 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
8810
8811         * sysdeps/aarch64/strchr.S: New file.
8812
8813 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
8814
8815         [BZ #17022]
8816         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
8817         from arguments -2 or below.
8818         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
8819         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
8820
8821 2014-06-18  Andreas Schwab  <schwab@suse.de>
8822
8823         [BZ #17062]
8824         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
8825         of a bracket expr not to run off the end of the string.
8826         * posix/Makefile (tests): Add tst-fnmatch3.
8827         * posix/tst-fnmatch3.c: New file.
8828
8829 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
8830
8831         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
8832         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
8833         [$(cross-compiling) = no]: Likewise.
8834         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
8835         [$(cross-compiling) = no]: Likewise.
8836
8837 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8838
8839         [BZ #17031]
8840         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
8841         double, adjusted for any remainder from the high double.
8842         * math/libm-test.inc (nearbyint): Add tests.
8843         (rint): Likewise.
8844
8845 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8846
8847         * nptl/sysdeps/powerpc/Makefile: Moved ...
8848         * sysdeps/powerpc/nptl/Makefile: ... here.
8849         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
8850         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
8851         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
8852         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
8853         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
8854         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
8855         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
8856         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
8857         * nptl/sysdeps/powerpc/tls.h: Moved ...
8858         * sysdeps/powerpc/nptl/tls.h: ... here.
8859
8860 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
8861
8862         [BZ #16681]
8863         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
8864         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
8865         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
8866         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
8867         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
8868         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
8869         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
8870         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
8871         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
8872
8873 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
8874
8875         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
8876
8877 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
8878
8879         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
8880         defined operator.
8881
8882         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
8883         $TIMEOUTFACTOR.
8884
8885 2014-06-16  Florian Weimer  <fweimer@redhat.com>
8886
8887         [BZ #17058]
8888         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
8889         non-executed part of the test.
8890
8891 2014-06-16  Andreas Schwab  <schwab@suse.de>
8892
8893         * string/bits/string2.h (strdup, strndup): Update feature guard.
8894
8895 2014-06-14  David S. Miller  <davem@davemloft.net>
8896
8897         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8898
8899 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
8900
8901         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
8902         that was previously under [RESET_PID].
8903         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
8904
8905         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
8906         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
8907         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
8908         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8909         (__libc_vfork): New strong alias.
8910         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
8911
8912 2014-06-14 Andi Kleen  <ak@linux.intel.com>
8913
8914         * sysdeps/generic/elide.h: New file.
8915
8916 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
8917
8918         * Makefile (installed-headers): Adjust path of pthread.h header.
8919
8920 2014-06-13  Roland McGrath  <roland@hack.frob.com>
8921
8922         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
8923         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
8924         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
8925         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
8926
8927         * nptl/sysdeps/s390/Makefile: Moved ...
8928         * sysdeps/s390/nptl/Makefile: ... here.
8929         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
8930         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
8931         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
8932         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
8933         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
8934         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
8935         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
8936         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
8937         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
8938         * sysdeps/s390/nptl/pthreaddef.h: ... here.
8939         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
8940         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
8941         * nptl/sysdeps/s390/tls.h: Moved ...
8942         * sysdeps/s390/nptl/tls.h: ... here.
8943
8944         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
8945         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
8946
8947 2014-06-13  David S. Miller  <davem@davemloft.net>
8948
8949         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
8950         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
8951         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
8952         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
8953         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
8954         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
8955         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
8956         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
8957         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
8958         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
8959         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
8960         Remove RESET_PID cpp guards.
8961         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
8962         Remove RESET_PID cpp guards.
8963         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
8964
8965 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
8966
8967         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
8968         __sp to uintptr_t.
8969
8970 2014-06-13  Andi Kleen  <ak@linux.intel.com>
8971
8972         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
8973         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
8974         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
8975         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
8976         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
8977         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
8978         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
8979         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
8980         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
8981         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
8982         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
8983         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
8984         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
8985         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
8986         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
8987         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
8988         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
8989         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
8990         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
8991         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8992
8993         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
8994         (pthread_rwlock_rdlock): Add elision.
8995         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
8996         (pthread_rwlock_wrlock): Add elision.
8997         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
8998         (pthread_rwlock_trywrlock): Add elision.
8999         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
9000         (pthread_rwlock_tryrdlock): Add elision.
9001         * nptl/pthread_rwlock_unlock.c: Include elide.h.
9002         (pthread_rwlock_tryrdlock): Add elision unlock.
9003         * nptl/sysdeps/pthread/pthread.h:
9004         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
9005         (PTHREAD_RWLOCK_INITIALIZER,
9006         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
9007         Handle new elision field.
9008         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
9009         * sysdeps/arm/nptl/bits/pthreadtypes.h
9010         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9011         * sysdeps/sh/nptl/bits/pthreadtypes.h
9012         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9013         * sysdeps/tile/nptl/bits/pthreadtypes.h
9014         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9015         * sysdeps/a/nptl/bits/pthreadtypes.h
9016         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9017         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
9018         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9019         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
9020         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9021         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
9022         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9023         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
9024         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9025         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
9026         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9027         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
9028         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9029         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
9030         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9031         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
9032         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9033         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
9034         (elision_init): Set try_xbegin to zero when no RTM.
9035         * sysdeps/x86/nptl/bits/pthreadtypes.h
9036         (pthread_rwlock_t): Change __pad1 to __rwelision.
9037         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9038
9039 2014-06-13  Andi Kleen  <ak@linux.intel.com>
9040
9041         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
9042         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
9043         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
9044         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
9045
9046 2014-06-13  Meador Inge  <meadori@codesourcery.com>
9047
9048         [BZ #16996]
9049         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
9050         that the cached result has been set before returning it.
9051
9052 2014-06-12  Roland McGrath  <roland@hack.frob.com>
9053
9054         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
9055         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
9056         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
9057         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
9058         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
9059         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
9060
9061         * nptl/sysdeps/sparc/Makefile: Moved ...
9062         * sysdeps/sparc/nptl/Makefile: ... here.
9063         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
9064         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
9065         * nptl/sysdeps/sparc/tls.h: Moved ...
9066         * sysdeps/sparc/nptl/tls.h: ... here.
9067         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
9068         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
9069         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
9070         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
9071         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
9072         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
9073         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
9074         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
9075         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
9076         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
9077         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
9078         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
9079         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
9080         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
9081         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
9082         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
9083         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
9084         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
9085         Update #include.
9086         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
9087         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
9088         Update #include.
9089         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
9090         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
9091         Update #include.
9092         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
9093         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
9094         Update #include.
9095
9096         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
9097
9098         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
9099         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
9100
9101         * sysdeps/pthread/posix-timer.h: Include <list.h>.
9102         (struct list_links): Type removed.
9103         (struct thread_node, struct timer_node): Replace struct list_links
9104         with struct list_head.
9105         (list_unlink_ip): Likewise.
9106         * sysdeps/pthread/timer_routines.c
9107         (timer_free_list, thread_free_list, thread_active_list): Likewise.
9108         (list_append, list_insbefore): Likewise.
9109         (list_init): Function removed.
9110         (thread_init, init_module): Use INIT_LIST_HEAD instead.
9111         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
9112         * sysdeps/pthread/Makefile: ... here, new file.
9113
9114         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
9115         * sysdeps/nptl/Implies: ... here.
9116         * sysdeps/unix/sysv/linux/Implies: Add nptl.
9117         * nptl/sysdeps/pthread/list.h: Moved ...
9118         * include/list.h: ... here.
9119         * nptl/sysdeps/pthread/createthread.c: Moved ...
9120         * nptl/createthread.c: ... here.
9121         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
9122         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
9123         * nptl/pt-longjmp.c: ... here.
9124         * nptl/sysdeps/pthread/Makefile: Moved ...
9125         * sysdeps/nptl/Makefile: ... here.
9126         * nptl/sysdeps/pthread/Subdirs: Moved ...
9127         * sysdeps/nptl/Subdirs: ... here.
9128         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
9129         * sysdeps/nptl/aio_misc.h: ... here.
9130         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
9131         * sysdeps/nptl/bits/libc-lock.h: ... here.
9132         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
9133         * sysdeps/nptl/bits/libc-lockP.h: ... here.
9134         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
9135         * sysdeps/nptl/bits/stdio-lock.h: ... here.
9136         * nptl/sysdeps/pthread/configure: Moved ...
9137         * sysdeps/nptl/configure: ... here.
9138         * nptl/sysdeps/pthread/configure.ac: Moved ...
9139         * sysdeps/nptl/configure.ac: ... here.
9140         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
9141         * sysdeps/nptl/gai_misc.h: ... here.
9142         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
9143         * sysdeps/nptl/librt-cancellation.c: ... here.
9144         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
9145         * sysdeps/nptl/malloc-machine.h: ... here.
9146         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
9147         * sysdeps/nptl/pthread-functions.h: ... here.
9148         * nptl/sysdeps/pthread/pthread.h: Moved ...
9149         * sysdeps/nptl/pthread.h: ... here.
9150         * nptl/sysdeps/pthread/setxid.h: Moved ...
9151         * sysdeps/nptl/setxid.h: ... here.
9152         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
9153         * sysdeps/nptl/sigfillset.c: ... here.
9154         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
9155         * sysdeps/nptl/tcb-offsets.h: ... here.
9156         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
9157         * sysdeps/nptl/tst-mqueue8x.c: ... here.
9158         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
9159         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
9160         * nptl/sysdeps/pthread/allocalim.h: Moved ...
9161         * sysdeps/pthread/allocalim.h: ... here.
9162         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
9163         * sysdeps/pthread/bits/sigthread.h: ... here.
9164         * nptl/sysdeps/pthread/flockfile.c: Moved ...
9165         * sysdeps/pthread/flockfile.c: ... here.
9166         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
9167         * sysdeps/pthread/ftrylockfile.c: ... here.
9168         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
9169         * sysdeps/pthread/funlockfile.c: ... here.
9170         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
9171         * sysdeps/pthread/posix-timer.h: ... here.
9172         * nptl/sysdeps/pthread/timer_create.c: Moved ...
9173         * sysdeps/pthread/timer_create.c: ... here.
9174         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
9175         * sysdeps/pthread/timer_delete.c: ... here.
9176         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
9177         * sysdeps/pthread/timer_getoverr.c: ... here.
9178         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
9179         * sysdeps/pthread/timer_gettime.c: ... here.
9180         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
9181         * sysdeps/pthread/timer_routines.c: ... here.
9182         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
9183         * sysdeps/pthread/timer_settime.c: ... here.
9184         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
9185         * sysdeps/pthread/tst-timer.c: ... here.
9186         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
9187         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
9188
9189         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
9190         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
9191
9192         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
9193         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
9194         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
9195         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
9196         Update #include target.
9197         * nptl/sysdeps/i386/i686/Makefile: Moved ...
9198         * sysdeps/i386/i686/nptl/Makefile: ... here.
9199         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
9200         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
9201         Update #include target.
9202         * nptl/sysdeps/i386/i686/tls.h: Moved ...
9203         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
9204         * nptl/sysdeps/i386/Makefile: Moved ...
9205         * sysdeps/i386/nptl/Makefile: ... here.
9206         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
9207         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
9208         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
9209         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
9210         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
9211         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
9212         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
9213         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
9214         * sysdeps/i386/nptl/pthreaddef.h: ... here.
9215         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
9216         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
9217         * nptl/sysdeps/i386/tls.h: Moved ...
9218         * sysdeps/i386/nptl/tls.h: ... here.
9219
9220         * sysdeps/sh/Makefile [$(subdir) = csu]
9221         (gen-as-const-headers): Add tcb-offsets.sym.
9222         * nptl/sysdeps/sh/Makefile: File removed.
9223         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
9224         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
9225         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
9226         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
9227         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
9228         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
9229         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
9230         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
9231         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
9232         * sysdeps/sh/nptl/pthreaddef.h: ... here.
9233         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
9234         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
9235         * nptl/sysdeps/sh/tls.h: Moved ...
9236         * sysdeps/sh/nptl/tls.h: ... here.
9237         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
9238         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
9239         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
9240         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
9241         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
9242         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
9243         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
9244         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
9245         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
9246         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
9247         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
9248         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
9249         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
9250         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
9251         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
9252         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
9253         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
9254         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
9255         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
9256         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
9257         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
9258         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
9259         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
9260         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
9261         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
9262         Moved ...
9263         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
9264         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
9265         Moved ...
9266         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
9267         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
9268         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
9269         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
9270         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
9271         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
9272         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
9273         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
9274         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
9275         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
9276         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
9277         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
9278         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
9279         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
9280         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
9281         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
9282         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
9283         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
9284         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
9285
9286 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
9287
9288         * posix/spawn_faction_addopen.c: Include string.h.
9289
9290 2014-06-11  Roland McGrath  <roland@hack.frob.com>
9291
9292         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
9293         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
9294         * nptl/sysdeps/x86_64/Makefile: Moved ...
9295         * sysdeps/x86_64/nptl/Makefile: ... here.
9296         * nptl/sysdeps/x86_64/configure: Moved ...
9297         * sysdeps/x86_64/nptl/configure: ... here.
9298         * nptl/sysdeps/x86_64/configure.ac: Moved ...
9299         * sysdeps/x86_64/nptl/configure.ac: ... here.
9300         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
9301         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
9302         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
9303         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
9304         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
9305         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
9306         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
9307         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
9308         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
9309         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
9310         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
9311         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
9312         * nptl/sysdeps/x86_64/tls.h: Moved ...
9313         * sysdeps/x86_64/nptl/tls.h: ... here.
9314         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
9315         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
9316         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
9317         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
9318
9319         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
9320
9321 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9322
9323         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9324
9325 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
9326
9327         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
9328         type.
9329         [POSIX] (off_t): Likewise.
9330         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
9331         [POSIX] (S_ISBLK): Require macro.
9332         [POSIX] (S_ISCHR): Likewise.
9333         [POSIX] (S_ISDIR): Likewise.
9334         [POSIX] (S_ISFIFO): Likewise.
9335         [POSIX] (S_ISREG): Likewise.
9336         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
9337         optional-macro.
9338         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
9339         type.
9340         [POSIX] (time_t): Likewise.
9341         [POSIX] (timer_t): Likewise.
9342
9343 2014-06-11  Florian Weimer  <fweimer@redhat.com>
9344
9345         [BZ #17048]
9346         * posix/spawn_int.h (struct __spawn_action): Make the path string
9347         non-const to support deallocation.
9348         * posix/spawn_faction_addopen.c
9349         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
9350         * posix/spawn_faction_destroy.c
9351         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
9352         path in all spawn_do_open actions.
9353         * posix/tst-spawn.c (do_test): Exercise the copy operation in
9354         posix_spawn_file_actions_addopen.
9355
9356 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
9357
9358         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
9359         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
9360         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
9361         conditional code always true.
9362         (__libc_vfork): New alias.
9363
9364 2014-06-11  Roland McGrath  <roland@hack.frob.com>
9365
9366         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9367         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
9368
9369         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
9370
9371         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9372         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
9373
9374         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
9375         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
9376
9377         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9378         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
9379
9380 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
9381
9382         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
9383         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
9384         multiarch strcmp for PPC64.
9385         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
9386         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
9387         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
9388         multiarch optimizations.
9389         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9390         (__libc_ifunc_impl_list): Likewise.
9391
9392 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
9393
9394         * benchtests/scripts/validate_benchout.py: New script.
9395         * benchtests/Makefile (bench-func): Call it.
9396         * benchtests/scripts/benchout.schema.json: New file.
9397
9398 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
9399
9400         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
9401         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
9402         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
9403         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
9404         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
9405         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
9406         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
9407         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
9408         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
9409         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
9410         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
9411         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
9412         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
9413         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
9414         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
9415         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
9416         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
9417         Moved ...
9418         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
9419         ... here.
9420         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
9421         Moved ...
9422         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
9423         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
9424         Moved ...
9425         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
9426         ... here.
9427         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
9428         Moved ...
9429         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
9430         ... here.
9431         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
9432         Moved ...
9433         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
9434         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
9435         Moved ...
9436         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
9437         ... here.
9438         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
9439         Moved ...
9440         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
9441         ... here.
9442         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
9443         Moved ...
9444         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
9445         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
9446         Moved ...
9447         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
9448         ... here.
9449         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
9450         Moved ...
9451         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
9452         ... here.
9453         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
9454         Moved ...
9455         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
9456         ... here.
9457         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
9458         Moved ...
9459         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
9460         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
9461         Moved ...
9462         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
9463         ... here.
9464         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
9465         Moved ...
9466         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
9467         ... here.
9468         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
9469         Moved ...
9470         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
9471         ... here.
9472         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
9473         Moved ...
9474         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
9475         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
9476         Moved ...
9477         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
9478         ... here.
9479         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
9480         Moved ...
9481         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
9482         ... here.
9483         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
9484         Moved ...
9485         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
9486         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
9487         Moved ...
9488         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
9489         ... here.
9490         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
9491         Moved ...
9492         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
9493         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
9494         Moved ...
9495         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
9496         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
9497         Moved ...
9498         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
9499         ... here.
9500         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
9501         Moved ...
9502         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
9503         ... here.
9504         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
9505         Moved ...
9506         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
9507         ... here.
9508         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
9509         Moved ...
9510         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
9511         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
9512         Moved ...
9513         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
9514         ... here.
9515         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
9516         Moved ...
9517         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
9518         ... here.
9519         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
9520         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
9521         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
9522         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
9523         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
9524         Moved ...
9525         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
9526         ... here.
9527         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
9528         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
9529         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
9530         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
9531         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
9532         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
9533         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
9534         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
9535         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
9536         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
9537         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
9538         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
9539         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
9540         Moved ...
9541         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
9542         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
9543         Moved ...
9544         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
9545         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
9546         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
9547         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
9548         Moved ...
9549         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
9550         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
9551         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
9552         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
9553         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
9554         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
9555         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
9556
9557 2014-06-10  Wilco  <wdijkstr@arm.com>
9558
9559         * math/test-fenv-return.c: New file.
9560         * math/Makefile: Add new test test-fenv-return.
9561
9562 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
9563
9564         [BZ #17042]
9565         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
9566         when x - 1 is zero.
9567         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
9568         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
9569         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
9570         0.0L for an argument of 1.0L.
9571         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
9572         Likewise.
9573         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
9574         value when x - 1 is zero.
9575         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
9576         * sysdeps/i386/fpu/libm-test-ulps: Update.
9577         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9578
9579 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
9580
9581         [BZ #15119]
9582         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
9583
9584 2014-06-09  Roland McGrath  <roland@hack.frob.com>
9585
9586         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
9587         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
9588
9589 2014-06-09  Roland McGrath  <roland@hack.frob.com>
9590
9591         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9592         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
9593
9594         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9595         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
9596
9597         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9598         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
9599
9600         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9601         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
9602
9603         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
9604         if not already defined.
9605         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
9606         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
9607         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
9608         (TLS_INIT_TP): Use it.
9609         (TLS_DEFINE_INIT_TP): New macro.
9610         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
9611
9612 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
9613
9614         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
9615         constant.
9616         [POSIX] (IXANY): Likewise.
9617         [POSIX] (OLCUC): Likewise.
9618         [POSIX || POSIX2008] (CBAUD): Do not allow.
9619         [POSIX || POSIX2008] (DEFECHO): Likewise.
9620         [POSIX || POSIX2008] (ECHOCTL): Likewise.
9621         [POSIX || POSIX2008] (ECHOKE): Likewise.
9622         [POSIX || POSIX2008] (ECHOPRT): Likewise.
9623         [POSIX || POSIX2008] (EXTA): Likewise.
9624         [POSIX || POSIX2008] (EXTB): Likewise.
9625         [POSIX || POSIX2008] (FLUSHO): Likewise.
9626         [POSIX || POSIX2008] (LOBLK): Likewise.
9627         [POSIX || POSIX2008] (PENDIN): Likewise.
9628         [POSIX || POSIX2008] (SWTCH): Likewise.
9629         [POSIX || POSIX2008] (VDISCARD): Likewise.
9630         [POSIX || POSIX2008] (VDSUSP): Likewise.
9631         [POSIX || POSIX2008] (VLNEXT): Likewise.
9632         [POSIX || POSIX2008] (VREPRINT): Likewise.
9633         [POSIX || POSIX2008] (VSTATUS): Likewise.
9634         [POSIX || POSIX2008] (VWERASE): Likewise.
9635         (B*): Change to B[0123456789]*.
9636         * conform/data/time.h-data [POSIX || UNIX98]
9637         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
9638         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
9639         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
9640         [POSIX] (tm_*): Do not allow.
9641
9642 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
9643
9644         * Makefile (install): Don't set LANGUAGE.
9645         * Makefile.in (install): Likewise.
9646         * assert/Makefile (test-assert-ENV): Remove variable.
9647         (test-assert-perr-ENV): Likewise.
9648         * elf/Makefile (neededtest4-ENV): Likewise.
9649         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
9650         [$(cross-compiling) = no]: Don't set LANGUAGE.
9651         * io/ftwtest-sh (LANG): Remove variable.
9652         * libio/Makefile (tst-widetext-ENV): Likewise.
9653         * manual/install.texi (Running make install): Don't refer to
9654         environment settings for make install.
9655         * INSTALL: Regenerated.
9656         * nptl/tst-tls6.sh: Don't set LANG.
9657         * posix/globtest.sh (LANG): Remove variable.
9658         * string/Makefile (tester-ENV): Likewise.
9659         (inl-tester-ENV): Likewise.
9660         (noinl-tester-ENV): Likewise.
9661         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
9662         [$(cross-compiling) = no]: Don't set LANGUAGE.
9663         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
9664         without explicit environment settings.
9665
9666 2014-06-06  Roland McGrath  <roland@hack.frob.com>
9667
9668         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
9669         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
9670         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
9671         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
9672
9673 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
9674
9675         * crypt/crypt-private.h [DOS]: Add some includes taken from the
9676         other files in the crypt directory.
9677         * crypt/crypt.c: Remove duplicate includes.
9678         * crypt/crypt-entry.c: Likewise.
9679         * crypt/crypt_util.c: Likewise.
9680
9681 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
9682
9683         * Makeconfig (run-program-env): New variable.
9684         (run-program-prefix-before-env): Likewise.
9685         (run-program-prefix-after-env): Likewise.
9686         (run-program-prefix): Define in terms of new variables.
9687         (built-program-cmd-before-env): New variable.
9688         (built-program-cmd-after-env): Likewise.
9689         (built-program-cmd): Define in terms of new variables.
9690         (test-program-prefix-before-env): New variable.
9691         (test-program-prefix-after-env): Likewise.
9692         (test-program-prefix): Define in terms of new variables.
9693         (test-program-cmd-before-env): New variable.
9694         (test-program-cmd-after-env): Likewise.
9695         (test-program-cmd): Define in terms of new variables.
9696         * Rules (make-test-out): Use $(run-program-env).
9697         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
9698         (help): Do not mention environment variables.  Mention
9699         --timeoutfactor option.
9700         (timeoutfactor): New variable.
9701         (blacklist_exports): Remove function.
9702         (exports): Remove variable.
9703         (command): Do not include ${exports}.
9704         * manual/install.texi (Configuring and compiling): Do not mention
9705         test wrappers preserving environment variables.  Mention that last
9706         assignment to a variable must take precedence.
9707         * INSTALL: Regenerated.
9708         * benchtests/Makefile (run-bench): Use $(run-program-env).
9709         * catgets/Makefile ($(objpfx)test1.cat): Use
9710         $(built-program-cmd-before-env), $(run-program-env) and
9711         $(built-program-cmd-after-env).
9712         ($(objpfx)test2.cat): Do not specify environment variables
9713         explicitly.
9714         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
9715         $(run-program-env) and $(built-program-cmd-after-env).
9716         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
9717         $(run-program-env) and $(test-program-cmd-after-env).
9718         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
9719         explicitly.
9720         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
9721         run_program_env and test_program_cmd_after_env arguments.
9722         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
9723         * elf/tst-pathopt.sh: Use run_program_env argument.
9724         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
9725         $(test-wrapper-env) and $(run-program-env).
9726         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
9727         run_program_env arguments.
9728         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
9729         * intl/Makefile ($(objpfx)tst-gettext.out): Use
9730         $(test-program-prefix-before-env), $(run-program-env) and
9731         $(test-program-prefix-after-env).
9732         ($(objpfx)tst-gettext2.out): Likewise.
9733         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
9734         run_program_env and test_program_prefix_after_env arguments.
9735         * intl/tst-gettext2.sh: Likewise.
9736         * intl/tst-gettext4.sh: Do not set environment variables
9737         explicitly.
9738         * intl/tst-gettext6.sh: Likewise.
9739         * intl/tst-translit.sh: Likewise.
9740         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
9741         $(test-program-prefix-before-env), $(run-program-env) and
9742         $(test-program-prefix-after-env).
9743         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
9744         run_program_env and test_program_prefix_after_env arguments.
9745         * math/Makefile (run-regen-ulps): Use $(run-program-env).
9746         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
9747         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
9748         explicitly with each use of ${test_wrapper_env}.
9749         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
9750         $(test-program-prefix-before-env), $(run-program-env) and
9751         $(test-program-prefix-after-env).
9752         * posix/tst-getconf.sh: Do not set environment variables
9753         explicitly.
9754         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
9755         run_program_env and test_program_prefix_after_env arguments.
9756         * stdio-common/tst-printf.sh: Do not set environment variables
9757         explicitly.
9758         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
9759         $(test-program-prefix-before-env), $(run-program-env) and
9760         $(test-program-prefix-after-env).
9761         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
9762         run_program_env and test_program_prefix_after_env arguments.
9763         Split $test calls into $test_pre and $test.
9764         * timezone/Makefile (build-testdata): Use
9765         $(built-program-cmd-before-env), $(run-program-env) and
9766         $(built-program-cmd-after-env).
9767
9768 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9769
9770         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
9771         strlen for non SHARED builds.
9772
9773 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
9774
9775         * nptl/allocatestack.c (check_list): Inlined function...
9776         (__reclaim_stacks): ... here.
9777
9778 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
9779
9780         [BZ #15698]
9781         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
9782         memory overrun.
9783
9784 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
9785
9786         * Rules (make-test-out): Include
9787         LOCPATH=$(common-objpfx)localedata in default environment.
9788         * debug/Makefile (tst-chk1-ENV): Remove variable.
9789         (tst-chk2-ENV): Likewise.
9790         (tst-chk3-ENV): Likewise.
9791         (tst-chk4-ENV): Likewise.
9792         (tst-chk5-ENV): Likewise.
9793         (tst-chk6-ENV): Likewise.
9794         (tst-lfschk1-ENV): Likewise.
9795         (tst-lfschk2-ENV): Likewise.
9796         (tst-lfschk3-ENV): Likewise.
9797         (tst-lfschk4-ENV): Likewise.
9798         (tst-lfschk5-ENV): Likewise.
9799         (tst-lfschk6-ENV): Likewise.
9800         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
9801         (tst-iconv7-ENV): Likewise.
9802         * intl/Makefile (LOCPATH-ENV): Likewise.
9803         (tst-codeset-ENV): Likewise.
9804         (tst-gettext3-ENV): Likewise.
9805         (tst-gettext5-ENV): Likewise.
9806         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
9807         (tst-fopenloc-ENV): Likewise.
9808         (tst-fgetws-ENV): Remove variable.
9809         (tst-ungetwc1-ENV): Likewise.
9810         (tst-ungetwc2-ENV): Likewise.
9811         (bug-ungetwc2-ENV): Likewise.
9812         (tst-swscanf-ENV): Likewise.
9813         (bug-ftell-ENV): Likewise.
9814         (tst-fgetwc-ENV): Likewise.
9815         (tst-fseek-ENV): Likewise.
9816         (tst-ftell-partial-wide-ENV): Likewise.
9817         (tst-ftell-active-handler-ENV): Likewise.
9818         (tst-ftell-append-ENV): Likewise.
9819         * posix/Makefile (tst-fnmatch-ENV): Likewise.
9820         (tst-regexloc-ENV): Likewise.
9821         (bug-regex1-ENV): Likewise.
9822         (tst-regex-ENV): Likewise.
9823         (tst-regex2-ENV): Likewise.
9824         (bug-regex5-ENV): Likewise.
9825         (bug-regex6-ENV): Likewise.
9826         (bug-regex17-ENV): Likewise.
9827         (bug-regex18-ENV): Likewise.
9828         (bug-regex19-ENV): Likewise.
9829         (bug-regex20-ENV): Likewise.
9830         (bug-regex22-ENV): Likewise.
9831         (bug-regex23-ENV): Likewise.
9832         (bug-regex25-ENV): Likewise.
9833         (bug-regex26-ENV): Likewise.
9834         (bug-regex30-ENV): Likewise.
9835         (bug-regex32-ENV): Likewise.
9836         (bug-regex33-ENV): Likewise.
9837         (bug-regex34-ENV): Likewise.
9838         (bug-regex35-ENV): Likewise.
9839         (tst-rxspencer-ENV): Likewise.
9840         (tst-rxspencer-no-utf8-ENV): Likewise.
9841         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
9842         (tst-sscanf-ENV): Likewise.
9843         (tst-swprintf-ENV): Likewise.
9844         (tst-swscanf-ENV): Likewise.
9845         (test-vfprintf-ENV): Likewise.
9846         (scanf13-ENV): Likewise.
9847         (bug14-ENV): Likewise.
9848         (tst-grouping-ENV): Likewise.
9849         * stdlib/Makefile (tst-strtod-ENV): Likewise.
9850         (tst-strtod3-ENV): Likewise.
9851         (tst-strtod4-ENV): Likewise.
9852         (tst-strtod5-ENV): Likewise.
9853         (testmb2-ENV): Likewise./
9854         * string/Makefile (tst-strxfrm-ENV): Likewise.
9855         (tst-strxfrm2-ENV): Likewise.
9856         (bug-strcoll1-ENV): Likewise.
9857         (test-strcasecmp-ENV): Likewise.
9858         (test-strncasecmp-ENV): Likewise.
9859         * time/Makefile (tst-strptime-ENV): Likewise.
9860         (tst-ftime_l-ENV): Likewise.
9861         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
9862         (tst-mbrtowc-ENV): Likewise.
9863         (tst-wcrtomb-ENV): Likewise.
9864         (tst-mbrtowc2-ENV): Likewise.
9865         (tst-c16c32-1-ENV): Likewise.
9866         (tst-mbsnrtowcs-ENV): Likewise.
9867
9868 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
9869
9870         * manual/resource.texi (How to get information about the memory
9871         subsystem?): Fix typo.
9872         Reported by Peon de la Parra Ivan <peon@keba.com>
9873
9874 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
9875
9876         [BZ #16882]
9877         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
9878         (pthread_spin_lock): Branch out of spin loop to proper location.
9879         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
9880         (pthread_spin_lock): Likewise.
9881
9882         * nptl/tst-spin4.c: New test.
9883         * nptl/Makefile (tests): Add tst-spin4.
9884
9885 2014-06-03  Andreas Schwab  <schwab@suse.de>
9886
9887         [BZ #15946]
9888         * resolv/res_send.c (send_dg): Reload file descriptor after
9889         calling reopen.
9890
9891 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
9892
9893         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9894
9895 2014-06-03  Richard Henderson  <rth@redhat.com>
9896
9897         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
9898         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
9899         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
9900         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
9901         in the SAVE_PID block.
9902         (__libc_vfork): New alias.
9903         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
9904
9905         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
9906         child in registers, not on the stack.  Remove RESET_PID conditionals.
9907         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
9908
9909 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
9910
9911         * sysdeps/aarch64/libm-test-ulps: Regenerate.
9912
9913 2014-06-03  Wilco  <wdijkstr@arm.com>
9914
9915         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
9916         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
9917         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
9918         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
9919         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
9920         Likewise.
9921
9922 2014-06-03  Wilco  <wdijkstr@arm.com>
9923
9924         * sysdeps/aarch64/fpu/math_private.h
9925         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
9926         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
9927         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
9928         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
9929         Fix declarations.
9930
9931 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
9932
9933         * crypt/crypt-private.h: Include ufc-crypt.h.
9934         (__b64_from_24bit): Declare extern.
9935         * crypt/crypt_util.c(__b64_from_24bit): New function.
9936         (b64t): New static const variable.
9937         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
9938         (b64t): Remove variable.
9939         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
9940         * crypt/sha256-crypt.c: Include crypt-private.h.
9941         (b64t): Remove variable.
9942         (__sha256_crypt_r): Remove b64_from_24bit and replace
9943         with __b64_from_24bit.
9944         * crypt/sha512-crypt.c: Likewise.
9945
9946 2014-06-02  Roland McGrath  <roland@hack.frob.com>
9947
9948         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
9949         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
9950         Label the code __libc_vfork rather than __vfork.
9951         [!NOT_IN_libc] (vfork): Define as weak alias.
9952         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
9953         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
9954         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
9955
9956 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
9957
9958         * malloc/malloc.c (malloc_info): Fix format specifier for
9959         n_mmaps.
9960
9961 2014-06-02  Wilco  <wdijkstr@arm.com>
9962
9963         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
9964         FPCR write.
9965
9966 2014-06-02  Wilco  <wdijkstr@arm.com>
9967
9968         [BZ #17009]
9969         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
9970         Rewrite to reduce FPCR/FPSR accesses.
9971
9972 2014-06-01  David S. Miller  <davem@davemloft.net>
9973
9974         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9975
9976 2014-05-31  David S. Miller  <davem@davemloft.net>
9977
9978         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
9979         to occur in round to nearest mode when |x| >= 2.0
9980
9981 2014-05-30  Richard Henderson  <rth@twiddle.net>
9982
9983         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
9984         (PSEUDO_RET_NOERRNO): Remove.
9985         (ret): Don't redefine.
9986         (ret_NOERRNO): Define in terms of ret.
9987         (ret_ERRVAL): Likewise.
9988
9989         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
9990         use of PSEUDO_RET; perform the error check directly.
9991
9992 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
9993
9994         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
9995         with __int128_t.
9996
9997 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
9998
9999         * malloc/malloc (malloc_info): Fix formatting.
10000
10001 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
10002             Roland McGrath  <roland@hack.frob.com>
10003
10004         * malloc/malloc (malloc_info): Also print mmapped statistics.
10005
10006 2014-05-30  Roland McGrath  <roland@hack.frob.com>
10007
10008         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
10009         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
10010
10011 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
10012
10013         * malloc/malloc.c (malloc_info): Inline mi_arena.
10014
10015 2014-05-29  Richard Henderson  <rth@twiddle.net>
10016
10017         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
10018         Remove comma before expanding ASM_ARGS_##nr.
10019         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
10020         Make _x0 a strict output; make _x8 a strict input; adjust expansion
10021         of ASM_ARGS_##nr.
10022         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
10023         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
10024         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
10025         (ASM_ARGS_1): Add leading comma.
10026
10027         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
10028         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
10029         to __errno_location.
10030         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
10031         Remove the expected plt for __errno_location.
10032
10033         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10034         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
10035         call to __read_tp.
10036
10037         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10038         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
10039         it and break it down.
10040         (DOCARGS_0, DOCARGS_1): Do nothing.
10041         (DOCARGS_2): Update to store into the new stack frame.
10042         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
10043         (UNDOCARGS_1): Update to restore from the new stack frame.
10044         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
10045         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
10046
10047         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10048         (SINGLE_THREAD_P): New parameter for result regno.
10049         (PSEUDO): Update to match; use cbz instead of beq.
10050
10051         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10052         Use ENTRY to define the _nocancel entry point.  Share the syscall
10053         and syscall error check paths with the cancel path.
10054         (PSEUDO_END): New.
10055
10056         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
10057         whitespace; tabs before and after asm mnemonics.
10058
10059 2014-05-29  Eric Wong  <normalperson@yhbt.net>
10060
10061         [BZ #15132]
10062         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10063         Call fstat64 or stat64 internally, depending on arguments passed.
10064         Replace stat buffer argument with file descriptor argument.
10065         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
10066         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
10067         Pass fd to __internal_statvfs instead of calling fstat64.
10068         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
10069         Pass fd to __internal_statvfs64 instead of calling fstat64.
10070         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
10071         Pass -1 to __internal_statvfs instead of calling stat64.
10072         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
10073         Pass -1 to __internal_statvfs64 instead of calling stat64.
10074
10075 2014-05-28  Roland McGrath  <roland@hack.frob.com>
10076
10077         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
10078         that was previously under [RESET_PID].
10079         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
10080
10081         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
10082         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
10083
10084 2014-05-27  Roland McGrath  <roland@hack.frob.com>
10085
10086         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
10087
10088         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
10089         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
10090
10091 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
10092
10093         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
10094
10095 2014-05-27  Andreas Schwab  <schwab@suse.de>
10096
10097         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
10098         TLS_INIT_TP macro.
10099         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
10100         * elf/rtld.c (init_tls, dl_main): Likewise.
10101         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
10102         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
10103         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
10104         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
10105         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
10106         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
10107         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
10108         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
10109         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
10110         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
10111         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
10112         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
10113         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
10114         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
10115         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
10116         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
10117         * sysdeps/generic/tls.h: Update description.
10118
10119 2014-05-27  Will Newton  <will.newton@linaro.org>
10120
10121         [BZ #16990]
10122         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
10123         and restore r2 rather than just restoring.
10124
10125 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
10126
10127         [BZ #16724]
10128         * libio/tst-ftell-append.c: New test case.
10129         * libio/Makefile (tests): Add test case.
10130         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
10131         append mode.
10132         * libio/wfileops.c (do_ftell_wide): Likewise.
10133
10134 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10135
10136         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10137
10138         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
10139         ...
10140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
10141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
10142         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
10143         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
10144         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
10145         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
10146         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
10147         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
10148         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
10149         Moved ...
10150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
10151         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
10152         Moved ...
10153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
10154         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
10155         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
10156         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
10157         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
10158         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
10159         ...
10160         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
10161         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
10162         Moved ...
10163         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
10164         here.
10165         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
10166         ...
10167         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
10168         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
10169         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
10170
10171         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
10172         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
10173         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
10174         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
10175
10176         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
10177         merge into ...
10178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
10179         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
10180         ...
10181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
10182         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
10183         ...
10184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
10185         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
10186         Moved ...
10187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
10188         here.
10189         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
10190         Moved ...
10191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
10192         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
10193         Moved ...
10194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
10195
10196         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
10197         conditional [RESET_PID].
10198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
10199         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
10200         removed.
10201         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
10202         removed.
10203
10204         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
10205         <tcb-offsets.h>.
10206         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10207         (__libc_vfork): New strong alias.
10208         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
10209         removed.
10210         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
10211         Removed.
10212
10213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
10214         <tcb-offsets.h>.
10215         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
10216         (__libc_vfork): New strong alias.
10217         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
10218         removed.
10219         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
10220         removed.
10221
10222 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
10223
10224         * malloc/malloc.c (mi_arena): New function.
10225         (malloc_info): Remove nested function mi_arena. Call non-nosted
10226         function mi_arena.
10227
10228 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10229
10230         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
10231         by insrwi.
10232         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
10233         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
10234         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
10235         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
10236         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
10237         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
10238         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
10239
10240 2014-05-26  Andreas Schwab  <schwab@suse.de>
10241
10242         [BZ #16984]
10243         * locale/programs/repertoire.c (repertoire_read): Add slash
10244         between I18NPATH element and file name.
10245         * locale/programs/locfile.c (locfile_read): Likewise.
10246
10247 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
10248
10249         * nptl/pthread_mutexattr_settype.c
10250         (__pthread_mutexattr_settype):
10251         Disable lock elision for PTHREAD_MUTEX_NORMAL.
10252
10253 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
10254
10255         * nptl/tst-mutex5 (do_test):
10256         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
10257
10258 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
10259
10260         * benchtests/README: Document 'init' directive.
10261         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
10262         BENCH_INIT.
10263         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
10264         (parse_file): Recognize 'init' directive.
10265
10266 2014-05-26  Kyle McMartin  <kyle@redhat.com>
10267
10268         [BZ #16796]
10269         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
10270         alignment of struct pthread.
10271
10272 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
10273
10274         [BZ #16878]
10275         * nscd/netgroupcache.c (addgetnetgrentX): Look for
10276         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
10277         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
10278         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
10279
10280 2014-05-25  Richard Henderson  <rth@twiddle.net>
10281
10282         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10283         (SINGLE_THREAD_P_PIC): Remove.
10284         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
10285         (SINGLE_THREAD_P_PIC): Remove.
10286
10287         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
10288         branch to syscall error ...
10289         (PSEUDO): ... here.
10290         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
10291         from __local_syscall_error to .Lsyscall_error.
10292         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
10293         (SYSCALL_ERROR): Update label name.
10294
10295         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10296         Do not use DOARGS/UNDOARGS.
10297         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
10298         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
10299         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
10300         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
10301         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
10302
10303         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
10304         block comment.
10305
10306         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
10307         define if !NOT_IN_libc.
10308         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
10309         define with non-default symbol versions.
10310
10311 2014-05-23  Richard Henderson  <rth@twiddle.net>
10312
10313         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
10314         (vfork, __vfork): Define via compat_symbol.
10315
10316         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
10317         [!HAVE_IFUNC] (vfork_compat): Remove.
10318         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
10319
10320 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
10321
10322         [BZ #16978]
10323         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
10324         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
10325         variable.
10326
10327 2014-05-23  Richard Henderson  <rth@twiddle.net>
10328
10329         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
10330         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
10331         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
10332         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
10333
10334         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
10335         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
10336         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
10337         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
10338         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
10339         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
10340         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
10341         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
10342         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
10343         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
10344         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
10345         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
10346         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
10347         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
10348         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
10349         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
10350         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
10351         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
10352         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
10353         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
10354         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
10355         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
10356         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
10357         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
10358         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
10359         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
10360         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
10361         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
10362         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
10363         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
10364         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
10365         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
10366         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
10367         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
10368         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
10369         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
10370         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
10371         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
10372         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
10373         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
10374         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
10375         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
10376         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
10377         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
10378         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
10379         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
10380         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
10381         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
10382         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
10383         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
10384         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
10385         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
10386         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
10387         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
10388         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
10389         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
10390
10391         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
10392         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
10393         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
10394         before exiting on error.
10395         (__libc_vfork): New strong alias.
10396         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
10397         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
10398
10399         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
10400         that was previously under [RESET_PID].
10401         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
10402
10403         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
10404
10405 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
10406
10407         [BZ #16977]
10408         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
10409         value when x - 1 is zero.
10410         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
10411         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
10412         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
10413         0.0L for an argument of 1.0L.
10414         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
10415         Likewise.
10416         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
10417         value when x - 1 is zero.
10418         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
10419         * sysdeps/i386/fpu/libm-test-ulps: Update.
10420         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10421
10422 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
10423
10424         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
10425         alphasort and versionsort.
10426
10427 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10428
10429         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
10430         macro.
10431         [copysignf]: Likewise.
10432
10433 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
10434
10435         * crypt/md5-crypt.c: Fix formatting.
10436
10437 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
10438
10439         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
10440         (b64_from_24bit): New function.
10441
10442 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10443
10444         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
10445         libc_hidden_builtin_def to ifunc.
10446         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
10447         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
10448
10449 2014-05-21  Roland McGrath  <roland@hack.frob.com>
10450
10451         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
10452         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
10453
10454 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
10455
10456         * nscd/Depend (linuxthreads): Remove.
10457         (nptl): Add.
10458         * resolv/Depend (linuxthreads): Remove.
10459         * rt/Depend (linuxthreads): Remove.
10460
10461         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
10462         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
10463         $(common-objpfx)elf/.
10464         (link-libc-before-gnulib): Likewise.
10465         (elfobjdir): Remove variable.
10466         * Makefile (install): Use $(elf-objpfx) instead of
10467         $(common-objpfx)elf/.
10468         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
10469         $(elfobjdir)/.
10470         (link-libc-deps): Likewise.
10471         ($(common-objpfx)libc.so): Likewise.
10472         ($(common-objpfx)linkobj/libc.so): Likewise.
10473         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
10474         instead of $(common-objpfx)elf/.
10475         (symbolic-link-list): Likewise.
10476         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
10477         [$(cross-compiling) = no]: Likewise.
10478         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
10479         $(elfobjdir)/.
10480         (static-gnulib-arch): Likewise.
10481         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
10482         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
10483         $(common-objpfx)elf/.
10484
10485 2014-05-21  Richard Henderson  <rth@redhat.com>
10486
10487         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10488         (SINGLE_THREAD_P): Use the correct width load.  Fold
10489         into the ldr offset.
10490
10491         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
10492         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
10493
10494 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
10495
10496         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
10497         (libgcc_s_resume): Use __attribute_used__.
10498         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
10499         Likewise.
10500
10501 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10502
10503         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
10504         optimization when used with float constants.
10505
10506         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10507
10508 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
10509
10510         [BZ #16915]
10511         * locale/nl_langinfo_l.c: Make direct reference to every
10512         _nl_current_CATEGORY symbol.
10513         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
10514         (tests-static): Add tst-langinfo-static.
10515         (tests-special): Add tst-langinfo-static.out.
10516         ($(objpfx)tst-langinfo.out): Redirect output.
10517         ($(objpfx)tst-langinfo-static.out): New.
10518         * localedata/tst-langinfo.sh: Send output to stdout.
10519         * localedata/tst-langinfo-static.c: New file.
10520
10521         [BZ #16965]
10522         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
10523         when the shift amount is modulo the limb size.
10524
10525 2014-05-20  Richard Henderson  <rth@redhat.com>
10526
10527         [BZ #16967]
10528         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
10529         Change type of sa_flags from unsigned int to int.
10530
10531         [BZ #16966]
10532         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
10533
10534         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
10535
10536 2014-05-20  Will Newton  <will.newton@linaro.org>
10537
10538         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10539         Test the return value of the system call in the nocancel case.
10540
10541 2014-05-20  Will Newton  <will.newton@linaro.org>
10542             Yvan Roux  <yvan.roux@linaro.org>
10543
10544         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
10545         #include of asm/ptrace.h.
10546         (PTRACE_GET_THREAD_AREA): Remove #undef.
10547         (PTRACE_GETHBPREGS): Likewise.
10548         (PTRACE_SETHBPREGS): Likewise.
10549         (struct user_regs_struct): New structure.
10550         (struct user_fpsimd_struct): New structure.
10551         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
10552         #include of asm/ptrace.h and second #include of sys/user.h.
10553         (PTRACE_GET_THREAD_AREA): Remove #undef.
10554         (PTRACE_GETHBPREGS): Likewise.
10555         (PTRACE_SETHBPREGS): Likewise.
10556         (ELF_NGREG): Use new struct user_regs_struct.
10557         (elf_fpregset_t): Use new struct user_fpsimd_struct.
10558
10559 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10560
10561         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
10562         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
10563
10564 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
10565
10566         [BZ #16958]
10567         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
10568         membar to avoid block loads/stores to overlap previous stores.
10569
10570 2014-05-17  Richard Henderson  <rth@redhat.com>
10571
10572         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
10573         Create the __##syscall_name##_nocancel entry point.
10574         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
10575         Remove; let the sysdep-cancel.h code create it.
10576
10577 2014-05-17  David S. Miller  <davem@davemloft.net>
10578
10579         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
10580         Protect with __USE_GNU.
10581         (TIOCSET_TEMPT): Likewise.
10582         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
10583         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
10584         these are already provided in bits/ioctl-types.h
10585
10586 2014-05-16  Roland McGrath  <roland@hack.frob.com>
10587
10588         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
10589         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
10590
10591         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
10592         Use wait4 regardless of [__NR_waitpid].
10593
10594 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
10595
10596         PR libgcc/60166
10597         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
10598         (_FP_NANSIGN_Q): Set the quiet bit.
10599
10600 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
10601
10602         * benchtests/Makefile
10603         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
10604         not $(common-objpfx)math/libm.so.
10605         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
10606         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
10607         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
10608         $(common-objpfx)dlfcn/libdl.so.
10609         ($(objpfx)tst-audit8): Depend on $(libm), not
10610         $(common-objpfx)math/libm.so.
10611         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
10612         not $(common-objpfx)dlfcn/libdl.so.
10613         * math/Makefile
10614         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
10615         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
10616         [$(build-shared) = yes].
10617         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
10618         $(common-objpfx)nptl/libpthread.so.
10619         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
10620         $(common-objpfx)math/libm.so$(libm.so-version) or
10621         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
10622         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
10623         $(common-objpfx)dlfcn/libdl.so.
10624         * setjmp/Makefile (link-libm): Remove variable.
10625         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
10626         * stdio-common/Makefile (link-libm): Remove variable.
10627         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
10628         * stdlib/Makefile (link-libm): Remove variable.
10629         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
10630         ($(objpfx)tst-strtod-round): Likewise.
10631         ($(objpfx)tst-tininess): Likewise.
10632         ($(objpfx)tst-strtod-underflow): Likewise.
10633         ($(objpfx)tst-strtod6): Likewise.
10634         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
10635         $(libdl), not $(common-objpfx)nptl/libpthread.so and
10636         $(common-objpfx)dlfcn/libdl.so.
10637
10638 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10639
10640         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
10641         BSD terminal modes definitions.
10642
10643 2014-05-16  Roland McGrath  <roland@hack.frob.com>
10644
10645         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
10646         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
10647
10648         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
10649         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
10650         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
10651         Don't do #include_next.
10652         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
10653         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
10654         Don't do #include_next.
10655         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
10656         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
10657         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
10658         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
10659
10660 2014-05-16  Allan McRae  <allan@archlinux.org>
10661
10662         * po/sv.po: Update Swedish translation from translation project.
10663
10664         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
10665         in sed expression.
10666
10667 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
10668
10669         [BZ #16917]
10670         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
10671         errno if the TIOCGPTN ioctl fails with an error different than
10672         EINVAL.
10673         * login/tst-ptsname.c: New file.
10674         * login/Makefile (tests): Add tst-ptsname.
10675
10676         [BZ #16943]
10677         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
10678         and prlimit64.
10679
10680 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
10681
10682         [BZ #16849]
10683         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
10684         herrno to return EAI_AGAIN.
10685
10686 2014-05-14  Roland McGrath  <roland@hack.frob.com>
10687
10688         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
10689         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
10690         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
10691         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
10692         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
10693         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
10694         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
10695         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
10696         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
10697         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
10698         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
10699         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
10700         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
10701         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
10702         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
10703         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
10704         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
10705         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
10706         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
10707         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
10708         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
10709         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
10710         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
10711         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
10712         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
10713         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
10714         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
10715         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
10716         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
10717         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
10718         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
10719         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
10720         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
10721         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
10722         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
10723         Moved ...
10724         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
10725         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
10726         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
10727         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
10728         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
10729         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
10730         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
10731         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
10732         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
10733         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
10734         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
10735         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
10736         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
10737         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
10738         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
10739         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
10740         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
10741         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
10742         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
10743         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
10744         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
10745         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
10746         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
10747         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
10748         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
10749         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
10750         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
10751         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
10752         Moved ...
10753         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
10754         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
10755         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
10756         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
10757         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
10758         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
10759         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
10760         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
10761         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
10762         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
10763         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
10764         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
10765         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
10766         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
10767         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
10768         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
10769         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
10770         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
10771         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
10772         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
10773         Moved ...
10774         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
10775         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
10776         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
10777
10778         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
10779         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
10780         (libpthread-sysdep_routines): Add elision-related stuff here instead.
10781         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
10782         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
10783         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
10784         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
10785         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
10786         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
10787         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
10788         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
10789         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
10790         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
10791         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
10792         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
10793         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
10794         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
10795         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
10796         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
10797         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
10798         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
10799         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
10800         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
10801         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
10802         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
10803         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
10804         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
10805         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
10806         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
10807         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
10808         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
10809
10810         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
10811         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
10812
10813         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
10814         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
10815         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
10816         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
10817         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
10818         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
10819         Moved ...
10820         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
10821         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
10822         Moved ...
10823         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
10824         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
10825         Moved ...
10826         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
10827         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
10828         Moved ...
10829         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
10830         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
10831         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
10832         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
10833         Moved ...
10834         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
10835         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
10836         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
10837         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
10838         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
10839         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
10840         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
10841         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
10842         Moved ...
10843         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
10844         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
10845         Moved ...
10846         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
10847         ... here.
10848         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
10849         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
10850         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
10851         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
10852         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
10853         Moved ...
10854         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
10855         ... here.
10856         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
10857         Moved ...
10858         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
10859         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
10860         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
10861         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
10862         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
10863         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
10864         Moved ...
10865         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
10866         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
10867         Moved ...
10868         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
10869         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
10870         Moved ...
10871         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
10872         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
10873         Moved ...
10874         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
10875         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
10876         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
10877         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
10878         Moved ...
10879         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
10880         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
10881         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
10882         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
10883         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
10884         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
10885         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
10886         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
10887         Moved ...
10888         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
10889         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
10890         Moved ...
10891         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
10892         ... here.
10893         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
10894         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
10895         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
10896         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
10897         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
10898         Moved ...
10899         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
10900         ... here.
10901         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
10902         Moved ...
10903         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
10904         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
10905         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
10906         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
10907         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
10908         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
10909         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
10910         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
10911         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
10912         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
10913         Moved ...
10914         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
10915         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
10916         Moved ...
10917         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
10918         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
10919         Moved ...
10920         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
10921         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
10922         Moved ...
10923         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
10924         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
10925         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
10926         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
10927         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
10928         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
10929         Moved ...
10930         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
10931         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
10932         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
10933         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
10934         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
10935         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
10936         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
10937         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
10938         Moved ...
10939         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
10940         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
10941         Moved ...
10942         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
10943         ... here.
10944         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
10945         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
10946         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
10947         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
10948         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
10949         Moved ...
10950         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
10951         ... here.
10952         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
10953         Moved ...
10954         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
10955         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
10956         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
10957         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
10958         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
10959         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
10960         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
10961         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
10962         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
10963         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
10964         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
10965
10966         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
10967         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
10968
10969         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
10970         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
10971
10972         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
10973         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
10974         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
10975         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
10976         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
10977         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
10978         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
10979         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
10980         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
10981         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
10982         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
10983         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
10984         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
10985         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
10986         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
10987         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
10988         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
10989         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
10990         Moved ...
10991         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
10992         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
10993         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
10994         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
10995         Moved ...
10996         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
10997         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
10998         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
10999         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
11000         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
11001         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
11002         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
11003         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
11004         Moved ...
11005         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
11006         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
11007         Moved ...
11008         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
11009         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
11010         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
11011         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
11012         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
11013         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
11014         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
11015         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
11016         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
11017         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
11018         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
11019         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
11020         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
11021         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
11022         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
11023         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
11024         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
11025
11026         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
11027         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
11028         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
11029         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
11030         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
11031
11032         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
11033         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
11034         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
11035         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
11036         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
11037         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
11038         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
11039         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
11040         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
11041         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
11042
11043         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
11044         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
11045
11046         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
11047         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
11048         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
11049         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
11050         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
11051         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
11052         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
11053         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
11054         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
11055         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
11056         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
11057         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
11058         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
11059         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
11060         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
11061         Update #include.
11062         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
11063         Likewise.
11064         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
11065         Likewise.
11066         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
11067         Likewise.
11068         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
11069         Likewise.
11070         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
11071         Likewise.
11072         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
11073         Likewise.
11074         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
11075         Likewise.
11076         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
11077         Likewise.
11078         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
11079         Likewise.
11080         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
11081         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
11082         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
11083         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
11084         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
11085         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
11086         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
11087         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
11088         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
11089         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
11090         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
11091         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
11092         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
11093         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
11094         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
11095
11096         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
11097         that was previously under [RESET_PID].
11098         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
11099         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
11100         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
11101
11102         * sysdeps/i386/nptl/Implies: New file.
11103         * sysdeps/x86_64/nptl/Implies: New file.
11104         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
11105         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
11106         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
11107         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
11108
11109         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
11110         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11111         (__libc_vfork): New strong alias.
11112         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
11113         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
11114
11115         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
11116         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11117         (__libc_vfork): New strong alias.
11118         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
11119         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
11120
11121         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
11122         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11123         (__libc_vfork): New strong alias.
11124         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
11125         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
11126         * nptl/pt-vfork.c: New file.
11127         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
11128         (libpthread: GLIBC_2.20): New version set (empty).
11129
11130 2014-05-14  Will Newton  <will.newton@linaro.org>
11131
11132         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
11133         rather than #if.
11134
11135 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
11136
11137         [BZ #16564]
11138         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
11139         arguments with exponent 65 or above.
11140         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
11141         arguments 0x1p113L or above.
11142         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
11143         to arguments 0x1p107L or above.
11144         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
11145         positive arguments with exponent 65 or above.
11146         * math/auto-libm-test-in: Add more tests of log1p.
11147         * math/auto-libm-test-out: Regenerated.
11148
11149         [BZ #16928]
11150         * math/s_cacos.c (__cacos): Ensure zero real part of result from
11151         non-finite arguments is +0.
11152         * math/s_cacosf.c (__cacosf): Likewise.
11153         * math/s_cacosl.c (__cacosl): Likewise.
11154         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
11155         * sysdeps/i386/fpu/libm-test-ulps: Update.
11156         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11157
11158         [BZ #16927]
11159         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
11160         value.
11161         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
11162         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
11163         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
11164         for explicit high bit of mantissa when testing for argument equal
11165         to 1.
11166         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
11167         * sysdeps/i386/fpu/libm-test-ulps: Update.
11168         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11169
11170         [BZ #16516]
11171         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
11172         (__erf): Scale by 16 instead of 8 in potentially underflowing
11173         case.  Ensure exception if result actually underflows.
11174         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
11175         (__erff): Scale by 16 instead of 8 in potentially underflowing
11176         case.  Ensure exception if result actually underflows.
11177         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
11178         (efx8): Remove variable.
11179         (__erfl): Scale by 16 instead of 8 in potentially underflowing
11180         case.  Ensure exception if result actually underflows.
11181         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
11182         (efx8): Remove variable.
11183         (__erfl): Scale by 16 instead of 8 in potentially underflowing
11184         case.  Ensure exception if result actually underflows.
11185         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
11186         (efx8): Remove variable.
11187         (__erfl): Scale by 16 instead of 8 in potentially underflowing
11188         case.  Ensure exception if result actually underflows.
11189         * math/auto-libm-test-in: Add more tests of erf.
11190         * math/auto-libm-test-out: Regenerated.
11191
11192 2014-05-14  Andreas Schwab  <schwab@suse.de>
11193
11194         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
11195         Remove code conditionalized on USE___THREAD.
11196
11197         * config.h.in (HAVE_PT_CHOWN): Define as 0.
11198         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
11199         not definedness.
11200
11201 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
11202
11203         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
11204         Define unconditionally.
11205         (__ASSUME_O_CLOEXEC): Likewise.
11206         (__ASSUME_SOCK_CLOEXEC): Likewise.
11207         (__ASSUME_IN_NONBLOCK): Likewise.
11208         (__ASSUME_PIPE2): Likewise.
11209         (__ASSUME_EVENTFD2): Likewise.
11210         (__ASSUME_SIGNALFD4): Likewise.
11211         (__ASSUME_DUP3): Likewise.
11212         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11213         (__ASSUME_DUP3): Do not define.
11214         (__ASSUME_EVENTFD2): Likewise.
11215         (__ASSUME_IN_NONBLOCK): Likewise.
11216         (__ASSUME_O_CLOEXEC): Likewise.
11217         (__ASSUME_PIPE2): Likewise.
11218         (__ASSUME_SIGNALFD4): Likewise.
11219         (__ASSUME_SOCK_CLOEXEC): Likewise.
11220         (__ASSUME_UTIMES): Undefine.
11221         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11222         (__ASSUME_UTIMES): Do not define.
11223         (__ASSUME_O_CLOEXEC): Likewise.
11224         (__ASSUME_SOCK_CLOEXEC): Likewise.
11225         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
11226         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
11227         0x020621].
11228         (__ASSUME_PIPE2): Likewise.
11229         (__ASSUME_EVENTFD2): Likewise.
11230         (__ASSUME_SIGNALFD4): Likewise.
11231         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
11232         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
11233         Do not define.
11234         (__ASSUME_EVENTFD2): Likewise.
11235         (__ASSUME_SIGNALFD4): Likewise.
11236         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
11237         (__ASSUME_32BITUIDS): Likewise.
11238         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
11239         (__ASSUME_IPC64): Likewise.
11240         (__ASSUME_ST_INO_64_BIT): Likewise.
11241         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
11242         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
11243         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11244         (__ASSUME_UTIMES): Do not define.
11245         (__ASSUME_PSELECT): Likewise.
11246         (__ASSUME_PPOLL): Likewise.
11247         (__ASSUME_O_CLOEXEC): Likewise.
11248         (__ASSUME_SOCK_CLOEXEC): Likewise.
11249         (__ASSUME_IN_NONBLOCK): Likewise.
11250         (__ASSUME_PIPE2): Likewise.
11251         (__ASSUME_EVENTFD2): Likewise.
11252         (__ASSUME_SIGNALFD4): Likewise.
11253         (__ASSUME_DUP3): Likewise.
11254         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11255         (__ASSUME_UTIMES): Likewise.
11256         (__ASSUME_O_CLOEXEC): Likewise.
11257         (__ASSUME_SOCK_CLOEXEC): Likewise.
11258         (__ASSUME_IN_NONBLOCK): Likewise.
11259         (__ASSUME_PIPE2): Likewise.
11260         (__ASSUME_EVENTFD2): Likewise.
11261         (__ASSUME_SIGNALFD4): Likewise.
11262         (__ASSUME_DUP3): Likewise.
11263         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11264         (__ASSUME_UTIMES): Likewise.
11265         (__ASSUME_O_CLOEXEC): Likewise.
11266         (__ASSUME_SOCK_CLOEXEC): Likewise.
11267         (__ASSUME_IN_NONBLOCK): Likewise.
11268         (__ASSUME_PIPE2): Likewise.
11269         (__ASSUME_EVENTFD2): Likewise.
11270         (__ASSUME_SIGNALFD4): Likewise.
11271         (__ASSUME_DUP3): Likewise.
11272         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
11273         Likewise.
11274         (__ASSUME_UTIMES): Likewise.
11275         (__ASSUME_EVENTFD2): Likewise.
11276         (__ASSUME_SIGNALFD4): Likewise.
11277         * sysdeps/unix/sysv/linux/tile/kernel-features.h
11278         (__ASSUME_O_CLOEXEC): Likewise.
11279         (__ASSUME_SOCK_CLOEXEC): Likewise.
11280         (__ASSUME_IN_NONBLOCK): Likewise.
11281         (__ASSUME_PIPE2): Likewise.
11282         (__ASSUME_EVENTFD2): Likewise.
11283         (__ASSUME_SIGNALFD4): Likewise.
11284         (__ASSUME_DUP3): Likewise.
11285         (__ASSUME_UTIMES): Undefine.
11286
11287         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
11288         feclearexcept.  Remove symbol versioning code.
11289         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
11290         symbol versioning code.
11291         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
11292         symbol versioning code.
11293         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
11294         feupdateenv.  Remove symbol versioning code.
11295         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
11296         fegetexceptflag.  Remove symbol versioning code.
11297         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
11298         fesetexceptflag.  Remove symbol versioning code.
11299         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
11300         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
11301         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
11302         (__posix_fadvise64_l32): Remove prototype.
11303         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
11304         code.
11305
11306 2014-05-13  Roland McGrath  <roland@hack.frob.com>
11307
11308         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
11309         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
11310         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
11311         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
11312
11313 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
11314
11315         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
11316         current working directory
11317
11318 2014-05-13  Roland McGrath  <roland@hack.frob.com>
11319
11320         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
11321         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
11322         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
11323         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
11324         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
11325         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
11326         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
11327         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
11328         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
11329         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
11330         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
11331         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
11332         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
11333         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
11334         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
11335         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
11336         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
11337         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
11338         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
11339         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
11340         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
11341         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
11342         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
11343         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
11344         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
11345         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
11346         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
11347         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
11348         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
11349         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
11350         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
11351         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
11352         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
11353         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
11354         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
11355         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
11356         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
11357         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
11358         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
11359         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
11360         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
11361         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
11362
11363         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
11364         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
11365
11366         * sysdeps/unix/sysv/linux/arm/Makefile
11367         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
11368         Add rt-aeabi_unwind_cpp_pr1.
11369         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
11370         Add nptl-aeabi_unwind_cpp_pr1.
11371         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
11372         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
11373         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
11374         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
11375         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
11376         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
11377
11378         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
11379         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
11380         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
11381         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
11382
11383         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
11384         Deconditionalize the code that was previously under [RESET_PID].
11385         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
11386
11387         * sysdeps/generic/exit-thread.h: New file.
11388         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
11389         * include/unistd.h (__exit_thread): Remove declaration.
11390         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
11391         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
11392         * csu/libc-start.c: Include <exit-thread.h>.
11393         (LIBC_START_MAIN): Pass no argument to __exit_thread.
11394         * nptl/pthread_create.c: Include <exit-thread.h>.
11395         (start_thread): Call __exit_thread in place of __exit_thread_inline.
11396         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
11397         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
11398         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
11399         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
11400         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
11401         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
11402         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
11403         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
11404         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
11405         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
11406         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
11407         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
11408         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
11409         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
11410         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
11411         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
11412
11413 2014-05-13  Andreas Schwab  <schwab@suse.de>
11414
11415         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
11416
11417 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
11418
11419         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
11420         (__ASSUME_UTIMES): Do not condition on kernel version.
11421         (__ASSUME_PSELECT): Define unconditionally.
11422         (__ASSUME_PPOLL): Likewise.
11423         (__ASSUME_ATFCTS): Likewise.
11424         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
11425         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
11426         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
11427         (__ASSUME_UTIMENSAT): Define unconditionally.
11428         (__ASSUME_PRIVATE_FUTEX): Likewise.
11429         (__ASSUME_FALLOCATE): Likewise.
11430         (__ASSUME_O_CLOEXEC): Likewise.
11431         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
11432         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
11433         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
11434         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
11435         (__ASSUME_IN_NONBLOCK): Likewise.
11436         (__ASSUME_PIPE2): Likewise.
11437         (__ASSUME_EVENTFD2): Likewise.
11438         (__ASSUME_SIGNALFD4): Likewise.
11439         (__ASSUME_DUP3): Likewise.
11440         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11441         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
11442         (__ASSUME_AT_RANDOM): Likewise.
11443         (__ASSUME_PREADV): Likewise.
11444         (__ASSUME_PWRITEV): Likewise.
11445         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
11446         (__ASSUME_F_GETOWN_EX): Define unconditionally.
11447         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
11448         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
11449         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
11450         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11451         (__ASSUME_O_CLOEXEC): Define unconditionally.
11452         (__ASSUME_PSELECT): Do not undefine conditionally.
11453         (__ASSUME_PPOLL): Likewise.
11454         (__ASSUME_ATFCTS): Likewise.
11455         (__ASSUME_SET_ROBUST_LIST): Likewise.
11456         (__ASSUME_UTIMENSAT): Likewise.
11457         (__ASSUME_FDATASYNC): Define unconditionally.
11458         * sysdeps/unix/sysv/linux/arm/kernel-features.h
11459         (__ASSUME_SIGFRAME_V2): Likewise.
11460         )__ASSUME_EVENTFD2): Likewise.
11461         (__ASSUME_SIGNALFD4): Likewise.
11462         (__ASSUME_PSELECT): Do not undefine conditionally.
11463         (__ASSUME_PPOLL): Likewise.
11464         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11465         (__ASSUME_PSELECT): Define unconditionally.
11466         (__ASSUME_PPOLL): Likewise.
11467         (__ASSUME_O_CLOEXEC): Likewise.
11468         (__ASSUME_SOCK_CLOEXEC): Likewise.
11469         (__ASSUME_IN_NONBLOCK): Likewise.
11470         (__ASSUME_PIPE2): Likewise.
11471         (__ASSUME_EVENTFD2): Likewise.
11472         (__ASSUME_SIGNALFD4): Likewise.
11473         (__ASSUME_DUP3): Likewise.
11474         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11475         (__ASSUME_O_CLOEXEC): Likewise.
11476         (__ASSUME_SOCK_CLOEXEC): Likewise.
11477         (__ASSUME_IN_NONBLOCK): Likewise.
11478         (__ASSUME_PIPE2): Likewise.
11479         (__ASSUME_EVENTFD2): Likewise.
11480         (__ASSUME_SIGNALFD4): Likewise.
11481         (__ASSUME_DUP3): Likewise.
11482         * sysdeps/unix/sysv/linux/mips/kernel-features.h
11483         (__ASSUME_EVENTFD2): Likewise.
11484         (__ASSUME_SIGNALFD4): Likewise.
11485         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11486
11487 2014-05-12  Andreas Schwab  <schwab@suse.de>
11488
11489         [BZ #16932]
11490         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
11491         (_nss_nis_gethostbyname4_r): Return error if item length is larger
11492         than maximum RPC packet size.
11493         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
11494         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
11495         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
11496         (_nss_nis_getservbyport_r): Likewise.
11497
11498 2014-05-12  Will Newton  <will.newton@linaro.org>
11499
11500         * malloc/Makefile (tests): Add tst-mallopt.
11501         * malloc/tst-mallopt.c: New file.
11502
11503 2014-05-09  Roland McGrath  <roland@hack.frob.com>
11504
11505         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
11506         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
11507
11508 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11509
11510         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
11511         (tst-tlsmod6.so): Likewise.
11512
11513 2014-05-09  Roland McGrath  <roland@hack.frob.com>
11514
11515         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
11516
11517 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
11518
11519         [BZ #16064]
11520         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
11521         and <dl-procinfo.h>.
11522         (__fegetenv): Save SSE state in envp->__eip if supported.
11523         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
11524         envp->__eip if supported.
11525         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
11526         and <dl-procinfo.h>.
11527         (__fesetenv): Always set __eip, __cs_selector, __opcode,
11528         __data_offset and __data_selector in environment to 0.  Set SSE
11529         state if supported.
11530         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
11531         test-fenv-sse.
11532         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
11533         -mfpmath=sse.
11534         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
11535
11536 2014-05-09  Will Newton  <will.newton@linaro.org>
11537
11538         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
11539         and libc_relro_required for ARM.
11540         * sysdeps/arm/preconfigure: Regenerate.
11541
11542 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
11543             Stefan Liebler  <stli@linux.vnet.ibm.com>
11544
11545         * config.make.in (enable-lock-elision): New Makefile variable.
11546         * configure.ac: Likewise.
11547         * configure: Regenerate.
11548         * sysdeps/s390/configure.ac:
11549         Add check for gcc transactions support.
11550         * sysdeps/s390/configure: Regenerate.
11551         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
11552         Build elision files if enabled.
11553         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
11554         Add lock elision support for s390.
11555         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
11556         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
11557         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
11558         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
11559         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
11560         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
11561         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
11562         Likewise.
11563         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
11564         Likewise.
11565         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
11566         Likewise.
11567         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
11568         Likewise.
11569         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
11570         (__lll_timedlock_elision, __lll_lock_elision)
11571         (__lll_unlock_elision, __lll_trylock_elision)
11572         (lll_timedlock_elision, lll_lock_elision)
11573         (lll_unlock_elision, lll_trylock_elision): Add.
11574         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
11575         (pthread_mutex_t): Add lock elision support for s390.
11576
11577 2014-05-14  Wilco  <wdijkstr@arm.com>
11578
11579         * sysdeps/arm/fclrexcpt.c: Cleanup.
11580         * sysdeps/arm/fedisblxcpt.c: Cleanup.
11581         * sysdeps/arm/feenablxcpt.c: Cleanup.
11582         * sysdeps/arm/fegetenv.c: Cleanup.
11583         * sysdeps/arm/fegetexcept.c: Cleanup.
11584         * sysdeps/arm/fegetround.c: Cleanup.
11585         * sysdeps/arm/feholdexcpt.c: Cleanup.
11586         * sysdeps/arm/fesetenv.c: Cleanup.
11587         * sysdeps/arm/fesetround.c: Cleanup.
11588         * sysdeps/arm/feupdateenv.c: Cleanup.
11589         * sysdeps/arm/fgetexcptflg.c: Cleanup.
11590         * sysdeps/arm/fraiseexcpt.c: Cleanup.
11591         * sysdeps/arm/fsetexcptflg.c: Cleanup.
11592         * sysdeps/arm/ftestexcept.c: Cleanup.
11593         * sysdeps/arm/get-rounding-mode.h: Cleanup.
11594         * sysdeps/arm/setfpucw.c: Cleanup.
11595
11596 2014-05-09  Will Newton  <will.newton@linaro.org>
11597
11598         * sysdeps/arm/armv7/strcmp.S: New file.
11599         * NEWS: Mention addition of ARMv7 optimized strcmp.
11600
11601 2014-05-08  Roland McGrath  <roland@hack.frob.com>
11602
11603         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
11604         look for %.ac rather than %.in.
11605
11606         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
11607         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
11608         * sysdeps/mach/hurd/configure: Regenerated.
11609         * sysdeps/unix/sysv/linux/configure: Regenerated.
11610
11611         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
11612
11613 2014-05-07  Steve Ellcey  <sellcey@mips.com>
11614
11615         [BZ# 16922]
11616         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
11617         (LONG_SUB): Ditto.
11618         (PTR_SUB): Ditto.
11619
11620 2014-05-07  Andreas Schwab  <schwab@suse.de>
11621
11622         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
11623         when skipping over non-matching result from nscd.
11624
11625 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
11626
11627         [BZ #16876]
11628         * nptl/sockperf.c (client): Check socket return value.
11629
11630         [BZ #16877]
11631         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
11632         nscd security class.
11633
11634 2014-05-06  Roland McGrath  <roland@hack.frob.com>
11635
11636         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
11637         * sysdeps/arm/unwind.h: ... here.
11638
11639 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
11640
11641         [BZ# 16916]
11642         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
11643         Define.
11644
11645 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
11646
11647         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
11648         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
11649         multiarch strncpy for PPC64.
11650         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
11651         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
11652         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
11653         multiarch optimizations.
11654         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11655         (__libc_ifunc_impl_list): Likewise.
11656         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
11657         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
11658         multiarch stpncpy for PPC64.
11659         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
11660         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
11661
11662 2014-05-06  Andreas Schwab  <schwab@suse.de>
11663
11664         [BZ #16912]
11665         * gmon/mcount.c (_MCOUNT_DECL): Use
11666         atomic_compare_and_exchange_bool_acq instead of
11667         catomic_compare_and_exchange_bool_acq.
11668
11669 2014-05-05  Roland McGrath  <roland@hack.frob.com>
11670
11671         * elf/Makefile (others, install-bin): Remove pldd.
11672         (pldd-modules): Variable removed.
11673         ($(objpfx)pldd): Target removed.
11674         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
11675         (others, install-bin): Append pldd here.
11676         ($(objpfx)pldd): New target.
11677
11678         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
11679         to 0, so the first #if test emitted later doesn't see it undefined.
11680         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
11681         * sysdeps/gnu/errlist.c: Regenerated.
11682
11683 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11684
11685         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
11686         [libc_hidden_builtin_def]: Define to empty value.
11687         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
11688         [libc_hidden_builtin_def]: Likewise.
11689         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
11690         [libc_hidden_builtin_def]: Likewise.
11691         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
11692         [libc_hidden_builtin_def]: Likewise.
11693         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
11694         __redirect_memcpy and define ifunc as default hidden symbol.
11695         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
11696         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
11697
11698 2014-05-04  Adam Conrad  <adconrad@0c3.net>
11699
11700         * locale/iso-4217.def: Reintroduce XDR currency.
11701
11702 2014-05-04  Allan McRae  <allan@archlinux.org>
11703
11704         * po/eo.po: Update Esperanto translation from translation project.
11705
11706 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
11707
11708         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
11709         and FEATURE_INDEX_MAX to 1.
11710         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
11711
11712 2014-05-01  Steve Ellcey  <sellcey@mips.com>
11713
11714         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
11715         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
11716         * iconvdata/big5.c (ONE_DIRECTION): Define.
11717         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
11718         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
11719         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
11720         * iconvdata/cp932.c (ONE_DIRECTION): Define.
11721         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
11722         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
11723         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
11724         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
11725         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
11726         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
11727         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
11728         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
11729         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
11730         * iconvdata/gbk.c (ONE_DIRECTION): Define.
11731         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
11732         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
11733         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
11734         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
11735         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
11736         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
11737         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
11738         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
11739         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
11740         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
11741         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
11742         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
11743         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
11744         * iconvdata/iso646.c (ONE_DIRECTION): Define.
11745         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
11746         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
11747         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
11748         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
11749         * iconvdata/johab.c (ONE_DIRECTION): Define.
11750         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
11751         * iconvdata/sjis.c (ONE_DIRECTION): Define.
11752         * iconvdata/t.61.c (ONE_DIRECTION): Define.
11753         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
11754         * iconvdata/tscii.c (ONE_DIRECTION): Define.
11755         * iconvdata/uhc.c (ONE_DIRECTION): Define.
11756         * iconvdata/unicode.c (ONE_DIRECTION): Define.
11757         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
11758         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
11759         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
11760
11761 2014-05-01  Roland McGrath  <roland@hack.frob.com>
11762
11763         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
11764         (_IO_JUMPS_OFFSET): Define to 0.
11765
11766         * nptl/sysdeps/pthread/bits/libc-lock.h
11767         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
11768         (__libc_lock_define_initialized_recursive): Always define using
11769         initializer.  Modern compilers treat uninitialized (implicit zero) and
11770         explicit zero initializers the same (i.e. put the datum in bss).
11771
11772 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
11773
11774         * nscd/nscd-client.h: Include <string.h>.
11775
11776 2014-05-01  David S. Miller  <davem@davemloft.net>
11777
11778         [BZ #16885]
11779         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
11780         multiple zero bytes exist at the end of a string.
11781         Reported by Aurelien Jarno <aurelien@aurel32.net>
11782
11783         * string/test-strcmp.c (check): Add explicit test for situations where
11784         there are multiple zero bytes after the first.
11785
11786 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
11787
11788         [BZ #16890]
11789         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
11790         when compiling wprintf.
11791         * stdio-common/tstdiomisc.c (t3): New function.
11792         (main): Call it.
11793
11794 2014-05-01  Steve Ellcey  <sellcey@mips.com>
11795
11796         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
11797         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
11798         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
11799         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
11800
11801 2014-05-01  Steve Ellcey  <sellcey@mips.com>
11802
11803         * stdlib/longlong.h: Updated from GCC.
11804
11805 2014-05-01  Will Newton  <will.newton@linaro.org>
11806             Bernard Ogden  <bernie.ogden@linaro.org>
11807
11808         * NEWS: Update fixed bug list.
11809
11810         [BZ #15119]
11811         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
11812
11813 2014-04-30  David S. Miller  <davem@davemloft.net>
11814
11815         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
11816         (libc_feholdexcept_setround_sparc_ctx): New function.
11817         (libc_fesetenv_sparc_ctx): Likewise.
11818         (libc_feupdateenv_sparc_ctx): Likewise.
11819         (libc_feholdsetround_sparc_ctx): Likewise.
11820         (libc_feholdexcept_setround_ctx): Define.
11821         (libc_feholdexcept_setroundf_ctx): Likewise.
11822         (libc_feholdexcept_setroundl_ctx): Likewise.
11823         (libc_fesetenv_ctx): Likewise.
11824         (libc_fesetenvf_ctx): Likewise.
11825         (libc_fesetenvl_ctx): Likewise.
11826         (libc_feupdateenv_ctx): Likewise.
11827         (libc_feupdateenvf_ctx): Likewise.
11828         (libc_feupdateenvl_ctx): Likewise.
11829         (libc_feresetround_ctx): Likewise.
11830         (libc_feresetroundf_ctx): Likewise.
11831         (libc_feresetroundl_ctx): Likewise.
11832         (libc_feholdsetround_ctx): Likewise.
11833         (libc_feholdsetroundf_ctx): Likewise.
11834         (libc_feholdsetroundl_ctx): Likewise.
11835
11836         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
11837         with __USE_GNU instead of XOPEN cpp guards.
11838
11839         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
11840         0.
11841
11842         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
11843         with XOPEN cpp guards.
11844
11845 2014-04-30  Julian Brown  <julian@codesourcery.com>
11846
11847         [BZ #16888]
11848         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
11849         handling.
11850
11851 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
11852
11853         [BZ #9894]
11854         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
11855         Change to 2.6.32.
11856         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
11857         * sysdeps/unix/sysv/linux/configure: Regenerated.
11858         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
11859         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
11860         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
11861         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
11862         * README: Update reference to required Linux kernel version.
11863         * manual/install.texi (Linux): Update reference to required Linux
11864         kernel headers version.
11865         * INSTALL: Regenerated.
11866
11867         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
11868         header inclusion.
11869         [POSIX] (limits.h): Likewise.
11870         [POSIX] (math.h): Likewise.
11871         [POSIX] (sys/wait.h): Likewise.
11872         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
11873         function.
11874         [POSIX] (stddef.h): Do not allow header inclusion.
11875
11876 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11877
11878         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
11879
11880 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
11881
11882         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
11883         Return immediately after lll_futex_wake.
11884
11885 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
11886
11887         [BZ #16791]
11888         * nscd/nscd-client.h (datahead_init_common): Initialize entire
11889         structure.
11890         (datahead_init_pos): Call datahead_init_common early.
11891         (datahead_init_neg): Likewise.
11892
11893         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
11894         datahead_init_neg): New functions.
11895         * nscd/aicache.c (addhstaiX): Use them.
11896         * nscd/grpcache.c (cache_addgr): Likewise.
11897         * nscd/hstcache.c (cache_addhst): Likewise.
11898         * nscd/initgrcache.c (addinitgroupsX): Likewise.
11899         * nscd/netgroupcache.c (do_notfound): Likewise.
11900         (addgetnetgrentX): Likewise.
11901         (addinnetgrX): Likewise.
11902         * nscd/pwdcache.c (cache_addpw): Likewise.
11903         * nscd/servicescache.c (cache_addserv): Likewise.
11904
11905 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
11906             Atsushi Onoe  <atsushi@onoe.org>
11907
11908         [BZ #14308]
11909         [BZ #12994]
11910         [BZ #13651]
11911         * resolv/res_query.c (__libc_res_nsearch): Return if at least
11912         one response is valid.
11913         * resolv/res_send.c (send_dg): Check for validity of other
11914         response if the current response is a referral.
11915
11916 2014-04-29  Steve Ellcey  <sellcey@mips.com>
11917
11918         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
11919
11920 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
11921
11922         [BZ #16823]
11923         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
11924         Always divide by positive zero when computing -Inf result.
11925         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
11926         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
11927
11928 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11929
11930         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
11931         FPSCR if value do not change.
11932         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
11933         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
11934         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
11935         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
11936         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
11937         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
11938         function.
11939
11940 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
11941
11942         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
11943         * sysdeps/unix/sysv/linux/hppa: Move directory from
11944         ports/systeps/unix/sysv/linux/hppa.
11945         * README: Update listing for hppa-*-linux-gnu.
11946
11947 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
11948
11949         [BZ #16754]
11950         * manual/stdio.texi (Hook functions): Fix types of stream hook
11951         functions.
11952         [BZ #16854]
11953         * socket/sys/socket.h: Fix typo in comment.
11954
11955 2014-04-28  Wilco  <wdijkstr@arm.com>
11956
11957         * sysdeps/arm/fenv_private.h: New file.
11958         * sysdeps/arm/math_private.h: New file.
11959         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
11960
11961 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
11962
11963         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
11964         with __int128_t.
11965         (La_x86_64_retval): Likewise.
11966
11967 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
11968
11969         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
11970         fpsr if value didn't change.
11971         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
11972         to fpcr if value didn't change.
11973         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
11974         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
11975         fpsr or fpcr if value didn't change.
11976         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
11977         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
11978         fpcr if value didn't change.
11979         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
11980         to fpsr if value didn't change.
11981
11982 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
11983
11984         * nptl/tst-sem3.c: Use test-skeleton.c
11985         (main): Rename to do_test.  Use return instead of
11986         exit.
11987         * nptl/tst-sem4.c: Use test-skeleton.c
11988         (main): Rename to do_test.
11989
11990 2014-04-22  David S. Miller  <davem@davemloft.net>
11991
11992         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
11993         (struct sigaction): New struct member __glibc_reserved0, change
11994         type of sa_flags to int.
11995
11996 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
11997
11998         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
11999         (COUNT_LEADING_ZEROS_0): Define for AArch64.
12000
12001 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
12002
12003         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
12004         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
12005
12006 2014-04-22  Will Newton  <will.newton@linaro.org>
12007             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
12008
12009         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
12010         (__longjmp): Add longjmp and longjmp_target SystemTap
12011         probes.
12012         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
12013         (__sigsetjmp): Add setjmp SystemTap probe.
12014
12015 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
12016
12017         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
12018         match manual order.
12019
12020 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12021
12022         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
12023
12024         * sysdeps/powerpc/fpu/fenv_private.h
12025         (libc_feholdexcept_setroundl_ctx): Define to
12026         libc_feholdexcept_setround_ppc_ctx.
12027         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
12028         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
12029         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
12030         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
12031
12032 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
12033
12034         * sysdeps/aarch64/math-tests.h: New file.
12035
12036 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
12037
12038         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
12039         New.
12040         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12041         Check and set bit_AVX2_Usable.
12042         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
12043         macro.
12044         (bit_AVX2): Likewise.
12045         (index_AVX2_Usable): Likewise.
12046         (CPUID_AVX2): Likewise.
12047         (HAS_AVX2): Likewise.
12048
12049 2014-04-17  Will Newton  <will.newton@linaro.org>
12050
12051         * manual/setjmp.texi (System V contexts): Add note that
12052         calling setcontext on a context created by a call to a
12053         signal handler is undefined.  Update text to note that
12054         setcontext from a signal handler is possible but not
12055         recommended.
12056
12057         [BZ #16629]
12058         * stdlib/tst-setcontext.c: Include signal.h.
12059         (main): Check that the signal stack before and
12060         after swapcontext is the same.
12061
12062         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
12063         Re-implement to restore registers in user code and avoid
12064         rt_sigreturn system call.
12065
12066 2014-04-17  Wilco  <wdijkstr@arm.com>
12067
12068         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
12069         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
12070         * math/test-fenv.c: Skip exception trap tests on targets which only
12071         support non-stop mode.
12072
12073 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
12074             Wilco Dijkstra  <wilco.dijkstra@arm.com>
12075
12076         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
12077         (libc_feholdsetround_aarch64_ctx)
12078         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
12079         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
12080         (libc_feresetround_ctx, libc_feresetroundf_ctx)
12081         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
12082         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
12083         (libc_feresetround_noexl_ctx): Define.
12084
12085 2014-04-16  Richard Henderson  <rth@redhat.com>
12086
12087         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
12088
12089         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
12090         unwind tables.
12091
12092         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
12093         const from the non-libc, non-ldso copy.
12094
12095         * sysdeps/alpha/libm-test-ulps: Regenerate.
12096
12097 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
12098             Wilco Dijkstra  <wilco.dijkstra@arm.com>
12099
12100         * sysdeps/aarch64/fpu/math_private.h: New file.
12101
12102 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
12103
12104         * sysdeps/aarch64/libm-test-ulps: Regenerate.
12105
12106 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
12107
12108         [BZ #16275]
12109         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
12110         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
12111         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
12112         Intel MPX bound registers before _dl_profile_fixup.
12113         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
12114         registers after _dl_profile_fixup.  Save and restore bound
12115         registers bnd0/bnd1 when calling _dl_call_pltexit.
12116         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
12117         (LR_BND_OFFSET): Likewise.
12118         (LRV_BND0_OFFSET): Likewise.
12119         (LRV_BND1_OFFSET): Likewise.
12120
12121 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12122
12123         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
12124         to...
12125         * sysdeps/mach/hurd/i386/tls.h: ... here.
12126         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
12127         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
12128         fields.
12129
12130 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12131
12132         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
12133
12134 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
12135
12136         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12137
12138 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
12139
12140         [BZ #14770]
12141         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
12142         * sysdeps/s390/configure: Regenerate.
12143
12144         [BZ #16824]
12145         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
12146         Set round-to-nearest internally to reduce error accumulation.
12147
12148 2014-04-16  Alan Modra  <amodra@gmail.com>
12149
12150         [BZ #16740]
12151         [BZ #16619]
12152         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
12153         * math/libm-test.inc (frexp_test_data): Add tests.
12154         * NEWS: Update fixed bug list.
12155
12156 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
12157
12158         * benchtests/Makefile: Depend on libraries in build directory.
12159         (bench-math): Separate out math tests.
12160         (bench-pthread): Separate out pthread tests.
12161         (bench): Include math and pthread tests.
12162
12163 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
12164
12165         [BZ #16831]
12166         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
12167         _dl_debug_initialize.
12168
12169         * configure.ac: Remove SELinux header check.
12170         * configure: Regenerate.
12171         * nscd/selinux.c (perms): Array of const char* to permission names.
12172         (nscd_request_avc_has_perm): Call security_deny_unknown to find
12173         default policy. Call string_to_security_class and string_to_av_perm to
12174         translate strings. Enforce default policy and call avs_has_perm with
12175         results of translated strings.
12176
12177 2014-04-13  David S. Miller  <davem@davemloft.net>
12178
12179         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12180
12181 2014-04-12  Allan McRae  <allan@archlinux.org>
12182
12183         [BZ #16838]
12184         * manual/string.texi (Collation Functions): Fix qsort argument
12185         order in example.
12186         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
12187
12188 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
12189
12190         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
12191         Make the test a no-op if there are no exceptions defined.
12192
12193 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
12194
12195         * elf/Makefile (tests): make tst-dlopen-aout conditional on
12196         enable-hardcoded-path-in-tests
12197
12198 2014-04-11  Will Newton  <will.newton@linaro.org>
12199
12200         * benchtests/Makefile (extra-objs): Add json-lib.o.
12201         (bench-func): Tidy up JSON output.
12202         * benchtests/bench-skeleton.c: Include json-lib.h.
12203         (main): Use JSON library functions to do output of
12204         benchmark results.
12205         * benchtests/bench-timing-type.c (main): Output the
12206         timing type simply, leaving formatting to the user.
12207         * benchtests/json-lib.c: New file.
12208         * benchtests/json-lib.h: Likewise.
12209
12210 2014-04-11  Torvald Riegel  <triegel@redhat.com>
12211
12212         [BZ #15215]
12213         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
12214         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
12215         memory barriers.  Add comments.
12216         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
12217         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
12218         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
12219         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
12220         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
12221         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
12222
12223 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
12224
12225         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
12226         * sysdeps/s390/s390-64/configure.ac: ... this ...
12227         * sysdeps/s390/configure.ac: ... to here.
12228         * sysdeps/s390/s390-32/configure: Delete file.
12229         * sysdeps/s390/s390-64/configure: Delete file.
12230         * sysdeps/s390/configure: Regenerate.
12231
12232 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
12233
12234         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
12235
12236 2014-04-11  Will Newton  <will.newton@linaro.org>
12237
12238         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
12239         to zero if it is not defined elsewhere.  (mtrim): Test
12240         the value of MALLOC_DEBUG with #if rather than #ifdef.
12241
12242 2014-04-10 Torvald Riegel  <triegel@redhat.com>
12243
12244         * benchtests/pthread_once-inputs: New file.
12245         * benchtests/pthread_once-source.c: New file.
12246         * benchtests/README: Update documentation.
12247
12248 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
12249             H.J. Lu  <hongjiu.lu@intel.com>
12250
12251         [BZ #16275]
12252         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
12253         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
12254         * sysdeps/x86_64/configure: Regenerated.
12255         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
12256         macro.
12257         (REGISTER_SAVE_RAX): Likewise.
12258         (REGISTER_SAVE_RCX): Likewise.
12259         (REGISTER_SAVE_RDX): Likewise.
12260         (REGISTER_SAVE_RSI): Likewise.
12261         (REGISTER_SAVE_RDI): Likewise.
12262         (REGISTER_SAVE_R8): Likewise.
12263         (REGISTER_SAVE_R9): Likewise.
12264         (REGISTER_SAVE_BND0): Likewise.
12265         (REGISTER_SAVE_BND1): Likewise.
12266         (REGISTER_SAVE_BND2): Likewise.
12267         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
12268         bound registers when calling _dl_fixup.
12269
12270 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12271
12272         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
12273         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
12274         of its definition.
12275         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
12276         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
12277         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
12278         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
12279         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
12280         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
12281         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
12282
12283 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
12284
12285         [BZ #15514]
12286         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
12287         pathconf(_PC_NAME_MAX).
12288
12289 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12290
12291         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
12292         Remove macro usage.
12293         (__PTHREAD_SPINS): Move definition to ...
12294         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
12295         (__PTHREAD_SPINS): ... here.
12296         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
12297         (__PTHREAD_SPIN): Likewise.
12298         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
12299         (__PTHREAD_SPIN): Likewise.
12300         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
12301         (__PTHREAD_SPIN): Likewise.
12302         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
12303         (__PTHREAD_SPIN): Likewise.
12304         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
12305         (__PTHREAD_SPIN): Likewise.
12306         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
12307         (__PTHREAD_SPIN): Likewise.
12308         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
12309         (__PTHREAD_SPIN): Likewise.
12310         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
12311         (__PTHREAD_SPIN): Likewise.
12312         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
12313         (__PTHREAD_SPIN): Likewise.
12314         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
12315         (__PTHREAD_SPIN): Likewise.
12316         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
12317         (__PTHREAD_SPIN): Likewise.
12318         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
12319         (__PTHREAD_SPIN): Likewise.
12320
12321         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
12322         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
12323         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
12324         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
12325         imply folder.
12326         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
12327         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
12328         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
12329         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
12330         correct imply path.
12331         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
12332         strlen symbol for non multi-arch builds.
12333         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
12334         missing hidden_def and weak_alias.
12335
12336 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
12337
12338         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
12339
12340 2014-04-07  Will Newton  <will.newton@linaro.org>
12341
12342         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
12343         and contents.  [!_LIBC] Remove #ifndef and contents.
12344         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
12345         * string/memccpy.c (__memccpy): Use ANSI prototype.
12346         * string/memfrob.c (memfrob): Likewise.
12347         * string/strcoll.c (STRCOLL): Likewise.
12348         * string/strlen.c (strlen): Likewise.
12349         * string/strtok.c (STRTOK): Likewise.
12350         * string/strcat.c: Remove unused #include of memcopy.h.
12351         (strcat): Use ANSI prototype.
12352         * string/strchr.c: Remove unused #include of memcopy.h.
12353         (strchr): Use ANSI prototype.
12354         * string/strcmp.c: Remove unused #include of memcopy.h.
12355         (strcmp): Use ANSI prototype.
12356         * string/strcpy.c: Remove unused #include of memcopy.h.
12357         (strcpy): Use ANSI prototype.
12358
12359 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12360
12361         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
12362         * config.make.in (config-extra-cppflags): Set it from
12363         libc_extra_cppflags.
12364         * configure.ac (libc_extra_cflags): Make it accumulate over
12365         configure fragments.
12366         (libc_extra_cppflags): New flag.
12367         * configure. Regenerate.
12368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
12369         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
12370         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
12371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
12372
12373         [BZ #16815]
12374         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
12375         result for FE_DOWNWARD rounding mode.
12376         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
12377         Likewise.
12378         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12379
12380 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
12381
12382         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
12383         in function argument name.
12384
12385 2014-04-03  David Svoboda  <svoboda@cert.org>
12386
12387         [BZ #5666]
12388         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
12389         explicitly.
12390
12391 2014-04-03  Roland McGrath  <roland@hack.frob.com>
12392
12393         * elf/dl-unmap-segments.h: New file.
12394         * sysdeps/generic/ldsodefs.h
12395         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
12396         * elf/dl-close.c: Include <dl-unmap-segments.h>.
12397         * elf/dl-fptr.c: Likewise.
12398         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
12399         * sysdeps/aarch64/tlsdesc.c: Likewise.
12400         * sysdeps/arm/tlsdesc.c: Likewise.
12401         * sysdeps/i386/tlsdesc.c: Likewise.
12402         * sysdeps/tile/dl-runtime.c: Likewise.
12403         * sysdeps/x86_64/tlsdesc.c: Likewise.
12404         * elf/dl-load.h: New file.
12405         * elf/dl-load.c: Include it.
12406         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
12407         Macros moved to dl-load.h.
12408         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
12409         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
12410         Use _dl_unmap_segments in place of __munmap.
12411         Break out segment-mapping loop into ...
12412         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
12413
12414 2014-04-03  Will Newton  <will.newton@linaro.org>
12415
12416         * elf/dl-lookup.c (do_lookup_x): Remove comment
12417         referring to nested function and move variable
12418         declarations down to before first use.
12419
12420 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
12421
12422         [BZ #16799]
12423         [BZ #16800]
12424         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
12425         with 0 numerator.
12426         * math/s_catanf.c (__catanf): Likewise.
12427         * math/s_catanh.c (__catanh): Likewise.
12428         * math/s_catanhf.c (__catanhf): Likewise.
12429         * math/s_catanhl.c (__catanhl): Likewise.
12430         * math/s_catanl.c (__catanl): Likewise.
12431         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
12432         by positive zero when computing -Inf result.
12433         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
12434         (catanh_test): Likewise.
12435         * sysdeps/i386/fpu/libm-test-ulps: Update.
12436         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12437
12438         [BZ #16789]
12439         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
12440         instead of using underflowing value in computing result.
12441         * math/s_clog10.c (__clog10): Likewise.
12442         * math/s_clog10f.c (__clog10f): Likewise.
12443         * math/s_clog10l.c (__clog10l): Likewise.
12444         * math/s_clogf.c (__clogf): Likewise.
12445         * math/s_clogl.c (__clogl): Likewise.
12446         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
12447         (clog10_test): Likewise.
12448         * sysdeps/i386/fpu/libm-test-ulps: Update.
12449         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12450
12451 2014-04-02  Alan Modra  <amodra@gmail.com>
12452
12453         [BZ #16739]
12454         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
12455         output when value is near a power of two.  Use int64_t for lx and
12456         remove casts.  Use decimal rather than hex exponent constants.
12457         Don't use long double multiplication when double will suffice.
12458         * math/libm-test.inc (nextafter_test_data): Add tests.
12459         * NEWS: Add 16739 and 16786 to bug list.
12460
12461         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
12462
12463         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
12464
12465 2014-04-01  Will Newton  <will.newton@linaro.org>
12466
12467         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
12468         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
12469
12470 2014-04-01  Florian Weimer  <fweimer@redhat.com>
12471
12472         [BZ #13347]
12473         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
12474         * nptl/tst-setuid2.c: New file.
12475         * nptl/Makefile (xtests): Add tst-setuid2.
12476
12477 2014-04-01  Alan Modra  <amodra@gmail.com>
12478
12479         [BZ #16786]
12480         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
12481
12482 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
12483
12484         [BZ #6803]
12485         [BZ #6804]
12486         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
12487         set errno as appropriate.
12488         * math/w_scalbf.c (__scalbf): Likewise.
12489         * math/w_scalbl.c (__scalbl): Likewise.
12490         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
12491         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
12492         * math/libm-test.inc (scalb_test_data): Add errno expectations.
12493         Add more NaN tests.
12494
12495         [BZ #16349]
12496         * math/w_atan2.c: Include <errno.h>.
12497         (__atan2): Set errno for result underflowing to zero.
12498         * math/w_atan2f.c: Include <errno.h>.
12499         (__atan2f): Set errno for result underflowing to zero.
12500         * math/w_atan2l.c: Include <errno.h>.
12501         (__atan2l): Set errno for result underflowing to zero.
12502         * math/auto-libm-test-in: Don't allow missing errno for some atan2
12503         tests.
12504         * math/auto-libm-test-out: Regenerated.
12505
12506 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12507
12508         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
12509         Encode instruction correctly in little endian.
12510         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
12511         Likewise.
12512         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
12513         Likewise.
12514         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
12515         Likewise.
12516         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
12517         Likewise.
12518
12519 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
12520
12521         [BZ #9894]
12522         * sysdeps/unix/sysv/linux/kernel-features.h
12523         [__sparc__ && !__arch64__ && !__sparc_v9__]
12524         (__ASSUME_SET_ROBUST_LIST): Do not define.
12525         [__sparc__ && !__arch64__ && !__sparc_v9__]
12526         (__ASSUME_FUTEX_LOCK_PI): Likewise.
12527         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
12528         Likewise.
12529         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12530         (__ASSUME_FUTEX_LOCK_PI): Undefine.
12531         (__ASSUME_REQUEUE_PI): Likewise.
12532         (__ASSUME_SET_ROBUST_LIST): Likewise.
12533         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12534         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
12535         Undefine.
12536         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12537         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
12538         Likewise.
12539         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
12540         Likewise.
12541         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
12542         Likewise.
12543         * sysdeps/unix/sysv/linux/mips/kernel-features.h
12544         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
12545         Undefine.
12546         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
12547         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
12548         Likewise.
12549
12550         [BZ #16648]
12551         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12552         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
12553         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
12554
12555 2014-03-31  Will Newton  <will.newton@linaro.org>
12556
12557         * benchtests/Makefile (bench): Add ffs and ffsll to list
12558         of tests.
12559         * benchtests/ffs-inputs: New file.
12560         * benchtests/ffsll-inputs: Likewise.
12561
12562 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
12563
12564         [BZ #16770]
12565         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
12566         too large before casting to int.
12567         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
12568         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
12569         * math/libm-test.inc (scalb_test_data): Add more tests.
12570
12571 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
12572
12573         * benchtests/Makefile (DETAILED_OPT): New make option.
12574         (bench-func): Run benchmark program with -d if DETAILED_OPT is
12575         set.
12576         * benchtests/bench-skeleton.c: Include stdbool.h.
12577         (main): Store and print timings per input.
12578         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
12579         member to each argument value.
12580         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
12581         (_print_arg_data): Initialize per-input timing to 0.
12582
12583         * benchtests/Makefile (timing-type): New binary.
12584         (bench-clean): Also remove bench-timing-type.
12585         (bench): New target for timing-type.
12586         (bench-func): Print output in JSON format.
12587         * benchtests/bench-skeleton.c (main): Print output in JSON
12588         format.
12589         * benchtests/bench-timing-type.c: New file.
12590         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
12591         (TIMING_PRINT_STATS): Remove.
12592         * benchtests/scripts/bench.py (_print_arg_data): Store variant
12593         name separately.
12594
12595         * benchtests/bench-modf.c: Remove.
12596         * benchtests/modf-inputs: New inputs file.
12597
12598 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
12599
12600         [BZ #16362]
12601         * math/s_clog10.c (M_PI_LOG10E): New macro.
12602         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
12603         imaginary parts are 0.
12604         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
12605         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
12606         imaginary parts are 0.
12607         * math/s_clog10l.c (M_PI_LOG10El): New macro.
12608         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
12609         imaginary parts are 0.
12610         * math/libm-test.inc (clog10_test_data): Update expected results
12611         for when real and imaginary parts are 0.
12612
12613 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
12614
12615         * elf/dl-load.c: Finish conversion of __builtin_expect into
12616         __glibc_{un}likely.
12617
12618 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
12619
12620         [BZ #16348]
12621         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
12622         1+x for argument with exponent below -67.
12623         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
12624         Likewise.
12625         * math/auto-libm-test-in: Add more tests of exp.
12626         * math/auto-libm-test-out: Regenerated.
12627
12628 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
12629
12630         [BZ #16759]
12631         * inet/getnetgrent_r.c (get_nonempty_val): New function.
12632         (nscd_getnetgrent): Use it.
12633
12634         [BZ #16760]
12635         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
12636         of stpcpy.
12637
12638 2014-03-27  Andi Kleen  <ak@linux.intel.com>
12639
12640         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
12641         (lll_robust_lock, lll_cond_lock, lll_timedlock)
12642         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
12643         (lll_robust_unlock): Remove out of line section. Use cfi
12644         intrinsics.
12645         (LLL_STUB_UNWIND_INFO*): Remove.
12646         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
12647         (lll_robust_lock, lll_cond_lock, lll_timedlock)
12648         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
12649         (lll_robust_unlock): Remove out of line section. Use cfi
12650         intrinsics.
12651         (LLL_STUB_UNWIND_INFO*): Remove.
12652
12653 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
12654
12655         [BZ #16758]
12656         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
12657         blank values.
12658
12659 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
12660
12661         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
12662
12663 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
12664
12665         [BZ #16198]
12666         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
12667         fnstenv.
12668         * math/test-fenv-preserve.c: New file.
12669         * math/Makefile (tests): Add test-fenv-preserve.
12670
12671 2014-03-26  Will Newton <will.newton@linaro.org>
12672
12673         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
12674
12675 2014-03-25  Roland McGrath  <roland@hack.frob.com>
12676
12677         * scripts/versionlist.awk: Partition the version sets and emit all
12678         GLIBC_* (sorted) before all others (sorted).
12679
12680 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
12681
12682         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
12683         GLIBC_2.2.5 version.
12684
12685 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12686
12687         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
12688         calls.
12689
12690         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
12691         previous change.
12692
12693         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12694
12695 2014-03-25  Andreas Schwab  <schwab@suse.de>
12696
12697         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
12698         label to be used after in6ailist is initialized.
12699
12700 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12701
12702         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
12703         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
12704
12705 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
12706
12707         [BZ #16357]
12708         [BZ #16599]
12709         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
12710         min_plus_half.
12711         (fp_formats): Update initializers.
12712         (init_fp_formats): Initialize new field.
12713         (output_for_one_input_case): Allow underflow for results up to
12714         min_plus_half.
12715         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
12716         * math/auto-libm-test-in: Don't mark some underflows from asin and
12717         atanh as spurious.
12718         * math/auto-libm-test-out: Regenerated.
12719         * sysdeps/i386/fpu/libm-test-ulps: Update.
12720         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12721
12722 2014-03-25  Andreas Schwab  <schwab@suse.de>
12723
12724         * libio/Makefile (tst-ftell-partial-wide-ENV)
12725         (tst-ftell-active-handler-ENV): Define.
12726
12727 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
12728
12729         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
12730
12731 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
12732
12733         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
12734
12735 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
12736
12737         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
12738         * sysdeps/x86_64/fpu/multiarch/e_exp.c
12739         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
12740
12741 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
12742
12743         [BZ #16634]
12744         * elf/dl-load.c (open_verify): Add mode parameter.
12745         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
12746         (open_path): Change from boolean 'secure' to complete flag 'mode'
12747         (_dl_map_object): Adjust.
12748         * elf/Makefile (tests): Add tst-dlopen-aout.
12749         * elf/tst-dlopen-aout.c: New test.
12750
12751 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
12752
12753         [BZ #16714]
12754         * sysdeps/unix/sysv/linux/s390/bits/stat.h
12755         (struct stat): Rename member pad0 to __glibc_reserved0.
12756
12757         [BZ #16712]
12758         * sysdeps/s390/s390-32/bits/wordsize.h
12759         (__WORDSIZE32_SIZE_ULONG): New define.
12760         * sysdeps/s390/s390-64/bits/wordsize.h
12761         (__WORDSIZE32_SIZE_ULONG): Likewise.
12762         * sysdeps/generic/stdint.h (SIZE_MAX):
12763         Define as UL if __WORDSIZE32_SIZE_ULONG.
12764
12765         [BZ #16713]
12766         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
12767         (__glibc_reserved0): New variable.
12768         (sa_flags): Change type to int.
12769
12770         * posix/Makefile (before-compile): Use += before-compile instead
12771         of a :=.
12772
12773         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
12774         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
12775
12776 2014-03-20  Andreas Schwab  <schwab@suse.de>
12777
12778         [BZ #16743]
12779         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
12780         non-matching result from nscd.
12781
12782 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
12783
12784         * scripts/bench.py: Moved to ...
12785         * benchtests/scripts/bench.py: ... here.
12786         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
12787
12788 2014-03-24  Andreas Schwab  <schwab@suse.de>
12789
12790         [BZ #16002]
12791         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
12792         alloca_account and account alloca use for struct in6ailist.
12793
12794 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
12795
12796         [BZ #16284]
12797         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
12798         rounding mode to recompute results that overflow to infinity or
12799         underflow to zero.
12800         * math/auto-libm-test-in: Don't mark tests as expected to fail for
12801         bug 16284.
12802         * math/auto-libm-test-out: Regenerated.
12803         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
12804         (ccosh_test): Likewise.
12805         (csin_test_data): Use plus_oflow.
12806         (csin_test): Use ALL_RM_TEST.
12807         (csinh_test_data): Use plus_oflow.
12808         (csinh_test): Use ALL_RM_TEST.
12809         * sysdeps/i386/fpu/libm-test-ulps: Update.
12810         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12811
12812 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
12813
12814         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
12815         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
12816         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
12817
12818         [BZ #16731]
12819         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
12820         when x - 1 is zero.
12821         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
12822         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
12823         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
12824         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
12825         argument is 1.
12826         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
12827         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
12828         zero.
12829         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
12830         * sysdeps/i386/fpu/libm-test-ulps: Update.
12831         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12832
12833 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12834
12835         * scripts/bench.pl: Remove file.
12836         * scripts/bench.py: New benchmark script.
12837         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
12838         * benchtests/README: Mention python dependency.
12839         * scripts/pylintrc: New file.
12840         * scripts/pylint: New file.
12841
12842         * bits/mathdef.h: Use #ifdef instead of #if.
12843         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
12844         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
12845         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
12846         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
12847         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
12848         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
12849
12850 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12851             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
12852
12853         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
12854         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
12855         and strpbrk-ppc64 objects.
12856         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12857         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
12858         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
12859         multiarch strpbrk for POWER7.
12860         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
12861         multiarch strpbrk for PPC64.
12862         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
12863         ifunc selector.
12864         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
12865         strpbrk for POWER7.
12866
12867 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
12868
12869         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
12870         (atan_test): Likewise.
12871         (atanh_test_data): Use NO_TEST_INLINE for two tests.
12872         (atanh_test): Use ALL_RM_TEST.
12873         (atan2_test_data): Likewise.
12874         (cabs_test): Likewise.
12875         (cacosh_test): Likewise.
12876         (carg_test): Likewise.
12877         (casin_test): Likewise.
12878         (casinh_test): Likewise.
12879         (cbrt_test): Likewise.
12880         (csqrt_test): Likewise.
12881         (erf_test): Likewise.
12882         (erfc_test): Likewise.
12883         (pow10_test): Likewise.
12884         (exp2_test): Likewise.
12885         (hypot_test): Likewise.
12886         (j0_test): Likewise.
12887         (j1_test): Likewise.
12888         (lgamma_test): Likewise.
12889         (gamma_test): Likewise.
12890         (sincos_test): Likewise.
12891         (tanh_test): Likewise.
12892         (y0_test): Likewise.
12893         (y1_test): Likewise.
12894         * sysdeps/i386/fpu/libm-test-ulps: Update.
12895         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12896
12897 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12898
12899         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
12900         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
12901         and strcspn-ppc64 objects.
12902         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12903         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
12904         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
12905         multiarch strcspn for POWER7.
12906         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
12907         multiarch strcspn for PPC64.
12908         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
12909         ifunc selector.
12910         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
12911         strcspn for POWER7.
12912
12913 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
12914
12915         * math/gen-libm-test.pl (generate_testfile): Expect only function
12916         name as argument to AUTO_TESTS_* and pass results for all rounding
12917         modes to parse_args.
12918         (parse_auto_input): Separate inputs of automatic tests from
12919         outputs before storing in %auto_tests.
12920         * math/libm-test.inc (acos_test_data): Update call to
12921         AUTO_TESTS_f_f.
12922         (acos_test): Use ALL_RM_TEST.
12923         (acos_tonearest_test_data): Remove.
12924         (acos_test_tonearest): Likewise.
12925         (acos_towardzero_test_data): Likewise.
12926         (acos_test_towardzero): Likewise.
12927         (acos_downward_test_data): Likewise.
12928         (acos_test_downward): Likewise.
12929         (acos_upward_test_data): Likewise.
12930         (acos_test_upward): Likewise.
12931         (acosh_test_data): Update call to AUTO_TESTS_f_f.
12932         (asin_test_data): Likewise.
12933         (asin_test): Use ALL_RM_TEST.
12934         (asin_tonearest_test_data): Remove.
12935         (asin_test_tonearest): Likewise.
12936         (asin_towardzero_test_data): Likewise.
12937         (asin_test_towardzero): Likewise.
12938         (asin_downward_test_data): Likewise.
12939         (asin_test_downward): Likewise.
12940         (asin_upward_test_data): Likewise.
12941         (asin_test_upward): Likewise.
12942         (asinh_test_data): Update call to AUTO_TESTS_f_f.
12943         (atan_test_data): Likewise.
12944         (atanh_test_data): Likewise.
12945         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
12946         (cabs_test_data): Update call to AUTO_TESTS_c_f.
12947         (carg_test_data): Likewise.
12948         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
12949         (ccos_test_data): Update call to AUTO_TESTS_c_c.
12950         (ccosh_test_data): Likewise.
12951         (cexp_test_data): Likewise.
12952         (clog_test_data): Likewise.
12953         (clog10_test_data): Likewise.
12954         (cos_test_data): Update call to AUTO_TESTS_f_f.
12955         (cos_test): Use ALL_RM_TEST.
12956         (cos_tonearest_test_data): Remove.
12957         (cos_test_tonearest): Likewise.
12958         (cos_towardzero_test_data): Likewise.
12959         (cos_test_towardzero): Likewise.
12960         (cos_downward_test_data): Likewise.
12961         (cos_test_downward): Likewise.
12962         (cos_upward_test_data): Likewise.
12963         (cos_test_upward): Likewise.
12964         (cosh_test_data): Update call to AUTO_TESTS_f_f.
12965         (cosh_test): Use ALL_RM_TEST.
12966         (cosh_tonearest_test_data): Remove.
12967         (cosh_test_tonearest): Likewise.
12968         (cosh_towardzero_test_data): Likewise.
12969         (cosh_test_towardzero): Likewise.
12970         (cosh_downward_test_data): Likewise.
12971         (cosh_test_downward): Likewise.
12972         (cosh_upward_test_data): Likewise.
12973         (cosh_test_upward): Likewise.
12974         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
12975         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
12976         (ctan_test_data): Likewise.
12977         (ctan_test): Use ALL_RM_TEST.
12978         (ctan_tonearest_test_data): Remove.
12979         (ctan_test_tonearest): Likewise.
12980         (ctan_towardzero_test_data): Likewise.
12981         (ctan_test_towardzero): Likewise.
12982         (ctan_downward_test_data): Likewise.
12983         (ctan_test_downward): Likewise.
12984         (ctan_upward_test_data): Likewise.
12985         (ctan_test_upward): Likewise.
12986         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
12987         (ctanh_test): Use ALL_RM_TEST.
12988         (ctanh_tonearest_test_data): Remove.
12989         (ctanh_test_tonearest): Likewise.
12990         (ctanh_towardzero_test_data): Likewise.
12991         (ctanh_test_towardzero): Likewise.
12992         (ctanh_downward_test_data): Likewise.
12993         (ctanh_test_downward): Likewise.
12994         (ctanh_upward_test_data): Likewise.
12995         (ctanh_test_upward): Likewise.
12996         (erf_test_data): Update call to AUTO_TESTS_f_f.
12997         (erfc_test_data): Likewise.
12998         (exp_test_data): Likewise.
12999         (exp_test): Use ALL_RM_TEST.
13000         (exp_tonearest_test_data): Remove.
13001         (exp_test_tonearest): Likewise.
13002         (exp_towardzero_test_data): Likewise.
13003         (exp_test_towardzero): Likewise.
13004         (exp_downward_test_data): Likewise.
13005         (exp_test_downward): Likewise.
13006         (exp_upward_test_data): Likewise.
13007         (exp_test_upward): Likewise.
13008         (exp10_test_data): Update call to AUTO_TESTS_f_f.
13009         (exp10_test): Use ALL_RM_TEST.
13010         (exp10_tonearest_test_data): Remove.
13011         (exp10_test_tonearest): Likewise.
13012         (exp10_towardzero_test_data): Likewise.
13013         (exp10_test_towardzero): Likewise.
13014         (exp10_downward_test_data): Likewise.
13015         (exp10_test_downward): Likewise.
13016         (exp10_upward_test_data): Likewise.
13017         (exp10_test_upward): Likewise.
13018         (exp2_test_data): Update call to AUTO_TESTS_f_f.
13019         (expm1_test_data): Likewise.
13020         (expm1_test): Use ALL_RM_TEST.
13021         (expm1_tonearest_test_data): Remove.
13022         (expm1_test_tonearest): Likewise.
13023         (expm1_towardzero_test_data): Likewise.
13024         (expm1_test_towardzero): Likewise.
13025         (expm1_downward_test_data): Likewise.
13026         (expm1_test_downward): Likewise.
13027         (expm1_upward_test_data): Likewise.
13028         (expm1_test_upward): Likewise.
13029         (fma_test_data): Update call to AUTO_TESTS_fff_f.
13030         (fma_test): Use ALL_RM_TEST.
13031         (fma_towardzero_test_data): Remove.
13032         (fma_test_towardzero): Likewise.
13033         (fma_downward_test_data): Likewise.
13034         (fma_test_downward): Likewise.
13035         (fma_upward_test_data): Likewise.
13036         (fma_test_upward): Likewise.
13037         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
13038         (j0_test_data): Update call to AUTO_TESTS_f_f.
13039         (j1_test_data): Likewise.
13040         (jn_test_data): Update call to AUTO_TESTS_if_f.
13041         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
13042         (log_test_data): Update call to AUTO_TESTS_f_f.
13043         (log10_test_data): Likewise.
13044         (log1p_test_data): Likewise.
13045         (log2_test_data): Likewise.
13046         (pow_test_data): Update call to AUTO_TESTS_ff_f.
13047         (pow_tonearest_test_data): Likewise.
13048         (sin_test_data): Update call to AUTO_TESTS_f_f.
13049         (sin_test): Use ALL_RM_TEST.
13050         (sin_tonearest_test_data): Remove.
13051         (sin_test_tonearest): Likewise.
13052         (sin_towardzero_test_data): Likewise.
13053         (sin_test_towardzero): Likewise.
13054         (sin_downward_test_data): Likewise.
13055         (sin_test_downward): Likewise.
13056         (sin_upward_test_data): Likewise.
13057         (sin_test_upward): Likewise.
13058         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
13059         (sinh_test_data): Update call to AUTO_TESTS_f_f.
13060         (sinh_test): Use ALL_RM_TEST.
13061         (sinh_tonearest_test_data): Remove.
13062         (sinh_test_tonearest): Likewise.
13063         (sinh_towardzero_test_data): Likewise.
13064         (sinh_test_towardzero): Likewise.
13065         (sinh_downward_test_data): Likewise.
13066         (sinh_test_downward): Likewise.
13067         (sinh_upward_test_data): Likewise.
13068         (sinh_test_upward): Likewise.
13069         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
13070         (sqrt_test): Use ALL_RM_TEST.
13071         (sqrt_tonearest_test_data): Remove.
13072         (sqrt_test_tonearest): Likewise.
13073         (sqrt_towardzero_test_data): Likewise.
13074         (sqrt_test_towardzero): Likewise.
13075         (sqrt_downward_test_data): Likewise.
13076         (sqrt_test_downward): Likewise.
13077         (sqrt_upward_test_data): Likewise.
13078         (sqrt_test_upward): Likewise.
13079         (tan_test_data): Update call to AUTO_TESTS_f_f.
13080         (tan_test): Use ALL_RM_TEST.
13081         (tan_tonearest_test_data): Remove.
13082         (tan_test_tonearest): Likewise.
13083         (tan_towardzero_test_data): Likewise.
13084         (tan_test_towardzero): Likewise.
13085         (tan_downward_test_data): Likewise.
13086         (tan_test_downward): Likewise.
13087         (tan_upward_test_data): Likewise.
13088         (tan_test_upward): Likewise.
13089         (tanh_test_data): Update call to AUTO_TESTS_f_f.
13090         (tgamma_test_data): Likewise.
13091         (y0_test_data): Likewise.
13092         (y1_test_data): Likewise.
13093         (yn_test_data): Update call to AUTO_TESTS_if_f.
13094         (main): Do not call removed functions.
13095
13096 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
13097
13098         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
13099         (ldexp_test_data): Remove.
13100         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
13101         scalbn_test_data.
13102         (scalb_test): Use ALL_RM_TEST.
13103
13104 2014-03-19  Andreas Schwab  <schwab@suse.de>
13105
13106         * nscd/nscd.service: Also invalidate netgroup cache on reload.
13107
13108 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
13109
13110         [BZ #16649]
13111         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13112         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
13113         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
13114         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13115         (__ASSUME_PREADV): Undefine.
13116         (__ASSUME_PWRITEV): Likewise.
13117
13118 2014-03-18  Roland McGrath  <roland@hack.frob.com>
13119
13120         * bits/mman-linux.h: Add comment about non-Linux use.
13121         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
13122         bits/mman-linux.h resting place.
13123
13124         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
13125         * bits/mman-linux.h: ... here.
13126
13127 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13128
13129         * conform/conformtest.pl: Add standard definition when calling C
13130         preprocessor on data files.
13131         (checknamespace): Remove unused variable.
13132
13133 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
13134
13135         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
13136         minus_oflow, plus_uflow and minus_uflow in expected results.
13137         * math/libm-test.inc (scalbn_test_data): Add more tests of
13138         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
13139         minus_uflow.
13140         (scalbn_test): Use ALL_RM_TEST.
13141         (scalbln_test_data): Add more tests of negative arguments.  Use
13142         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
13143         (scalbln_test): Use ALL_RM_TEST.
13144
13145 2014-03-18  Roland McGrath  <roland@hack.frob.com>
13146
13147         * scripts/abilist.awk: Ignore symbols marked with .hidden.
13148
13149 2014-03-18  Will Newton  <will.newton@linaro.org>
13150
13151         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
13152         inaccurate comment.
13153
13154 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
13155
13156         * Makerules [!subdir] (check-abi): Exit with error status if a
13157         test failed.
13158
13159 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
13160
13161         * math/libm-test.inc (nearbyint_test_data): Include all tests used
13162         for rint.  Include results for all rounding modes.
13163         (nearbyint_test): Use ALL_RM_TEST.
13164         (rint_test_data): Include all tests used for nearbyint.
13165
13166 2014-03-17  Will Newton  <will.newton@linaro.org>
13167
13168         * nptl/sysdeps/pthread/pthread.h: Revert previous
13169         change.
13170
13171         * sysdeps/generic/ldsodefs.h: Revert previous
13172         change.
13173
13174         * libio/genops.c: Revert previous change.
13175         * libio/libioP.h: Likewise.
13176         * stdio-common/vfprintf.c: Likewise.
13177
13178         * sysdeps/generic/math_private.h: Revert previous
13179         change.
13180
13181         * sysdeps/generic/math_private.h: Check whether
13182         HAVE_RM_CTX is defined with #ifdef rather
13183         than #if.
13184
13185         * argp/argp-fmtstream.h: Check whether
13186         __STRICT_ANSI__ is defined with #ifdef rather
13187         than #if.
13188         * argp/argp.h: Likewise.
13189
13190         * libio/genops.c: Check whether
13191         _IO_JUMPS_OFFSET is defined with #ifdef rather
13192         than #if.
13193         * libio/libioP.h: Likewise.
13194         * stdio-common/vfprintf.c: Likewise.
13195
13196         * sysdeps/generic/ldsodefs.h: Check whether
13197         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
13198         than #if.
13199
13200         * nptl/sysdeps/pthread/pthread.h: Check
13201         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
13202         its value.
13203
13204 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
13205
13206         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
13207         setting O_APPEND.
13208         * libio/tst-ftell-active-handler.c (do_append_test): Add a
13209         test case.
13210
13211         [BZ #16680]
13212         * libio/fileops.c (_IO_file_open): Seek to end of file but
13213         don't cache the offset.
13214         (get_file_offset): Remove function.
13215         (do_ftell): Use cached offset when available.
13216         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
13217         don't cache the offset.
13218         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
13219         case.
13220         (do_one_test): Call it.
13221         (do_ftell_test): Fix up expected old offset for a+ mode.
13222         * libio/wfileops.c (do_ftell_wide): Used cached offset when
13223         available.
13224
13225         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
13226         up test status with function return status.
13227         (do_write_test): Likewise.
13228         (do_append_test): Likewise.
13229
13230         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
13231         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
13232         Remove.
13233
13234 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
13235
13236         * math/gen-libm-test.pl (parse_args): Handle results specified for
13237         each rounding mode separately.
13238         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
13239         tests and results from lrint_tonearest_test_data,
13240         lrint_towardzero_test_data, lrint_downward_test_data and
13241         lrint_upward_test_data.
13242         (lrint_test): Use ALL_RM_TEST.
13243         (lrint_tonearest_test_data): Remove.
13244         (lrint_test_tonearest): Likewise.
13245         (lrint_towardzero_test_data): Likewise.
13246         (lrint_test_towardzero): Likewise.
13247         (lrint_downward_test_data): Likewise.
13248         (lrint_test_downward): Likewise.
13249         (lrint_upward_test_data): Likewise.
13250         (lrint_test_upward): Likewise.
13251         (llrint_test_data): Merge in per-rounding-mode tests and results
13252         from llrint_tonearest_test_data, llrint_towardzero_test_data,
13253         llrint_downward_test_data and llrint_upward_test_data.
13254         (llrint_test): Use ALL_RM_TEST.
13255         (llrint_tonearest_test_data): Remove.
13256         (llrint_test_tonearest): Likewise.
13257         (llrint_towardzero_test_data): Likewise.
13258         (llrint_test_towardzero): Likewise.
13259         (llrint_downward_test_data): Likewise.
13260         (llrint_test_downward): Likewise.
13261         (llrint_upward_test_data): Likewise.
13262         (llrint_test_upward): Likewise.
13263         (rint_test_data): Merge in per-rounding-mode tests and results
13264         from rint_tonearest_test_data, rint_towardzero_test_data,
13265         rint_downward_test_data and rint_upward_test_data.  Add
13266         per-rounding-mode results for tests not in those arrays.
13267         (rint_test): Use ALL_RM_TEST.
13268         (rint_tonearest_test_data): Remove.
13269         (rint_test_tonearest): Likewise.
13270         (rint_towardzero_test_data): Likewise.
13271         (rint_test_towardzero): Likewise.
13272         (rint_downward_test_data): Likewise.
13273         (rint_test_downward): Likewise.
13274         (rint_upward_test_data): Likewise.
13275         (rint_test_upward): Likewise.
13276         (main): Don't call removed functions.
13277
13278 2014-03-14  Roland McGrath  <roland@hack.frob.com>
13279
13280         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
13281         "Compiled on ..." crapola.  It is anti-useful.
13282
13283 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
13284
13285         * scripts/evaluate-test.sh: Handle fourth argument to determine
13286         whether test run should stop on failure.
13287         * Makeconfig (stop-on-test-failure): New variable.
13288         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
13289         $(stop-on-test-failure).
13290         * Makefile (tests): Give a summary of results from testing and
13291         exit with failure status if they include an ERROR or FAIL.
13292         (xtests): Likewise.
13293         * manual/install.texi (Configuring and compiling): Mention
13294         stop-on-test-failure=y.
13295         * INSTALL: Regenerated.
13296
13297 2014-03-14  Roland McGrath  <roland@hack.frob.com>
13298
13299         * scripts/versionlist.awk: New file.
13300         * Makerules [$(build-shared) = yes]
13301         (postclean-generated): Add Versions.def, not Versions.def.v and
13302         Versions.def.v.i.
13303         ($(common-objpfx)Versions.def.v.i): Target removed.
13304         ($(common-objpfx)Versions.def): New target.
13305         ($(common-objpfx)Versions.all): Depend on that rather that
13306         $(common-objpfx)Versions.def.v.
13307         * Versions.def: File removed.
13308
13309         * Makeconfig (+gccwarn): Add -Wundef.
13310         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
13311         a dl-sysdep.h breaking its contract.
13312         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
13313         * include/stackinfo.h: New file.
13314         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
13315         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
13316         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
13317         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
13318         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
13319         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
13320         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13321         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13322         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13323         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13324         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13325         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
13326         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13327         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13328         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13329
13330 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13331
13332         [BZ #16707]
13333         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
13334         implementation.
13335         * math/libm-test.inc (round_test_data): Add more tests.
13336
13337         [BZ #16706]
13338         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
13339         implementation.
13340         * math/libm-test.inc (nearbyint_test_data): Add more tests.
13341
13342         [BZ #16701]
13343         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
13344         implementation.
13345         * math/libm-test.inc (ceil_test_data): Add more tests.
13346
13347         * math/libm-test.inc (trunc_test_data): Add more tests related to
13348         BZ#16414.
13349
13350 2014-03-14  Roland McGrath  <roland@hack.frob.com>
13351
13352         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
13353         with #if rather than #ifdef.
13354         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
13355
13356 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
13357
13358         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
13359         first.  Disable AVX-512 GCC support if assembler doesn't support
13360         it.
13361         * sysdeps/x86_64/configure: Regenerated.
13362
13363 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
13364
13365         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
13366         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
13367         (__old_pthread_attr_setstack): Likewise.
13368         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
13369         [!_STACK_GROWS_DOWN]: Likewise.
13370
13371 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
13372
13373         * config.make.in (have-bash2): Delete.
13374         * configure.ac (libc_cv_have_bash2): Delete.
13375         * configure: Regenerate.
13376         * elf/Makefile (common-ldd-rewrite): Rename to ...
13377         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
13378         (sh-ldd-rewrite): Delete.
13379         (bash-ldd-rewrite): Delete.
13380         (have-bash2): Delete checks.
13381         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
13382         ldd-rewrite.
13383
13384         * config.make.in (have-ksh): Delete.
13385         (KSH): Delete.
13386         * configure.ac (libc_cv_have_ksh): Delete.
13387         * configure: Regenerate.
13388
13389         * elf/Makefile: Delete $(have-ksh) check.
13390         ($(objpfx)sotruss): Change KSH to BASH.
13391         * elf/sotruss.ksh: Rename to ...
13392         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
13393         function style to match POSIX.  Drop ksh vim mode setting.
13394
13395         * manual/time.texi (Specifying the Time Zone with TZ): Change
13396         Tuesday to Thursday.
13397
13398         * debug/tst-longjmp_chk2.c: Update header comment.
13399         (stackoverflow_handler): Add comment.  Call assert on pass value.
13400
13401 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
13402
13403         [BZ #16194]
13404         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
13405         (HAVE_AVX512_ASM_SUPPORT): Likewise.
13406         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
13407         (La_x86_64_vector): Add zmm.
13408         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
13409         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
13410         ($(objpfx)tst-audit10): New target.
13411         ($(objpfx)tst-audit10.out): Likewise.
13412         (tst-audit10-ENV): New.
13413         (AVX512-CFLAGS): Likewise.
13414         (CFLAGS-tst-audit10.c): Likewise.
13415         (CFLAGS-tst-auditmod10a.c): Likewise.
13416         (CFLAGS-tst-auditmod10b.c): Likewise.
13417         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
13418         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
13419         * sysdeps/x86_64/configure: Regenerated.
13420         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
13421         AVX-512 zmm register support.
13422         (_dl_x86_64_save_sse): Likewise.
13423         (_dl_x86_64_restore_sse): Likewise.
13424         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
13425         size vector registers.
13426         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
13427         (ZMM_SIZE): Likewise.
13428         * sysdeps/x86_64/tst-audit10.c: New file.
13429         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
13430         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
13431
13432 2014-03-13  Roland McGrath  <roland@hack.frob.com>
13433
13434         * configure.ac (HAVE_EHDR_START): New check.
13435         * configure: Regenerated.
13436         * config.h.in (HAVE_EHDR_START): New #undef.
13437         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
13438         assuming the lowest-addressed segment maps the start of the file.
13439
13440 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
13441
13442         * INSTALL: Regenerated.
13443
13444 2014-03-13  Will Newton  <will.newton@linaro.org>
13445
13446         * manual/setjmp.texi (System V contexts): Improve
13447         clarity and grammar of documentation.
13448
13449 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
13450
13451         [BZ #16381]
13452         * elf/Makefile (tests): Add tst-pie2.
13453         (tests-pie): Add tst-pie2.
13454         * elf/tst-pie2.c: New file.
13455         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
13456         for ET_EXEC.
13457         * elf/rtld.c (map_doit): Load executable as lt_executable.
13458         (dl_main): Likewise.
13459
13460 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
13461
13462         [BZ #16642]
13463         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13464         (__ASSUME_PSELECT): Undefine.
13465
13466 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13467
13468         [BZ #16689]
13469         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
13470         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
13471         static build.
13472         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
13473         selector for static builds.
13474
13475 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
13476
13477         [BZ #16695]
13478         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
13479         key in the buffer.
13480
13481 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13482
13483         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
13484         IFUNC selector for static builds.
13485
13486 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
13487
13488         * sysdeps/mips/math_private.h [__mips_hard_float]
13489         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
13490         libc_feresetround_mips_ctx.
13491         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
13492         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
13493         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
13494
13495         [BZ #16677]
13496         * math/s_nextafter.c (__nextafter): Do not return value from
13497         overflowing computation.
13498         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
13499         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
13500         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
13501         Likewise.
13502         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
13503         Likewise.
13504         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
13505         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
13506
13507 2014-03-11  Roland McGrath  <roland@hack.frob.com>
13508
13509         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
13510         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
13511         Move sfi_sp use from the load-multiple (that no longer sets sp) to
13512         the new mov targetting sp.
13513
13514 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13515
13516         [BZ #16683]
13517         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
13518         Define it for static builds as well.
13519         (NO_BZERO_IMPL): Likewise.
13520
13521 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
13522
13523         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
13524         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
13525         multiarch strspn for PPC64.
13526         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
13527         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
13528         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13529         (__libc_ifunc_impl_list): Likewise.
13530         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
13531         multiarch optimizations
13532         * string/strspn.c (strspn): Using macro to redefine symbol name.
13533
13534 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
13535             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13536
13537         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
13538         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
13539         multiarch strncat for PPC64.
13540         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
13541         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
13542         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13543         (__libc_ifunc_impl_list): Likewise.
13544         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
13545         multiarch optimizations
13546
13547 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
13548
13549         [BZ #16639]
13550         * nscd/nscd.service: Make service type forking.
13551
13552 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13553
13554         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
13555         sign in non default rounding modes.
13556         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
13557
13558 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
13559
13560         * math/libm-test.inc (ALL_RM_TEST): New macro.
13561         (ceil_test): Use ALL_RM_TEST.
13562         (cimag_test): Likewise.
13563         (conj_test): Likewise.
13564         (copysign_test): Likewise.
13565         (cproj_test): Likewise.
13566         (creal_test): Likewise.
13567         (fabs_test): Likewise.
13568         (floor_test): Likewise.
13569         (fmax_test): Likewise.
13570         (fmin_test): Likewise.
13571         (fmod_test): Likewise.
13572         (fpclassify_test): Likewise.
13573         (frexp_test): Likewise.
13574         (ilogb_test): Likewise.
13575         (isfinite_test): Likewise.
13576         (finite_test): Likewise.
13577         (isgreater_test): Likewise.
13578         (isgreaterequal_test): Likewise.
13579         (isinf_test): Likewise.
13580         (isless_test): Likewise.
13581         (islessequal_test): Likewise.
13582         (islessgreater_test): Likewise.
13583         (isnan_test): Likewise.
13584         (isnormal_test): Likewise.
13585         (issignaling_test): Likewise.
13586         (isunordered_test): Likewise.
13587         (logb_test): Likewise.
13588         (logb_downward_test_data): Remove.
13589         (logb_test_downward): Likewise.
13590         (lround_test): Use ALL_RM_TEST.
13591         (llround_test): Likewise.
13592         (modf_test): Likewise.
13593         (nexttoward_test): Likewise.
13594         (remainder_test): Likewise.
13595         (drem_test): Likewise.
13596         (remainder_tonearest_test_data): Likewise.
13597         (remainder_test_tonearest): Likewise.
13598         (drem_test_tonearest): Likewise.
13599         (remainder_towardzero_test_data): Likewise.
13600         (remainder_test_towardzero): Likewise.
13601         (drem_test_towardzero): Likewise.
13602         (remainder_downward_test_data): Likewise.
13603         (remainder_test_downward): Likewise.
13604         (drem_test_downward): Likewise.
13605         (remainder_upward_test_data): Likewise.
13606         (remainder_test_upward): Likewise.
13607         (drem_test_upward): Likewise.
13608         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
13609         (round_test): Use ALL_RM_TEST.
13610         (signbit_test): Likewise.
13611         (trunc_test): Likewise.
13612         (significand_test): Likewise.
13613         (main): Don't call removed functions.
13614
13615 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
13616
13617         [BZ #16674]
13618         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
13619         || __USE_XOPEN2K8].
13620         (ILL_ILLOPN): Likewise.
13621         (ILL_ILLADR): Likewise.
13622         (ILL_ILLTRP): Likewise.
13623         (ILL_PRVOPC): Likewise.
13624         (ILL_PRVREG): Likewise.
13625         (ILL_COPROC): Likewise.
13626         (ILL_BADSTK): Likewise.
13627         (FPE_INTDIV): Likewise.
13628         (FPE_INTOVF): Likewise.
13629         (FPE_FLTDIV): Likewise.
13630         (FPE_FLTOVF): Likewise.
13631         (FPE_FLTUND): Likewise.
13632         (FPE_FLTRES): Likewise.
13633         (FPE_FLTINV): Likewise.
13634         (FPE_FLTSUB): Likewise.
13635         (SEGV_MAPERR): Likewise.
13636         (SEGV_ACCERR): Likewise.
13637         (BUS_ADRALN): Likewise.
13638         (BUS_ADRERR): Likewise.
13639         (BUS_OBJERR): Likewise.
13640         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13641         (TRAP_TRACE): Likewise.
13642         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13643         __USE_XOPEN2K8].
13644         (CLD_KILLED): Likewise.
13645         (CLD_DUMPED): Likewise.
13646         (CLD_TRAPPED): Likewise.
13647         (CLD_STOPPED): Likewise.
13648         (CLD_CONTINUED): Likewise.
13649         (POLL_IN): Likewise.
13650         (POLL_OUT): Likewise.
13651         (POLL_MSG): Likewise.
13652         (POLL_ERR): Likewise.
13653         (POLL_PRI): Likewise.
13654         (POLL_HUP): Likewise.
13655         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
13656         Likewise.
13657         (ILL_ILLOPN): Likewise.
13658         (ILL_ILLADR): Likewise.
13659         (ILL_ILLTRP): Likewise.
13660         (ILL_PRVOPC): Likewise.
13661         (ILL_PRVREG): Likewise.
13662         (ILL_COPROC): Likewise.
13663         (ILL_BADSTK): Likewise.
13664         (FPE_INTDIV): Likewise.
13665         (FPE_INTOVF): Likewise.
13666         (FPE_FLTDIV): Likewise.
13667         (FPE_FLTOVF): Likewise.
13668         (FPE_FLTUND): Likewise.
13669         (FPE_FLTRES): Likewise.
13670         (FPE_FLTINV): Likewise.
13671         (FPE_FLTSUB): Likewise.
13672         (SEGV_MAPERR): Likewise.
13673         (SEGV_ACCERR): Likewise.
13674         (BUS_ADRALN): Likewise.
13675         (BUS_ADRERR): Likewise.
13676         (BUS_OBJERR): Likewise.
13677         (BUS_MCEERR_AR): Likewise.
13678         (BUS_MCEERR_AO): Likewise.
13679         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13680         (TRAP_TRACE): Likewise.
13681         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13682         __USE_XOPEN2K8].
13683         (CLD_KILLED): Likewise.
13684         (CLD_DUMPED): Likewise.
13685         (CLD_TRAPPED): Likewise.
13686         (CLD_STOPPED): Likewise.
13687         (CLD_CONTINUED): Likewise.
13688         (POLL_IN): Likewise.
13689         (POLL_OUT): Likewise.
13690         (POLL_MSG): Likewise.
13691         (POLL_ERR): Likewise.
13692         (POLL_PRI): Likewise.
13693         (POLL_HUP): Likewise.
13694         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
13695         (ILL_ILLOPN): Likewise.
13696         (ILL_ILLADR): Likewise.
13697         (ILL_ILLTRP): Likewise.
13698         (ILL_PRVOPC): Likewise.
13699         (ILL_PRVREG): Likewise.
13700         (ILL_COPROC): Likewise.
13701         (ILL_BADSTK): Likewise.
13702         (FPE_INTDIV): Likewise.
13703         (FPE_INTOVF): Likewise.
13704         (FPE_FLTDIV): Likewise.
13705         (FPE_FLTOVF): Likewise.
13706         (FPE_FLTUND): Likewise.
13707         (FPE_FLTRES): Likewise.
13708         (FPE_FLTINV): Likewise.
13709         (FPE_FLTSUB): Likewise.
13710         (SEGV_MAPERR): Likewise.
13711         (SEGV_ACCERR): Likewise.
13712         (BUS_ADRALN): Likewise.
13713         (BUS_ADRERR): Likewise.
13714         (BUS_OBJERR): Likewise.
13715         (BUS_MCEERR_AR): Likewise.
13716         (BUS_MCEERR_AO): Likewise.
13717         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13718         (TRAP_TRACE): Likewise.
13719         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13720         __USE_XOPEN2K8].
13721         (CLD_KILLED): Likewise.
13722         (CLD_DUMPED): Likewise.
13723         (CLD_TRAPPED): Likewise.
13724         (CLD_STOPPED): Likewise.
13725         (CLD_CONTINUED): Likewise.
13726         (POLL_IN): Likewise.
13727         (POLL_OUT): Likewise.
13728         (POLL_MSG): Likewise.
13729         (POLL_ERR): Likewise.
13730         (POLL_PRI): Likewise.
13731         (POLL_HUP): Likewise.
13732         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
13733         Likewise.
13734         (ILL_ILLOPN): Likewise.
13735         (ILL_ILLADR): Likewise.
13736         (ILL_ILLTRP): Likewise.
13737         (ILL_PRVOPC): Likewise.
13738         (ILL_PRVREG): Likewise.
13739         (ILL_COPROC): Likewise.
13740         (ILL_BADSTK): Likewise.
13741         (ILL_BADIADDR): Likewise.
13742         (ILL_BREAK): Likewise.
13743         (FPE_INTDIV): Likewise.
13744         (FPE_INTOVF): Likewise.
13745         (FPE_FLTDIV): Likewise.
13746         (FPE_FLTOVF): Likewise.
13747         (FPE_FLTUND): Likewise.
13748         (FPE_FLTRES): Likewise.
13749         (FPE_FLTINV): Likewise.
13750         (FPE_FLTSUB): Likewise.
13751         (FPE_DECOVF): Likewise.
13752         (FPE_DECDIV): Likewise.
13753         (FPE_DECERR): Likewise.
13754         (FPE_INVASC): Likewise.
13755         (FPE_INVDEC): Likewise.
13756         (SEGV_MAPERR): Likewise.
13757         (SEGV_ACCERR): Likewise.
13758         (SEGV_PSTKOVF): Likewise.
13759         (BUS_ADRALN): Likewise.
13760         (BUS_ADRERR): Likewise.
13761         (BUS_OBJERR): Likewise.
13762         (BUS_MCEERR_AR): Likewise.
13763         (BUS_MCEERR_AO): Likewise.
13764         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13765         (TRAP_TRACE): Likewise.
13766         (TRAP_BRANCH): Likewise.
13767         (TRAP_HWBKPT): Likewise.
13768         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13769         __USE_XOPEN2K8].
13770         (CLD_KILLED): Likewise.
13771         (CLD_DUMPED): Likewise.
13772         (CLD_TRAPPED): Likewise.
13773         (CLD_STOPPED): Likewise.
13774         (CLD_CONTINUED): Likewise.
13775         (POLL_IN): Likewise.
13776         (POLL_OUT): Likewise.
13777         (POLL_MSG): Likewise.
13778         (POLL_ERR): Likewise.
13779         (POLL_PRI): Likewise.
13780         (POLL_HUP): Likewise.
13781         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
13782         (ILL_ILLOPN): Likewise.
13783         (ILL_ILLADR): Likewise.
13784         (ILL_ILLTRP): Likewise.
13785         (ILL_PRVOPC): Likewise.
13786         (ILL_PRVREG): Likewise.
13787         (ILL_COPROC): Likewise.
13788         (ILL_BADSTK): Likewise.
13789         (FPE_INTDIV): Likewise.
13790         (FPE_INTOVF): Likewise.
13791         (FPE_FLTDIV): Likewise.
13792         (FPE_FLTOVF): Likewise.
13793         (FPE_FLTUND): Likewise.
13794         (FPE_FLTRES): Likewise.
13795         (FPE_FLTINV): Likewise.
13796         (FPE_FLTSUB): Likewise.
13797         (SEGV_MAPERR): Likewise.
13798         (SEGV_ACCERR): Likewise.
13799         (BUS_ADRALN): Likewise.
13800         (BUS_ADRERR): Likewise.
13801         (BUS_OBJERR): Likewise.
13802         (BUS_MCEERR_AR): Likewise.
13803         (BUS_MCEERR_AO): Likewise.
13804         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13805         (TRAP_TRACE): Likewise.
13806         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13807         __USE_XOPEN2K8].
13808         (CLD_KILLED): Likewise.
13809         (CLD_DUMPED): Likewise.
13810         (CLD_TRAPPED): Likewise.
13811         (CLD_STOPPED): Likewise.
13812         (CLD_CONTINUED): Likewise.
13813         (POLL_IN): Likewise.
13814         (POLL_OUT): Likewise.
13815         (POLL_MSG): Likewise.
13816         (POLL_ERR): Likewise.
13817         (POLL_PRI): Likewise.
13818         (POLL_HUP): Likewise.
13819         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
13820         (ILL_ILLOPN): Likewise.
13821         (ILL_ILLADR): Likewise.
13822         (ILL_ILLTRP): Likewise.
13823         (ILL_PRVOPC): Likewise.
13824         (ILL_PRVREG): Likewise.
13825         (ILL_COPROC): Likewise.
13826         (ILL_BADSTK): Likewise.
13827         (FPE_INTDIV): Likewise.
13828         (FPE_INTOVF): Likewise.
13829         (FPE_FLTDIV): Likewise.
13830         (FPE_FLTOVF): Likewise.
13831         (FPE_FLTUND): Likewise.
13832         (FPE_FLTRES): Likewise.
13833         (FPE_FLTINV): Likewise.
13834         (FPE_FLTSUB): Likewise.
13835         (SEGV_MAPERR): Likewise.
13836         (SEGV_ACCERR): Likewise.
13837         (BUS_ADRALN): Likewise.
13838         (BUS_ADRERR): Likewise.
13839         (BUS_OBJERR): Likewise.
13840         (BUS_MCEERR_AR): Likewise.
13841         (BUS_MCEERR_AO): Likewise.
13842         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13843         (TRAP_TRACE): 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/sparc/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/tile/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         (ILL_DBLFLT): Likewise.
13904         (ILL_HARDWALL): Likewise.
13905         (FPE_INTDIV): Likewise.
13906         (FPE_INTOVF): Likewise.
13907         (FPE_FLTDIV): Likewise.
13908         (FPE_FLTOVF): Likewise.
13909         (FPE_FLTUND): Likewise.
13910         (FPE_FLTRES): Likewise.
13911         (FPE_FLTINV): Likewise.
13912         (FPE_FLTSUB): Likewise.
13913         (SEGV_MAPERR): Likewise.
13914         (SEGV_ACCERR): Likewise.
13915         (BUS_ADRALN): Likewise.
13916         (BUS_ADRERR): Likewise.
13917         (BUS_OBJERR): Likewise.
13918         (BUS_MCEERR_AR): Likewise.
13919         (BUS_MCEERR_AO): Likewise.
13920         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13921         (TRAP_TRACE): Likewise.
13922         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13923         __USE_XOPEN2K8].
13924         (CLD_KILLED): Likewise.
13925         (CLD_DUMPED): Likewise.
13926         (CLD_TRAPPED): Likewise.
13927         (CLD_STOPPED): Likewise.
13928         (CLD_CONTINUED): Likewise.
13929         (POLL_IN): Likewise.
13930         (POLL_OUT): Likewise.
13931         (POLL_MSG): Likewise.
13932         (POLL_ERR): Likewise.
13933         (POLL_PRI): Likewise.
13934         (POLL_HUP): Likewise.
13935         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
13936         (ILL_ILLOPN): Likewise.
13937         (ILL_ILLADR): Likewise.
13938         (ILL_ILLTRP): Likewise.
13939         (ILL_PRVOPC): Likewise.
13940         (ILL_PRVREG): Likewise.
13941         (ILL_COPROC): Likewise.
13942         (ILL_BADSTK): Likewise.
13943         (FPE_INTDIV): Likewise.
13944         (FPE_INTOVF): Likewise.
13945         (FPE_FLTDIV): Likewise.
13946         (FPE_FLTOVF): Likewise.
13947         (FPE_FLTUND): Likewise.
13948         (FPE_FLTRES): Likewise.
13949         (FPE_FLTINV): Likewise.
13950         (FPE_FLTSUB): Likewise.
13951         (SEGV_MAPERR): Likewise.
13952         (SEGV_ACCERR): Likewise.
13953         (BUS_ADRALN): Likewise.
13954         (BUS_ADRERR): Likewise.
13955         (BUS_OBJERR): Likewise.
13956         (BUS_MCEERR_AR): Likewise.
13957         (BUS_MCEERR_AO): Likewise.
13958         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13959         (TRAP_TRACE): Likewise.
13960         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13961         __USE_XOPEN2K8].
13962         (CLD_KILLED): Likewise.
13963         (CLD_DUMPED): Likewise.
13964         (CLD_TRAPPED): Likewise.
13965         (CLD_STOPPED): Likewise.
13966         (CLD_CONTINUED): Likewise.
13967         (POLL_IN): Likewise.
13968         (POLL_OUT): Likewise.
13969         (POLL_MSG): Likewise.
13970         (POLL_ERR): Likewise.
13971         (POLL_PRI): Likewise.
13972         (POLL_HUP): Likewise.
13973         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
13974         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
13975
13976         [BZ #16670]
13977         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
13978         before #include of <time.h>.
13979         [!__USE_XOPEN2K] (__need_timespec): Likewise.
13980         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
13981         (test-xfail-UNIX98/sched.h/conform): Likewise.
13982
13983 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
13984
13985         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
13986         error absence of trapping exception support.
13987         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
13988
13989 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
13990
13991         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
13992         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
13993         * timezone/Makefile (testdata): Move definition above include of
13994         Rules.
13995         (test-zones): New variable.
13996         (tests-special): Add zone files.
13997         (build-testdata): Use $(evaluate-test).
13998
13999         * elf/Makefile (tests-special): Rename tests to end with .out.
14000         ($(objpfx)noload-mem): Likewise.
14001         ($(objpfx)tst-leaks1-mem): Likewise.
14002         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
14003         * iconv/Makefile (xtests-special): Change test-iconvconfig to
14004         $(objpfx)test-iconvconfig.out.
14005         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
14006         set -e inside subshell and redirect output to file.
14007         * iconvdata/Makefile (generated): Rename tests to end with .out.
14008         Correct type.
14009         (tests-special): Rename tests to end with .out.
14010         ($(objpfx)mtrace-tst-loading): Likewise.
14011         * intl/Makefile (generated): Likewise.
14012         (tests-special): Likewise.
14013         ($(objpfx)mtrace-tst-gettext): Likewise.
14014         * misc/Makefile (generated): Likewise.
14015         (tests-special): Likewise.
14016         ($(objpfx)tst-error1-mem): Likewise.
14017         * nptl/Makefile (tests-special): Likewise.
14018         ($(objpfx)tst-stack3-mem): Likewise.
14019         (generated): Likewise.
14020         * posix/Makefile (generated): Likewise.
14021         (tests-special): Likewise.
14022         (xtests-special): Likewise.
14023         ($(objpfx)tst-fnmatch-mem): Likewise.
14024         ($(objpfx)bug-regex2-mem): Likewise.
14025         ($(objpfx)bug-regex14-mem): Likewise.
14026         ($(objpfx)bug-regex21-mem): Likewise.
14027         ($(objpfx)bug-regex31-mem): Likewise.
14028         ($(objpfx)tst-vfork3-mem): Likewise.
14029         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
14030         ($(objpfx)tst-pcre-mem): Likewise.
14031         ($(objpfx)tst-boost-mem): Likewise.
14032         ($(objpfx)bug-ga2-mem): Likewise.
14033         ($(objpfx)bug-glob2-mem): Likewise.
14034         * resolv/Makefile (generate): Likewise.
14035         (tests-special): Likewise.
14036         (xtests-special): Likewise.
14037         (generated): Likewise.
14038         ($(objpfx)mtrace-tst-leaks): Likewise.
14039         ($(objpfx)mtrace-tst-leaks2): Likewise.
14040
14041         * scripts/merge-test-results.sh: New file.
14042         * Makefile (tests-special-notdir): New variable.
14043         (tests): Run merge-test-results.sh.
14044         (xtests): Likewise.
14045         * Rules (tests-special-notdir): New variable.
14046         (xtests-special-notdir): Likewise.
14047         (tests): Run merge-test-results.sh
14048         (xtests): Likewise.
14049
14050         * Makeconfig (test-xfail-name): New variable.
14051         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
14052         compute variable name for expected failures.
14053         * conform/Makefile (conformtest-headers-data): New variable.
14054         (conformtest-standards): Likewise.
14055         (conformtest-headers-ISO): Likewise.
14056         (conformtest-headers-ISO99): Likewise.
14057         (conformtest-headers-ISO11): Likewise.
14058         (conformtest-headers-POSIX): Likewise.
14059         (conformtest-headers-XPG3): Likewise.
14060         (conformtest-headers-XPG4): Likewise.
14061         (conformtest-headers-UNIX98): Likewise.
14062         (conformtest-headers-XOPEN2K): Likewise.
14063         (conformtest-headers-POSIX2008): Likewise.
14064         (conformtest-headers-XOPEN2K8): Likewise.
14065         (conformtest-header-list-base): Likewise.
14066         (conformtest-header-list-tests): Likewise.
14067         (conformtest-header-base): Likewise.
14068         (conformtest-header-tests): Likewise.
14069         (tests-special): Add $(conformtest-header-list-tests).  If
14070         [$(fast-check) && !$(cross-compiling)], add
14071         $(conformtest-header-tests) instead of
14072         $(objpfx)run-conformtest.out.
14073         (generated): Add $(conformtest-header-list-base).  If
14074         [$(fast-check) && !$(cross-compiling)], add
14075         $(conformtest-header-base).  Remove previous setting.
14076         ($(conformtest-header-list-tests)): New target.
14077         (test-xfail-run-conformtest): Remove variable.
14078         ($(objpfx)run-conformtest.out): Remove target.
14079         (test-xfail-ISO11/complex.h/conform): New variable.
14080         (test-xfail-ISO11/stdalign.h/conform): Likewise.
14081         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
14082         (test-xfail-XPG3/varargs.h/conform): Likewise.
14083         (test-xfail-XPG4/varargs.h/conform): Likewise.
14084         (test-xfail-UNIX98/varargs.h/conform): Likewise.
14085         (test-xfail-XPG4/ndbm.h/conform): Likewise.
14086         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
14087         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
14088         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
14089         (test-xfail-XPG3/fcntl.h/conform): Likewise.
14090         (test-xfail-XPG3/ftw.h/conform): Likewise.
14091         (test-xfail-XPG3/grp.h/conform): Likewise.
14092         (test-xfail-XPG3/langinfo.h/conform): Likewise.
14093         (test-xfail-XPG3/limits.h/conform): Likewise.
14094         (test-xfail-XPG3/pwd.h/conform): Likewise.
14095         (test-xfail-XPG3/search.h/conform): Likewise.
14096         (test-xfail-XPG3/signal.h/conform): Likewise.
14097         (test-xfail-XPG3/stdio.h/conform): Likewise.
14098         (test-xfail-XPG3/stdlib.h/conform): Likewise.
14099         (test-xfail-XPG3/string.h/conform): Likewise.
14100         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
14101         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
14102         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
14103         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
14104         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
14105         (test-xfail-XPG3/sys/types.h/conform): Likewise.
14106         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
14107         (test-xfail-XPG3/termios.h/conform): Likewise.
14108         (test-xfail-XPG3/time.h/conform): Likewise.
14109         (test-xfail-XPG3/unistd.h/conform): Likewise.
14110         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
14111         (test-xfail-XPG4/fcntl.h/conform): Likewise.
14112         (test-xfail-XPG4/langinfo.h/conform): Likewise.
14113         (test-xfail-XPG4/netdb.h/conform): Likewise.
14114         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
14115         (test-xfail-XPG4/signal.h/conform): Likewise.
14116         (test-xfail-XPG4/stdio.h/conform): Likewise.
14117         (test-xfail-XPG4/stdlib.h/conform): Likewise.
14118         (test-xfail-XPG4/stropts.h/conform): Likewise.
14119         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
14120         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
14121         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
14122         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
14123         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
14124         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
14125         (test-xfail-XPG4/sys/time.h/conform): Likewise.
14126         (test-xfail-XPG4/sys/types.h/conform): Likewise.
14127         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
14128         (test-xfail-XPG4/termios.h/conform): Likewise.
14129         (test-xfail-XPG4/ucontext.h/conform): Likewise.
14130         (test-xfail-XPG4/unistd.h/conform): Likewise.
14131         (test-xfail-XPG4/utmpx.h/conform): Likewise.
14132         (test-xfail-POSIX/sched.h/conform): Likewise.
14133         (test-xfail-POSIX/signal.h/conform): Likewise.
14134         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
14135         (test-xfail-POSIX/tar.h/conform): Likewise.
14136         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
14137         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
14138         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
14139         (test-xfail-UNIX98/netdb.h/conform): Likewise.
14140         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
14141         (test-xfail-UNIX98/sched.h/conform): Likewise.
14142         (test-xfail-UNIX98/signal.h/conform): Likewise.
14143         (test-xfail-UNIX98/stdio.h/conform): Likewise.
14144         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
14145         (test-xfail-UNIX98/stropts.h/conform): Likewise.
14146         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
14147         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
14148         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
14149         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
14150         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
14151         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
14152         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
14153         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
14154         (test-xfail-UNIX98/unistd.h/conform): Likewise.
14155         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
14156         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
14157         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
14158         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
14159         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
14160         (test-xfail-XOPEN2K/math.h/conform): Likewise.
14161         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
14162         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
14163         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
14164         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
14165         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
14166         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
14167         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
14168         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
14169         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
14170         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
14171         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
14172         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
14173         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
14174         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
14175         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
14176         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
14177         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
14178         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
14179         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
14180         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
14181         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
14182         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
14183         (test-xfail-POSIX2008/signal.h/conform): Likewise.
14184         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
14185         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
14186         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
14187         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
14188         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
14189         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
14190         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
14191         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
14192         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
14193         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
14194         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
14195         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
14196         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
14197         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
14198         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
14199         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
14200         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
14201         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
14202         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
14203         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
14204         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
14205         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
14206         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
14207         (conformtest-cc-flags): Likewise.
14208         ($(conformtest-header-tests): New target.
14209         * conform/check-header-lists.sh: New file.
14210         * conform/run-conformtest.sh: Remove.
14211
14212         * conform/conformtest.pl: Allow ' and \ in values given for
14213         constants.
14214         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
14215         inclusion.
14216         [POSIX] (sys/types.h): Likewise.
14217         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
14218         inclusion.
14219         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
14220         inclusion.
14221         * conform/data/signal.h-data (SIGIO): Remove expectation.
14222         [XPG3] (SIGBUS): Do not expect.
14223         [POSIX || XPG3] (SIGPOLL): Likewise.
14224         [POSIX || XPG3] (SIGPROF): Likewise.
14225         [POSIX || XPG3] (SIGSYS): Likewise.
14226         [XPG3] (SIGTRAP): Likewise.
14227         [POSIX || XPG3] (SIGURG): Likewise.
14228         [POSIX || XPG3] (SIGVTALRM): Likewise.
14229         [POSIX || XPG3] (SIGXCPU): Likewise.
14230         [POSIX || XPG3] (SIGXFSZ): Likewise.
14231         [POSIX] (SA_SIGINFO): Expect.
14232         [XPG3] (siginfo_t): Do not expect type or contents.
14233         [POSIX] (si_pid): Do not expect element.
14234         [POSIX] (si_uid): Likewise.
14235         [POSIX] (si_addr): Likewise.
14236         [POSIX] (si_status): Likewise.
14237         [POSIX] (si_band): Likewise.
14238         [XPG4] (si_value): Likewise.
14239         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
14240         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
14241         [POSIX || XPG3] (ILL_ILLADR): Likewise.
14242         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
14243         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
14244         [POSIX || XPG3] (ILL_PRVREG): Likewise.
14245         [POSIX || XPG3] (ILL_COPROC): Likewise.
14246         [POSIX || XPG3] (ILL_BADSTK): Likewise.
14247         [POSIX || XPG3] (FPE_INTDIV): Likewise.
14248         [POSIX || XPG3] (FPE_INTOVF): Likewise.
14249         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
14250         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
14251         [POSIX || XPG3] (FPE_FLTUND): Likewise.
14252         [POSIX || XPG3] (FPE_FLTRES): Likewise.
14253         [POSIX || XPG3] (FPE_FLTINV): Likewise.
14254         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
14255         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
14256         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
14257         [POSIX || XPG3] (BUS_ADRALN): Likewise.
14258         [POSIX || XPG3] (BUS_ADRERR): Likewise.
14259         [POSIX || XPG3] (BUS_OBJERR): Likewise.
14260         [POSIX || XPG3] (CLD_EXITED): Likewise.
14261         [POSIX || XPG3] (CLD_KILLED): Likewise.
14262         [POSIX || XPG3] (CLD_DUMPED): Likewise.
14263         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
14264         [POSIX || XPG3] (CLD_STOPPED): Likewise.
14265         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
14266         [POSIX || XPG3] (POLL_IN): Likewise.
14267         [POSIX || XPG3] (POLL_OUT): Likewise.
14268         [POSIX || XPG3] (POLL_MSG): Likewise.
14269         [POSIX || XPG3] (POLL_ERR): Likewise.
14270         [POSIX || XPG3] (POLL_PRI): Likewise.
14271         [POSIX || XPG3] (POLL_HUP): Likewise.
14272         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
14273         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
14274         (SIG*): Do not allow.
14275         [XPG3] (si_*): Likewise.
14276         [XPG3] (SI_*): Likewise.
14277         [XPG3 || XPG4] (sigev_*): Likewise.
14278         [XPG3 || XPG4] (SIGEV_*): Likewise.
14279         [XPG3 || XPG4] (sival_*): Likewise.
14280         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
14281         [POSIX || XPG3] (BUS_*): Likewise.
14282         [POSIX || XPG3] (CLD_*): Likewise.
14283         [POSIX || XPG3] (FPE_*): Likewise.
14284         [POSIX || XPG3] (ILL_*): Likewise.
14285         [POSIX || XPG3] (POLL_*): Likewise.
14286         [POSIX || XPG3] (SEGV_*): Likewise.
14287         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
14288         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
14289         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
14290         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
14291         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
14292         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
14293         Specify type and value.
14294         (TVERSLEN): Likewise.
14295         (REGTYPE): Likewise.
14296         (AREGTYPE): Likewise.
14297         (LNKTYPE): Likewise.
14298         (SYMTYPE): Likewise.
14299         (CHRTYPE): Likewise.
14300         (BLKTYPE): Likewise.
14301         (DIRTYPE): Likewise.
14302         (FIFOTYPE): Likewise.
14303         (CONTTYPE): Likewise.
14304         (TSUID): Likewise.
14305         (TSGID): Likewise.
14306         (TSVTX): Likewise.
14307         (TUREAD): Likewise.
14308         (TUWRITE): Likewise.
14309         (TUEXEC): Likewise.
14310         (TGREAD): Likewise.
14311         (TGWRITE): Likewise.
14312         (TGEXEC): Likewise.
14313         (TOREAD): Likewise.
14314         (TOWRITE): Likewise.
14315         (TOEXEC): Likewise.
14316         [POSIX] (TSVTX): Expect constant.
14317
14318 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
14319
14320         * Makefile (tests): Change dependencies to ....
14321         (tests-special): ... additions to this variable.
14322         (tests): Depend on $(tests-special).
14323         * Makerules (check-abi-list): New variable.
14324         (check-abi): Depend on $(check-abi-list).
14325         [$(subdir) = elf] (tests-special): Add
14326         $(objpfx)check-abi-libc.out.
14327         [$(build-shared) = yes && subdir] (tests-special): Add
14328         $(check-abi-list).
14329         [$(build-shared) = yes && subdir] (tests): Do not depend on
14330         check-abi.
14331         * Rules (tests): Depend on $(tests-special).
14332         (xtests): Depend on $(xtests-special).
14333         * catgets/Makefile (tests): Change dependencies to ....
14334         (tests-special): ... additions to this variable.
14335         * conform/Makefile (tests): Change dependencies to ....
14336         (tests-special): ... additions to this variable.
14337         * elf/Makefile (tests): Change dependencies to ....
14338         (tests-special): ... additions to this variable.
14339         * grp/Makefile (tests): Change dependencies to ....
14340         (tests-special): ... additions to this variable.
14341         * iconv/Makefile (xtests): Change dependencies to ....
14342         (xtests-special): ... additions to this variable.
14343         * iconvdata/Makefile (tests): Change dependencies to ....
14344         (tests-special): ... additions to this variable.
14345         * intl/Makefile (tests): Change dependencies to ....
14346         (tests-special): ... additions to this variable.  Also add
14347         $(objpfx)tst-gettext.out.
14348         * io/Makefile (tests): Change dependencies to ....
14349         (tests-special): ... additions to this variable.
14350         * libio/Makefile (tests): Change dependencies to ....
14351         (tests-special): ... additions to this variable.
14352         * malloc/Makefile (tests): Change dependencies to ....
14353         (tests-special): ... additions to this variable.
14354         * misc/Makefile (tests): Change dependencies to ....
14355         (tests-special): ... additions to this variable.
14356         * nptl/Makefile (tests): Change dependencies to ....
14357         (tests-special): ... additions to this variable.
14358         * nptl_db/Makefile (tests): Change dependencies to ....
14359         (tests-special): ... additions to this variable.
14360         * posix/Makefile (tests): Change dependencies to ....
14361         (tests-special): ... additions to this variable.
14362         (xtests): Change dependencies to ....
14363         (xtests-special): ... additions to this variable.
14364         * resolv/Makefile (tests): Change dependencies to ....
14365         (tests-special): ... additions to this variable.
14366         (xtests): Change dependencies to ....
14367         (xtests-special): ... additions to this variable.
14368         * stdio-common/Makefile (tests): Change dependencies to ....
14369         (tests-special): ... additions to this variable.
14370         (do-tst-unbputc): Remove target.
14371         (do-tst-printf): Likewise.
14372         * stdlib/Makefile (tests): Change dependencies to ....
14373         (tests-special): ... additions to this variable.
14374         * string/Makefile (tests): Change dependencies to ....
14375         (tests-special): ... additions to this variable.
14376         * sysdeps/x86/Makefile (tests): Change dependencies to ....
14377         (tests-special): ... additions to this variable.
14378
14379         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
14380         whole file.
14381         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
14382         whole file.
14383         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
14384         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
14385
14386         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
14387         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
14388         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
14389         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
14390         * conform/data/libgen.h-data [XPG3]: Likewise.
14391         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
14392         * conform/data/ndbm.h-data [XPG3]: Likewise.
14393         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
14394         * conform/data/netdb.h-data [XPG3]: Likewise.
14395         * conform/data/netinet/in.h-data [XPG3]: Likewise.
14396         * conform/data/poll.h-data [XPG3]: Likewise.
14397         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
14398         * conform/data/strings.h-data [XPG3]: Likewise.
14399         * conform/data/stropts.h-data [XPG3]: Likewise.
14400         * conform/data/sys/mman.h-data [XPG3]: Likewise.
14401         * conform/data/sys/resource.h-data [XPG3]: Likewise.
14402         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
14403         Likewise.
14404         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
14405         * conform/data/sys/time.h-data [XPG3]: Likewise.
14406         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
14407         * conform/data/sys/uio.h-data [XPG3]: Likewise.
14408         * conform/data/sys/un.h-data [XPG3]: Likewise.
14409         * conform/data/syslog.h-data [XPG3]: Likewise.
14410         * conform/data/ucontext.h-data [XPG3]: Likewise.
14411         * conform/data/utmpx.h-data [XPG3]: Likewise.
14412         * conform/data/varargs.h-data [UNIX98]: Enable file.
14413
14414         * manual/Makefile (INSTALL_INFO): Remove variable setting.
14415
14416         * math/libm-test.inc (struct test_f_f_data): Move expected results
14417         into structure for each rounding mode.
14418         (struct test_ff_f_data): Likewise.
14419         (struct test_ff_f_data_nexttoward): Likewise.
14420         (struct test_fi_f_data): Likewise.
14421         (struct test_fl_f_data): Likewise.
14422         (struct test_if_f_data): Likewise.
14423         (struct test_fff_f_data): Likewise.
14424         (struct test_c_f_data): Likewise.
14425         (struct test_f_f1_data): Likewise.
14426         (struct test_fF_f1_data): Likewise.
14427         (struct test_ffI_f1_data): Likewise.
14428         (struct test_c_c_data): Likewise.
14429         (struct test_cc_c_data): Likewise.
14430         (struct test_f_i_data): Likewise.
14431         (struct test_ff_i_data): Likewise.
14432         (struct test_f_l_data): Likewise.
14433         (struct test_f_L_data): Likewise.
14434         (struct test_fFF_11_data): Likewise.
14435         (RM_): New macro.
14436         (RM_FE_DOWNWARD): Likewise.
14437         (RM_FE_TONEAREST): Likewise.
14438         (RM_FE_TOWARDZERO): Likewise.
14439         (RM_FE_UPWARD): Likewise.
14440         (RUN_TEST_LOOP_f_f): Update references to expected results.
14441         (RUN_TEST_LOOP_2_f): Likewise.
14442         (RUN_TEST_LOOP_fff_f): Likewise.
14443         (RUN_TEST_LOOP_c_f): Likewise.
14444         (RUN_TEST_LOOP_f_f1): Likewise.
14445         (RUN_TEST_LOOP_fF_f1): Likewise.
14446         (RUN_TEST_LOOP_fI_f1): Likewise.
14447         (RUN_TEST_LOOP_ffI_f1): Likewise.
14448         (RUN_TEST_LOOP_c_c): Likewise.
14449         (RUN_TEST_LOOP_cc_c): Likewise.
14450         (RUN_TEST_LOOP_f_i): Likewise.
14451         (RUN_TEST_LOOP_f_i_tg): Likewise.
14452         (RUN_TEST_LOOP_ff_i_tg): Likewise.
14453         (RUN_TEST_LOOP_f_b): Likewise.
14454         (RUN_TEST_LOOP_f_b_tg): Likewise.
14455         (RUN_TEST_LOOP_f_l): Likewise.
14456         (RUN_TEST_LOOP_f_L): Likewise.
14457         (RUN_TEST_LOOP_fFF_11): Likewise.
14458         * math/gen-libm-test.pl (parse_args): Output four copies of
14459         expected results for each test.
14460
14461         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14462         (__ASSUME_UTIMES): Remove.
14463         * sysdeps/unix/sysv/linux/tile/kernel-features.h
14464         (__ASSUME_UTIMES): Likewise.
14465
14466         * math/gen-auto-libm-tests.c: Update comment on output format.
14467         (output_for_one_input_case): Generate before-rounding and
14468         after-rounding information as conditions on output flags not
14469         floating-point format.
14470         * math/auto-libm-test-out: Regenerated.
14471         * math/gen-libm-test.pl (cond_value): New function.
14472         (or_cond_value): Use cond_value.
14473         (generate_testfile): Handle conditional exceptions.
14474
14475 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
14476
14477         * math/libm-test.inc (max_valid_error): New variable.
14478         (init_max_error): Take new argument specifying whether function
14479         results are exactly determined.  Set max_valid_error and bound
14480         other variables for errors based on this argument.
14481         (set_max_error): Do not record results above max_valid_error.
14482         (check_float_internal): Only accept errors of up to 0.5ulps if
14483         also at most max_valid_error.
14484         (START): Take new argument EXACT and pass it to init_max_error.
14485         (acos_test): Update call to START.
14486         (acos_test_tonearest): Likewise.
14487         (acos_test_towardzero): Likewise.
14488         (acos_test_downward): Likewise.
14489         (acos_test_upward): Likewise.
14490         (acosh_test): Likewise.
14491         (asin_test): Likewise.
14492         (asin_test_tonearest): Likewise.
14493         (asin_test_towardzero): Likewise.
14494         (asin_test_downward): Likewise.
14495         (asin_test_upward): Likewise.
14496         (asinh_test): Likewise.
14497         (atan_test): Likewise.
14498         (atanh_test): Likewise.
14499         (atan2_test): Likewise.
14500         (cabs_test): Likewise.
14501         (cacos_test): Likewise.
14502         (cacosh_test): Likewise.
14503         (carg_test): Likewise.
14504         (casin_test): Likewise.
14505         (casinh_test): Likewise.
14506         (catan_test): Likewise.
14507         (catanh_test): Likewise.
14508         (cbrt_test): Likewise.
14509         (ccos_test): Likewise.
14510         (ccosh_test): Likewise.
14511         (ceil_test): Likewise.
14512         (cexp_test): Likewise.
14513         (cimag_test): Likewise.
14514         (clog_test): Likewise.
14515         (clog10_test): Likewise.
14516         (conj_test): Likewise.
14517         (copysign_test): Likewise.
14518         (cos_test): Likewise.
14519         (cos_test_tonearest): Likewise.
14520         (cos_test_towardzero): Likewise.
14521         (cos_test_downward): Likewise.
14522         (cos_test_upward): Likewise.
14523         (cosh_test): Likewise.
14524         (cosh_test_tonearest): Likewise.
14525         (cosh_test_towardzero): Likewise.
14526         (cosh_test_downward): Likewise.
14527         (cosh_test_upward): Likewise.
14528         (cpow_test): Likewise.
14529         (cproj_test): Likewise.
14530         (creal_test): Likewise.
14531         (csin_test): Likewise.
14532         (csinh_test): Likewise.
14533         (csqrt_test): Likewise.
14534         (ctan_test): Likewise.
14535         (ctan_test_tonearest): Likewise.
14536         (ctan_test_towardzero): Likewise.
14537         (ctan_test_downward): Likewise.
14538         (ctan_test_upward): Likewise.
14539         (ctanh_test): Likewise.
14540         (ctanh_test_tonearest): Likewise.
14541         (ctanh_test_towardzero): Likewise.
14542         (ctanh_test_downward): Likewise.
14543         (ctanh_test_upward): Likewise.
14544         (erf_test): Likewise.
14545         (erfc_test): Likewise.
14546         (exp_test): Likewise.
14547         (exp_test_tonearest): Likewise.
14548         (exp_test_towardzero): Likewise.
14549         (exp_test_downward): Likewise.
14550         (exp_test_upward): Likewise.
14551         (exp10_test): Likewise.
14552         (exp10_test_tonearest): Likewise.
14553         (exp10_test_towardzero): Likewise.
14554         (exp10_test_downward): Likewise.
14555         (exp10_test_upward): Likewise.
14556         (pow10_test): Likewise.
14557         (exp2_test): Likewise.
14558         (expm1_test): Likewise.
14559         (expm1_test_tonearest): Likewise.
14560         (expm1_test_towardzero): Likewise.
14561         (expm1_test_downward): Likewise.
14562         (expm1_test_upward): Likewise.
14563         (fabs_test): Likewise.
14564         (fdim_test): Likewise.
14565         (floor_test): Likewise.
14566         (fma_test): Likewise.
14567         (fma_test_towardzero): Likewise.
14568         (fma_test_downward): Likewise.
14569         (fma_test_upward): Likewise.
14570         (fmax_test): Likewise.
14571         (fmin_test): Likewise.
14572         (fmod_test): Likewise.
14573         (fpclassify_test): Likewise.
14574         (frexp_test): Likewise.
14575         (hypot_test): Likewise.
14576         (ilogb_test): Likewise.
14577         (isfinite_test): Likewise.
14578         (finite_test): Likewise.
14579         (isgreater_test): Likewise.
14580         (isgreaterequal_test): Likewise.
14581         (isinf_test): Likewise.
14582         (isless_test): Likewise.
14583         (islessequal_test): Likewise.
14584         (islessgreater_test): Likewise.
14585         (isnan_test): Likewise.
14586         (isnormal_test): Likewise.
14587         (issignaling_test): Likewise.
14588         (isunordered_test): Likewise.
14589         (j0_test): Likewise.
14590         (j1_test): Likewise.
14591         (jn_test): Likewise.
14592         (ldexp_test): Likewise.
14593         (lgamma_test): Likewise.
14594         (gamma_test): Likewise.
14595         (lrint_test): Likewise.
14596         (lrint_test_tonearest): Likewise.
14597         (lrint_test_towardzero): Likewise.
14598         (lrint_test_downward): Likewise.
14599         (lrint_test_upward): Likewise.
14600         (llrint_test): Likewise.
14601         (llrint_test_tonearest): Likewise.
14602         (llrint_test_towardzero): Likewise.
14603         (llrint_test_downward): Likewise.
14604         (llrint_test_upward): Likewise.
14605         (log_test): Likewise.
14606         (log10_test): Likewise.
14607         (log1p_test): Likewise.
14608         (log2_test): Likewise.
14609         (logb_test): Likewise.
14610         (logb_test_downward): Likewise.
14611         (lround_test): Likewise.
14612         (llround_test): Likewise.
14613         (modf_test): Likewise.
14614         (nearbyint_test): Likewise.
14615         (nextafter_test): Likewise.
14616         (nexttoward_test): Likewise.
14617         (pow_test): Likewise.
14618         (pow_test_tonearest): Likewise.
14619         (pow_test_towardzero): Likewise.
14620         (pow_test_downward): Likewise.
14621         (pow_test_upward): Likewise.
14622         (remainder_test): Likewise.
14623         (drem_test): Likewise.
14624         (remainder_test_tonearest): Likewise.
14625         (drem_test_tonearest): Likewise.
14626         (remainder_test_towardzero): Likewise.
14627         (drem_test_towardzero): Likewise.
14628         (remainder_test_downward): Likewise.
14629         (drem_test_downward): Likewise.
14630         (remainder_test_upward): Likewise.
14631         (drem_test_upward): Likewise.
14632         (remquo_test): Likewise.
14633         (rint_test): Likewise.
14634         (rint_test_tonearest): Likewise.
14635         (rint_test_towardzero): Likewise.
14636         (rint_test_downward): Likewise.
14637         (rint_test_upward): Likewise.
14638         (round_test): Likewise.
14639         (scalb_test): Likewise.
14640         (scalbn_test): Likewise.
14641         (scalbln_test): Likewise.
14642         (signbit_test): Likewise.
14643         (sin_test): Likewise.
14644         (sin_test_tonearest): Likewise.
14645         (sin_test_towardzero): Likewise.
14646         (sin_test_downward): Likewise.
14647         (sin_test_upward): Likewise.
14648         (sincos_test): Likewise.
14649         (sinh_test): Likewise.
14650         (sinh_test_tonearest): Likewise.
14651         (sinh_test_towardzero): Likewise.
14652         (sinh_test_downward): Likewise.
14653         (sinh_test_upward): Likewise.
14654         (sqrt_test): Likewise.
14655         (sqrt_test_tonearest): Likewise.
14656         (sqrt_test_towardzero): Likewise.
14657         (sqrt_test_downward): Likewise.
14658         (sqrt_test_upward): Likewise.
14659         (tan_test): Likewise.
14660         (tan_test_tonearest): Likewise.
14661         (tan_test_towardzero): Likewise.
14662         (tan_test_downward): Likewise.
14663         (tan_test_upward): Likewise.
14664         (tanh_test): Likewise.
14665         (tgamma_test): Likewise.
14666         (trunc_test): Likewise.
14667         (y0_test): Likewise.
14668         (y1_test): Likewise.
14669         (yn_test): Likewise.
14670         (significand_test): Likewise.
14671
14672         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
14673         individual tests in comment.
14674         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
14675         (prev_max_error): New variable.
14676         (prev_real_max_error): Likewise.
14677         (prev_imag_max_error): Likewise.
14678         (compare_ulp_data): Don't refer to test names in comment.
14679         (find_test_ulps): Remove function.
14680         (find_function_ulps): Likewise.
14681         (find_complex_function_ulps): Likewise.
14682         (init_max_error): Take function name as argument.  Look up ulps
14683         for that function.
14684         (print_ulps): Remove function.
14685         (print_max_error): Use prev_max_error instead of calling
14686         find_function_ulps.
14687         (print_complex_max_error): Use prev_real_max_error and
14688         prev_imag_max_error instead of calling find_complex_function_ulps.
14689         (check_float_internal): Take max_ulp parameter instead of calling
14690         find_test_ulps.  Don't call print_ulps.
14691         (check_float): Update call to check_float_internal.
14692         (check_complex): Update calls to check_float_internal.
14693         (START): Pass argument to init_max_error.
14694         * math/gen-libm-test.pl (%results): Don't include "kind"
14695         information.
14696         (parse_ulps): Don't handle ulps of individual tests.
14697         (print_ulps_file): Likewise.
14698         (output_ulps): Likewise.
14699         * math/README.libm-test: Update.
14700         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
14701         individual tests.
14702         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
14703         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
14704         * sysdeps/arm/libm-test-ulps: Likewise.
14705         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
14706         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
14707         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
14708         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
14709         * sysdeps/microblaze/libm-test-ulps: Likewise.
14710         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
14711         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14712         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14713         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
14714         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
14715         * sysdeps/sh/libm-test-ulps: Likewise.
14716         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
14717         * sysdeps/tile/libm-test-ulps: Likewise.
14718         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14719
14720 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
14721
14722         * math/libm-test.inc (print_complex_max_error): Check separately
14723         whether real and imaginary errors are within allowed range and
14724         pass 0 to print_complex_function_ulps instead of value within
14725         allowed range.
14726
14727 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14728
14729         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
14730         formatting.
14731         (get_handles_fopen): Likewise.
14732         (do_write_test): Likewise.
14733
14734         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
14735
14736         * libio/fileops.c (do_ftell): Use cached offset when
14737         available.
14738         * libio/iofwide.c (do_ftell_wide): Likewise.
14739         * libio/iofdopen.c (_IO_new_fdopen): Don't use
14740         _IO_file_attach.
14741         * libio/wfileops.c (_IO_fwide): Don't cache offset.
14742
14743         [BZ #16532]
14744         * libio/libioP.h (get_file_offset): New function.
14745         * libio/fileops.c (get_file_offset): Likewise.
14746         (do_ftell): Likewise.
14747         (_IO_new_file_seekoff): Split out ftell logic.
14748         * libio/wfileops.c (do_ftell_wide): Likewise.
14749         (_IO_wfile_seekoff): Split out ftell logic.
14750         * libio/tst-ftell-active-handler.c: New test case.
14751         * libio/Makefile (tests): Add it.
14752
14753 2014-03-03  Roland McGrath  <roland@hack.frob.com>
14754
14755         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
14756         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
14757
14758 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
14759
14760         [BZ #16639]
14761         * nscd/connections.c (nscd_init): Call do_exit.
14762         (start_threads): Call do_exit and notify_parent.
14763         (begin_drop_privileges): Call do_exit.
14764         (finish_drop_privileges): Likewise.
14765         * nscd/selinux.c (preserve_capabilities): Likewise.
14766         (install_real_capabilities): Likewise.
14767         (nscd_selinux_enabled): Likewise.
14768         (avc_create_thread): Likewise.
14769         (avc_alloc_lock): Likewise.
14770         (nscd_avc_init): Likewise.
14771         * nscd/nscd.c (parent_fd): New static variable.
14772         (main): Create a pipe between parent and child processes.
14773         Skip closing parent_fd.
14774         (monitor_child): New function.
14775         (do_exit): Likewise.
14776         (notify_parent): Likewise.
14777         * nscd/nscd.h (notify_parent): Likewise.
14778         (do_exit): Likewise.
14779
14780 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
14781
14782         * malloc/malloc.c (__libc_calloc): Revert last change.
14783
14784 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14785
14786         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14787
14788 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14789
14790         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
14791         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
14792         implementation.
14793         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14794         (__libc_ifunc_impl_list): Likewise.
14795         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
14796         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
14797         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
14798         * string/strrchr.c: Define STRRCHR.
14799
14800 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
14801
14802         * benchtest/bench-strtok.c (simple_strtok): Delete.
14803         (strtok_string): Use as benchmark.
14804         * string/strtok (STRTOK): New macro.
14805
14806 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
14807
14808         * manual/threads.texi: Add header and standard comments to all
14809         functions.
14810
14811         * elf/dl-lookup.c (check_match): New function.
14812         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
14813         (do_lookup_x): Remove nested function check_match. Use non-nested
14814         function check_match.
14815
14816 2014-02-28  Roland McGrath  <roland@hack.frob.com>
14817
14818         * csu/Makefile (generated, before-compile): Use += rather than =.
14819         * catgets/Makefile (generated, generated-dirs): Likewise.
14820         * debug/Makefile (generated): Likewise.
14821         * dlfcn/Makefile (generated): Likewise.
14822         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
14823         * iconvdata/Makefile (before-compile, generated): Likewise.
14824         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
14825         * libio/Makefile (generated): Likewise.
14826         * malloc/Makefile (generated): Likewise.
14827         * manual/Makefile (generated, generated-dirs): Likewise.
14828         * misc/Makefile (generated): Likewise.
14829         * posix/Makefile (generated): Likewise.
14830         * resolv/Makefile (generated): Likewise.
14831         * sunrpc/Makefile (generated, generated-dirs): Likewise.
14832         * timezone/Makefile (generated, generated-dirs): Likewise.
14833
14834         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
14835
14836 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14837
14838         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
14839         power8 implementation.
14840         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
14841         file: POWER8 llround ifunc implementation.
14842         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
14843         (__lllround): Add POWER8 implementation.
14844         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
14845         POWER8 llround implementation.
14846
14847         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
14848         power8 implementation.
14849         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
14850         file: POWER8 llrint ifunc implementation.
14851         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
14852         Add POWER8 implementation.
14853         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
14854         POWER8 llrint implementation.
14855
14856         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
14857         power8 implementation.
14858         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
14859         file: POWER8 finite ifunc implementation.
14860         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
14861         Add POWER8 implementation.
14862         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
14863         Likewise.
14864         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
14865         POWER8 finite implementation.
14866         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
14867
14868         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
14869         power8 implementation.
14870         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
14871         file: POWER8 isinf ifunc implementation.
14872         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
14873         POWER8 implementation.
14874         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
14875         Likewise.
14876         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
14877         isinf implementation.
14878         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
14879
14880         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
14881         (INIT_ARCH): Add hwcap2 initialization.
14882         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
14883         power8 implementation.
14884         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
14885         file: POWER8 isnan ifunc implementation.
14886         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
14887         POWER8 implementation.
14888         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
14889         Likewise.
14890         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
14891         isnan implementation.
14892         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
14893
14894 2014-02-27  Joey Ye  <joey.ye@arm.com>
14895
14896         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
14897         (_FP_NANFRAC_Q): Set to zero.
14898
14899 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
14900
14901         [BZ #16623]
14902         * math/auto-libm-test-in: New test inputs.
14903         * math/auto-libm-test-out: Regenerate.
14904         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
14905         and DA.
14906         (__cos): Likewise.
14907         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
14908
14909 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
14910
14911         * scripts/evaluate-test.sh: Take new argument indicating whether
14912         failure is expected.
14913         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
14914         indicating whether failure is expected.
14915         * conform/Makefile (test-xfail-run-conformtest): New variable.
14916         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
14917         level.
14918         * posix/Makefile (test-xfail-annexc): New variable.
14919         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
14920
14921 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
14922
14923         * argp/Makefile: Include Makeconfig immediately after defining
14924         subdir.
14925         * assert/Makefile: Likewise.
14926         * benchtests/Makefile: Likewise.
14927         * catgets/Makefile: Likewise.
14928         * conform/Makefile: Likewise.
14929         * crypt/Makefile: Likewise.
14930         * csu/Makefile: Likewise.
14931         (all): Remove target.
14932         * ctype/Makefile: Include Makeconfig immediately after defining
14933         subdir.
14934         * debug/Makefile: Likewise.
14935         * dirent/Makefile: Likewise.
14936         * dlfcn/Makefile: Likewise.
14937         * gmon/Makefile: Likewise.
14938         * gnulib/Makefile: Likewise.
14939         * grp/Makefile: Likewise.
14940         * gshadow/Makefile: Likewise.
14941         * hesiod/Makefile: Likewise.
14942         * hurd/Makefile: Likewise.
14943         (all): Remove target.
14944         * iconvdata/Makefile: Include Makeconfig immediately after
14945         defining subdir.
14946         * inet/Makefile: Likewise.
14947         * intl/Makefile: Likewise.
14948         * io/Makefile: Likewise.
14949         * libio/Makefile: Likewise.
14950         (all): Remove target.
14951         * locale/Makefile: Include Makeconfig immediately after defining
14952         subdir.
14953         * login/Makefile: Likewise.
14954         * mach/Makefile: Likewise.
14955         (all): Remove target.
14956         * malloc/Makefile: Include Makeconfig immediately after defining
14957         subdir.
14958         (all): Remove target.
14959         * manual/Makefile: Include Makeconfig immediately after defining
14960         subdir.
14961         * math/Makefile: Likewise.
14962         * misc/Makefile: Likewise.
14963         * nis/Makefile: Likewise.
14964         * nss/Makefile: Likewise.
14965         * po/Makefile: Likewise.
14966         (all): Remove target.
14967         * posix/Makefile: Include Makeconfig immediately after defining
14968         subdir.
14969         * pwd/Makefile: Likewise.
14970         * resolv/Makefile: Likewise.
14971         * resource/Makefile: Likewise.
14972         * rt/Makefile: Likewise.
14973         * setjmp/Makefile: Likewise.
14974         * shadow/Makefile: Likewise.
14975         * signal/Makefile: Likewise.
14976         * socket/Makefile: Likewise.
14977         * soft-fp/Makefile: Likewise.
14978         * stdio-common/Makefile: Likewise.
14979         * stdlib/Makefile: Likewise.
14980         * streams/Makefile: Likewise.
14981         * string/Makefile: Likewise.
14982         * sunrpc/Makefile: Likewise.
14983         (all): Remove target.
14984         * sysvipc/Makefile: Include Makeconfig immediately after defining
14985         subdir.
14986         * termios/Makefile: Likewise.
14987         * time/Makefile: Likewise.
14988         * timezone/Makefile: Likewise.
14989         (all): Remove target.
14990         * wcsmbs/Makefile: Include Makeconfig immediately after defining
14991         subdir.
14992         * wctype/Makefile: Likewise.
14993
14994 2014-02-26  Steve Ellcey  <sellcey@mips.com>
14995
14996         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
14997         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
14998         (libc_feholdexcept_setround_mips): Ditto.
14999         (libc_feholdsetround): New.
15000         (libc_feholdsetroundf): New.
15001         (libc_feholdsetroundl): New.
15002         (libc_feupdateenv_test_mips): New.
15003         (libc_feupdateenv_test): New.
15004         (libc_feupdateenv_testf): New.
15005         (libc_feupdateenv_testl): New.
15006         (libc_feresetround): New.
15007         (libc_feresetroundf): New.
15008         (libc_feresetroundl): New.
15009         (libc_fetestexcept_mips): New.
15010         (libc_fetestexcept): New.
15011         (libc_fetestexceptf): New.
15012         (libc_fetestexceptl): New.
15013         (HAVE_RM_CTX): New.
15014         (libc_feholdexcept_setround_mips_ctx): New.
15015         (libc_feholdexcept_setround_ctx): New.
15016         (libc_feholdexcept_setroundf_ctx): New.
15017         (libc_feholdexcept_setroundl_ctx): New.
15018         (libc_fesetenv_mips_ctx): New.
15019         (libc_fesetenv_ctx): New.
15020         (libc_fesetenv_ctxf): New.
15021         (libc_fesetenv_ctxl): New.
15022         (libc_feupdateenv_mips_ctx): New.
15023         (libc_feupdateenv_ctx): New.
15024         (libc_feupdateenvf_ctx): New.
15025         (libc_feupdateenvl_ctx): New.
15026         (libc_feholdsetround_mips_ctx): New.
15027         (libc_feholdsetround_ctx): New.
15028         (libc_feholdsetroundf_ctx): New.
15029         (libc_feholdsetroundl_ctx): New.
15030         (libc_feresetround_mips_ctx): New.
15031         (libc_feresetround_ctx): New.
15032         (libc_feresetroundf_ctx): New.
15033         (libc_feresetroundl_ctx): New.
15034
15035 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
15036
15037         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
15038
15039         * manual/ipc.texi: New file.
15040         * manual/Makefile (chapters): Add ipc.
15041         * manual/job.texi: Add "Inter-Process Communication" to next.
15042         * manual/process.texi: Add "Inter-Process Communication" to prev.
15043
15044 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15045
15046         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15047
15048 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
15049
15050         * malloc/malloc.c (__libc_calloc): Simplify implementation.
15051
15052         * manual/arith.texi: Fix spaces after sentences.
15053         * manual/charset.texi: Likewise.
15054         * manual/errno.texi: Likewise.
15055         * manual/install.texi: Likewise.
15056         * manual/llio.texi: Likewise.
15057         * manual/locale.texi: Likewise.
15058         * manual/maint.texi: Likewise.
15059         * manual/math.texi: Likewise.
15060         * manual/memory.texi: Likewise.
15061         * manual/message.texi: Likewise.
15062         * manual/probes.texi: Likewise.
15063         * manual/resource.texi: Likewise.
15064         * manual/signal.texi: Likewise.
15065         * manual/socket.texi: Likewise.
15066         * manual/stdio.texi: Likewise.
15067         * manual/string.texi: Likewise.
15068         * manual/time.texi: Likewise.
15069         * manual/users.texi: Likewise.
15070
15071 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
15072
15073         [BZ #16632]
15074         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
15075         _DEFAULT_SOURCE is defined.
15076
15077 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
15078             Carlos O'Donell  <carlos@redhat.com>
15079
15080         [BZ #16613]
15081         * elf/dl-tls.c (_dl_count_modids): New function.
15082         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
15083         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
15084         audit library and increment generation counter.
15085         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
15086         * elf/tst-audit9.c: New file.
15087         * elf/tst-auditmod9a.c: New file.
15088         * elf/tst-auditmod9b.c: New file.
15089         * elf/Makefile: Add rules to build and run tst-audit9.
15090
15091 2014-02-25  Florian Weimer  <fweimer@redhat.com>
15092
15093         [BZ #15347]
15094         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
15095
15096 2014-02-25  Will Newton  <will.newton@linaro.org>
15097
15098         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
15099         (__longjmp): Restore sp and lr before restoring callee
15100         saved registers.  Add longjmp and longjmp_target
15101         SystemTap probe point.
15102         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
15103         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
15104         Define to zero to match jmpbuf layout.
15105         * sysdeps/arm/setjmp.S: Include stap-probe.h.
15106         (__sigsetjmp): Save sp and lr before saving callee
15107         saved registers.  Add setjmp SystemTap probe point.
15108
15109 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
15110
15111         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15112
15113 2014-02-24  Andreas Schwab  <schwab@suse.de>
15114
15115         [BZ #15804]
15116         * elf/pldd.c (wait_for_ptrace_stop): New function.
15117         (main): Call it after attaching.
15118
15119 2014-02-22  Roland McGrath  <roland@hack.frob.com>
15120
15121         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
15122         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
15123         Versions files is now verboten.
15124         * hurd/Versions (libc: GLIBC_2.0):
15125         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
15126         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
15127         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
15128         * mach/Versions: Likewise.
15129
15130         * csu/Versions: Remove unused %include.
15131         * resolv/Versions: Likewise.
15132
15133 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
15134
15135         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
15136         ($(objpfx)check-local-headers.out): Likewise.
15137         ($(objpfx)begin-end-check.out): Likewise.
15138         * Makerules (check-abi-%.out): Likewise.
15139         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
15140         ($(objpfx)test2.cat): Likewise.
15141         ($(objpfx)de/libc.cat): Likewise.
15142         ($(objpfx)test-gencat.out): Likewise.
15143         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
15144         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
15145         ($(objpfx)noload-mem): Likewise.
15146         ($(objpfx)tst-pathopt.out): Likewise.
15147         ($(objpfx)tst-rtld-load-self.out): Likewise.
15148         ($(objpfx)tst-array1-cmp.out): Likewise.
15149         ($(objpfx)tst-array1-static-cmp.out): Likewise.
15150         ($(objpfx)tst-array2-cmp.out): Likewise.
15151         ($(objpfx)tst-array3-cmp.out): Likewise.
15152         ($(objpfx)tst-array4-cmp.out): Likewise.
15153         ($(objpfx)tst-array5-cmp.out): Likewise.
15154         ($(objpfx)tst-array5-static-cmp.out): Likewise.
15155         ($(objpfx)check-textrel.out): Likewise.
15156         ($(objpfx)check-execstack.out): Likewise.
15157         ($(objpfx)check-localplt.out): Likewise.
15158         ($(objpfx)order2-cmp.out): Likewise.
15159         ($(objpfx)tst-leaks1-mem): Likewise.
15160         ($(objpfx)tst-leaks1-static-mem): Likewise.
15161         ($(objpfx)tst-initorder-cmp.out): Likewise.
15162         ($(objpfx)tst-initorder2-cmp.out): Likewise.
15163         ($(objpfx)tst-unused-dep.out): Likewise.
15164         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
15165         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
15166         * iconv/Makefile (test-iconvconfig): Likewise.
15167         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
15168         ($(objpfx)iconv-test.out): Likewise.
15169         ($(objpfx)tst-tables.out): Likewise.
15170         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
15171         ($(objpfx)tst-gettext.out): Likewise.
15172         ($(objpfx)tst-translit.out): Likewise.
15173         ($(objpfx)tst-gettext2.out): Likewise.
15174         ($(objpfx)tst-gettext4.out): Likewise.
15175         ($(objpfx)tst-gettext6.out): Likewise.
15176         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
15177         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
15178         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
15179         ($(objpfx)tst-fopenloc-mem.out): Likewise.
15180         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
15181         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
15182         * posix/Makefile ($(objpfx)globtest.out): Likewise.
15183         ($(objpfx)wordexp-tst.out): Likewise.
15184         ($(objpfx)annexc.out): Likewise.
15185         ($(objpfx)tst-fnmatch-mem): Likewise.
15186         ($(objpfx)bug-regex2-mem): Likewise.
15187         ($(objpfx)bug-regex14-mem): Likewise.
15188         ($(objpfx)bug-regex21-mem): Likewise.
15189         ($(objpfx)bug-regex31-mem): Likewise.
15190         ($(objpfx)tst-vfork3-mem): Likewise.
15191         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
15192         ($(objpfx)tst-pcre-mem): Likewise.
15193         ($(objpfx)tst-boost-mem): Likewise.
15194         ($(objpfx)tst-getconf.out): Likewise.
15195         ($(objpfx)bug-ga2-mem): Likewise.
15196         ($(objpfx)bug-glob2-mem): Likewise.
15197         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
15198         ($(objpfx)mtrace-tst-leaks2): Likewise.
15199         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
15200         ($(objpfx)tst-printf.out): Likewise.
15201         ($(objpfx)tst-setvbuf1.out): Likewise.
15202         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
15203         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
15204         ($(objpfx)tst-fmtmsg.out): Likewise.
15205         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
15206         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
15207
15208         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
15209         * bits/sigaction.h [__USE_MISC]: Likewise.
15210         * bits/waitstatus.h: Update #endif comments.
15211         * ctype/ctype.h: Likewise.
15212         * dirent/dirent.h: Likewise.
15213         [__USE_MISC]: Remove redundant conditionals.
15214         * grp/grp.h: Update #endif comments.
15215         [__USE_GNU]: Remove redundant conditionals.
15216         [__USE_MISC]: Likewise.
15217         * inet/netinet/in.h [__USE_GNU]: Likewise.
15218         * io/sys/stat.h [__USE_MISC]: Likewise.
15219         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
15220         * libio/bits/stdio.h: Update #endif comments.
15221         [__USE_MISC]: Remove redundant conditionals.
15222         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
15223         * libio/stdio.h: Update #endif comments.
15224         [__USE_MISC]: Remove redundant conditionals.
15225         * math/bits/math-finite.h [__USE_MISC]: Likewise.
15226         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
15227         * math/math.h: Update #else and #endif comments.
15228         [__USE_MISC]: Remove redundant conditionals.
15229         * misc/sys/uio.h: Update #endif comments.
15230         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
15231         * posix/glob.h [__USE_MISC]: Likewise.
15232         * posix/sys/types.h: Update #endif comments.
15233         [__USE_MISC]: Remove redundant conditionals.
15234         * posix/sys/wait.h: Update #endif comments.
15235         [__USE_MISC]: Remove redundant conditionals.
15236         * posix/unistd.h: Update #endif comments.
15237         [__USE_MISC]: Remove redundant conditionals.
15238         * pwd/pwd.h [__USE_GNU]: Likewise.
15239         [__USE_MISC]: Likewise.
15240         * resolv/netdb.h [__USE_GNU]: Likewise.
15241         * signal/signal.h: Update #endif comments.
15242         [__USE_MISC]: Remove redundant conditionals.
15243         * stdlib/stdlib.h: Update #else and #endif comments.
15244         [__USE_MISC]: Remove redundant conditionals.
15245         [__USE_GNU]: Likewise.
15246         * string/bits/string2.h [__USE_MISC]: Likewise.
15247         * string/string.h: Update #endif comments.
15248         [__USE_MISC]: Remove redundant conditionals.
15249         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
15250         Likewise.
15251         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
15252         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
15253         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
15254         Likewise.
15255         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
15256         Likewise.
15257         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
15258         comments.
15259         [__USE_MISC]: Remove redundant conditionals.
15260         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
15261         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
15262         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
15263         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
15264         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
15265         Likewise.
15266         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
15267         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
15268         Likewise.
15269         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
15270         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
15271         Likewise.
15272         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
15273         Likewise.
15274         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
15275         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
15276         Likewise.
15277         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
15278         Likewise.
15279         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
15280         * sysdeps/x86/bits/string.h: Update #endif comments.
15281         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
15282         conditionals.
15283         * time/sys/time.h: Update #endif comments.
15284         * time/time.h: Likewise.
15285         [__USE_MISC]: Remove redundant conditionals.
15286
15287 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
15288
15289         [BZ #16600]
15290         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
15291
15292 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
15293
15294         * Versions.def (librt): Add GLIBC_2.17.
15295
15296 2014-02-21  Adam Conrad  <adconrad@0c3.net>
15297
15298         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
15299         synonym for _SYS_AUXV_H to allow direct inclusion.
15300         * sysdeps/sparc/bits/hwcap.h: Likewise.
15301         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
15302         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
15303         * sysdeps/sparc/sysdep.h: Likewise.
15304
15305 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
15306
15307         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
15308
15309 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15310
15311         * benchtests/bench-strrchr.c: Print length instead of position.
15312
15313 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
15314
15315         [BZ #16611]
15316         * sysdeps/unix/sysv/linux/kernel-features.h
15317         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
15318         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
15319         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
15320         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
15321         Likewise.
15322         [__i386__ || __powerpc__ || __sh__ || __sparc__]
15323         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15324         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
15325         (__ASSUME_SENDMMSG): Define instead of using previous
15326         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
15327         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15328         (__ASSUME_SENDMMSG_SYSCALL): Define.
15329         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15330         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
15331         Likewise.
15332         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15333         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15334         Likewise.
15335         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15336         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15337         Likewise.
15338         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
15339         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
15340         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
15341         [__ASSUME_SENDMMSG]: Change conditionals to
15342         [__ASSUME_SENDMMSG_SOCKETCALL].
15343         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15344         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
15345         Define.
15346         * sysdeps/unix/sysv/linux/mips/kernel-features.h
15347         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
15348         Likewise.
15349         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
15350         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
15351         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
15352         [!__ASSUME_SENDMMSG]: Change conditional to
15353         [!__ASSUME_SENDMMSG_SOCKETCALL].
15354         * sysdeps/unix/sysv/linux/tile/kernel-features.h
15355         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15356         Define.
15357
15358         [BZ #16610]
15359         * sysdeps/unix/sysv/linux/kernel-features.h
15360         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
15361         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
15362         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
15363         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
15364         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15365         [__i386__ || __sparc__]
15366         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15367         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
15368         (__ASSUME_RECVMMSG): Define instead of using previous
15369         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
15370         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15371         (__ASSUME_RECVMMSG_SYSCALL): Define.
15372         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15373         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15374         Likewise.
15375         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15376         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15377         Likewise.
15378         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15379         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15380         Likewise.
15381         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
15382         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
15383         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
15384         [__ASSUME_RECVMMSG]: Change condition to
15385         [__ASSUME_RECVMMSG_SOCKETCALL].
15386         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15387         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15388         Define.
15389         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15390         * sysdeps/unix/sysv/linux/mips/kernel-features.h
15391         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15392         Likewise.
15393         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
15394         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
15395         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
15396         [!__ASSUME_RECVMMSG]: Change condition to
15397         [!__ASSUME_RECVMMSG_SOCKETCALL].
15398         * sysdeps/unix/sysv/linux/tile/kernel-features.h
15399         (__ASSUME_RECVMMSG_SYSCALL): Define.
15400
15401         [BZ #16609]
15402         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
15403         __powerpc__ || __s390__ || __sh__ || __sparc__]
15404         (__ASSUME_SOCKETCALL): Define.
15405         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
15406         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
15407         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
15408         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
15409         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15410         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
15411         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
15412         (__ASSUME_ACCEPT4): Define instead of using previous
15413         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
15414         __powerpc__ || __sparc__ || __s390__)] condition.
15415         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15416         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
15417         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
15418         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
15419         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
15420         [!__ASSUME_ACCEPT4]: Change condition to
15421         [!__ASSUME_ACCEPT4_SOCKETCALL].
15422         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15423         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
15424         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
15425         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15426         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
15427         __ASSUME_ACCEPT4_SYSCALL.
15428         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
15429         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
15430         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15431         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
15432         __ASSUME_ACCEPT4_SYSCALL.
15433         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
15434         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
15435         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
15436         [__ASSUME_ACCEPT4]: Change condition to
15437         [__ASSUME_ACCEPT4_SOCKETCALL].
15438         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15439         (__ASSUME_SOCKETCALL): Define.
15440         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
15441         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15442         (__ASSUME_SOCKETCALL): Define.
15443         (__ASSUME_ACCEPT4): Remove.
15444         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
15445         Define.
15446         * sysdeps/unix/sysv/linux/mips/kernel-features.h
15447         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
15448         Likewise.
15449         * sysdeps/unix/sysv/linux/tile/kernel-features.h
15450         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
15451
15452         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
15453         macro.
15454         (HWCAP_ARM_LPAE): Likewise.
15455         (HWCAP_ARM_EVTSTRM): Likewise.
15456         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
15457         Add vpfd32, lpae and evtstrm.
15458         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
15459         Increase to 22.
15460
15461 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
15462
15463         * math/auto-libm-test-in: Add tests of clog10.
15464         * math/auto-libm-test-out: Regenerated.
15465         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
15466         * sysdeps/i386/fpu/libm-test-ulps: Update.
15467         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15468
15469 2014-02-18  Andreas Schwab  <schwab@suse.de>
15470
15471         [BZ #16574]
15472         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
15473         Store non-zero if the second buffer was newly allocated.
15474         (send_dg): Likewise.
15475         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
15476         to send_vc and send_dg.
15477         (res_nsend): Pass NULL for ansp2_malloced.
15478         * resolv/res_query.c (__libc_res_nquery): Add parameter
15479         answerp2_malloced and pass it down to __libc_res_nsend.
15480         (res_nquery): Pass additional NULL to __libc_res_nquery.
15481         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
15482         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
15483         second answer buffer if answerp2_malloced was set.
15484         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
15485         (__libc_res_nquerydomain): Add parameter
15486         answerp2_malloced and pass it down to __libc_res_nquery.
15487         (res_nquerydomain): Pass additional NULL to
15488         __libc_res_nquerydomain.
15489         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
15490         additional NULL to __libc_res_nsend and __libc_res_nquery.
15491         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
15492         additional NULL to __libc_res_nsearch.
15493         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
15494         parameter of __libc_res_nsearch to check for separately allocated
15495         second buffer.
15496         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
15497         __libc_res_nquery.
15498         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
15499         additional NULL to __libc_res_nquery.
15500         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
15501         __libc_res_nsearch.
15502         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
15503         * include/resolv.h: Update prototypes of __libc_res_nquery,
15504         __libc_res_nsearch, __libc_res_nsend.
15505
15506 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
15507
15508         * math/auto-libm-test-in: Add tests of fma.
15509         * math/auto-libm-test-out: Regenerated.
15510         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
15511         (fma_towardzero_test_data): Likewise.
15512         (fma_downward_test_data): Likewise.
15513         (fma_upward_test_data): Likewise.
15514         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
15515         mpc_mode.
15516         (rounding_modes): Add values for new field.
15517         (func_calc_method): Add value mpfr_fff_f.
15518         (func_calc_desc): Add mpfr_fff_f union field.
15519         (test_function): Add field exact_args.
15520         (FUNC): Add macro argument EXACT_ARGS.
15521         (FUNC_mpfr_f_f): Update call to FUNC.
15522         (FUNC_mpfr_f_f): Likewise.
15523         (FUNC_mpfr_ff_f): Likewise.
15524         (FUNC_mpfr_if_f): Likewise.
15525         (FUNC_mpc_c_f): Likewise.
15526         (FUNC_mpc_c_c): Likewise.
15527         (test_functions): Add fma.  Update calls to FUNC.
15528         (handle_input_arg): Add argument exact_args.
15529         (add_test): Update call to handle_input_arg.
15530         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
15531         (output_for_one_input_case): Update call to calc_generic_results.
15532         Recalculate exact zero results in each rounding mode.
15533
15534         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
15535         non-negative before setting low bit.
15536         * math/auto-libm-test-in: Mark one asin test possibly having
15537         spurious underflow.
15538         * math/auto-libm-test-out: Regenerated.
15539         * sysdeps/i386/fpu/libm-test-ulps: Update.
15540         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15541
15542 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
15543
15544         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
15545         * sysdeps/unix/sysv/linux/microblaze: Move directory from
15546         ports/sysdeps/unix/sysv/linux/microblaze.
15547         * README: Add missing listing for microblaze*-*-linux-gnu.
15548
15549 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
15550
15551         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
15552         duplicate code
15553
15554 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
15555
15556         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
15557         * sysdeps/unix/sysv/linux/ia64: Move directory from
15558         ports/sysdeps/unix/sysv/linux/ia64.
15559         * README: Update listing for ia64-*-linux-gnu.
15560
15561 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
15562             Joseph Myers  <joseph@codesourcery.com>
15563
15564         * Makeconfig (test-name): New variable.
15565         (evaluate-test): Likewise.
15566         * Makerules (do-test-clean): Remove .test-result files.
15567         (common-mostlyclean): Likewise.
15568         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
15569         * scripts/evaluate-test.sh: New file.
15570
15571 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
15572
15573         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
15574         separate $(objpfx)tst-fopenloc-cmp.out and
15575         $(objpfx)tst-fopenloc-mem.out targets.
15576         (tests): Update dependencies.
15577         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
15578         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
15579         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
15580         (tst-rxspencer-no-utf8-ARGS): New variable.
15581         (tst-rxspencer-no-utf8-ENV): Likewise.
15582         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
15583         instead of $(objpfx)tst-rxspencer-mem.
15584         ($(objpfx)tst-rxspencer-mem): Change target to
15585         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
15586         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
15587         * posix/tst-rxspencer-no-utf8.c: New file.
15588
15589         * elf/Makefile ($(objpfx)order.out): Remove rule.
15590         [$(run-built-tests) = yes] (tests): Depend on
15591         $(objpfx)order-cmp.out.
15592         ($(objpfx)order-cmp.out): New rule.
15593         [$(run-built-tests) = yes] (tests): Depend on
15594         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
15595         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
15596         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
15597         $(objpfx)tst-array5-static-cmp.out.
15598         ($(objpfx)tst-array1.out): Remove rule.
15599         ($(objpfx)tst-array1-cmp.out): New rule.
15600         ($(objpfx)tst-array1-static.out): Remove rule.
15601         ($(objpfx)tst-array1-static-cmp.out): New rule.
15602         ($(objpfx)tst-array2.out): Remove rule.
15603         ($(objpfx)tst-array2-cmp.out): New rule.
15604         ($(objpfx)tst-array3.out): Remove rule.
15605         ($(objpfx)tst-array3-cmp.out): New rule.
15606         ($(objpfx)tst-array4.out): Remove rule.
15607         ($(objpfx)tst-array4-cmp.out): New rule.
15608         ($(objpfx)tst-array5.out): Remove rule.
15609         ($(objpfx)tst-array5-cmp.out): New rule.
15610         ($(objpfx)tst-array5-static.out): Remove rule.
15611         ($(objpfx)tst-array5-static-cmp.out): New rule.
15612         [$(run-built-tests) = yes] (tests): Depend on
15613         $(objpfx)order2-cmp.out.
15614         ($(objpfx)order2.out): Remove rule.
15615         ($(objpfx)order2-cmp.out): New rule.
15616         ($(objpfx)tst-initorder.out): Remove rule.
15617         [$(run-built-tests) = yes] (tests): Depend on
15618         $(objpfx)tst-initorder-cmp.out.
15619         ($(objpfx)tst-initorder-cmp.out): New rule.
15620         ($(objpfx)tst-initorder2.out): Remove rule.
15621         [$(run-built-tests) = yes] (tests): Depend on
15622         $(objpfx)tst-initorder2-cmp.out.
15623         ($(objpfx)tst-initorder2-cmp.out): New rule.
15624         [$(run-built-tests) = yes] (tests): Depend on
15625         $(objpfx)tst-unused-dep-cmp.out.
15626         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
15627         ($(objpfx)tst-unused-dep-cmp.out): New rule.
15628         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
15629         on $(objpfx)tst-setvbuf1-cmp.out.
15630         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
15631         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
15632         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
15633         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
15634         ($(objpfx)tst-svc.out): Remove rule.
15635         ($(objpfx)tst-svc-cmp.out): New rule.
15636
15637 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
15638
15639         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
15640         * ctype/ctype.h [__USE_MISC]: Likewise.
15641         * dirent/dirent.h [__USE_MISC]: Likewise.
15642         * grp/grp.h [__USE_MISC]: Likewise.
15643         * io/fcntl.h [__USE_MISC]: Likewise.
15644         * io/sys/stat.h [__USE_MISC]: Likewise.
15645         * libio/stdio.h [__USE_MISC]: Likewise.
15646         * posix/unistd.h [__USE_MISC]: Likewise.
15647         * pwd/pwd.h [__USE_MISC]: Likewise.
15648         * stdlib.h [__USE_MISC]: Likewise.
15649         * string/bits/string2.h [__USE_MISC]: Likewise.
15650         * string/string.h [__USE_MISC]: Likewise.
15651         * time/time.h [__USE_MISC]: Likewise.
15652
15653 2014-02-13  Andreas Schwab  <schwab@suse.de>
15654
15655         [BZ #16574]
15656         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
15657         second answer buffer if it was separately allocated.
15658
15659 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
15660
15661         * sysdeps/mips/math-tests.h: Include <features.h>.
15662         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
15663         (ROUNDING_TESTS_long_double): Do not define.
15664         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
15665         (EXCEPTION_TESTS_long_double): Likewise.
15666         * sysdeps/mips/mips64/libm-test-ulps: Update.
15667
15668         * include/features.h (__USE_BSD): Remove macro definitions.
15669         (__USE_SVID): Likewise.
15670         (_BSD_SOURCE): Likewise.
15671         (_SVID_SOURCE): Likewise.
15672         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
15673         from definition of _DEFAULT_SOURCE.
15674         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
15675         [_DEFAULT_SOURCE].
15676         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
15677         * bits/mman.h [__USE_BSD]: Likewise.
15678         * bits/termios.h [__USE_BSD]: Likewise.
15679         * bits/waitstatus.h [__USE_BSD]: Likewise.
15680         * ctype/ctype.h [__USE_SVID]: Likewise.
15681         * dirent/dirent.h [__USE_BSD]: Likewise.
15682         * grp/grp.h [__USE_SVID]: Likewise.
15683         [__USE_BSD]: Likewise.
15684         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
15685         * io/fcntl.h [__USE_BSD]: Likewise.
15686         * io/ftw.h [__USE_BSD]: Likewise.
15687         * io/sys/stat.h [__USE_BSD]: Likewise.
15688         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
15689         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
15690         * libio/stdio.h [__USE_SVID]: Likewise.
15691         [__USE_BSD]: Likewise.
15692         * math/math.h [__USE_SVID]: Likewise.
15693         [__USE_BSD]: Likewise.
15694         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
15695         * misc/bits/syslog.h [__USE_BSD]: Likewise.
15696         * misc/search.h [__USE_SVID]: Likewise.
15697         * misc/sys/mman.h [__USE_BSD]: Likewise.
15698         * misc/sys/syslog.h [__USE_BSD]: Likewise.
15699         * misc/sys/uio.h [__USE_BSD]: Likewise.
15700         * posix/bits/unistd.h [__USE_BSD]: Likewise.
15701         * posix/glob.h [__USE_BSD]: Likewise.
15702         * posix/regex.h [__USE_BSD]: Likewise.
15703         * posix/sys/types.h [__USE_BSD]: Likewise.
15704         [__USE_SVID]: Likewise.
15705         * posix/sys/utsname.h [__USE_SVID]: Likewise.
15706         * posix/sys/wait.h [__USE_BSD]: Likewise.
15707         [__USE_SVID]: Likewise.
15708         * posix/unistd.h [__USE_BSD]: Likewise.
15709         [__USE_SVID]: Likewise.
15710         * pwd/pwd.h [__USE_SVID]: Likewise.
15711         * resolv/netdb.h [__USE_BSD]: Likewise.
15712         * setjmp/setjmp.h [__USE_BSD]: Likewise.
15713         * signal/signal.h [__USE_BSD]: Likewise.
15714         [__USE_SVID]: Likewise.
15715         * socket/sys/socket.h [__USE_BSD]: Likewise.
15716         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
15717         * stdlib/stdlib.h [__USE_BSD]: Likewise.
15718         [__USE_SVID]: Likewise.
15719         * string/bits/string2.h [__USE_BSD]: Likewise.
15720         [__USE_SVID]: Likewise.
15721         * string/bits/string3.h [__USE_BSD]: Likewise.
15722         * string/endian.h [__USE_BSD]: Likewise.
15723         * string/string.h [__USE_SVID]: Likewise.
15724         [__USE_BSD]: Likewise.
15725         * string/strings.h [__USE_BSD]: Likewise.
15726         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
15727         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
15728         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
15729         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
15730         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
15731         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
15732         Likewise.
15733         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
15734         Likewise.
15735         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
15736         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
15737         Likewise.
15738         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
15739         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
15740         Likewise.
15741         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
15742         Likewise.
15743         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
15744         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
15745         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
15746         Likewise.
15747         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
15748         Likewise.
15749         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
15750         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
15751         * termios/termios.h [__USE_BSD]: Likewise.
15752         * time/sys/time.h [__USE_BSD]: Likewise.
15753         * time/time.h [__USE_BSD]: Likewise.
15754         [__USE_SVID]: Likewise.
15755
15756         * Makefile (subdir_targets): Remove subdir_lint.out.
15757
15758         * stdio-common/Makefile (do-tst-unbputc): Remove target.
15759         (do-tst-printf): Likewise.
15760         (tests): Depend directly on $(objpfx)tst-unbputc.out and
15761         $(objpfx)tst-printf.out.
15762
15763         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
15764
15765         * Makerules (check-abi-%): Change target to
15766         $(objpfx)check-abi-%.out.
15767         (check-abi target): Update dependencies.
15768         (check-abi-pattern variable): Redirect output of diff to $@.
15769         (check-abi variable): Likewise.
15770         * elf/Makefile (check-abi): Update dependencies.
15771
15772         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
15773         unused.
15774         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
15775         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
15776         subnormal range.
15777         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
15778         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
15779         value has largest subnormal exponent.
15780         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
15781         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
15782         * sysdeps/aarch64/soft-fp/sfp-machine.h
15783         (_FP_TININESS_AFTER_ROUNDING): New macro.
15784         * sysdeps/alpha/soft-fp/sfp-machine.h
15785         (_FP_TININESS_AFTER_ROUNDING): Likewise.
15786         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
15787         Likewise.
15788         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
15789         (_FP_TININESS_AFTER_ROUNDING): Likewise.
15790         * sysdeps/mips/soft-fp/sfp-machine.h
15791         (_FP_TININESS_AFTER_ROUNDING): Likewise.
15792         * sysdeps/powerpc/soft-fp/sfp-machine.h
15793         (_FP_TININESS_AFTER_ROUNDING): Likewise.
15794         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
15795         Likewise.
15796         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
15797         (_FP_TININESS_AFTER_ROUNDING): Likewise.
15798         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
15799         (_FP_TININESS_AFTER_ROUNDING): Likewise.
15800         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
15801         Likewise.
15802
15803 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
15804
15805         [BZ #16545]
15806         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
15807         model 1.
15808
15809 2014-02-12  Richard Henderson  <rth@redhat.com>
15810
15811         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
15812         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
15813         * sysdeps/unix/sysv/linux/alpha: Move directory from
15814         ports/sysdeps/unix/sysv/linux/alpha.
15815         * README: Update listing for alpha-*-linux-gnu.
15816
15817 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
15818
15819         * include/features.h: Update comment documenting feature test
15820         macros.
15821         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
15822         _DEFAULT_SOURCE.
15823         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
15824         (_SVID_SOURCE): Likewise.
15825         (_DEFAULT_SOURCE): Update description of default features.
15826         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
15827         with _GNU_SOURCE.
15828         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
15829         (S_ISVTX): Likewise.
15830         * manual/math.texi (Mathematical Constants): Likewise.
15831         * manual/signal.texi (Interrupted Primitives): Likewise.
15832         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
15833         * math/test-matherr.c (_SVID_SOURCE): Do not define.
15834         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
15835         Don't refer to _SVID_SOURCE in warning text.
15836
15837         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15838
15839         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
15840         already defined.
15841         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
15842         * sysdeps/mips/dl-lookup.c: Remove.
15843         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
15844
15845 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
15846
15847         [BZ #16447]
15848         * math/auto-libm-test-in: Add testcase for expl.
15849         * math/auto-libm-test-out: Regenerate.
15850         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
15851         calculation of unsafe.
15852         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
15853
15854 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
15855
15856         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
15857         * sysdeps/unix/sysv/linux/aarch64: Move directory from
15858         ports/sysdeps/unix/sysv/linux/aarch64.
15859         * README: Update listing for aarch64*-*-linux-gnu.
15860
15861 2014-02-11  Will Newton  <will.newton@linaro.org>
15862
15863         * manual/probes.texi (Mathematical Function Probes): Use
15864         "triggered" instead of "hit".
15865
15866         * manual/probes.texi (Internal Probes): Add documentation
15867         of setjmp, longjmp and longjmp_target probes.
15868
15869         * include/stap-probe.h: Add comment about probe argument
15870         format.
15871
15872         * malloc/mtrace.c (attribute_hidden): Remove unused macro
15873         definition.  (tr_where, tr_freehook, tr_mallochook,
15874         tr_reallochook, tr_memalignhook): Use ANSI protoype.
15875
15876 2014-02-11  David S. Miller  <davem@davemloft.net>
15877
15878         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
15879         processing int_tests.
15880
15881 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
15882
15883         * sysdeps/mips: Move directory from ports/sysdeps/mips.
15884         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
15885         * sysdeps/unix/sysv/linux/mips: Move directory from
15886         ports/sysdeps/unix/sysv/linux/mips.
15887         * README: Update listing for mips-*-linux-gnu and
15888         mips64-*-linux-gnu.
15889
15890 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
15891
15892         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
15893         * sysdeps/unix/sysv/linux/m68k: Move directory from
15894         ports/sysdeps/unix/sysv/linux/m68k.
15895         * README: Update listing for m68k-*-linux-gnu.
15896
15897 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
15898
15899         * sysdeps/tile: Move directory from ports/sysdeps/tile.
15900         * sysdeps/unix/sysv/linux/generic: Move directory from
15901         ports/sysdeps/unix/sysv/linux/generic.
15902         * sysdeps/unix/sysv/linux/tile: Move directory from
15903         ports/sysdeps/unix/sysv/linux/tile.
15904         * README: Update listing for tile*-*-linux-gnu.
15905
15906 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
15907
15908         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
15909         __builtin_expect.
15910         * benchtests/bench-memmem.c (simple_memmem): Likewise.
15911         * catgets/open_catalog.c (__open_catalog): Likewise.
15912         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
15913         * debug/confstr_chk.c: Likewise.
15914         * debug/fread_chk.c (__fread_chk): Likewise.
15915         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
15916         * debug/getgroups_chk.c: Likewise.
15917         * debug/mbsnrtowcs_chk.c: Likewise.
15918         * debug/mbsrtowcs_chk.c: Likewise.
15919         * debug/mbstowcs_chk.c: Likewise.
15920         * debug/memcpy_chk.c: Likewise.
15921         * debug/memmove_chk.c: Likewise.
15922         * debug/mempcpy_chk.c: Likewise.
15923         * debug/memset_chk.c: Likewise.
15924         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
15925         * debug/strcat_chk.c (__strcat_chk): Likewise.
15926         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
15927         * debug/strncat_chk.c (__strncat_chk): Likewise.
15928         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
15929         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
15930         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
15931         * debug/wcpncpy_chk.c: Likewise.
15932         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
15933         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
15934         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
15935         * debug/wcsncpy_chk.c: Likewise.
15936         * debug/wcsnrtombs_chk.c: Likewise.
15937         * debug/wcsrtombs_chk.c: Likewise.
15938         * debug/wcstombs_chk.c: Likewise.
15939         * debug/wmemcpy_chk.c: Likewise.
15940         * debug/wmemmove_chk.c: Likewise.
15941         * debug/wmempcpy_chk.c: Likewise.
15942         * debug/wmemset_chk.c: Likewise.
15943         * dirent/scandirat.c (SCANDIRAT): Likewise.
15944         * dlfcn/dladdr1.c (dladdr1): Likewise.
15945         * dlfcn/dladdr.c (dladdr): Likewise.
15946         * dlfcn/dlclose.c (dlclose_doit): Likewise.
15947         * dlfcn/dlerror.c (__dlerror): Likewise.
15948         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
15949         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
15950         * dlfcn/dlopen.c (dlopen_doit): Likewise.
15951         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
15952         * dlfcn/dlsym.c (dlsym_doit): Likewise.
15953         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
15954         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
15955         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
15956         Likewise.
15957         * elf/dl-conflict.c: Likewise.
15958         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
15959         * elf/dl-dst.h: Likewise.
15960         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
15961         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
15962         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
15963         * elf/dl-init.c (call_init, _dl_init): Likewise.
15964         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
15965         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
15966         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
15967         Likewise.
15968         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
15969         Likewise.
15970         * elf/dl-minimal.c (__libc_memalign): Likewise.
15971         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
15972         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
15973         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
15974         * elf/dl-sym.c (do_sym): Likewise.
15975         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
15976         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
15977         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
15978         * elf/dl-writev.h (_dl_writev): Likewise.
15979         * elf/ldconfig.c (search_dir): Likewise.
15980         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
15981         (dl_main): Likewise.
15982         * elf/setup-vdso.h (setup_vdso): Likewise.
15983         * grp/compat-initgroups.c (compat_call): Likewise.
15984         * grp/fgetgrent.c (fgetgrent): Likewise.
15985         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
15986         * grp/putgrent.c (putgrent): Likewise.
15987         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
15988         Likewise.
15989         * hurd/hurdinit.c: Likewise.
15990         * iconvdata/8bit-gap.c (struct): Likewise.
15991         * iconvdata/ansi_x3.110.c : Likewise.
15992         * iconvdata/big5.c : Likewise.
15993         * iconvdata/big5hkscs.c : Likewise.
15994         * iconvdata/cp1255.c: Likewise.
15995         * iconvdata/cp1258.c : Likewise.
15996         * iconvdata/cp932.c : Likewise.
15997         * iconvdata/euc-cn.c: Likewise.
15998         * iconvdata/euc-jisx0213.c : Likewise.
15999         * iconvdata/euc-jp.c: Likewise.
16000         * iconvdata/euc-jp-ms.c : Likewise.
16001         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
16002         * iconvdata/gb18030.c : Likewise.
16003         * iconvdata/gbbig5.c (const): Likewise.
16004         * iconvdata/gbgbk.c: Likewise.
16005         * iconvdata/gbk.c : Likewise.
16006         * iconvdata/ibm1364.c : Likewise.
16007         * iconvdata/ibm930.c : Likewise.
16008         * iconvdata/ibm932.c: Likewise.
16009         * iconvdata/ibm933.c : Likewise.
16010         * iconvdata/ibm935.c : Likewise.
16011         * iconvdata/ibm937.c : Likewise.
16012         * iconvdata/ibm939.c : Likewise.
16013         * iconvdata/ibm943.c: Likewise.
16014         * iconvdata/iso_11548-1.c: Likewise.
16015         * iconvdata/iso-2022-cn.c : Likewise.
16016         * iconvdata/iso-2022-cn-ext.c : Likewise.
16017         * iconvdata/iso-2022-jp-3.c: Likewise.
16018         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
16019         * iconvdata/iso-2022-kr.c : Likewise.
16020         * iconvdata/iso646.c (gconv_end): Likewise.
16021         * iconvdata/iso_6937-2.c : Likewise.
16022         * iconvdata/iso_6937.c : Likewise.
16023         * iconvdata/iso8859-1.c: Likewise.
16024         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
16025         * iconvdata/shift_jisx0213.c : Likewise.
16026         * iconvdata/sjis.c : Likewise.
16027         * iconvdata/t.61.c : Likewise.
16028         * iconvdata/tcvn5712-1.c : Likewise.
16029         * iconvdata/tscii.c: Likewise.
16030         * iconvdata/uhc.c : Likewise.
16031         * iconvdata/unicode.c (gconv_end): Likewise.
16032         * iconvdata/utf-16.c (gconv_end): Likewise.
16033         * iconvdata/utf-32.c (gconv_end): Likewise.
16034         * iconvdata/utf-7.c (base64): Likewise.
16035         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
16036         * iconv/gconv_close.c (__gconv_close): Likewise.
16037         * iconv/gconv_open.c (__gconv_open): Likewise.
16038         * iconv/gconv_simple.c (internal_ucs4_loop_single)
16039         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
16040         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
16041         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
16042         (ucs4le_internal_loop_single): Likewise.
16043         * iconv/iconv.c (iconv): Likewise.
16044         * iconv/iconv_close.c: Likewise.
16045         * iconv/loop.c (SINGLE): Likewise.
16046         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
16047         * include/atomic.h: Likewise.
16048         * inet/inet6_option.c (option_alloc): Likewise.
16049         * intl/bindtextdom.c (set_binding_values): Likewise.
16050         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
16051         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
16052         * intl/localealias.c (read_alias_file): Likewise.
16053         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
16054         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
16055         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
16056         * libio/fmemopen.c (fmemopen): Likewise.
16057         * libio/iofgets.c (_IO_fgets): Likewise.
16058         * libio/iofgets_u.c (fgets_unlocked): Likewise.
16059         * libio/iofgetws.c (fgetws): Likewise.
16060         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
16061         * libio/iogetdelim.c (_IO_getdelim): Likewise.
16062         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
16063         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
16064         * locale/findlocale.c (_nl_find_locale): Likewise.
16065         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
16066         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
16067         Likewise.
16068         * locale/setlocale.c (setlocale): Likewise.
16069         * login/programs/pt_chown.c (main): Likewise.
16070         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
16071         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
16072         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
16073         (mmap, mmap64, mremap, munmap): Likewise.
16074         * math/e_exp2l.c: Likewise.
16075         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
16076         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
16077         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
16078         * math/s_catan.c (__catan): Likewise.
16079         * math/s_catanf.c (__catanf): Likewise.
16080         * math/s_catanh.c (__catanh): Likewise.
16081         * math/s_catanhf.c (__catanhf): Likewise.
16082         * math/s_catanhl.c (__catanhl): Likewise.
16083         * math/s_catanl.c (__catanl): Likewise.
16084         * math/s_ccosh.c (__ccosh): Likewise.
16085         * math/s_ccoshf.c (__ccoshf): Likewise.
16086         * math/s_ccoshl.c (__ccoshl): Likewise.
16087         * math/s_cexp.c (__cexp): Likewise.
16088         * math/s_cexpf.c (__cexpf): Likewise.
16089         * math/s_cexpl.c (__cexpl): Likewise.
16090         * math/s_clog10.c (__clog10): Likewise.
16091         * math/s_clog10f.c (__clog10f): Likewise.
16092         * math/s_clog10l.c (__clog10l): Likewise.
16093         * math/s_clog.c (__clog): Likewise.
16094         * math/s_clogf.c (__clogf): Likewise.
16095         * math/s_clogl.c (__clogl): Likewise.
16096         * math/s_csin.c (__csin): Likewise.
16097         * math/s_csinf.c (__csinf): Likewise.
16098         * math/s_csinh.c (__csinh): Likewise.
16099         * math/s_csinhf.c (__csinhf): Likewise.
16100         * math/s_csinhl.c (__csinhl): Likewise.
16101         * math/s_csinl.c (__csinl): Likewise.
16102         * math/s_csqrt.c (__csqrt): Likewise.
16103         * math/s_csqrtf.c (__csqrtf): Likewise.
16104         * math/s_csqrtl.c (__csqrtl): Likewise.
16105         * math/s_ctan.c (__ctan): Likewise.
16106         * math/s_ctanf.c (__ctanf): Likewise.
16107         * math/s_ctanh.c (__ctanh): Likewise.
16108         * math/s_ctanhf.c (__ctanhf): Likewise.
16109         * math/s_ctanhl.c (__ctanhl): Likewise.
16110         * math/s_ctanl.c (__ctanl): Likewise.
16111         * math/w_pow.c: Likewise.
16112         * math/w_powf.c: Likewise.
16113         * math/w_powl.c: Likewise.
16114         * math/w_scalb.c (sysv_scalb): Likewise.
16115         * math/w_scalbf.c (sysv_scalbf): Likewise.
16116         * math/w_scalbl.c (sysv_scalbl): Likewise.
16117         * misc/error.c (error_tail): Likewise.
16118         * misc/pselect.c (__pselect): Likewise.
16119         * nis/nis_callback.c (__nis_create_callback): Likewise.
16120         * nis/nis_call.c (__nisfind_server): Likewise.
16121         * nis/nis_creategroup.c (nis_creategroup): Likewise.
16122         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
16123         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
16124         * nis/nis_getservlist.c (nis_getservlist): Likewise.
16125         * nis/nis_lookup.c (nis_lookup): Likewise.
16126         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
16127         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
16128         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
16129         * nis/nis_xdr.c (xdr_endpoint): Likewise.
16130         * nis/nss_compat/compat-grp.c (getgrent_next_file)
16131         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
16132         * nis/nss_compat/compat-initgroups.c (add_group)
16133         (internal_getgrent_r): Likewise.
16134         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
16135         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
16136         * nis/nss_compat/compat-spwd.c (getspent_next_file)
16137         (internal_getspnam_r): Likewise.
16138         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
16139         (_nss_nis_getaliasbyname_r): Likewise.
16140         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
16141         (_nss_nis_getntohost_r): Likewise.
16142         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
16143         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
16144         (_nss_nis_getgrgid_r): Likewise.
16145         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
16146         (internal_nis_gethostent_r, internal_gethostbyname2_r)
16147         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
16148         (_nss_nis_gethostbyname4_r): Likewise.
16149         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
16150         (initgroups_netid): Likewise.
16151         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
16152         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
16153         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
16154         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
16155         (_nss_nis_getprotobynumber_r): Likewise.
16156         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
16157         (_nss_nis_getsecretkey): Likewise.
16158         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
16159         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
16160         (_nss_nis_getpwuid_r): Likewise.
16161         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
16162         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
16163         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
16164         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
16165         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
16166         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
16167         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
16168         Likewise.
16169         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
16170         (_nss_nisplus_getntohost_r): Likewise.
16171         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
16172         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
16173         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
16174         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
16175         Likewise.
16176         * nis/nss_nisplus/nisplus-initgroups.c
16177         (_nss_nisplus_initgroups_dyn): Likewise.
16178         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
16179         (_nss_nisplus_getnetbyaddr_r): Likewise.
16180         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
16181         (_nss_nisplus_getprotobynumber_r): Likewise.
16182         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
16183         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
16184         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
16185         Likewise.
16186         * nis/nss_nisplus/nisplus-service.c
16187         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
16188         (_nss_nisplus_getservbyport_r): Likewise.
16189         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
16190         (_nss_nisplus_getspnam_r): Likewise.
16191         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
16192         Likewise.
16193         * nscd/aicache.c (addhstaiX): Likewise.
16194         * nscd/cache.c (cache_search, prune_cache): Likewise.
16195         * nscd/connections.c (register_traced_file, send_ro_fd)
16196         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
16197         (main_loop_epoll): Likewise.
16198         * nscd/grpcache.c (addgrbyX): Likewise.
16199         * nscd/hstcache.c (addhstbyX): Likewise.
16200         * nscd/initgrcache.c (addinitgroupsX): Likewise.
16201         * nscd/mem.c (gc, mempool_alloc): Likewise.
16202         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
16203         (addinnetgrX): Likewise.
16204         * nscd/nscd-client.h (__nscd_acquire_maplock)
16205         (__nscd_drop_map_ref): Likewise.
16206         * nscd/nscd_getai.c (__nscd_getai): Likewise.
16207         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
16208         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
16209         Likewise.
16210         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
16211         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
16212         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
16213         (__nscd_get_map_ref): Likewise.
16214         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
16215         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
16216         Likewise.
16217         * nscd/pwdcache.c (addpwbyX): Likewise.
16218         * nscd/selinux.c (preserve_capabilities): Likewise.
16219         * nscd/servicescache.c (addservbyX): Likewise.
16220         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
16221         * posix/fnmatch.c (fnmatch): Likewise.
16222         * posix/getopt.c (_getopt_internal_r): Likewise.
16223         * posix/glob.c (glob, glob_in_dir): Likewise.
16224         * posix/wordexp.c (exec_comm_child): Likewise.
16225         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
16226         (getanswer_r, gaih_getanswer_slice): Likewise.
16227         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
16228         * resolv/res_init.c: Likewise.
16229         * resolv/res_mkquery.c (res_nmkquery): Likewise.
16230         * resolv/res_query.c (__libc_res_nquery): Likewise.
16231         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
16232         Likewise.
16233         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
16234         * stdio-common/perror.c (perror): Likewise.
16235         * stdio-common/printf_fp.c (___printf_fp): Likewise.
16236         * stdio-common/tmpnam.c (tmpnam): Likewise.
16237         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
16238         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
16239         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
16240         Likewise.
16241         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
16242         * stdlib/putenv.c (putenv): Likewise.
16243         * stdlib/setenv.c (__add_to_environ): Likewise.
16244         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
16245         * stdlib/strtol_l.c (INTERNAL): Likewise.
16246         * string/memmem.c (memmem): Likewise.
16247         * string/strerror.c (strerror): Likewise.
16248         * string/strnlen.c (__strnlen): Likewise.
16249         * string/test-memmem.c (simple_memmem): Likewise.
16250         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
16251         * sunrpc/pm_getport.c (__get_socket): Likewise.
16252         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
16253         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
16254         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
16255         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
16256         Likewise.
16257         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
16258         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
16259         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
16260         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
16261         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
16262         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
16263         Likewise.
16264         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
16265         Likewise.
16266         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
16267         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
16268         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16269         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
16270         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
16271         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
16272         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
16273         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
16274         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
16275         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
16276         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
16277         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
16278         Likewise.
16279         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
16280         Likewise.
16281         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
16282         Likewise.
16283         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
16284         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
16285         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
16286         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
16287         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
16288         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
16289         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
16290         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
16291         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
16292         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
16293         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
16294         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16295         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
16296         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
16297         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16298         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
16299         Likewise.
16300         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
16301         Likewise.
16302         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
16303         Likewise.
16304         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
16305         Likewise.
16306         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16307         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16308         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
16309         Likewise.
16310         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
16311         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
16312         * sysdeps/posix/opendir.c (__opendirat): Likewise.
16313         * sysdeps/posix/sleep.c: Likewise.
16314         * sysdeps/posix/tempname.c: Likewise.
16315         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
16316         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16317         Likewise.
16318         * sysdeps/powerpc/powerpc32/dl-machine.h
16319         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
16320         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
16321         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16322         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
16323         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
16324         Likewise.
16325         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
16326         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
16327         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
16328         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
16329         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
16330         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
16331         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
16332         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
16333         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
16334         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
16335         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
16336         (elf_machine_lazy_rel): Likewise.
16337         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
16338         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
16339         (elf_machine_lazy_rel): Likewise.
16340         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
16341         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
16342         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
16343         * sysdeps/unix/grantpt.c (grantpt): Likewise.
16344         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
16345         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
16346         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
16347         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16348         Likewise.
16349         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
16350         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
16351         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
16352         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
16353         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
16354         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
16355         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
16356         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
16357         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
16358         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
16359         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
16360         Likewise.
16361         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
16362         (__posix_fallocate64_l64): Likewise.
16363         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
16364         (posix_fallocate): Likewise.
16365         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
16366         Likewise.
16367         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
16368         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
16369         (getifaddrs_internal): Likewise.
16370         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
16371         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
16372         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
16373         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
16374         * sysdeps/unix/sysv/linux/posix_fallocate64.c
16375         (__posix_fallocate64_l64): Likewise.
16376         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
16377         Likewise.
16378         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
16379         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
16380         (__get_clockfreq): Likewise.
16381         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
16382         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
16383         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
16384         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16385         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16386         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
16387         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
16388         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
16389         Likewise.
16390         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
16391         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
16392         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
16393         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
16394         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
16395         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
16396         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
16397         Likewise.
16398         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
16399         (posix_fallocate): Likewise.
16400         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
16401         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
16402         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
16403         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
16404         (elf_machine_rela, elf_machine_rela_relative)
16405         (elf_machine_lazy_rel): Likewise.
16406         * time/asctime.c (asctime_internal): Likewise.
16407         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
16408         * time/tzset.c (__tzset_parse_tz): Likewise.
16409         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
16410         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
16411         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
16412         * wcsmbs/wcsmbsload.h: Likewise.
16413
16414         [BZ #15894]
16415         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
16416
16417         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
16418         (arena_get2): Remove THREAD_STATS conditionals.
16419         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
16420         (__malloc_stats, int): Likewise.
16421
16422 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
16423
16424         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
16425         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
16426
16427         * manual/setjmp.texi: Fix typos/grammar errors.
16428
16429         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
16430         Only return early when n is <= 0.  Delete unused return statement.
16431
16432         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
16433         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
16434         * debug/tst-longjmp_chk3.c: New file.
16435
16436         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
16437         (test_main): Replace code with set_fortify_handler call.
16438         * debug/test-strcpy_chk.c: Likewise.
16439         * debug/tst-chk1.c: Likewise.
16440         * debug/tst-longjmp_chk.c: Likewise.
16441         * test-skeleton.c: Include fcntl.h & paths.h
16442         (set_fortify_handler): Define.
16443
16444         * debug/tst-longjmp_chk.c: Add header comment and include
16445         ../test-skeleton.c.
16446         (do_test): Mark static.
16447         (TEST_FUNCTION): Define.
16448
16449         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
16450         (IP_PMTUDISC_INTERFACE): Likewise.
16451         (IP_MULTICAST_IF): Likewise.
16452         (IP_MULTICAST_TTL): Likewise.
16453         (IP_MULTICAST_LOOP): Likewise.
16454         (IP_ADD_MEMBERSHIP): Likewise.
16455         (IP_DROP_MEMBERSHIP): Likewise.
16456         (IP_UNBLOCK_SOURCE): Likewise.
16457         (IP_BLOCK_SOURCE): Likewise.
16458         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
16459         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
16460         (IP_MSFILTER): Likewise.
16461         (MCAST_JOIN_GROUP): Likewise.
16462         (MCAST_BLOCK_SOURCE): Likewise.
16463         (MCAST_UNBLOCK_SOURCE): Likewise.
16464         (MCAST_LEAVE_GROUP): Likewise.
16465         (MCAST_JOIN_SOURCE_GROUP): Likewise.
16466         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
16467         (MCAST_MSFILTER): Likewise.
16468         (IP_MULTICAST_ALL): Likewise.
16469         (IP_UNICAST_IF): Likewise.
16470
16471         * timezone/Makefile: Delete $(have-ksh) check.
16472         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
16473         * timezone/tzselect.ksh: Add +x mode bits.
16474
16475         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
16476         (ANON_INODE_FS_MAGIC): Likewise.
16477         (BDEVFS_MAGIC): Likewise.
16478         (BINFMTFS_MAGIC): Likewise.
16479         (BTRFS_TEST_MAGIC): Likewise.
16480         (CRAMFS_MAGIC_WEND): Likewise.
16481         (DEBUGFS_MAGIC): Likewise.
16482         (ECRYPTFS_SUPER_MAGIC): Likewise.
16483         (EXT3_SUPER_MAGIC): Likewise.
16484         (EXT4_SUPER_MAGIC): Likewise.
16485         (FUTEXFS_SUPER_MAGIC): Likewise.
16486         (HOSTFS_SUPER_MAGIC): Likewise.
16487         (HUGETLBFS_MAGIC): Likewise.
16488         (MINIX3_SUPER_MAGIC): Likewise.
16489         (MTD_INODE_FS_MAGIC): Likewise.
16490         (NILFS_SUPER_MAGIC): Likewise.
16491         (OPENPROM_SUPER_MAGIC): Likewise.
16492         (PIPEFS_MAGIC): Likewise.
16493         (PSTOREFS_MAGIC): Likewise.
16494         (QNX6_SUPER_MAGIC): Likewise.
16495         (RAMFS_MAGIC): Likewise.
16496         (REISERFS_SUPER_MAGIC_STRING): Likewise.
16497         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
16498         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
16499         (SECURITYFS_MAGIC): Likewise.
16500         (SELINUX_MAGIC): Likewise.
16501         (SMACK_MAGIC): Likewise.
16502         (SOCKFS_MAGIC): Likewise.
16503         (SQUASHFS_MAGIC): Likewise.
16504         (STACK_END_MAGIC): Likewise.
16505         (TMPFS_MAGIC): Likewise.
16506         (USBDEVICE_SUPER_MAGIC): Likewise.
16507         (V9FS_MAGIC): Likewise.
16508         (XENFS_SUPER_MAGIC): Likewise.
16509         (CRAMFS_MAGIC): Fix typo in comment.
16510         (EXT2_SUPER_MAGIC): Update comment.
16511         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
16512
16513 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
16514
16515         * sysdeps/arm: Move directory from ports/sysdeps/arm.
16516         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
16517         * sysdeps/unix/sysv/linux/arm: Move directory from
16518         ports/sysdeps/unix/sysv/linux/arm.
16519         * README: Update listing for arm-*-linux-gnueabi.
16520
16521         * README: Remove mention of am33.
16522
16523 2014-02-07  Roland McGrath  <roland@hack.frob.com>
16524
16525         * bits/sigset.h (__sigemptyset): Use a statement expression rather
16526         than the comma operator, to avoid "rhs of comma has no effect"
16527         compiler warnings.
16528         (__sigfillset, __sigandset, __sigorset): Likewise.
16529         * include/signal.h (__sigemptyset): Likewise.
16530         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
16531
16532 2014-02-07  Allan McRae  <allan@archlinux.org>
16533
16534         * version.h (RELEASE): Set to "development".
16535         (VERSION): Set to "2.19.90"
16536         * NEWS: Add 2.20 section.
16537
16538 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
16539
16540         [BZ #16529]
16541         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
16542
16543 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
16544
16545         * manual/contrib.texi: Update entry for Carlos O'Donell,
16546         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
16547
16548 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
16549
16550         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
16551
16552         * sysdeps/unix/sysv/linux/kernel-features.h
16553         [__LINUX_KERNEL_VERSION >= 0x020621]
16554         (__ASSUME_PROC_PID_TASK_COMM): Define.
16555
16556 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
16557
16558         [BZ #16398]
16559         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
16560         conversion when destination buffer does not have enough space.
16561         * libio/tst-ftell-partial-wide.c: New test case.
16562         * libio/Makefile (tests): Add tst-ftell-partial-wide.
16563
16564         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
16565         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
16566         Leonard and Allan McRae.
16567
16568 2014-02-04  David S. Miller  <davem@davemloft.net>
16569
16570         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
16571         32-bit.
16572
16573 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16574
16575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
16576         New file
16577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
16578         New file
16579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
16580         New file.
16581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
16582         New file.
16583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
16584         New file.
16585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
16586         New file.
16587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
16588         New file.
16589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
16590         New file.
16591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
16592         New file.
16593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
16594         New file.
16595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
16596         New file.
16597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
16598         New file.
16599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
16600         New file.
16601
16602 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16603
16604         * nptl/shlib-versions: Change powerpc*le start to 2.17.
16605         * shlib-versions: Likewise.
16606
16607 2014-02-04  Roland McGrath  <roland@hack.frob.com>
16608             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16609
16610         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
16611         (abilist-pattern): New variable, set to %-le.abilist.
16612
16613         * Makerules (abilist-pattern): New variable.
16614         (vpath): Use $(abilist-pattern) in place of %.abilist.
16615         (check-abi-% pattern rule): Likewise.
16616         (check-abi, update-abi): Likewise.
16617
16618 2014-02-04  Eric Wong  <normalperson@yhbt.net>
16619
16620         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16621
16622 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
16623
16624         * manual/startup.texi: Add next, previous, and top entries for
16625         the `Program Arguments' and `Environment Variables' nodes.
16626
16627 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
16628
16629         * manual/macros.texi: Add comments before MTASC-safety macros.
16630
16631         * manual/users.texi: Document MTASC-safety properties.
16632
16633         * manual/threads.texi (pthread_key_create, pthread_key_delete)
16634         (pthread_getspecific, pthread_setspecific): Format with
16635         @deftypefun, and add @safety note.
16636         * manual/signal.texi: Move comments that analyze the above
16637         functions to their home place.
16638
16639 2014-02-03  Allan McRae  <allan@archlinux.org>
16640
16641         * po/sl.po: Update Slovenian translation from translation project.
16642
16643 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
16644
16645         * manual/time.texi (timegm): Add missing blank after @c.
16646         Reported by Joseph Myers <joseph@codesourcery.com>.
16647
16648 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
16649
16650         * manual/check-safety.sh: New.
16651         * manual/Makefile ($(objpfx)stamp-summary): Run it.
16652
16653         * manual/terminal.texi: Document MTASC-safety properties.
16654
16655         * manual/filesys.texi: Document MTASC-safety properties.
16656
16657         * manual/errno.texi: Document MTASC-safety properties.
16658
16659         * manual/intro.texi: Document safety identifiers and
16660         conditionals.
16661
16662         * manual/string.texi (wcstok): Fix prototype.
16663         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
16664
16665         * manual/time.texi: Document MTASC-safety properties.
16666
16667         * manual/string.texi: Document MTASC-safety properties.
16668
16669         * manual/threads.texi: Document MTASC-safety properties.
16670
16671         * manual/stdio.texi: Document MTASC-safety properties.
16672
16673         * manual/syslog.texi: Document MTASC-safety properties.
16674
16675         * manual/sysinfo.texi: Document MTASC-safety properties.
16676
16677         * manual/startup.texi: Document MTASC-safety properties.
16678
16679         * manual/socket.texi: Document MTASC-safety properties.
16680
16681         * manual/signal.texi: Document MTASC-safety properties.
16682
16683 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
16684
16685         * manual/setjmp.texi: Document MTASC-safety properties.
16686
16687         * manual/search.texi: Document MTASC-safety properties.
16688
16689         * manual/resource.texi: Document MTASC-safety properties.
16690
16691         * manual/process.texi: Document MTASC-safety properties.
16692
16693         * manual/platform.texi: Document MTASC-safety properties.
16694
16695         * manual/pipe.texi: Document MTASC-safety properties.
16696
16697         * manual/pattern.texi: Document MTASC-safety properties.
16698
16699         * manual/message.texi: Document MTASC-safety properties.
16700
16701         [BZ #12751]
16702         * manual/memory.texi: Document MTASC-safety properties.
16703
16704         * manual/math.texi: Document MTASC-safety properties.
16705
16706         * manual/locale.texi: Document MTASC-safety properties.
16707
16708         * manual/llio.texi: Document MTASC-safety properties.
16709
16710         * manual/libdl.texi: New.
16711
16712         * manual/lang.texi: Document MTASC-safety properties.
16713
16714         * manual/job.texi: Document MTASC-safety properties.
16715
16716         * manual/getopt.texi: Document MTASC-safety properties.
16717
16718         * manual/ctype.texi: Document MTASC-safety properties.
16719
16720 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
16721
16722         [BZ #16046]
16723         * csu/libc-tls.c (static_map): Remove variable.
16724         (__libc_setup_tls): Use main executable's link map for TLS data.
16725         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
16726         casing for LM_ID_BASE and GL(dl_nns).
16727         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
16728         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
16729         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
16730         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
16731         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
16732         member.
16733         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
16734         l_phnum members.
16735
16736 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
16737
16738         * manual/debug.texi: Document MTASC-safety properties.
16739
16740 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
16741
16742         [BZ #16510]
16743         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
16744         of __x86_64__ when disabling x87 inline functions.
16745
16746 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
16747
16748         * manual/charset.texi: Document MTASC-safety properties.
16749
16750         * manual/crypt.texi: Document MTASC-safety properties.
16751
16752         * manual/conf.texi: Document MTASC-safety properties.
16753
16754         * manual/arith.texi: Document MTASC-safety properties.
16755
16756         * manual/argp.texi: Document MTASC-safety properties.
16757
16758         * manual/macros.texi: Introduce macros to document multi
16759         thread, asynchronous signal and asynchronous cancellation
16760         safety properties.
16761         * manual/intro.texi: Introduce the properties themselves.
16762
16763 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16764
16765         * sysdeps/sh/sh4/Makefile: New file.
16766
16767 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
16768
16769         * math/gen-libm-test.pl ($srcdir): New variable.
16770         ($auto_input): Use it.
16771
16772 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
16773
16774         [BZ #16506]
16775         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
16776         access beyond array bounds when parsing netgroups file.
16777
16778         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
16779         the old buffer before realloc.
16780
16781 2014-01-27  Allan McRae  <allan@archlinux.org>
16782
16783         * po/fr.po: Update French translation from translation project.
16784
16785 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16786
16787         * sysdeps/sh/libm-test-ulps: Regenerate.
16788
16789 2014-01-24  David S. Miller  <davem@davemloft.net>
16790
16791         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
16792
16793 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16794
16795         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
16796         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
16797
16798 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16799
16800         [BZ #16474]
16801         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
16802         string pointers after reallocation.
16803
16804 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16805
16806         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
16807         __SH4A__ instead of __SH_FPU_ANY__.
16808
16809 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16810
16811         * sysdeps/sh/fpu_control.h: New file.
16812         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
16813         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
16814         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
16815         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
16816         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
16817         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
16818         * sysdeps/sh/sys/ucontext.h: Remove.
16819         * sysdeps/sh/sys: Remove directory.
16820
16821 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16822
16823         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
16824         s390/sys/ucontext.h.
16825         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
16826         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
16827
16828 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
16829
16830         [BZ #15605]
16831         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
16832
16833 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16834
16835         [BZ#16431]
16836         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
16837         Adjust the vDSO correctly for internal calls.
16838         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
16839
16840 2014-01-20  Allan McRae  <allan@archlinux.org>
16841
16842         * po/ca.po: Update Catalan translation from translation project.
16843
16844 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
16845
16846         * sysdeps/s390/sotruss-lib.c: New file.
16847
16848 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16849
16850         [BZ#16430]
16851         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
16852         (__GI___gettimeofday): Alias for a different internal symbol to avoid
16853         local calls issues by not having a PLT stub required for IFUNC calls.
16854         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
16855
16856 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
16857
16858         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
16859         * math/test-fpucw-static.c: Likewise.
16860
16861 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
16862
16863         [BZ #16453]
16864         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
16865
16866 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16867
16868         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
16869         implementation for powerpc.
16870
16871 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
16872
16873         [BZ #14782]
16874         * sysdeps/posix/system.c (__libc_system): Do not enable
16875         asynchronous cancellation.
16876
16877 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16878
16879         [BZ #16427]
16880         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
16881         handling only for numbers special also in the IEEE case.
16882
16883 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16884
16885         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16886
16887 2014-01-11  Allan McRae  <allan@archlinux.org>
16888
16889         * po/bg.po: Update Bulgarian translation from translation project.
16890
16891         * po/de.po: Update German translation from translation project.
16892
16893 2014-01-10  Roland McGrath  <roland@hack.frob.com>
16894
16895         * sysdeps/generic/gcc-compat.h: New file.
16896
16897 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
16898
16899         * benchtests/asin-inputs: Correct slow inputs.
16900         * benchtests/acos-inputs: Likewise.
16901
16902 2014-01-10  Allan McRae  <allan@archlinux.org>
16903
16904         * po:sv.po: Update Swedish translation from translation project.
16905
16906         * po/vi.po: Update Vietnamese translation from translation project.
16907
16908         * po/eo.po: Update Esperanto translation from translation project.
16909
16910         * po/cs.po: Update Czech translation from translation project.
16911
16912         * po/nl.po: Update Dutch translation from translation project.
16913
16914         * po/pl.po: Update Polish translation from translation project.
16915
16916         * po/ru.po: Update Russian translation from translation project.
16917
16918         * po/uk.po: Update Ukrainian translation from translation project.
16919
16920 2014-01-08  Brooks Moses  <bmoses@google.com>
16921
16922         * elf/dl-load.c: Fix comment typo.
16923
16924 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
16925
16926         * po/header.pot: Rename to...
16927         * po/pot.header: ... this.
16928         * po/Makefile: Use pot.header.
16929
16930 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
16931             Maxim Kuvyrkov  <maxim@kugelworks.com>
16932
16933         [BZ #16394]
16934         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
16935         SRC and DEST against LEN.
16936
16937 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16938
16939         [BZ #16414]
16940         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
16941         implementation.
16942         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
16943
16944 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16945
16946         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16947
16948 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
16949
16950         [BZ #16408]
16951         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
16952         for large positive arguments.
16953
16954 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
16955
16956         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
16957
16958         * math/auto-libm-test-in: Mark various tests with
16959         xfail-rounding:ldbl-128ibm.
16960         * math/auto-libm-test-out: Regenerated.
16961
16962         [BZ #16407]
16963         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
16964         Increase overflow threshold.
16965
16966 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
16967
16968         [BZ #14286]
16969         * stdio-common/vfprintf.c: Check for integer overflow.
16970
16971 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16972
16973         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
16974         the first argument and return value of __tls_get_addr_internal.
16975
16976 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16977
16978         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
16979         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
16980
16981 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16982
16983         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
16984         * sysdeps/s390/rtld-global-offsets.sym: New file.
16985         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
16986         GLIBC_2.19 symbol.
16987         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
16988         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
16989         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
16990         ... this.
16991         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
16992         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
16993         ... this.
16994         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
16995         Regenerate.
16996         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
16997         Regenerate.
16998         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
16999         halfs of GPRs for high_gprs contexts.
17000         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
17001         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
17002         field.
17003         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
17004         uc_flags field.
17005         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
17006         64 bit versions:
17007         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
17008         for high GPRs (uc_high_gprs) and for future extensions
17009         (__reserved).
17010         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
17011         for future extensions (__reserved).
17012         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
17013         64 bit versions:
17014         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
17015         SC_HIGHGPRS offset definition.
17016         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
17017         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
17018
17019         * Versions.def: Add GLIBC_2.19 for libpthread.
17020         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
17021         siglongjmp for libpthread with GLIBC_2.19 symver.
17022         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
17023         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
17024         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
17025         * sysdeps/s390/__longjmp.c: New file.
17026         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
17027         * sysdeps/s390/longjmp.c: New file.
17028         * sysdeps/s390/setjmp.S: New file.
17029         * sysdeps/s390/sigjmp.S: New file.
17030         * sysdeps/s390/v1-longjmp.c: New file.
17031         * sysdeps/s390/v1-setjmp.h: New file.
17032         * sysdeps/s390/v1-sigjmp.c: New file.
17033         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
17034         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
17035         GLIBC_2.19 version.
17036         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
17037         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
17038         versioned symbols for ____longjmp_chk.
17039         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
17040         Likewise.
17041         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17042         Regenerate.
17043         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17044         Regenerate.
17045         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17046         Regenerate.
17047         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17048         Regenerate.
17049         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
17050         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
17051         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
17052         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
17053         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
17054         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
17055         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
17056         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
17057         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
17058         * sysdeps/s390/rtld-__longjmp.c: New file.
17059         * sysdeps/s390/rtld-setjmp.S: New file.
17060
17061 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
17062
17063         [BZ #16400]
17064         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
17065         Return -__logl (x) for small positive arguments without evaluating
17066         a polynomial.
17067
17068 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
17069
17070         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
17071         Rename to ...
17072         (__ptrace_peeksiginfo_args): ... this.
17073         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17074         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17075         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17076
17077 2014-01-06  Allan McRae  <allan@archlinux.org>
17078
17079         * inet/netinet/in.h: Fix typo in comment.
17080
17081 2014-01-05  Andreas Jaeger  <aj@suse.de>
17082
17083         * sysdeps/i386/fpu/libm-test-ulps: Update.
17084
17085 2014-01-05  Allan McRae  <allan@archlinux.org>
17086
17087         * po/libc.pot: Regenerated.
17088
17089         * malloc/memusagestat.c: Fix gettext call formatting.
17090
17091 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
17092
17093         * nscd/nscd.c: Improve usage() output.
17094
17095 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
17096
17097         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
17098         * sysdeps/unix/sysv/linux/configure: Regenerated.
17099         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
17100         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
17101
17102 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
17103
17104         [BZ #16390]
17105         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
17106         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
17107
17108 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17109
17110         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
17111         extra tokens at end of #undef directive.
17112         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
17113         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
17114         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
17115
17116 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
17117
17118         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
17119
17120         * math/auto-libm-test-in: Mark various tests with
17121         xfail-rounding:ldbl-128ibm.
17122         * math/auto-libm-test-out: Regenerated.
17123
17124 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
17125
17126         [BZ #16386]
17127         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
17128         numbers with subnormal high part when calculating exponent.
17129
17130         [BZ #16385]
17131         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
17132         fabs.
17133
17134         [BZ #16384]
17135         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
17136         M_LN2l.
17137         (__ieee754_acoshl): Use __log1pl not __log1p.
17138
17139 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
17140
17141         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
17142         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
17143         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
17144         (grow_heap, heap_trim, _int_new_arena, get_free_list)
17145         (reused_arena, arena_get2): Convert to GNU style.
17146         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
17147         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
17148         (memalign_check, __malloc_set_state): Likewise.
17149         * malloc/mallocbug.c (main): Likewise.
17150         * malloc/malloc.c (__malloc_assert, malloc_init_state)
17151         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
17152         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
17153         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
17154         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
17155         (__posix_memalign, malloc_info): Likewise.
17156         * malloc/malloc.h: Likewise.
17157         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
17158         (mallochook, memalignhook, reallochook, mabort): Likewise.
17159         * malloc/mcheck.h: Likewise.
17160         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
17161         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
17162         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
17163         * malloc/morecore.c (__default_morecore): Likewise.
17164         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
17165         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
17166         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
17167         (print_and_abort): Likewise.
17168         * malloc/obstack.h: Likewise.
17169         * malloc/set-freeres.c (__libc_freeres): Likewise.
17170         * malloc/tst-mallocstate.c (main): Likewise.
17171         * malloc/tst-mtrace.c (main): Likewise.
17172         * malloc/tst-realloc.c (do_test): Likewise.
17173
17174 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
17175
17176         [BZ #16366]
17177         * nscd/netgroupcache.c (do_notfound): New function.
17178         (addgetnetgrentX): Use it.
17179
17180         [BZ # 16365]
17181         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
17182         NSS_STATUS_NOTFOUND.
17183
17184 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
17185
17186         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
17187         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17188
17189 2014-01-01  Allan McRae  <allan@archlinux.org>
17190
17191         * scripts/update-copyrights: Update configure input file suffix.
17192
17193         * NEWS: Update copyright year.
17194         * catgets/gencat.c: Likewise.
17195         * csu/version.c: Likewise.
17196         * debug/catchsegv.sh: Likewise.
17197         * debug/pcprofiledump.c: Likewise.
17198         * debug/xtrace.sh: Likewise.
17199         * elf/ldconfig.c: Likewise.
17200         * elf/ldd.bash.in: Likewise.
17201         * elf/pldd.c: Likewise.
17202         * elf/sotruss.ksh: Likewise.
17203         * elf/sprof.c: Likewise.
17204         * iconv/iconv_prog.c: Likewise.
17205         * iconv/iconvconfig.c: Likewise.
17206         * locale/programs/locale.c: Likewise.
17207         * locale/programs/localedef.c: Likewise.
17208         * login/programs/pt_chown.c: Likewise.
17209         * malloc/memusage.sh: Likewise.
17210         * malloc/memusagestat.c: Likewise.
17211         * malloc/mtrace.pl: Likewise.
17212         * manual/libc.texinfo: Likewise.
17213         * nscd/nscd.c: Likewise.
17214         * nss/getent.c: Likewise.
17215         * nss/makedb.c: Likewise.
17216         * posix/getconf.c: Likewise.
17217         * scripts/test-installation.pl: Likewise.
17218
17219         * All files with FSF copyright notices: Update copyright dates
17220         using scripts/update-copyrights.
17221         * intl/plural.c: Regenerated.
17222         * locale/programs/charmap-kw.h: Likewise.
17223         * locale/programs/locfile-kw.h: Likewise.
17224
17225 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
17226
17227         * sysdeps/unix/sysv/linux/configure: Regenerated.
17228         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
17229         the linux/fanotify.h header.
17230         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
17231         HAVE_LINUX_FANOTIFY_H is defined.
17232
17233 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
17234
17235         * benchtests/cos-inputs: New inputs.
17236         * benchtests/sin-inputs: Likewise.
17237
17238         * benchtests/atan-inputs: New inputs. Fix name of multiple
17239         precision fallback inputs.
17240
17241         * benchtests/atanh-inputs: New inputs.
17242         * benchtests/tanh-inputs: Likewise.
17243
17244         * benchtests/acosh-inputs: New inputs.
17245         * benchtests/asinh-inputs: Likewise.
17246
17247         * benchtests/cosh-inputs: New inputs.
17248         * benchtests/sinh-inputs: Likewise.
17249
17250         * benchtests/acos-inputs: Add more inputs.
17251         * benchtests/asin-inputs: Likewise.
17252
17253 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
17254
17255         [BZ #16375]
17256         * manual/arith.texi: Fix spelling.
17257         * manual/charset.texi: Likewise.
17258         * manual/errno.texi: Likewise.
17259         * manual/filesys.texi: Likewise.
17260         * manual/lang.texi: Likewise.
17261         * manual/llio.texi: Likewise.
17262         * manual/locale.texi: Likewise.
17263         * manual/message.texi: Likewise.
17264         * manual/resource.texi: Likewise.
17265         * manual/search.texi: Likewise.
17266         * manual/setjmp.texi: Likewise.
17267         * manual/stdio.texi: Likewise.
17268         * manual/string.texi: Likewise.
17269         * manual/sysinfo.texi: Likewise.
17270         * manual/time.texi: Likewise.
17271
17272 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
17273
17274         * po/sl.po: New file.
17275
17276 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
17277
17278         * .gitignore: Add core/.gdbinit/.gdb_history.
17279
17280 2013-12-27  Allan McRae  <allan@archlinux.org>
17281
17282         [BZ #16369]
17283         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
17284         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
17285
17286 2013-12-24  Brooks Moses  <bmoses@google.com>
17287
17288         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
17289         all compilers that claim C++98 compliance, not just GCC.
17290         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
17291         Likewise.
17292
17293 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
17294
17295         * NEWS: Restore accidentally deleted bug-fix entries.
17296
17297 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
17298             Ondřej Bílka  <neleai@seznam.cz>
17299
17300         [BZ #15073]
17301         * malloc/malloc.c (_int_free): Perform sanity check only if we
17302         have_lock.
17303
17304 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
17305
17306         [BZ #12986]
17307         * manual/stdio.texi (String Input Conversions): Clarify that character
17308         classes are not supported.
17309
17310 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17311
17312         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17313
17314 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
17315
17316         [BZ #16337]
17317         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
17318         Calculate results for small negative arguments directly rather
17319         than using reflection formula with special underflow handling.
17320
17321         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
17322         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
17323         sysdeps/unix/bsd/bsd4.4/syscalls.list.
17324         (fchflags): Likewise.
17325         (revoke): Likewise.
17326         (setlogin): Likewise.
17327         (sigaltstack): Likewise.
17328         (wait4): Likewise.
17329         (sigblock): Remove.
17330         (sigsetmask): Likewise.
17331         (wait3): Likewise.
17332         (waitpid): Likewise.
17333         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
17334         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
17335         file.
17336         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
17337         * sysdeps/unix/bsd/Makefile: ... here.
17338         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
17339         * sysdeps/unix/bsd/Versions: ... here.
17340         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
17341         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
17342         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
17343         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
17344         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
17345         * sysdeps/unix/bsd/sigblock.c: ... here.
17346         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
17347         * sysdeps/unix/bsd/sigsetmask.c: ... here.
17348         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
17349         * sysdeps/unix/bsd/sigvec.c: ... here.
17350         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
17351         * sysdeps/unix/bsd/tcdrain.c: ... here.
17352         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
17353         * sysdeps/unix/bsd/tcgetattr.c: ... here.
17354         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
17355         * sysdeps/unix/bsd/tcsetattr.c: ... here.
17356         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
17357         * sysdeps/unix/bsd/wait.c: ... here.
17358         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
17359         * sysdeps/unix/bsd/wait3.c: ... here.
17360         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
17361         * sysdeps/unix/bsd/waitpid.c: ... here.
17362
17363 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
17364
17365         [BZ #16356]
17366         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
17367         round-to-nearest for [!USE_AS_EXPM1L].
17368         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
17369         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
17370         more tests of exp and exp10.  Expect some exp10 tests to miss
17371         exceptions or fail in directed rounding modes.
17372         * math/auto-libm-test-out: Regenerated.
17373         * math/libm-test.inc (exp10_tonearest_test_data): New array.
17374         (exp10_test_tonearest): New function.
17375         (exp10_towardzero_test_data): New array.
17376         (exp10_test_towardzero): New function.
17377         (exp10_downward_test_data): New array.
17378         (exp10_test_downward): New function.
17379         (exp10_upward_test_data): New array.
17380         (exp10_test_upward): New function.
17381         (main): Call the new functions.
17382         * sysdeps/i386/fpu/libm-test-ulps: Update.
17383         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17384
17385 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
17386
17387         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
17388         asinh, atan, atan2, atanh, cbrt, cos and cosh.
17389         * math/auto-libm-test-out: Regenerated.
17390         * math/libm-test.inc (acosh_test_data): Add more tests.
17391         (atanh_test_data): Likewise.
17392         (ceil_test_data): Likewise.
17393         (copysign_test_data): Likewise.
17394         * sysdeps/i386/fpu/libm-test-ulps: Update.
17395         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17396
17397         * timezone/checktab.awk: Update from tzcode 2013i.
17398         * timezone/private.h: Likewise.
17399         * timezone/scheck.c: Likewise.
17400         * timezone/tzfile.h: Likewise.
17401         * timezone/tzselect.ksh: Likewise.
17402         * timezone/zdump.c: Likewise.
17403         * timezone/zic.c: Likewise.
17404
17405         * math/auto-libm-test-in: Add tests of cpow.
17406         * math/auto-libm-test-out: Regenerated.
17407         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
17408         * math/gen-auto-libm-tests.c (func_calc_method): Add value
17409         mpc_cc_c.
17410         (func_calc_desc): Add mpc_cc_c union field.
17411         (test_functions): Add cpow.
17412         (special_fill_2pi): New function.
17413         (special_real_inputs): Add 2pi.
17414         (calc_generic_results): Handle mpc_cc_c.
17415         * sysdeps/i386/fpu/libm-test-ulps: Update.
17416         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17417
17418         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
17419         csqrt, ctan and ctanh.
17420         * math/auto-libm-test-out: Regenerated.
17421         * math/libm-test.inc (TEST_COND_x86_64): New macro.
17422         (TEST_COND_x86): Likewise.
17423         (ccos_test_data): Use AUTO_TESTS_c_c.
17424         (ccosh_test_data): Likewise.
17425         (cexp_test_data): Likewise.
17426         (clog_test_data): Likewise.
17427         (csqrt_test_data): Likewise.
17428         (ctan_test_data): Likewise.
17429         (ctan_tonearest_test_data): Likewise.
17430         (ctan_towardzero_test_data): Likewise.
17431         (ctan_downward_test_data): Likewise.
17432         (ctan_upward_test_data): Likewise.
17433         (ctanh_test_data): Likewise.
17434         (ctanh_tonearest_test_data): Likewise.
17435         (ctanh_towardzero_test_data): Likewise.
17436         (ctanh_downward_test_data): Likewise.
17437         (ctanh_upward_test_data): Likewise.
17438         * math/gen-auto-libm-tests.c (func_calc_method): Add value
17439         mpc_c_c.
17440         (func_calc_desc): Add mpc_c_c union field.
17441         (FUNC_mpc_c_c): New macro.
17442         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
17443         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
17444         ctanh.
17445         (special_fill_min_subnorm_p120): New function.
17446         (special_real_inputs): Add min_subnorm_p120.
17447         (calc_generic_results): Handle mpc_c_c.
17448         * sysdeps/i386/fpu/libm-test-ulps: Update.
17449         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17450
17451 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
17452
17453         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
17454         (do_sin_slow): New functions.
17455         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
17456         (cslow2, csloww1, csloww2): Use the new functions.
17457
17458         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
17459         Use M to change sign of result instead of X.  Assume X is
17460         positive.
17461         (csloww1): Likewise.
17462         (__sin): Adjust.
17463         (__cos): Adjust.
17464
17465         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
17466         arguments A and DA.
17467         (__sin): Adjust.
17468         (__cos): Likewise.
17469
17470         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
17471         (__cos): Likewise.
17472         (sloww1): Don't adjust sign of DX.
17473         (csloww1): Likewise.
17474         (sloww2): Use X directly and don't adjust sign of DX.
17475         (csloww2): Likewise.
17476
17477 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
17478
17479         * math/auto-libm-test-in: Add tests of cabs and carg.
17480         * math/auto-libm-test-out: Regenerated.
17481         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
17482         (carg_test_data): Likewise.
17483         * math/gen-auto-libm-tests.c (func_calc_method): Add value
17484         mpc_c_f.
17485         (func_calc_desc): Add mpc_c_f union field.
17486         (test_functions): Add cabs and carg.
17487         (calc_generic_results): Handle mpc_c_f.
17488
17489         * sysdeps/powerpc/powerpc32/libgcc-compat.S
17490         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
17491         as a macro and a compat symbol.
17492         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
17493         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
17494         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
17495         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
17496         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
17497         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
17498         not use .hidden.
17499         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
17500         Likewise.
17501         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
17502         Likewise.
17503         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
17504         Likewise.
17505         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
17506         Likewise.
17507         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
17508         Likewise.
17509         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
17510         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
17511         from GLIBC_2.3.2.
17512
17513 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17514
17515         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17516
17517 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
17518
17519         * manual/texinfo.tex: Update to version 2013-11-26.10 with
17520         trailing whitespace removed.
17521         * scripts/config.guess: Update to version 2013-11-29.
17522         * scripts/config.sub: Update to version 2013-10-01.
17523
17524         * math/auto-libm-test-in: Add tests of sincos.
17525         * math/auto-libm-test-out: Regenerated.
17526         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
17527         * math/gen-auto-libm-tests.c (func_calc_method): Add value
17528         mpfr_f_11.
17529         (func_calc_desc): Add mpfr_f_11 union field.
17530         (test_functions): Add sincos.
17531         (calc_generic_results): Handle mpfr_f_11.
17532         * sysdeps/i386/fpu/libm-test-ulps: Update.
17533         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17534
17535 2013-12-19  Andreas Schwab  <schwab@suse.de>
17536
17537         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
17538         CALL_MCOUNT.
17539         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
17540         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
17541         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
17542
17543 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
17544
17545         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
17546         * sysdeps/i386/fpu/libm-test-ulps: Update.
17547         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17548
17549         [BZ #16293]
17550         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
17551         round-to-nearest mode when using frndint.
17552         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
17553         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
17554         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
17555         Likewise.
17556         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
17557         sinh test to fail.
17558         * math/auto-libm-test-out: Regenerated.
17559         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
17560         (TEST_COND_x86): Likewise.
17561         (expm1_tonearest_test_data): New array.
17562         (expm1_test_tonearest): New function.
17563         (expm1_towardzero_test_data): New array.
17564         (expm1_test_towardzero): New function.
17565         (expm1_downward_test_data): New array.
17566         (expm1_test_downward): New function.
17567         (expm1_upward_test_data): New array.
17568         (expm1_test_upward): New function.
17569         (main): Run the new test functions.
17570         * sysdeps/i386/fpu/libm-test-ulps: Update.
17571         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17572
17573         * include/features.h: Update comment documenting feature test
17574         macros.  Mention _DEFAULT_SOURCE in comment.
17575         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
17576         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
17577         _BSD_SOURCE and _SVID_SOURCE.
17578         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
17579         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
17580         !_SVID_SOURCE]: Likewise.
17581         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
17582         (__USE_POSIX_IMPLICITLY): Define.
17583         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
17584         (_POSIX_SOURCE): Undefine and redefine.
17585         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
17586         (_POSIX_C_SOURCE): Likewise.
17587         * manual/creature.texi (_DEFAULT_SOURCE): Document.
17588         (Feature Test Macros): Update documentation of default features.
17589
17590 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17591
17592         * benchtests/Makefile: Add bench-strtok.
17593         * benchtests/bench-strtok.c: New file: strtok benchtest.
17594
17595 2013-12-19  Allan McRae  <allan@archlinux.org>
17596
17597         * manual/install.texi: Suppress menu for plain text output.
17598         * INSTALL: Regenerated.
17599
17600 2013-12-18  Brooks Moses  <bmoses@google.com>
17601
17602         [BZ #15846]
17603         * misc/getauxval.c: Include errno.h.
17604         (__getauxval): Set errno to ENOENT if the requested type is not
17605         found.
17606         * misc/sys/auxv.h (getauxval): Document that it may set errno;
17607         don't declare with __attribute_const__.
17608         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
17609         * manual/startup.texi: Document that getauxval sets errno.
17610
17611 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
17612
17613         * math/auto-libm-test-in: Add tests of jn and yn.
17614         * math/auto-libm-test-out: Regenerated.
17615         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
17616         (yn_test_data): Likewise.
17617         * math/gen-auto-libm-tests.c (func_calc_method): Add value
17618         mpfr_if_f.
17619         (func_calc_desc): Add mpfr_if_f union field.
17620         (FUNC_mpfr_if_f): New macro.
17621         (test_functions): Add jn and yn.
17622         (calc_generic_results): Assert type of second input for
17623         mpfr_ff_f.  Handle mpfr_if_f.
17624         (output_for_one_input_case): Disable all checking for arguments
17625         fitting floating-point types in case of an integer argument.
17626         * sysdeps/i386/fpu/libm-test-ulps: Update.
17627         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17628
17629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
17630         Don't expect fegetround reference in libm.so.
17631
17632 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
17633
17634         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
17635         $(config-cflags-nofma).
17636
17637 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
17638
17639         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
17640         * math/auto-libm-test-out: Regenerated.
17641
17642         [BZ #16338]
17643         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
17644         to determine exponent and adjust argument to have exponent of -1.
17645         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
17646         log2.
17647         * math/auto-libm-test-out: Regenerated.
17648         * sysdeps/i386/fpu/libm-test-ulps: Update.
17649         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17650
17651 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
17652
17653         * manual/probes.texi: Remove cases when per-thread arenas are
17654         disabled.
17655
17656 2013-12-18  Andreas Schwab  <schwab@suse.de>
17657
17658         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
17659         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
17660         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
17661         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
17662         * sysdeps/i386/i686/multiarch/Makefile: Update.
17663         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
17664
17665 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
17666
17667         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
17668         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
17669
17670 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
17671
17672         [BZ #15968]
17673         Support TZ transition times < 00:00:00.
17674         This is needed for version-3 tz-format files; it supports time
17675         stamps past 2037 for America/Godthab (the only entry in the tz
17676         database for which this change is relevant).
17677         * manual/time.texi (TZ Variable): Document transition times
17678         from -167:59:59 through -00:00:01.
17679         * time/tzset.c (tz_rule): Time of day is now signed.
17680         (__tzset_parse_tz): Parse negative time of day.
17681
17682         Document TZ transition times >= 25:00:00.
17683         * manual/time.texi (TZ Variable): Document transition times from
17684         25:00:00 through 167:59:59.  These are already supported, and this
17685         support will help with version-3 tz-format files.
17686
17687         * manual/time.texi (TZ Variable): Modernize North America example
17688         to reflect current (i.e., 2007-and-later) daylight saving rules.
17689
17690         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
17691
17692 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
17693
17694         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
17695         * sysdeps/unix/bsd/bits/stat.h: Likewise.
17696         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
17697         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
17698         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
17699         * sysdeps/unix/bsd/bsdstat.h: Likewise.
17700         * sysdeps/unix/bsd/clock.c: Likewise.
17701         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
17702         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
17703         * sysdeps/unix/bsd/init-posix.c: Likewise.
17704         * sysdeps/unix/bsd/poll.c: Likewise.
17705         * sysdeps/unix/bsd/ptsname.c: Likewise.
17706         * sysdeps/unix/bsd/seekdir.c: Likewise.
17707         * sysdeps/unix/bsd/setegid.c: Likewise.
17708         * sysdeps/unix/bsd/seteuid.c: Likewise.
17709         * sysdeps/unix/bsd/setgid.c: Likewise.
17710         * sysdeps/unix/bsd/setrgid.c: Likewise.
17711         * sysdeps/unix/bsd/setruid.c: Likewise.
17712         * sysdeps/unix/bsd/setsid.c: Likewise.
17713         * sysdeps/unix/bsd/setuid.c: Likewise.
17714         * sysdeps/unix/bsd/sigaction.c: Likewise.
17715         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
17716         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
17717         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
17718         * sysdeps/unix/bsd/telldir.c: Likewise.
17719         * sysdeps/unix/bsd/times.c: Likewise.
17720         * sysdeps/unix/bsd/usleep.c: Likewise.
17721
17722         * misc/Makefile (install-lib): Remove libbsd-compat.a.
17723         ($(objpfx)libbsd-compat.a): Remove rule.
17724
17725         * include/features.h (__FAVOR_BSD): Do not define.
17726         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
17727         features conflicting with POSIX.
17728         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
17729         (_BSD_SOURCE): Remove description of not being a subset of other
17730         feature test macros.
17731         * manual/job.texi (getpgrp): Do not document BSD version.
17732         (getpgid): Do not document by reference to BSD getpgrp.
17733         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
17734         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
17735         * signal/signal.h [__FAVOR_BSD]: Likewise.
17736         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
17737         instead of making contents conditional on [__FAVOR_BSD].
17738         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
17739
17740 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17741
17742         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17743
17744 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
17745
17746         [BZ #16314]
17747         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
17748         values below 2**-450, not 2**-500.
17749         * math/auto-libm-test-in: Don't allow spurious underflow from
17750         hypot.
17751         * math/auto-libm-test-out: Regenerated.
17752
17753         [BZ #16316]
17754         [BZ #16330]
17755         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
17756         values of ha and hb and sort them after adjusting subnormal
17757         arguments.
17758         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
17759         Likewise.
17760         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
17761         values of ea and eb and sort them after adjusting subnormal
17762         arguments.
17763         * math/auto-libm-test-in: Do not expect some hypot tests of
17764         subnormals to fail.  Add more hypot tests.
17765         * math/auto-libm-test-out: Regenerated.
17766
17767 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17768
17769         [BZ #13304]
17770         * sysdeps/sh/s_fma.c: New file.
17771         * sysdeps/sh/s_fmaf.c: New file.
17772         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
17773         version.
17774         * sysdeps/sh/Implies: Add sh/soft-fp.
17775
17776 2013-12-16  Roland McGrath  <roland@hack.frob.com>
17777
17778         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
17779         level of indirection to members `objname', `errstring', `malloced'.
17780         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
17781         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
17782         it as the __longjmp argument (just pass 1 instead).
17783         (_dl_catch_error): Initialize C with argument pointers and address of
17784         volatile local ERRCODE rather than copying values out of C at return.
17785
17786 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
17787
17788         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
17789         * math/auto-libm-test-out: Regenerated.
17790         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
17791         (hypot_test_data): Likewise.
17792         (pow_test_data): Likewise.
17793         (pow_tonearest_test_data): Likewise.
17794         * math/gen-auto-libm-tests.c (func_calc_method): Add value
17795         mpfr_ff_f.
17796         (func_calc_desc): Add mpfr_ff_f union field.
17797         (FUNC_mpfr_ff_f): New macro.
17798         (test_functions): Add atan2, hypot and pow.
17799         (special_fill_min): New function.
17800         (special_fill_minus_min): Likewise.
17801         (special_fill_min_subnorm): Likewise.
17802         (special_fill_minus_min_subnorm): Likewise.
17803         (special_real_inputs): Add min, -min, min_subnorm and
17804         -min_subnorm.
17805         (calc_generic_results): Handle mpfr_ff_f.
17806         * sysdeps/i386/fpu/libm-test-ulps: Update.
17807         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17808
17809 2013-12-16  Will Newton  <will.newton@linaro.org>
17810
17811         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
17812         (Aligned Memory Blocks): Add documentation for aligned_alloc
17813         and suggest it as an alternative to posix_memalign.
17814         (Hooks for Malloc): Document __memalign_hook is also called
17815         for aligned_alloc.  (Summary of Malloc): Add summary for
17816         aligned alloc.  Document __memalign_hook is also called
17817         for aligned_alloc.
17818
17819 2013-12-16  Will Newton  <will.newton@linaro.org>
17820
17821         * manual/memory.texi (Malloc Examples): Clarify default
17822         alignment documentation.  Suggest posix_memalign rather
17823         than memalign or valloc.
17824         (Aligned Memory Blocks): Remove suggestion to use memalign
17825         or valloc.  Remove obsolete comment about BSD.
17826         Document memalign errno values and mark the function obsolete.
17827         Document posix_memalign returned error codes.  Mark valloc
17828         as obsolete.  (Hooks for Malloc): __memalign_hook is also
17829         called for posix_memalign and valloc.
17830         (Summary of Malloc): Add posix_memalign to function summary.
17831         __memalign_hook is also called for posix_memalign and valloc.
17832
17833 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
17834
17835         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
17836         TAYLOR_SIN.
17837         (__sin): Adjust.
17838         (__cos): Likewise.
17839         (sloww): Use mynumber union.  Expand ternary operator into
17840         if-else statements.
17841         (cslow): use mynumber union.
17842
17843 2013-12-16  Allan McRae  <allan@archlinux.org>
17844
17845         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
17846         * configure: Regenerated.
17847
17848         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
17849
17850         [BZ #14120]
17851         * configure.ac: Added --enable-maintainer-mode. Check for
17852         autoconf when enabled.
17853         * configure: Regenerated.
17854
17855         * nscd/nscd.service: New file.
17856         * nscd/nscd.tmpfiles: New file.
17857
17858 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
17859
17860         [BZ #12100]
17861         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
17862         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
17863         * sysdeps/x86_64/multiarch/strstr.c: ... here.
17864         (strstr): Add __strstr_sse2_unaligned ifunc.
17865         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
17866         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
17867         (strcasestr): Remove __strcasestr_sse42 ifunc.
17868         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
17869         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
17870         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
17871
17872 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17873
17874         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
17875         * sysdeps/sh/bits/fenv.h: ... here.
17876         * sysdeps/sh/sh4/fpu/bits: Remove directory.
17877
17878 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17879
17880         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
17881
17882         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
17883         hypotf multiarch implementations.
17884         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
17885         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
17886         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
17887         multiarch hypot for PPC64.
17888         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
17889         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
17890         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
17891         multiarch hypotf for PPC64.
17892
17893         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
17894         modff multiarch implementations.
17895         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
17896         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
17897         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
17898         multiarch modf for PPC64.
17899         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
17900         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
17901         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
17902         multiarch modff for PPC64.
17903
17904         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
17905         and logl multiarch implementations.
17906         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
17907         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
17908         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
17909         multiarch logb for PPC64.
17910         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
17911         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
17912         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
17913         multiarch logb for PPC64.
17914         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
17915         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
17916         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
17917         multiarch logb for PPC64.
17918
17919         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
17920         isinff multiarch implementation.
17921         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
17922         file.
17923         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
17924         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
17925         multiarch isinf for PPC64.
17926         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
17927         file.
17928         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
17929         multiarch isinff for PPC64.
17930
17931         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
17932         finitef multiarch implementation.
17933         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
17934         file.
17935         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
17936         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
17937         multiarch finite for PPC64.
17938         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
17939         file.
17940         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
17941         multiarch finitef for PPC64.
17942
17943         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
17944         lrint multiarch implementation.
17945         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
17946         file.
17947         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
17948         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
17949         multiarch llrint for PPC64.
17950         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
17951         multiarch lrint for PPC64.
17952
17953         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
17954         copysignf multiarch implementation.
17955         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
17956         file.
17957         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
17958         file.
17959         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
17960         multiarch copysign for PPC64.
17961         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
17962         multiarch copysignf for PPC64.
17963
17964         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
17965         multiarch implementation.
17966         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
17967         file.
17968         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
17969         file.
17970         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
17971         file.
17972         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
17973         file.
17974         multiarch llround for PPC64.
17975         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
17976         multiarch trunc for PPC64.
17977         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
17978         multiarch truncf for PPC64.
17979
17980         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
17981         multiarch implementation.
17982         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
17983         file.
17984         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
17985         file.
17986         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
17987         file.
17988         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
17989         file.
17990         multiarch llround for PPC64.
17991         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
17992         multiarch round for PPC64.
17993         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
17994         multiarch roundf for PPC64.
17995
17996         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
17997         multiarch implementation.
17998         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
17999         file.
18000         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
18001         file.
18002         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
18003         file.
18004         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
18005         file.
18006         multiarch llround for PPC64.
18007         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
18008         multiarch floor for PPC64.
18009         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
18010         multiarch floorf for PPC64.
18011
18012         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
18013         multiarch implementation.
18014         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
18015         file.
18016         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
18017         file.
18018         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
18019         file.
18020         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
18021         file.
18022         multiarch llround for PPC64.
18023         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
18024         multiarch ceil for PPC64.
18025         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
18026         multiarch ceilf for PPC64.
18027
18028         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
18029         multiarch implementation.
18030         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
18031         file.
18032         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
18033         file.
18034         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
18035         file.
18036         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
18037         multiarch llround for PPC64.
18038         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
18039         multiarch lround for PPC64.
18040
18041         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
18042         multiarch implementation.
18043         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
18044         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
18045         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
18046         file.
18047         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
18048         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
18049         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
18050         multiarch isnan for PPC64.
18051         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
18052         multiarch isnanf for PPC64.
18053
18054         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
18055         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
18056         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
18057         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
18058         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
18059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
18060
18061         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
18062         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
18063         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18064         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18065
18066         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
18067         multiarch implementations.
18068         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18069         (__libc_ifunc_impl_list): Likewise.
18070         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
18071         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
18072         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
18073         multiarch stpcpy for PPC64.
18074
18075         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
18076         multiarch implementations.
18077         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18078         (__libc_ifunc_impl_list): Likewise.
18079         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
18080         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
18081         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
18082         multiarch strcpy for PPC64.
18083
18084         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
18085         redefine function name.
18086         (_wordcopy_fwd_dest_aligned): Likewise.
18087         (_wordcopy_bwd_aligned): Likewise.
18088         (_wordcopy_bwd_dest_aligned): Likewise.
18089         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
18090         multiarch implementations.
18091         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18092         (__libc_ifunc_impl_list): Likewise.
18093         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
18094         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
18095         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
18096         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
18097         multiarch wcscpy for PPC64.
18098
18099         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
18100         multiarch implementations.
18101         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18102         (__libc_ifunc_impl_list): Likewise.
18103         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
18104         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
18105         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
18106         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
18107         multiarch wcscpy for PPC64.
18108
18109         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
18110         multiarch implementations.
18111         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18112         (__libc_ifunc_impl_list): Likewise.
18113         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
18114         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
18115         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
18116         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
18117         multiarch wcsrchr for PPC64.
18118
18119         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
18120         multiarch implementations.
18121         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18122         (__libc_ifunc_impl_list): Likewise.
18123         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
18124         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
18125         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
18126         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
18127         multiarch wcschr for PPC64.
18128
18129         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
18130         multiarch implementations.
18131         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18132         (__libc_ifunc_impl_list): Likewise.
18133         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
18134         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
18135         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
18136         multiarch strchrnul for PPC64.
18137
18138         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
18139         implementations.
18140         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18141         (__libc_ifunc_impl_list): Likewise.
18142         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
18143         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
18144         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
18145         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
18146         strchr for PPC64.
18147
18148         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
18149         implementations.
18150         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18151         (__libc_ifunc_impl_list): Likewise.
18152         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
18153         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
18154         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
18155         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
18156         strncmp for PPC64.
18157
18158         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
18159         multiarch implementations.
18160         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18161         (__libc_ifunc_impl_list): Likewise.
18162         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
18163         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
18164         strncasecmp for PPC64.
18165         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
18166         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
18167         multiarch strncasecmp_l for PPC64.
18168
18169         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
18170         multiarch implementations.
18171         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18172         (__libc_ifunc_impl_list): Likewise.
18173         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
18174         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
18175         multiarch strcasecmp for PPC64.
18176         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
18177         file.
18178         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
18179         multiarch strcasecmp_l for PPC64.
18180
18181         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
18182         implementations.
18183         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18184         (__libc_ifunc_impl_list): Likewise.
18185         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
18186         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
18187         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
18188         strnlen for PPC64.
18189
18190         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
18191         implementations.
18192         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18193         (__libc_ifunc_impl_list): Likewise.
18194         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
18195         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
18196         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
18197         strlen for PPC64.
18198
18199         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
18200         implementations.
18201         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18202         (__libc_ifunc_impl_list): Likewise.
18203         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
18204         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
18205         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
18206         rawmemrchr for PPC64.
18207
18208         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
18209         implementation.
18210         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18211         (__libc_ifunc_impl_list): Likewise.
18212         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
18213         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
18214         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
18215         memrchr for PPC64.
18216
18217         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
18218         implementation.
18219         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18220         (__libc_ifunc_impl_list): Likewise.
18221         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
18222         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
18223         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
18224         memchr for PPC64.
18225
18226         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
18227         implementation.
18228         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18229         (__libc_ifunc_impl_list): Likewise.
18230         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
18231         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
18232         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
18233         mempcpy for PPC64.
18234
18235         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
18236         avoid cretion of __bzero symbol.
18237         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
18238         Likewise.
18239         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
18240         Likewise.
18241         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
18242         Likewise.
18243         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
18244         multiarch implementations.
18245         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18246         (__libc_ifunc_impl_list): Likewise.
18247         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
18248         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
18249         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
18250         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
18251         bzero for PPC32.
18252         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
18253         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
18254         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
18255         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
18256         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
18257         memset for PPC64.
18258         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
18259
18260         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
18261         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
18262         implementations.
18263         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18264         (__libc_ifunc_impl_list): Likewise.
18265         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
18266         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
18267         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
18268         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
18269         memcmp for PPC64.
18270
18271         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
18272         multiarch for POWER/PPC64.
18273         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
18274         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
18275         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
18276         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
18277         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
18278         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
18279         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
18280         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
18281         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
18282         memcpy for PPC64.
18283
18284         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
18285         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
18286         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
18287         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
18288         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
18289         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
18290         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
18291         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
18292         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
18293         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
18294         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
18295         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
18296         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
18297         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
18298         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
18299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
18300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
18301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
18302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
18303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
18304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
18305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
18306
18307 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18308
18309         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
18310
18311 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
18312
18313         * benchtests/Makefile (bench): Add exp2 and log2.
18314         (LDLIBS-bench-exp2): Add -lm.
18315         (LDLIBS-bench-log2): Likewise.
18316         * benchtests/exp2-inputs: New inputs file.
18317         * benchtests/log2-inputs: New inputs file.
18318         * benchtests/log-inputs: Add new inputs.
18319         * benchtests/tan-inputs: Likewise.
18320
18321 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18322
18323         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
18324         definition...
18325         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
18326         (csloww2): ... from here.
18327
18328         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
18329         instead of structures.
18330         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
18331         (POLYNOMIAL): Likewise.
18332         (TAYLOR_SLOW): Likewise.
18333         (__sin): Likewise.
18334         (__cos): Likewise.
18335         (slow1): Likewise.
18336         (slow2): Likewise.
18337         (sloww): Likewise.
18338         (sloww1); Likewise.
18339         (sloww2): Likewise.
18340         (bsloww1): Likewise.
18341         (bsloww2): Likewise.
18342         (cslow2): Likewise.
18343         (csloww): Likewise.
18344         (csloww1): Likewise.
18345         (csloww2): Likewise.
18346
18347 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
18348
18349         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
18350         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
18351         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
18352         * malloc/hooks.c (realloc_check): Likewise.
18353
18354         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
18355         * malloc/arena.c: Remove PER_THREAD conditional.
18356         [!PER_THREAD]: Remove code.
18357         (ptmalloc_unlock_all2): Likewise.
18358         (ptmalloc_init): Likewise.
18359         (_int_new_arena): Likewise.
18360         (arena_get2): Likewise.
18361         * malloc/hooks.c (__malloc_get_state): Likewise.
18362         (__malloc_set_state): Likewise.
18363         * malloc/malloc.c: Likewise.
18364         (struct malloc_state): Likewise.
18365         (struct malloc_par): Likewise.
18366         (__libc_realloc): Likewise.
18367         (__libc_mallopt): Likewise.
18368
18369 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18370
18371         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
18372
18373 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
18374
18375         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
18376         macro to a function.  Check for zero perturb_byte.
18377         (_int_malloc, _int_free): Remove zero perturb_byte checks.
18378
18379         * malloc/malloc.c: (force_reg): Remove.
18380         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
18381         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
18382         force_reg by atomic_forced_read.
18383         * malloc/arena.c (ptmalloc_init): Likewise.
18384         * malloc/hooks.c (top_check): Likewise.
18385
18386 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18387
18388         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18389
18390 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
18391
18392         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18393
18394 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
18395
18396         * math/auto-libm-test-in: Add tests of lgamma.
18397         * math/auto-libm-test-out: Regenerated.
18398         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
18399         (M_LOG_2_SQRT_PIl): Likewise.
18400         (lgamma_test_data): Use AUTO_TESTS_f_f1.
18401         * math/gen-auto-libm-tests.c (func_calc_method): Add value
18402         mpfr_f_f1.
18403         (func_calc_desc): Add mpfr_f_f1 union field.
18404         (ARGS1): New macro.
18405         (ARGS2): Likewise.
18406         (ARGS3): Likewise.
18407         (ARGS4): Likewise.
18408         (RET1): Likewise.
18409         (RET2): Likewise.
18410         (CALC): Likewise.
18411         (FUNC): Likewise.
18412         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
18413         (test_functions): Add lgamma.
18414         (calc_generic_results): Handle mpfr_f_f1.
18415         * sysdeps/i386/fpu/libm-test-ulps: Update.
18416         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18417
18418 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18419
18420         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
18421         __mpn_add_n for PowerPC64/POWER7.
18422         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
18423         __mpn_sub_n for PowerPC64/POWER7.
18424
18425         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
18426         __mpn_addmul_1 for PowerPC64.
18427         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
18428         __mpn_submul_1 for PowerPC64.
18429         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
18430         for PowerPC64.
18431         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
18432         for PowerPC64.
18433
18434 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
18435
18436         [BZ #15089]
18437         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
18438
18439 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18440
18441         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
18442
18443         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
18444         add multiarch folders.
18445         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
18446         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
18447         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
18448         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
18449         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
18450         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
18451         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
18452         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
18453         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
18454         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
18455         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
18456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
18457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
18458         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
18459         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
18460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
18461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
18462
18463         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
18464         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
18465         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
18466         New file.
18467         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
18468         New file.
18469         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
18470         multiarch __ieee754_hypot for PowerPC32.
18471         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
18472         New file.
18473         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
18474         New file.
18475         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
18476         multiarch __ieee754_hypotf for PowerPC32.
18477
18478         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
18479         long_double_symbol only if __logbl is defined.
18480         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
18481         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
18482         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
18483         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
18484         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
18485         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
18486         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
18487         path for implementation.
18488         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
18489         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
18490         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
18491         logb, and logbl multiarch implementations for PowerPC32.
18492         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
18493         file.
18494         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
18495         file.
18496         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
18497         multiarch logb for PowerPC32.
18498         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
18499         file.
18500         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
18501         file.
18502         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
18503         multiarch logbf for PowerPC32.
18504         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
18505         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
18506         file.
18507         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
18508         multiarch logbl implementation for PowerPC32.
18509
18510         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
18511         and modff multiarch implementations.
18512         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
18513         New file.
18514         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
18515         New file.
18516         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
18517         multiarch modf for PowerPC32.
18518         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
18519         New file.
18520         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
18521         New file.
18522         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
18523         multiarch modff for PowerPC32.
18524
18525         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
18526         and lrintf multiarch implementations.
18527         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
18528         New file.
18529         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
18530         New file.
18531         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
18532         multiarch lrint for PowerPC32.
18533         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
18534         file: multiarch lrintf for PowerPC32.
18535
18536         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
18537         and lroundf multiarch implementations.
18538         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
18539         New file.
18540         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
18541         New file.
18542         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
18543         New file.
18544         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
18545         multiarch lround for PowerPC32.
18546         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
18547         file: multiarch lroundf for PowerPC32.
18548
18549         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
18550         copysign and copysignf multiarch implementations.
18551         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
18552         New file.
18553         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
18554         New file.
18555         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
18556         file: multiarch copysign for PowerPC32.
18557         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
18558         file: multiarch copysignf for PowerPC32.
18559
18560         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
18561         and truncf multiarch implementations.
18562         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
18563         New file.
18564         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
18565         file.
18566         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
18567         multiarch trunc for PowerPC32.
18568         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
18569         New file.
18570         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
18571         New file.
18572         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
18573         multiarch truncf for PowerPC32.
18574
18575         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
18576         and roundf multiarch implementations.
18577         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
18578         New file.
18579         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
18580         file.
18581         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
18582         multiarch round for PowerPC32.
18583         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
18584         New file.
18585         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
18586         New file.
18587         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
18588         multiarch roundf for PowerPC32.
18589
18590         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
18591         and floorf multiarch implementations.
18592         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
18593         New file.
18594         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
18595         file.
18596         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
18597         multiarch floor for PowerPC32.
18598         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
18599         New file.
18600         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
18601         New file.
18602         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
18603         multiarch floorf for PowerPC32.
18604
18605         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
18606         and ceilf multiarch implementations.
18607         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
18608         New file.
18609         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
18610         file.
18611         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
18612         multiarch ceil for PowerPC32.
18613         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
18614         New file.
18615         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
18616         file.
18617         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
18618         multiarch ceilf for PowerPC32.
18619
18620         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
18621         is defined.
18622         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
18623         FINITEF is defined.
18624         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
18625         and finitef multiarch implementations.
18626         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
18627         New file.
18628         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
18629         file.
18630         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
18631         multiarch finite for PowerPC32.
18632         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
18633         New file.
18634         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
18635         file: multiarch finitef for PowerPC32.
18636
18637         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
18638         and isinff multiarch implementations.
18639         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
18640         file.
18641         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
18642         file.
18643         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
18644         multiarch isinf for PowerPC32.
18645         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
18646         New file.
18647         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
18648         multiarch isinff for PowerPC32.
18649
18650         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
18651         alias when __isnan is defined.
18652         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
18653         and isnanf multiarch implementations.
18654         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
18655         file.
18656         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
18657         file.
18658         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
18659         file.
18660         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
18661         file.
18662         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
18663         multiarch isnan for PowerPC32.
18664         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
18665         New file.
18666         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
18667         New file.
18668         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
18669         multiarch isnanf for PowerPC32.
18670
18671         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
18672         and sqrtf multiarch implementations.
18673         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
18674         file.
18675         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
18676         file.
18677         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
18678         multiarch sqrt for PowerPC32.
18679         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
18680         file.
18681         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
18682         file.
18683         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
18684         multiarch sqrtf for PowerPC32.
18685
18686         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
18687         and llroundf multiarch implementations.
18688         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
18689         New file.
18690         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
18691         New file.
18692         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
18693         New file.
18694         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
18695         file: multiarch llround for PowerPC32.
18696         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
18697         file: multiarch llroundf for PowerPC32.
18698
18699         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
18700         multiarch PowerPC32 fpu implementations.
18701         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
18702         New file.
18703         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
18704         New file.
18705         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
18706         multiarch llrint for PowerPC32.
18707         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
18708         New file.
18709         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
18710         New file.
18711         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
18712         file.
18713
18714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
18715
18716         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
18717         file.
18718         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
18719         file.
18720         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
18721         file.
18722         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
18723         multiarch wordcopy for PPC32.
18724         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
18725         wordcopy objects.
18726         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18727         (__libc_ifunc_impl_list): Likewise.
18728         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
18729         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
18730         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
18731         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
18732         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
18733         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
18734
18735         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
18736         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
18737         file.
18738         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
18739         file.
18740         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
18741         file.
18742         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
18743         multiarch wcscpy for PPC32.
18744         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
18745         multiarch objects.
18746         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18747         (__libc_ifunc_impl_list): Likewise.
18748         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
18749         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
18750         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
18751         sysdeps/powerpc/power6/wcscpy.c.
18752
18753         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
18754         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
18755         file.
18756         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
18757         file.
18758         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
18759         file.
18760         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
18761         multiarch wcsrchr for PPC32.
18762         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
18763         multiarch objects.
18764         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18765         (__libc_ifunc_impl_list): Likewise.
18766         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
18767         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
18768         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
18769         sysdeps/powerpc/power6/wcsrchr.c.
18770
18771         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
18772         file.
18773         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
18774         file.
18775         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
18776         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
18777         multiarch wcschr for PPc32.
18778         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
18779         multiarch objects.
18780         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18781         (__libc_ifunc_impl_list): Likewise.
18782         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
18783         * sysdeps/powerpc/power6/wcschr.c: ... to here.
18784         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
18785         sysdeps/powerpc/power6/wcschr.c.
18786
18787         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
18788         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
18789         file.
18790         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
18791         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
18792         file: multiarch strchr for PPC32.
18793         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
18794         multiarch objects.
18795         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18796         (__libc_ifunc_impl_list): Likewise.
18797
18798         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
18799         name.
18800         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
18801         file.
18802         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
18803         file.
18804         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
18805         multiarch strchrnul for PPC32.
18806         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
18807         multiarch objects.
18808         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18809         (__libc_ifunc_impl_list): Likewise.
18810
18811         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
18812         file.
18813         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
18814         multiarch strncasecmp for PPC32.
18815         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
18816         file.
18817         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
18818         multiarch strncasecmp_l for PPC32.
18819         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
18820         strncasecmp multiarch objects.
18821         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18822         (__libc_ifunc_impl_list): Likewise.
18823
18824         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
18825         file.
18826         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
18827         multiarch strncasecmp for PPC32.
18828         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
18829         New file.
18830         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
18831         multiarch strcasecmp_l for PPC32.
18832         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
18833         multiarch objects.
18834         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18835         (__libc_ifunc_impl_list): Likewise.
18836
18837         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
18838         file.
18839         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
18840         file.
18841         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
18842         multiarch strncmp for PPC32.
18843         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
18844         multiarch objects.
18845         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18846         (__libc_ifunc_impl_list): Likewise.
18847
18848         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
18849         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
18850         file.
18851         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
18852         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
18853         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
18854         multiarch objects.
18855         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18856         (__libc_ifunc_impl_list): Likewise.
18857
18858         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
18859         file.
18860         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
18861         file.
18862         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
18863         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
18864         multiarch objects.
18865         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18866         (__libc_ifunc_impl_list): Likewise.
18867
18868         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
18869         file.
18870         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
18871         file.
18872         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
18873         multiarch rawmemchr for PPC32.
18874         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
18875         multiarch objects.
18876         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18877         (__libc_ifunc_impl_list): Likewise.
18878
18879         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
18880         file.
18881         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
18882         file.
18883         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
18884         file: memrchr multiarch for PPC32.
18885         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
18886         multiarch objects.
18887         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18888         (__libc_ifunc_impl_list): Likewise.
18889
18890         * string/memchr.c (__memchr): Using macro to redefine symbol name.
18891         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
18892         file.
18893         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
18894         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
18895         multiarch memchr for PPC32.
18896         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
18897         multiarch objects.
18898         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18899         (__libc_ifunc_impl_list): Likewise.
18900
18901         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
18902         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
18903         file.
18904         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
18905         file.
18906         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
18907         file: multiarch mempcpy for PPC32.
18908         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
18909         multiarch objects.
18910         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18911         (__libc_ifunc_impl_list): Likewise.
18912
18913         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
18914         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
18915         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
18916         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
18917         multiarch bzero for PPC32.
18918         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
18919         file.
18920         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
18921         file.
18922         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
18923         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
18924         file: multiarch memset for PPC32.
18925         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
18926         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
18927         memset multiarch objects.
18928         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18929         (__libc_ifunc_impl_list): Likewise.
18930
18931         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
18932         file.
18933         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
18934         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
18935         memcmp for PPC32.
18936         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
18937         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
18938         multiarch objects.
18939         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18940         (__libc_ifunc_impl_list): Likewise.
18941
18942         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
18943         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
18944         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
18945         file.
18946         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
18947         file.
18948         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
18949         file.
18950         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
18951         multiarch memcpy for PPC32.
18952         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
18953         multiarch objects.
18954         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18955         (__libc_ifunc_impl_list): Likewise.
18956
18957         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
18958         support multiarch for POWER/PPC32.
18959         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
18960         Likewise.
18961         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
18962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
18963         Implies file to make multiarch folder appers before the fpu and
18964         default folder for power4 configuration.
18965
18966 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
18967
18968         * scripts/bench.pl: Append volatile keyword to type.
18969
18970 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18971
18972         * sysdeps/sh/sotruss-lib.c: New file.
18973         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
18974
18975 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18976
18977         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18978
18979 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
18980
18981         [BZ #6810]
18982         * math/w_tgamma.c: Include <errno.h>.
18983         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
18984         * math/w_tgammaf.c: Include <errno.h>.
18985         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
18986         * math/w_tgammal.c: Include <errno.h>.
18987         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
18988         * math/auto-libm-test-in: Do not allow missing errno on tgamma
18989         underflow.  Add more tgamma tests.
18990         * math/auto-libm-test-out: Regenerated.
18991         * sysdeps/i386/fpu/libm-test-ulps: Update.
18992         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18993
18994         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
18995         sin, sinh, tan, tanh, tgamma, y0 and y1.
18996         * math/auto-libm-test-out: Regenerated.
18997         * math/libm-test.inc (TEST_COND_x86_64): New macro.
18998         (TEST_COND_x86): Likewise.
18999         (M_E2l): Remove macro.
19000         (M_E3l): Likewise.
19001         (M_2_SQRT_PIl): Likewise.
19002         (M_SQRT_PIl): Likewise.
19003         (M_1_DIV_El): Likewise.
19004         (log_test_data): Use AUTO_TESTS_f_f.
19005         (log10_test_data): Likewise.
19006         (log1p_test_data): Likewise.
19007         (log2_test_data): Likewise.
19008         (sin_test_data): Likewise.
19009         (sin_tonearest_test_data): Likewise.
19010         (sin_towardzero_test_data): Likewise.
19011         (sin_downward_test_data): Likewise.
19012         (sin_upward_test_data): Likewise.
19013         (sinh_test_data): Likewise.
19014         (sinh_tonearest_test_data): Likewise.
19015         (sinh_towardzero_test_data): Likewise.
19016         (sinh_downward_test_data): Likewise.
19017         (sinh_upward_test_data): Likewise.
19018         (tan_test_data): Likewise.
19019         (tan_tonearest_test_data): Likewise.
19020         (tan_towardzero_test_data): Likewise.
19021         (tan_downward_test_data): Likewise.
19022         (tan_upward_test_data): Likewise.
19023         (tanh_test_data): Likewise.
19024         (tgamma_test_data): Likewise.
19025         (y0_test_data): Likewise.
19026         (y1_test_data): Likewise.
19027         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
19028         (special_real_inputs): Add pi/4.
19029         * sysdeps/i386/fpu/libm-test-ulps: Update.
19030         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19031
19032 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19033
19034         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
19035         "longjmp_target" static probes.
19036         (__longjmp): Rename to __longjmp_symbol.
19037         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
19038         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
19039         on which longjmp to generate.
19040         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
19041         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
19042         probe.
19043         (__sigsetjmp): Rename to __sigsetjmp_symbol.
19044         (__sigjmp_save): Rename to __sigjmp_save_symbol.
19045         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
19046         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
19047         and __sigjmp_save_symbol based on which sigsetjmp to generated.
19048         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
19049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
19050         __longjmp_symbol based on which __longjmp to generate.
19051         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
19052         probe.
19053         (setjmp): Rename to setjmp_symbol.
19054         (__sigsetjmp): Rename to __sigsetjmp_symbol.
19055         (_setjmp): Rename to _setjmp_symbol.
19056         (__sigsetjmp): Rename to __sigsetjmp_symbol.
19057         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
19058         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
19059         which setjmp to generate.
19060         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
19061         "longjmp_target" static probes.
19062
19063 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
19064
19065         * benchtests/README: Add note about output arguments.
19066         * benchtests/bench-sincos.c: Remove file.
19067         * benchtests/sincos-inputs: New file.
19068         * scripts/bench.pl: Identify output arguments and define
19069         static variables for them.
19070
19071         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
19072
19073         [BZ #15941]
19074         * Makefile (INSTALL): Add install-plain.texi as the primary
19075         dependency.
19076         * manual/install-plain.texi: New file.
19077         * manual/install.texi: Include node directive only for
19078         non-plaintext output.
19079
19080 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
19081
19082         * stdlib/longlong.h: Update from GCC.
19083
19084         [BZ #6807]
19085         [BZ #15901]
19086         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
19087         * math/w_j0f.c (y0f): Likewise.
19088         * math/w_j0l.c (__y0l): Likewise.
19089         * math/w_j1.c (y1): Likewise.
19090         * math/w_j1f.c (y1f): Likewise.
19091         * math/w_j1l.c (__y1l): Likewise
19092         * math/w_jn.c (yn): Likewise.
19093         * math/w_jnf.c (ynf): Likewise.
19094         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
19095         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
19096         value for Bessel function domain errors outside _SVID_ mode.
19097         Adjust sign of return value for yn (negative integer, 0).
19098         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
19099         by zero in return for negative x and set sign appropriately for
19100         negative n.
19101         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
19102         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
19103         * math/libm-test.inc (y0_test_data): Add more tests and adjust
19104         expectations in error cases.
19105         (y1_test_data): Likewise.
19106         (yn_test_data): Likewise.
19107         * sysdeps/i386/fpu/libm-test-ulps: Update.
19108         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19109
19110 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
19111
19112         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
19113         "64" to "64-v1".  Add "64-v2".
19114         (abi-64-options): Rename to ...
19115         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
19116         (abi-64-condition): Rename to ...
19117         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
19118         (abi-64-ld-soname): Rename to ...
19119         (abi-64-v1-ld-soname): ... this.
19120         (abi-64-v2-options): Define.
19121         (abi-64-v2-condition): Likewise.
19122         (abi-64-v2-ld-soname): Likewise.
19123         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
19124         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
19125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
19126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
19127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
19128
19129 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
19130             Alan Modra  <amodra@gmail.com>
19131
19132         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
19133         New versions for use with the ELFv2 ABI.
19134         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
19135         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
19136         declaration.
19137         (struct La_ppc64v2_retval): Likewise.
19138         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
19139         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
19140         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
19141         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
19142         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
19143         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
19144         Do not save or restore CR.
19145         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
19146         (_dl_profile_resolve): Do no save or restore CR.  Support extended
19147         return values for ELFv2 ABI.  Fix location of FPR return registers.
19148         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
19149         updated values for _CALL_ELF == 2.
19150         (La_regs, La_retval, int_retval): Likewise.
19151
19152 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
19153
19154         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
19155         (FRAME_MIN_SIZE_PARM): Likewise.
19156         (FRAME_BACKCHAIN): Likewise.
19157         (FRAME_CR_SAVE): Likewise.
19158         (FRAME_LR_SAVE): Likewise.
19159         (FRAME_TOC_SAVE): Likewise.
19160         (FRAME_PARM_SAVE): Likewise.
19161         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
19162         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
19163         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
19164         (call_mcount_parm_offset): New macro.
19165         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
19166         (PROF): Use symbolic stack frame offsets.
19167         (TAIL_CALL_SYSCALL_ERROR): Likewise.
19168         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
19169         Redefine in terms of FRAME_MIN_SIZE.
19170         (_dl_runtime_resolve): Use symbolic stack frame offsets.
19171         (_dl_profile_resolve): Likewise.  Update comment.
19172         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
19173         symbols stack frame offsets.
19174         (__sigsetjmp): Likewise.
19175         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
19176         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
19177         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
19178         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
19179
19180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
19181         (FRAME_BACKCHAIN): Remove.
19182         (FRAME_CR_SAVE): Likewise.
19183         (FRAME_LR_SAVE): Likewise.
19184         (FRAME_COMPILER_DW): Likewise.
19185         (FRAME_LINKER_DW): Likewise.
19186         (FRAME_TOC_SAVE): Likewise.
19187         (FRAME_PARM_SAVE): Likewise.
19188         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
19189         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
19190         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
19191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
19192         (CHECK_SP): Use symbolic stack frame offsets.
19193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
19194         zone" instead of caller's parameter save area for temp storage.
19195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
19196         Likewise.  Also, use symbolic stack frame offsets.
19197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
19198         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
19199         our own stack frame instead of the caller's.
19200         (__socket): Use symbolic stack frame offsets.
19201
19202 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
19203             Alan Modra  <amodra@gmail.com>
19204
19205         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
19206         Define.
19207         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
19208         (PPC64_LOCAL_ENTRY_OFFSET): Define.
19209         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
19210         New function.
19211         (elf_machine_fixup_plt): Call it.
19212         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
19213         reloc arguments.
19214         (elf_machine_rela): Update call to elf_machine_plt_conflict.
19215         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
19216         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
19217         r2 before calling target.
19218
19219 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
19220             Alan Modra  <amodra@gmail.com>
19221
19222         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
19223         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
19224         versions of macros to support ELFv2 ABI.
19225         (LOCALENTRY): New macro.
19226         (ENTRY, EALIGN): Use it.
19227         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
19228         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
19229         fall through into ENTRY entry point.
19230         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
19231         Only define if _CALL_ELF != 2.
19232
19233         (elf_machine_matches_host): Verify ABI version matches.
19234         (RTLD_START): Use LOCALENTRY.
19235         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
19236         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
19237         (PLT_ENTRY_WORDS): New macro.
19238         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
19239         (elf_machine_runtime_setup): Support ELFv2 ABI.
19240         (elf_machine_fixup_plt): Likewise.
19241         (elf_machine_plt_conflict): Likewise.
19242         (resolve_ifunc): Likewise.
19243         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
19244         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
19245         Likewise.
19246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
19247         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
19248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19249         (makecontext): Support ELFv2 ABI.
19250         * elf/elf.h (EF_PPC64_ABI): Define.
19251
19252 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
19253
19254         * sysdeps/powerpc/powerpc64/sysdep.h
19255         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
19256         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
19257         (ENTRY) [ASSEMBLER]: ... but instead here ...
19258         (EALIGN) [ASSEMBLER]: ... and here.
19259         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
19260         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
19261         (ENTRY_2) [!ASSEMBLER]: Use it.
19262         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
19263         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
19264         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
19265         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
19266         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
19267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
19268         Use PPC64_LOAD_FUNCPTR.
19269
19270         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
19271
19272 2013-12-04  Alan Modra  <amodra@gmail.com>
19273
19274         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
19275         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
19276         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
19277         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
19278
19279         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
19280         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
19281         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
19282         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
19283         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
19284         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
19285
19286 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
19287
19288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19289         (__makecontext): Fix incorrect CFI when backtracing out of
19290         context created via makecontext.
19291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
19292         (__setcontext): Fix incorrect CFI during switch to new context.
19293         (__novec_setcontext): Likewise.
19294
19295 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
19296
19297         [BZ #4772]
19298         * time/strptime_l.c (__strptime_internal): Allow modifiers
19299         in strptime.
19300         * time/tst-strptime.c (day_tests): Add testcase.
19301
19302 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
19303
19304         * scripts/bench.pl: Skip over blank lines.
19305
19306 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
19307
19308         [BZ #926]
19309         * manual/time.texi (Calendar Time): Clarify what timezone functions
19310         use.
19311
19312 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19313
19314         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19315
19316 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
19317
19318         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
19319         implementation.
19320         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
19321         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
19322         * debug/memset_chk.c (__memset_chk): Likewise.
19323         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
19324         * debug/strncpy_chk.c: Likewise.
19325
19326 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
19327
19328         [BZ #15268]
19329         [BZ #15425]
19330         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
19331         (__ieee754_exp): For possibly underflowing results, check size of
19332         result and force underflow exception if required.
19333         * math/auto-libm-test-in: Add more tests of exp.
19334         * math/auto-libm-test-out: Regenerated.
19335         * sysdeps/i386/fpu/libm-test-ulps: Update.
19336         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19337
19338         [BZ #16283]
19339         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
19340         * math/w_exp2f.c (__exp2f): Likewise.
19341         * math/w_exp2l.c (__exp2l): Likewise.
19342         * math/auto-libm-test-in: Do not allow missing errno on exp2
19343         underflow.
19344         * math/auto-libm-test-out: Regenerated.
19345
19346 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
19347
19348         [BZ #16274]
19349         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
19350         handle filename validation.
19351         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
19352         (do_open): Delete.
19353
19354 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
19355
19356         [BZ #6786]
19357         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
19358         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
19359         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
19360         <float.h>.
19361         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
19362         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
19363         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
19364         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
19365         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
19366         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
19367         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
19368         * math/auto-libm-test-in: Don't allow missing errno from erfc.
19369         Add more erfc tests.
19370         * math/auto-libm-test-out: Regenerated.
19371         * sysdeps/i386/fpu/libm-test-ulps: Update.
19372         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19373
19374         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
19375         exp2, expm1, j0 and j1.
19376         * math/auto-libm-test-out: Regenerated.
19377         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
19378         (erfc_test_data): Likewise.
19379         (exp_test_data): Likewise.
19380         (exp_tonearest_test_data): Likewise.
19381         (exp_towardzero_test_data): Likewise.
19382         (exp_downward_test_data): Likewise.
19383         (exp_upward_test_data): Likewise.
19384         (exp10_test_data): Likewise.
19385         (exp2_test_data): Likewise.
19386         (expm1_test_data): Likewise.
19387         (j0_test_data): Likewise.
19388         (j1_test_data): Likewise.
19389         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
19390         (input_flag_type): Add flag_xfail_rounding.
19391         (input_flags): Add xfail-rounding.
19392         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
19393         (output_for_one_input_case): Handle flag_xfail_rounding.
19394         * sysdeps/i386/fpu/libm-test-ulps: Update.
19395         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19396
19397 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
19398
19399         [BZ #16289]
19400         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
19401         division by 0.
19402
19403 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
19404
19405         [BZ #16195]
19406         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
19407         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
19408         (STAP_PROBE0): New macro.
19409         (STAP_PROBE1): Likewise.
19410         (STAP_PROBE2): Likewise.
19411         (STAP_PROBE3): Likewise.
19412         (STAP_PROBE4): Likewise.
19413
19414 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
19415
19416         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
19417
19418 2013-12-02  Steve Ellcey  <sellcey@mips.com>
19419
19420         * benchtests/Makefile (bench): Add sqrt.
19421         (LDLIBS-bench-sqrt): New.
19422         * benchtests/sqrt-input: New.
19423
19424 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
19425
19426         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
19427         (GAIH_EAI): Likewise.
19428         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
19429         (gaih_inet): Likewise.
19430         (getaddrinfo): Don't use GAIH_EAI.
19431
19432         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
19433         (struct gaih): Remove definition.
19434
19435 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
19436
19437         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
19438         Use HERRNOP directly.
19439
19440 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19441
19442         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19443
19444 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
19445
19446         * math/gen-auto-libm-tests.c (test_functions): Add more
19447         single-argument functions.
19448         (special_fill_pi_2): New function.
19449         (special_fill_minus_pi_2): Likewise.
19450         (special_fill_pi_6): Likewise.
19451         (special_fill_minus_pi_6): Likewise.
19452         (special_fill_pi_3): Likewise.
19453         (special_fill_2pi_3): Likewise.
19454         (special_fill_e): Likewise.
19455         (special_fill_1_e): Likewise.
19456         (special_fill_e_minus_1): Likewise.
19457         (special_real_inputs): Add more special inputs.
19458         (output_for_one_input_case): Do not require ERANGE on underflow to
19459         zero if round-to-nearest result does not underflow to zero, unless
19460         exact results required.
19461         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
19462         atan, atanh, cbrt, cos and cosh.
19463         * math/auto-libm-test-out: Regenerated.
19464         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
19465         (acos_tonearest_test_data): Likewise.
19466         (acos_towardzero_test_data): Likewise.
19467         (acos_downward_test_data): Likewise.
19468         (acos_upward_test_data): Likewise.
19469         (acosh_test_data): Likewise.
19470         (asin_test_data): Likewise.
19471         (asin_tonearest_test_data): Likewise.
19472         (asin_towardzero_test_data): Likewise.
19473         (asin_upward_test_data): Likewise.
19474         (asinh_test_data): Likewise.
19475         (atan_test_data): Likewise.
19476         (atanh_test_data): Likewise.
19477         (cbrt_test_data): Likewise.
19478         (cos_test_data): Likewise.
19479         (cos_tonearest_test_data): Likewise.
19480         (cos_towardzero_test_data): Likewise.
19481         (cos_downward_test_data): Likewise.
19482         (cos_upward_test_data): Likewise.
19483         (cosh_test_data): Likewise.
19484         (cosh_tonearest_test_data): Likewise.
19485         (cosh_towardzero_test_data): Likewise.
19486         (cosh_downward_test_data): Likewise.
19487         (cosh_upward_test_data): Likewise.
19488         * sysdeps/i386/fpu/libm-test-ulps: Update.
19489         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19490
19491 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
19492
19493         [BZ #6787]
19494         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
19495         * math/w_exp10f.c (__exp10f): Likewise.
19496         * math/w_exp10l.c (__exp10l): Likewise.
19497         * math/libm-test.inc (exp10_test_data): Add more tests and expect
19498         errno settings in existing tests.
19499
19500         [BZ #14032]
19501         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
19502         precision control set to double precision.
19503         * sysdeps/i386/fpu/w_sqrt.c: New file.
19504         * math/auto-libm-test-in: Add more tests.
19505         * math/auto-libm-test-out: Update.
19506
19507         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
19508         (sqrt_test_tonearest): New function.
19509         (sqrt_towardzero_test_data): New variable.
19510         (sqrt_test_towardzero): New function.
19511         (sqrt_downward_test_data): New variable.
19512         (sqrt_test_downward): New function.
19513         (sqrt_upward_test_data): New variable.
19514         (sqrt_test_upward): New function.
19515         (main): Call the new functions.
19516
19517         * math/gen-auto-libm-tests.c: New file.
19518         * math/auto-libm-test-in: Likewise.
19519         * math/auto-libm-test-out: New generated file.
19520         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
19521         variables.
19522         (%beautify): Add generated representations of zero.
19523         (top level): Set $auto_input and call parse_auto_input.
19524         (beautify): Remove trailing "f" from hex float constants.
19525         (parse_args): Handle XFAIL_TEST.
19526         (convert_condition): New function.
19527         (or_value): Likewise.
19528         (or_cond_value): Likewise.
19529         (generate_testfile): Handle AUTO_TESTS_* lines.
19530         (parse_auto_input): New function.
19531         * math/libm-test.inc (XFAIL_TEST): New macro.
19532         (ERRNO_UNCHANGED): Update value.
19533         (ERRNO_EDOM): Likewise.
19534         (ERRNO_ERANGE): Likewise.
19535         (IGNORE_RESULT): Likewise.
19536         (TEST_COND_flt_32): New macro.
19537         (TEST_COND_dbl_64): Likewise.
19538         (TEST_COND_ldbl_96_intel): Likewise.
19539         (TEST_COND_ldbl_96_m68k): Likewise.
19540         (TEST_COND_ldbl_128): Likewise.
19541         (TEST_COND_ldbl_128ibm): Likewise.
19542         (TEST_COND_long32): Likewise.
19543         (TEST_COND_long64): Likewise.
19544         (TEST_COND_before_rounding): Likewise.
19545         (TEST_COND_after_rounding): Likewise.
19546         (enable_test): Handle XFAIL_TEST flag.
19547         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
19548         with finite results.
19549         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
19550         auto-libm-test-out.
19551
19552 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
19553             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19554
19555         [BZ #16214]
19556         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
19557         __tls_get_addr_internal instead of __tls_get_offset in order to
19558         avoid GOT pointer dependency.  Make rtld export
19559         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
19560         __tls_get_addr since we are a __tls_get_offset platform.
19561         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
19562         GOT pointer being set up before.
19563         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
19564
19565 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
19566
19567         * manual/math.texi (Errors in Math Functions): Document accuracy
19568         goals.
19569
19570         [BZ #15004]
19571         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
19572         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
19573         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
19574         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
19575         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
19576         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
19577         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
19578         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
19579         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
19580         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
19581         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
19582         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
19583         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
19584         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
19585         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
19586         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
19587
19588         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
19589         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
19590         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
19591         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
19592         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
19593         Likewise.
19594         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
19595         Likewise.
19596         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
19597         Likewise.
19598         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
19599         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
19600         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
19601         atomic-feupdateenv and flt-rounds.
19602         * sysdeps/powerpc/nofpu/Versions (libc): Add
19603         __atomic_feholdexcept, __atomic_feclearexcept,
19604         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
19605         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
19606         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
19607         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
19608         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
19609         here.
19610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
19611         Update.
19612
19613         * manual/arith.texi (FP Exceptions): Document that exceptions may
19614         not be raised when matherr is used.
19615         (Math Error Reporting): Document overflow in directed rounding
19616         modes.  Document that errno may not be set when finite values are
19617         returned on overflow.  Document intent to set errno on underflow
19618         only for underflow to zero.
19619
19620         [BZ #16271]
19621         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
19622         round-to-nearest then adjust result for other rounding modes.
19623         * include/fenv.h (fegetround): Use libm_hidden_proto.
19624         * math/fegetround.c (fegetround): Use libm_hidden_def.
19625         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
19626         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
19627         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
19628         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
19629         Likewise.
19630         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
19631         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
19632         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
19633         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
19634
19635 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
19636
19637         [BZ #16077]
19638         * nss/Versions (libnss_files): Add
19639         _nss_files_gethostbyname3_r.
19640         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
19641         New function.
19642         (HOST_DB_LOOKUP): Remove macro.
19643         (_nss_files_gethostbyname_r): Implement function without the
19644         HOST_DB_LOOKUP macro.
19645         (_nss_files_gethostbyname2_r): Likewise.
19646
19647 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
19648
19649         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
19650
19651 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
19652
19653         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
19654         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
19655         warning.
19656
19657 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19658
19659         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
19660         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
19661         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
19662         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
19663         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
19664         __fe_nomask_env_priv and attribute_hidden.
19665         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
19666         (libc_feupdateenv_test_ppc): Likewise.
19667         (libc_feresetround_ppc): Likewise.
19668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19669         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
19670         compat_symbol macro.
19671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19672         (__fe_nomask_env): Likewise.
19673         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
19674
19675 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
19676
19677         * string/Makefile: Remove ifunc tests.
19678         * string/test-string.h: Define TEST_IFUNC.
19679         * string/test-bcopy-ifunc.c: Remove.
19680         * string/test-bzero-ifunc.c: Likewise.
19681         * string/test-memccpy-ifunc.c: Likewise.
19682         * string/test-memchr-ifunc.c: Likewise.
19683         * string/test-memcmp-ifunc.c: Likewise.
19684         * string/test-memcpy-ifunc.c: Likewise.
19685         * string/test-memmem-ifunc.c: Likewise.
19686         * string/test-memmove-ifunc.c: Likewise.
19687         * string/test-mempcpy-ifunc.c: Likewise.
19688         * string/test-memrchr-ifunc.c: Likewise.
19689         * string/test-memset-ifunc.c: Likewise.
19690         * string/test-rawmemchr-ifunc.c: Likewise.
19691         * string/test-stpcpy-ifunc.c: Likewise.
19692         * string/test-stpncpy-ifunc.c: Likewise.
19693         * string/test-strcasecmp-ifunc.c: Likewise.
19694         * string/test-strcasestr-ifunc.c: Likewise.
19695         * string/test-strcat-ifunc.c: Likewise.
19696         * string/test-strchr-ifunc.c: Likewise.
19697         * string/test-strchrnul-ifunc.c: Likewise.
19698         * string/test-strcmp-ifunc.c: Likewise.
19699         * string/test-strcpy-ifunc.c: Likewise.
19700         * string/test-strcspn-ifunc.c: Likewise.
19701         * string/test-strlen-ifunc.c: Likewise.
19702         * string/test-strncasecmp-ifunc.c: Likewise.
19703         * string/test-strncat-ifunc.c: Likewise.
19704         * string/test-strncmp-ifunc.c: Likewise.
19705         * string/test-strncpy-ifunc.c: Likewise.
19706         * string/test-strnlen-ifunc.c: Likewise.
19707         * string/test-strpbrk-ifunc.c: Likewise.
19708         * string/test-strrchr-ifunc.c: Likewise.
19709         * string/test-strspn-ifunc.c: Likewise.
19710         * string/test-strstr-ifunc.c: Likewise.
19711
19712 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
19713
19714         * benchtests/Makefile: Remove ifunc tests.
19715         * benchtests/bench-string.h: Define TEST_IFUNC.
19716         * benchtests/bench-bcopy-ifunc.c: Remove.
19717         * benchtests/bench-bzero-ifunc.c: Likewise.
19718         * benchtests/bench-memccpy-ifunc.c: Likewise.
19719         * benchtests/bench-memchr-ifunc.c: Likewise.
19720         * benchtests/bench-memcmp-ifunc.c: Likewise.
19721         * benchtests/bench-memcpy-ifunc.c: Likewise.
19722         * benchtests/bench-memmem-ifunc.c: Likewise.
19723         * benchtests/bench-memmove-ifunc.c: Likewise.
19724         * benchtests/bench-mempcpy-ifunc.c: Likewise.
19725         * benchtests/bench-memrchr-ifunc.c: Likewise.
19726         * benchtests/bench-memset-ifunc.c: Likewise.
19727         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
19728         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
19729         * benchtests/bench-stpcpy-ifunc.c: Likewise.
19730         * benchtests/bench-stpncpy-ifunc.c: Likewise.
19731         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
19732         * benchtests/bench-strcasestr-ifunc.c: Likewise.
19733         * benchtests/bench-strcat-ifunc.c: Likewise.
19734         * benchtests/bench-strchr-ifunc.c: Likewise.
19735         * benchtests/bench-strchrnul-ifunc.c: Likewise.
19736         * benchtests/bench-strcmp-ifunc.c: Likewise.
19737         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
19738         * benchtests/bench-strcpy-ifunc.c: Likewise.
19739         * benchtests/bench-strcspn-ifunc.c: Likewise.
19740         * benchtests/bench-strlen-ifunc.c: Likewise.
19741         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
19742         * benchtests/bench-strncat-ifunc.c: Likewise.
19743         * benchtests/bench-strncmp-ifunc.c: Likewise.
19744         * benchtests/bench-strncpy-ifunc.c: Likewise.
19745         * benchtests/bench-strnlen-ifunc.c: Likewise.
19746         * benchtests/bench-strpbrk-ifunc.c: Likewise.
19747         * benchtests/bench-strrchr-ifunc.c: Likewise.
19748         * benchtests/bench-strsep-ifunc.c: Likewise.
19749         * benchtests/bench-strspn-ifunc.c: Likewise.
19750         * benchtests/bench-strstr-ifunc.c: Likewise.
19751
19752 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
19753
19754         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
19755
19756 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
19757
19758         * resolv/netdb.h: Use __glibc_reserved instead __unused.
19759         * rt/aio.h: Likewise.
19760         * sysdeps/gnu/bits/utmp.h: Likewise.
19761         * sysdeps/gnu/bits/utmpx.h: Likewise.
19762         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
19763         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
19764         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
19765         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
19766         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
19767         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
19768         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
19769         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
19770         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
19771         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
19772         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
19773         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
19774         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
19775         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
19776         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
19777         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
19778         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
19779         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
19780         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
19781         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
19782         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
19783         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
19784         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
19785         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
19786         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
19787         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19788         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
19789         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
19790         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
19791         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
19792         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
19793         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
19794         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
19795         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
19796         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
19797         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
19798         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
19799         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
19800         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
19801         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
19802         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
19803         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
19804
19805 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
19806
19807         [BZ #16245]
19808         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
19809         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
19810
19811 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
19812
19813         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
19814         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
19815         Likewise.
19816
19817 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19818
19819         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
19820         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
19821         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
19822         (__fesetround): Remove define.
19823         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
19824         rounding and exceptions handling.
19825         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
19826         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
19827         (__fe_nomask_env): Likewise.
19828         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
19829         __fegetround instead of fegetround.
19830         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
19831         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
19832
19833 2013-11-21  Roland McGrath  <roland@hack.frob.com>
19834
19835         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
19836         it's there.
19837
19838         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
19839
19840 2013-11-21  Meador Inge  <meadori@codesourcery.com>
19841
19842         [BZ #11157]
19843         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
19844         (encrypt_r): Likewise.
19845         * malloc/obstack.h (obstack_free): Likewise.
19846         * posix/unistd.h (encrypt): Likewise.
19847
19848 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
19849
19850         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
19851         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
19852         DL_CALL_DT_FINI() that call the functions directly.
19853         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
19854         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
19855         * elf/dl-fini.c: Likewise.
19856
19857 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
19858
19859         * malloc/hooks.c (memalign_check): Add alignment rounding.
19860         * malloc/malloc.c (_mid_memalign): New function.
19861         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
19862         Implement by calling _mid_memalign.
19863         * manual/probes.texi (Memory Allocation Probes): Remove
19864         memory_valloc_retry and memory_pvalloc_retry.
19865
19866 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
19867
19868         * locale/programs/locarchive.c (open_archive): Add const
19869         qualifier to ARCHIVEFNAME and copy default fname to
19870         DEFAULT_FNAME.
19871
19872         [BZ #15601]
19873         * libio/tst-widetext.input: Rename Oriya to Odia.
19874         * locale/iso-639.def: Likewise.
19875
19876         * manual/probes.texi (Mathematical Function Probes): Add
19877         documentation for sin, cos, asin and acos probes.
19878         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
19879         (__sin32): Add slowasin probe.
19880         (__cos32): Add slowacos probe.
19881         (__mpsin): Add slowsin probe.
19882         (__mpcos): Add slowcos probe.
19883
19884 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
19885
19886         [BZ #15483]
19887         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
19888         thread-local __sim_exceptions_thread and global
19889         __sim_exceptions_global.
19890         (__sim_disabled_exceptions): Change to thread-local
19891         __sim_disabled_exceptions_thread and global
19892         __sim_disabled_exceptions_global.
19893         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
19894         and global __sim_round_mode_global.
19895         (__simulate_exceptions): Use thread-local floating-point state and
19896         set global state from it as needed.
19897         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
19898         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
19899         __sim_round_mode_thread.
19900         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
19901         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
19902         and global __sim_exceptions_global.
19903         (__sim_disabled_exceptions): Change to thread-local
19904         __sim_disabled_exceptions_thread and global
19905         __sim_disabled_exceptions_global.
19906         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
19907         and global __sim_round_mode_global.
19908         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
19909         (SIM_SET_GLOBAL): Likewise.
19910         * sysdeps/powerpc/soft-fp/sfp-machine.h
19911         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
19912         __sim_round_mode_thread.
19913         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
19914         __sim_disabled_exceptions_thread.
19915         (__sim_exceptions): Change to __sim_exceptions_thread.
19916         (__sim_disabled_exceptions): Change to
19917         __sim_disabled_exceptions_thread.
19918         (__sim_round_mode): Change to __sim_round_mode_thread.
19919         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
19920         thread-local floating-point state and set global state from it as
19921         needed.
19922         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
19923         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
19924         (__sim_disabled_exceptions): Remove extern declaration.
19925         (feenableexcept): Use thread-local floating-point state and set
19926         global state from it as needed.
19927         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
19928         extern declaration.
19929         (__sim_disabled_exceptions): Likewise.
19930         (__sim_round_mode): Likewise.
19931         (__fegetenv): Use thread-local floating-point state.
19932         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
19933         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
19934         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
19935         floating-point state and set global state from it as needed.
19936         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
19937         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
19938         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
19939         Likewise.
19940         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
19941         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
19942         Likewise.
19943         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
19944         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
19945         Use __sim_round_mode_thread.
19946         * math/test-fenv-tls.c: New file.
19947         * math/Makefile (tests): Add test-fenv-tls.
19948         ($(objpfx)test-fenv-tls): Depend on
19949         $(common-objpfx)nptl/libpthread.so.
19950
19951 2013-11-19  Andreas Schwab  <schwab@suse.de>
19952
19953         * locale/programs/locale.c (show_info): Decode wordarray elements.
19954         * locale/categories.def (LC_MONETARY): Add element for
19955         _NL_MONETARY_CRNCYSTR.
19956         * locale/C-monetary.c (conversion_rate): New variable.
19957         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
19958         element.
19959
19960 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
19961
19962         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
19963         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
19964
19965 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
19966
19967         * elf/Makefile (tst-auxv): New test.
19968         * elf/tst-auxv.c: New
19969         * elf/rtld.c (dl_main): Adjust AT_EXECFN
19970
19971 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
19972
19973         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
19974         (hidden_proto): Caller changed.
19975         (hidden_tls_proto): New macro.
19976         (libc_hidden_tls_proto): Likewise.
19977         (rtld_hidden_tls_proto): Likewise.
19978         (libm_hidden_tls_proto): Likewise.
19979         (libresolv_hidden_tls_proto): Likewise.
19980         (librt_hidden_tls_proto): Likewise.
19981         (libdl_hidden_tls_proto): Likewise.
19982         (libnss_files_hidden_tls_proto): Likewise.
19983         (libnsl_hidden_tls_proto): Likewise.
19984         (libnss_nisplus_hidden_tls_proto): Likewise.
19985         (libutil_hidden_tls_proto): Likewise.
19986
19987 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
19988
19989         [BZ #10253]
19990         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
19991         (decompose_rpath): Defer expansion to fillin_rpath.
19992         (_dl_init_paths): Pass linkmap to fillin_rpath.
19993
19994 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19995
19996         * benchtests/Makefile: Add strsep.
19997         * benchtests/bench-strsep.c: New file: strsep benchtest.
19998         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
19999
20000 2013-11-18  Andreas Schwab  <schwab@suse.de>
20001
20002         * locale/programs/locale.c (show_info) [case byte]: Check for
20003         '\377' instead of '\177'.
20004         * locale/C-monetary.c (not_available): Always use "\377".
20005         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
20006         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
20007         detect unavailable sign_posn locale elements.
20008         * locale/localeconv.c (__localeconv): For grouping and
20009         mon_grouping handle "\177" and "\377" like no grouping.
20010         (INT_ELEM): New macro.  Use it to set all numeric members.
20011         * locale/programs/ld-monetary.c (monetary_read)
20012         <tok_mon_grouping>: Normalize single -1 to the empty string.
20013         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
20014         Likewise.
20015
20016 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
20017
20018         [BZ #16055]
20019         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
20020         when we match (nil).
20021         * stdio-common/tst-sscanf.c (struct test): Add testcase.
20022
20023 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
20024
20025         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
20026         (NO_TEST_INLINE): Update value.
20027         (ERRNO_UNCHANGED): Likewise.
20028         (ERRNO_EDOM): Likewise.
20029         (ERRNO_ERANGE): Likewise.
20030         (IGNORE_RESULT): Likewise.
20031         (check_float_internal): Check signs of NaN results if
20032         TEST_NAN_SIGN used.
20033         (check_complex): Pass TEST_NAN_SIGN flag through to second
20034         check_float_internal call.
20035         (copysign_test_data): Add tests with quiet NaNs as second
20036         argument.  Use TEST_NAN_SIGN.
20037         (fabs_test_data): Add test of negative quiet NaN argument.  Use
20038         TEST_NAN_SIGN.
20039         (signbit_test_data): Add tests of quiet NaN argument.
20040         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
20041
20042         * math/gen-libm-test.pl (show_exceptions): Take extra argument
20043         $ignore_result.
20044         (parse_args): Handle function results specified as IGNORE.
20045         * math/libm-test.inc (IGNORE_RESULT): New macro.
20046         (check_float_internal): Do not check numerical result if flag
20047         IGNORE_RESULT set.
20048         (check_complex): Pass through IGNORE_RESULT to second
20049         check_float_internal call.
20050         (check_int): Do not check numerical result if flag IGNORE_RESULT
20051         set.
20052         (check_long): Likewise.
20053         (check_bool): Likewise.
20054         (check_longlong): Likewise.
20055         (lrint_test_data): Add tests of infinite and NaN arguments.
20056         (lrint_tonearest_test_data): Likewise.
20057         (lrint_towardzero_test_data): Likewise.
20058         (lrint_downward_test_data): Likewise.
20059         (lrint_upward_test_data): Likewise.
20060         (llrint_test_data): Likewise.
20061         (llrint_tonearest_test_data): Likewise.
20062         (llrint_towardzero_test_data): Likewise.
20063         (llrint_downward_test_data): Likewise.
20064         (llrint_upward_test_data): Likewise.
20065         (lround_test_data): Likewise.
20066         (llround_test_data): Likewise.
20067
20068         * math/libm-test.inc (NO_TEST_INLINE): New macro.
20069         (ERRNO_UNCHANGED): Update value.
20070         (ERRNO_EDOM): Likewise.
20071         (ERRNO_ERANGE): Likewise.
20072         (NO_TEST_INLINE_FLOAT): New macro.
20073         (NO_TEST_INLINE_DOUBLE): Likewise.
20074         (enable_test): New function.
20075         (RUN_TEST_f_f): Check enable_test before running test.
20076         (RUN_TEST_2_f): Likewise.
20077         (RUN_TEST_fff_f): Likewise.
20078         (RUN_TEST_c_f): Likewise.
20079         (RUN_TEST_f_f1): Likewise.
20080         (RUN_TEST_fF_f1): Likewise.
20081         (RUN_TEST_fI_f1): Likewise.
20082         (RUN_TEST_ffI_f1): Likewise.
20083         (RUN_TEST_c_c): Likewise.
20084         (RUN_TEST_cc_c): Likewise.
20085         (RUN_TEST_f_i): Likewise.
20086         (RUN_TEST_f_i_tg): Likewise.
20087         (RUN_TEST_ff_i_tg): Likewise.
20088         (RUN_TEST_f_b): Likewise.
20089         (RUN_TEST_f_b_tg): Likewise.
20090         (RUN_TEST_f_l): Likewise.
20091         (RUN_TEST_f_L): Likewise.
20092         (RUN_TEST_fFF_11): Likewise.
20093         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
20094         conditionals.
20095         (cosh_test_data): Likewise.
20096         (exp_test_data): Likewise.
20097         (expm1_test_data): Likewise.
20098         (hypot_test_data): Likewise.
20099         (pow_test_data): Likewise.
20100         (sinh_test_data): Likewise.
20101         (tanh_test_data): Likewise.
20102         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
20103         flags argument.
20104
20105         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
20106         tests with quiet NaN input and output.
20107         (acosh_test_data): Likewise.
20108         (asin_test_data): Likewise.
20109         (asinh_test_data): Likewise.
20110         (atan_test_data): Likewise.
20111         (atanh_test_data): Likewise.
20112         (atan2_test_data): Likewise.
20113         (cbrt_test_data): Likewise.
20114         (cos_test_data): Likewise.
20115         (cosh_test_data): Likewise.
20116         (erf_test_data): Likewise.
20117         (erfc_test_data): Likewise.
20118         (exp_test_data): Likewise.
20119         (exp10_test_data): Likewise.
20120         (exp2_test_data): Likewise.
20121         (expm1_test_data): Likewise.
20122         (hypot_test_data): Likewise.
20123         (j0_test_data): Likewise.
20124         (j1_test_data): Likewise.
20125         (jn_test_data): Likewise.
20126         (lgamma_test_data): Likewise.
20127         (log_test_data): Likewise.
20128         (log10_test_data): Likewise.
20129         (log1p_test_data): Likewise.
20130         (log2_test_data): Likewise.
20131         (pow_test_data): Likewise.
20132         (scalb_test_data): Likewise.
20133         (sin_test_data): Likewise.
20134         (sincos_test_data): Likewise.
20135         (sinh_test_data): Likewise.
20136         (tan_test_data): Likewise.
20137         (tanh_test_data): Likewise.
20138         (tgamma_test_data): Likewise.
20139         (y0_test_data): Likewise.
20140         (y1_test_data): Likewise.
20141         (yn_test_data): Likewise.
20142
20143         [BZ #16167]
20144         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
20145         argument being NaN and avoid computations with second argument in
20146         that case.
20147         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
20148         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
20149         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
20150
20151 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
20152
20153         * locale/iso-639.def: Add Chitwani Tharu (the).
20154
20155 2013-11-14  Andreas Schwab  <schwab@suse.de>
20156
20157         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
20158         word instead of empty string.
20159
20160 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20161
20162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20163         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
20164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20165         (__fe_nomask_env): Likewise.
20166
20167 2013-11-13  Steve Ellcey  <sellcey@mips.com>
20168
20169         * benchtests/bench-timing.h: Include time.h.
20170
20171 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
20172
20173         [BZ #15997]
20174         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
20175         to 3.4.0 for x32.
20176         * sysdeps/unix/sysv/linux/configure: Regenerated.
20177
20178 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
20179
20180         [BZ #16151]
20181         * stdlib/strtod_l.c (round_and_return): Do not consider
20182         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
20183         exponent one less than half the least subnormal exponent.
20184         * stdlib/test-strtod-round-data: Add more tests.
20185         * stdlib/tst-strtod-round.c (tests): Regenerated.
20186
20187 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20188
20189         [BZ #14143]
20190         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
20191         (__fe_mask_env): Likewise.
20192         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
20193         libm_hidden_proto and add function prototype.
20194         (__fe_mask_env): Add function prototype.
20195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20196         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
20197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
20198         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
20199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20200         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
20201
20202 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
20203
20204         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
20205         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
20206
20207 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
20208
20209         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
20210         of htab_find_slot().
20211
20212 2013-11-11  David S. Miller  <davem@davemloft.net>
20213
20214         [BZ #16150]
20215         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
20216         symbol in the non-vis3 case in static builds.
20217         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
20218         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
20219         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
20220         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
20221
20222 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
20223
20224         [BZ #387]
20225         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
20226         it is empty.
20227
20228 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20229
20230         * benchtests/Makefile: Add bench-strtod.
20231         * benchtests/bench-strtod.c: New file: strtod benchtest
20232
20233 2013-11-11  Andreas Schwab  <schwab@suse.de>
20234
20235         [BZ #16153]
20236         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
20237         terminating NUL in key length.
20238
20239 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20240
20241         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
20242         Add artificial ODP entry for vDSO symbol for PPC64.
20243         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
20244         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
20245
20246 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
20247
20248         [BZ #15374]
20249         * nss/getent.c (services_keys): Recognize services starting with digit.
20250
20251 2013-11-06  David S. Miller  <davem@davemloft.net>
20252
20253         [BZ #15985]
20254         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
20255         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
20256
20257 2013-11-06  Will Newton  <will.newton@linaro.org>
20258
20259         * manual/memory.texi (Malloc Examples): Remove register
20260         keyword from examples.
20261
20262 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
20263
20264         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
20265
20266 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
20267
20268         [BZ #6981]
20269         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
20270         depending on [__GCC_IEC_559 > 0].
20271         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
20272         depending on [__GCC_IEC_559_COMPLEX > 0].
20273
20274 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
20275
20276         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
20277         to iso-639.def.
20278
20279 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
20280
20281         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
20282
20283 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
20284
20285         [BZ #16112]
20286         * malloc/malloc (malloc_info): Do not handle first bin as
20287         special case.
20288
20289 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
20290
20291         * locale/iso-639.def: Add Central Nahuatl (nhn).
20292
20293 2013-11-01  Bruno Haible  <bruno@clisp.org>
20294
20295         [BZ #7003]
20296         * manual/math.texi (BSD Random): Specify range upper bound as
20297         in POSIX.
20298
20299 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
20300
20301         * locale/iso-639.def: Add Meadow Mari (mhr).
20302
20303 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
20304
20305         [BZ #14752], [BZ #15763]
20306         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
20307         Validate name.
20308         * rt/tst_shm.c: Add test for escaping directory.
20309
20310 2013-10-31  Andreas Schwab  <schwab@suse.de>
20311
20312         [BZ #15917]
20313         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
20314         followed by 'x' as part of digit sequence.
20315         * stdio-common/tst-sscanf.c (double_tests2): New tests.
20316
20317 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
20318
20319         [BZ #16037]
20320         * configure.ac: allow GNU Make 4.0 and greater.
20321         * configure: Regenerated.
20322
20323 2013-10-30  Will Newton  <will.newton@linaro.org>
20324
20325         [BZ #16038]
20326         * malloc/hooks.c (memalign_check): Limit alignment to the
20327         maximum representable power of two.
20328         * malloc/malloc.c (__libc_memalign): Likewise.
20329         * malloc/tst-memalign.c (do_test): Add test for very
20330         large alignment values.
20331         * malloc/tst-posix_memalign.c (do_test): Likewise.
20332
20333 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
20334
20335         [BZ #11087]
20336         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
20337         (munmap_chunk): Likewise.
20338         (mremap_chunk): Likewise.
20339
20340 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
20341
20342         [BZ #15799]
20343         * stdlib/div.c (div): Remove obsolete code.
20344         * stdlib/ldiv.c (ldiv): Likewise.
20345         * stdlib/lldiv.c (lldiv): Likewise.
20346
20347 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
20348
20349         [BZ #16071]
20350         * nss/nss_files/files-XXX.c (get_contents_ret): New
20351         enumerator.
20352         (get_contents): New function.
20353         (internal_getent): Use it.  Expand size of LINEBUFLEN.
20354
20355 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
20356
20357         * configure.in: Moved to ...
20358         * configure.ac: ... here. Change reference to configure.in
20359         to configure.ac.
20360         * sysdeps/arm/preconfigure.ac: ... here.
20361         configure.in to configure.ac.
20362         * sysdeps/gnu/configure.in: Moved to ...
20363         * sysdeps/gnu/configure.ac: ... here.
20364         * sysdeps/i386/configure.in: Moved to ...
20365         * sysdeps/i386/configure.ac: ... here.
20366         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
20367         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
20368         * sysdeps/mach/configure.in: Moved to ...
20369         * sysdeps/mach/configure.ac: ... here.
20370         * sysdeps/mach/hurd/configure.in: Moved to ...
20371         * sysdeps/mach/hurd/configure.ac: ... here.
20372         * sysdeps/powerpc/configure.in: Moved to ...
20373         * sysdeps/powerpc/configure.ac: ... here.
20374         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
20375         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
20376         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
20377         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
20378         * sysdeps/s390/s390-32/configure.in: Moved to ...
20379         * sysdeps/s390/s390-32/configure.ac: ... here.
20380         * sysdeps/s390/s390-64/configure.in: Moved to ...
20381         * sysdeps/s390/s390-64/configure.ac: ... here.
20382         * sysdeps/sh/configure.in: Moved to ...
20383         * sysdeps/sh/configure.ac: ... here.
20384         * sysdeps/sparc/configure.in: Moved to ...
20385         * sysdeps/sparc/configure.ac: ... here.
20386         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
20387         * sysdeps/unix/sysv/linux/configure.ac: ... here.
20388         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
20389         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
20390         * sysdeps/x86_64/configure.in: Moved to ...
20391         * sysdeps/x86_64/configure.ac: ... here.
20392         * sysdeps/x86_64/preconfigure.in: Moved to ...
20393         * sysdeps/x86_64/preconfigure.ac: ... here.
20394         * aclocal.m4: Change reference to configure.in to configure.ac.
20395         * config.h.in: Likewise.
20396         * manual/install.texi: Likewise.
20397         * manual/maint.texi: Likewise.
20398         * Makefile: Likewise.
20399         * malloc/Makefile: Likewise.
20400         * nscd/Makefile: Likewise.
20401         * Makeconfig: Change reference to configure.in and
20402         preconfigure.in to configure.ac and preconfigure.ac
20403         respectively.
20404         * INSTALL: Regenerated.
20405         * configure: Likewise.
20406         * sysdeps/gnu/configure: Likewise.
20407         * sysdeps/i386/configure: Likewise.
20408         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
20409         * sysdeps/mach/configure: Likewise.
20410         * sysdeps/mach/hurd/configure: Likewise.
20411         * sysdeps/powerpc/configure: Likewise.
20412         * sysdeps/powerpc/powerpc32/configure: Likewise.
20413         * sysdeps/powerpc/powerpc64/configure: Likewise.
20414         * sysdeps/s390/s390-32/configure: Likewise.
20415         * sysdeps/s390/s390-64/configure: Likewise.
20416         * sysdeps/sh/configure: Likewise.
20417         * sysdeps/sparc/configure: Likewise.
20418         * sysdeps/unix/sysv/linux/configure: Likewise.
20419         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
20420         * sysdeps/x86_64/configure: Likewise.
20421         * sysdeps/x86_64/preconfigure: Likewise.
20422
20423 2013-10-29  Andreas Schwab  <schwab@suse.de>
20424
20425         * stdio-common/Makefile (tst-swscanf-ENV): Define.
20426
20427 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
20428
20429         * benchtests/pow-inputs: Add new inputs.
20430
20431         * benchtests/exp-inputs: Add new inputs.
20432
20433         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
20434         conditional check for return value.
20435         (__cos32): Likewise.
20436
20437 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20438
20439         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
20440         to provide a boost for large inputs with word alignment.
20441         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
20442         implementation based on optimized PPC64 strcpy.
20443         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
20444         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
20445         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
20446         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
20447
20448 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
20449
20450         [BZ #2801]
20451         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
20452
20453 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
20454
20455         [BZ #14876]
20456         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
20457         * time/tst-strptime.c (day_tests): Add testcase.
20458
20459 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
20460
20461         [BZ #14029]
20462         * manual/pattern.texi: Acknowledge that fnmatch can fail.
20463
20464 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
20465
20466         [BZ #16074]
20467         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
20468         MAP_FAILED on error.
20469
20470 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
20471
20472         [BZ #16072]
20473         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
20474         heap for large requests.
20475
20476 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
20477
20478         [BZ #9954]
20479         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
20480         result if the result has no associated interface.
20481         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
20482         interface for all 127.X.Y.Z addresses.
20483
20484 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
20485
20486         * locale/iso-639.def: Add Ligurian (lij)
20487
20488 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
20489
20490         [BZ #15825]
20491         * sunrpc/rpc_main.c: Document rpcgen -5.
20492
20493 2013-10-19  Michael Stahl  <mstahl@redhat.com>
20494
20495         * elf/rtld.c (do_preload): Print the reason why preloading failed.
20496
20497 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
20498
20499         [BZ #10278]
20500         * posix/glob.c: Match only directories when trailing slash is present.
20501         * posix/tst-gnuglob.c (my_opendir): Do not open files.
20502         (main): Add testcase.
20503
20504 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
20505
20506         [BZ #15670]
20507         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
20508
20509 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
20510
20511         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
20512         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
20513         AUTH_DES and cindex for FIPS 140-2.
20514         (DES Encryption): Add cindex FIPS 46-3.
20515
20516         * locale/locarchive.h (struct locarhandle): Add fname.
20517         * locale/programs/localedef.c (main): Pass ARGV[remaining]
20518         if an optional argument was specified to --list-archive,
20519         otherwise NULL.
20520         * locale/programs/locarchive.c (show_archive_content): Take new
20521         argument fname and pass it via ah.fname to open_archive.
20522         * locale/programs/localedef.h: Update decl.
20523         (open_archive): If AH->fname is non-null, open that file
20524         rather than the default file name, and don't ignore ENOENT.
20525         (create_archive): Set AH.fname to NULL.
20526         (delete_locales_from_archive): Likewise.
20527         (add_locales_to_archive): Likewise.
20528         * locale/programs/locfile.c (write_all_categories): Likewise.
20529
20530 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
20531             Aldy Hernandez  <aldyh@redhat.com>
20532
20533         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
20534         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
20535         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
20536         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
20537         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
20538         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
20539         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
20540         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
20541         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
20542         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
20543         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
20544         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
20545         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
20546         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
20547         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
20548         Likewise.
20549         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
20550         Likewise.
20551         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
20552         Likewise.
20553         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
20554         Likewise.
20555         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
20556         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
20557         Likewise.
20558         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
20559         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
20560         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
20561         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
20562         Likewise.
20563         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
20564         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
20565         * sysdeps/powerpc/preconfigure: Likewise.
20566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
20567         Likewise.
20568         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
20569         Replace contents of file by #include of <fenv_libc.h>.
20570         * sysdeps/powerpc/soft-fp/sfp-machine.h
20571         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
20572         and <sys/prctl.h>.
20573         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
20574         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
20575         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
20576         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
20577         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
20578         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
20579         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
20580         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
20581         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
20582         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
20583         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
20584         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
20585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
20586         Allow copysignl PLT reference to be missing.
20587
20588 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
20589             Joseph Myers  <joseph@codesourcery.com
20590
20591         [BZ #15948]
20592         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
20593         single character.
20594         (add_to_tablewc): Assert sequence of wide characters is nonempty.
20595
20596 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
20597
20598         * elf/tst-tls-dlinfo.c: Don't include tls.h.
20599         * elf/tst-tls1.c: Likewise.
20600         * elf/tst-tls10.h: Likewise.
20601         * elf/tst-tls14.c: Likewise.
20602         * elf/tst-tls2.c: Likewise.
20603         * elf/tst-tls3.c: Likewise.
20604         * elf/tst-tls4.c: Likewise.
20605         * elf/tst-tls5.c: Likewise.
20606         * elf/tst-tls6.c: Likewise.
20607         * elf/tst-tls7.c: Likewise.
20608         * elf/tst-tls8.c: Likewise.
20609         * elf/tst-tls9.c: Likewise.
20610         * elf/tst-tlsmod1.c: Likewise.
20611         * elf/tst-tlsmod13.c: Likewise.
20612         * elf/tst-tlsmod13a.c: Likewise.
20613         * elf/tst-tlsmod14a.c: Likewise.
20614         * elf/tst-tlsmod16a.c: Likewise.
20615         * elf/tst-tlsmod16b.c: Likewise.
20616         * elf/tst-tlsmod2.c: Likewise.
20617         * elf/tst-tlsmod3.c: Likewise.
20618         * elf/tst-tlsmod4.c: Likewise.
20619         * elf/tst-tlsmod5.c: Likewise.
20620         * elf/tst-tlsmod6.c: Likewise.
20621
20622 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
20623
20624         [BZ #12486]
20625         * malloc/malloc.c: remove checks for statistics.
20626
20627 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
20628
20629         [BZ #15277]
20630         * inet/inet_net.c (inet_network): Detect additional invalid strings.
20631         * inet/tst-network.c: Add testcase.
20632
20633 2013-10-17  Andreas Schwab  <schwab@suse.de>
20634
20635         [BZ #15218]
20636         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
20637         to determine canonical name.
20638
20639 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
20640
20641         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
20642         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
20643         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20644         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
20645         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20646         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
20647         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
20648         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
20649         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
20650         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
20651         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
20652         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
20653         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
20654         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
20655         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
20656         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
20657         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20658         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
20659         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
20660         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
20661         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20662         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20663         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20664         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
20665         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
20666         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
20667         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
20668         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
20669         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
20670         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
20671         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
20672         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20673         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
20674         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
20675         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
20676         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20677         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
20678         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
20679         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
20680         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20681         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
20682         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
20683         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
20684         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
20685         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
20686         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
20687         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
20688         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
20689         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
20690         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
20691         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
20692         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
20693         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
20694         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
20695         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20696         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
20697         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20698         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
20699
20700 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
20701
20702         [BZ #16041]
20703         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
20704         make result into a quiet NaN.
20705
20706 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
20707
20708         * soft-fp/adddf3.c: Fix horizontal whitespace.
20709         * soft-fp/addsf3.c: Likewise.
20710         * soft-fp/addtf3.c: Likewise.
20711         * soft-fp/divdf3.c: Likewise.
20712         * soft-fp/divsf3.c: Likewise.
20713         * soft-fp/divtf3.c: Likewise.
20714         * soft-fp/double.h: Likewise.
20715         * soft-fp/eqdf2.c: Likewise.
20716         * soft-fp/eqsf2.c: Likewise.
20717         * soft-fp/eqtf2.c: Likewise.
20718         * soft-fp/extenddftf2.c: Likewise.
20719         * soft-fp/extended.h: Likewise.
20720         * soft-fp/extendsfdf2.c: Likewise.
20721         * soft-fp/extendsftf2.c: Likewise.
20722         * soft-fp/extendxftf2.c: Likewise.
20723         * soft-fp/fixdfdi.c: Likewise.
20724         * soft-fp/fixdfsi.c: Likewise.
20725         * soft-fp/fixdfti.c: Likewise.
20726         * soft-fp/fixsfdi.c: Likewise.
20727         * soft-fp/fixsfsi.c: Likewise.
20728         * soft-fp/fixsfti.c: Likewise.
20729         * soft-fp/fixtfdi.c: Likewise.
20730         * soft-fp/fixtfsi.c: Likewise.
20731         * soft-fp/fixtfti.c: Likewise.
20732         * soft-fp/fixunsdfdi.c: Likewise.
20733         * soft-fp/fixunsdfsi.c: Likewise.
20734         * soft-fp/fixunsdfti.c: Likewise.
20735         * soft-fp/fixunssfdi.c: Likewise.
20736         * soft-fp/fixunssfsi.c: Likewise.
20737         * soft-fp/fixunssfti.c: Likewise.
20738         * soft-fp/fixunstfdi.c: Likewise.
20739         * soft-fp/fixunstfsi.c: Likewise.
20740         * soft-fp/fixunstfti.c: Likewise.
20741         * soft-fp/floatdidf.c: Likewise.
20742         * soft-fp/floatdisf.c: Likewise.
20743         * soft-fp/floatditf.c: Likewise.
20744         * soft-fp/floatsidf.c: Likewise.
20745         * soft-fp/floatsisf.c: Likewise.
20746         * soft-fp/floatsitf.c: Likewise.
20747         * soft-fp/floattidf.c: Likewise.
20748         * soft-fp/floattisf.c: Likewise.
20749         * soft-fp/floattitf.c: Likewise.
20750         * soft-fp/floatundidf.c: Likewise.
20751         * soft-fp/floatundisf.c: Likewise.
20752         * soft-fp/floatunditf.c: Likewise.
20753         * soft-fp/floatunsidf.c: Likewise.
20754         * soft-fp/floatunsisf.c: Likewise.
20755         * soft-fp/floatunsitf.c: Likewise.
20756         * soft-fp/floatuntidf.c: Likewise.
20757         * soft-fp/floatuntisf.c: Likewise.
20758         * soft-fp/floatuntitf.c: Likewise.
20759         * soft-fp/fmadf4.c: Likewise.
20760         * soft-fp/fmasf4.c: Likewise.
20761         * soft-fp/fmatf4.c: Likewise.
20762         * soft-fp/gedf2.c: Likewise.
20763         * soft-fp/gesf2.c: Likewise.
20764         * soft-fp/getf2.c: Likewise.
20765         * soft-fp/ledf2.c: Likewise.
20766         * soft-fp/lesf2.c: Likewise.
20767         * soft-fp/letf2.c: Likewise.
20768         * soft-fp/muldf3.c: Likewise.
20769         * soft-fp/mulsf3.c: Likewise.
20770         * soft-fp/multf3.c: Likewise.
20771         * soft-fp/negdf2.c: Likewise.
20772         * soft-fp/negsf2.c: Likewise.
20773         * soft-fp/negtf2.c: Likewise.
20774         * soft-fp/op-1.h: Likewise.
20775         * soft-fp/op-2.h: Likewise.
20776         * soft-fp/op-4.h: Likewise.
20777         * soft-fp/op-8.h: Likewise.
20778         * soft-fp/op-common.h: Likewise.
20779         * soft-fp/quad.h: Likewise.
20780         * soft-fp/single.h: Likewise.
20781         * soft-fp/soft-fp.h: Likewise.
20782         * soft-fp/sqrtdf2.c: Likewise.
20783         * soft-fp/sqrtsf2.c: Likewise.
20784         * soft-fp/sqrttf2.c: Likewise.
20785         * soft-fp/subdf3.c: Likewise.
20786         * soft-fp/subsf3.c: Likewise.
20787         * soft-fp/subtf3.c: Likewise.
20788         * soft-fp/truncdfsf2.c: Likewise.
20789         * soft-fp/trunctfdf2.c: Likewise.
20790         * soft-fp/trunctfsf2.c: Likewise.
20791         * soft-fp/trunctfxf2.c: Likewise.
20792         * soft-fp/unorddf2.c: Likewise.
20793         * soft-fp/unordsf2.c: Likewise.
20794         * soft-fp/unordtf2.c: Likewise.
20795
20796 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
20797
20798         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
20799         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
20800
20801 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
20802
20803         * elf/dl-libc.c: Clear initfini list after freeing.
20804
20805 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
20806
20807         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
20808         * soft-fp/addsf3.c: Likewise.
20809         * soft-fp/addtf3.c: Likewise.
20810         * soft-fp/divdf3.c: Likewise.
20811         * soft-fp/divsf3.c: Likewise.
20812         * soft-fp/divtf3.c: Likewise.
20813         * soft-fp/double.h: Likewise.
20814         * soft-fp/eqdf2.c: Likewise.
20815         * soft-fp/eqsf2.c: Likewise.
20816         * soft-fp/eqtf2.c: Likewise.
20817         * soft-fp/extenddftf2.c: Likewise.
20818         * soft-fp/extended.h: Likewise.
20819         * soft-fp/extendsfdf2.c: Likewise.
20820         * soft-fp/extendsftf2.c: Likewise.
20821         * soft-fp/extendxftf2.c: Likewise.
20822         * soft-fp/fixdfdi.c: Likewise.
20823         * soft-fp/fixdfsi.c: Likewise.
20824         * soft-fp/fixdfti.c: Likewise.
20825         * soft-fp/fixsfdi.c: Likewise.
20826         * soft-fp/fixsfsi.c: Likewise.
20827         * soft-fp/fixsfti.c: Likewise.
20828         * soft-fp/fixtfdi.c: Likewise.
20829         * soft-fp/fixtfsi.c: Likewise.
20830         * soft-fp/fixtfti.c: Likewise.
20831         * soft-fp/fixunsdfdi.c: Likewise.
20832         * soft-fp/fixunsdfsi.c: Likewise.
20833         * soft-fp/fixunsdfti.c: Likewise.
20834         * soft-fp/fixunssfdi.c: Likewise.
20835         * soft-fp/fixunssfsi.c: Likewise.
20836         * soft-fp/fixunssfti.c: Likewise.
20837         * soft-fp/fixunstfdi.c: Likewise.
20838         * soft-fp/fixunstfsi.c: Likewise.
20839         * soft-fp/fixunstfti.c: Likewise.
20840         * soft-fp/floatdidf.c: Likewise.
20841         * soft-fp/floatdisf.c: Likewise.
20842         * soft-fp/floatditf.c: Likewise.
20843         * soft-fp/floatsidf.c: Likewise.
20844         * soft-fp/floatsisf.c: Likewise.
20845         * soft-fp/floatsitf.c: Likewise.
20846         * soft-fp/floattidf.c: Likewise.
20847         * soft-fp/floattisf.c: Likewise.
20848         * soft-fp/floattitf.c: Likewise.
20849         * soft-fp/floatundidf.c: Likewise.
20850         * soft-fp/floatundisf.c: Likewise.
20851         * soft-fp/floatunsidf.c: Likewise.
20852         * soft-fp/floatunsisf.c: Likewise.
20853         * soft-fp/floatuntidf.c: Likewise.
20854         * soft-fp/floatuntisf.c: Likewise.
20855         * soft-fp/floatuntitf.c: Likewise.
20856         * soft-fp/fmadf4.c: Likewise.
20857         * soft-fp/fmasf4.c: Likewise.
20858         * soft-fp/fmatf4.c: Likewise.
20859         * soft-fp/gedf2.c: Likewise.
20860         * soft-fp/gesf2.c: Likewise.
20861         * soft-fp/getf2.c: Likewise.
20862         * soft-fp/ledf2.c: Likewise.
20863         * soft-fp/lesf2.c: Likewise.
20864         * soft-fp/letf2.c: Likewise.
20865         * soft-fp/muldf3.c: Likewise.
20866         * soft-fp/mulsf3.c: Likewise.
20867         * soft-fp/multf3.c: Likewise.
20868         * soft-fp/negdf2.c: Likewise.
20869         * soft-fp/negsf2.c: Likewise.
20870         * soft-fp/negtf2.c: Likewise.
20871         * soft-fp/op-1.h: Likewise.
20872         * soft-fp/op-2.h: Likewise.
20873         * soft-fp/op-4.h: Likewise.
20874         * soft-fp/op-8.h: Likewise.
20875         * soft-fp/op-common.h: Likewise.
20876         * soft-fp/quad.h: Likewise.
20877         * soft-fp/single.h: Likewise.
20878         * soft-fp/soft-fp.h: Likewise.
20879         * soft-fp/sqrtdf2.c: Likewise.
20880         * soft-fp/sqrtsf2.c: Likewise.
20881         * soft-fp/sqrttf2.c: Likewise.
20882         * soft-fp/subdf3.c: Likewise.
20883         * soft-fp/subsf3.c: Likewise.
20884         * soft-fp/subtf3.c: Likewise.
20885         * soft-fp/truncdfsf2.c: Likewise.
20886         * soft-fp/trunctfdf2.c: Likewise.
20887         * soft-fp/trunctfsf2.c: Likewise.
20888         * soft-fp/trunctfxf2.c: Likewise.
20889         * soft-fp/unorddf2.c: Likewise.
20890         * soft-fp/unordsf2.c: Likewise.
20891         * soft-fp/unordtf2.c: Likewise.
20892
20893 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
20894
20895         [BZ #15672]
20896         * misc/error.c (error_tail): Fix possible buffer overflow.
20897
20898 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
20899
20900         [BZ #13028]
20901         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
20902         address.
20903
20904 2013-10-14  P. J. McDermott  <pj@pehjota.net>
20905
20906         [BZ #832]
20907         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
20908         testing pipefail option.
20909
20910 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
20911
20912         * soft-fp/double.h: Indent preprocessor directives inside #if.
20913         * soft-fp/extended.h: Likewise.
20914         * soft-fp/op-2.h: Likewise.
20915         * soft-fp/op-4.h: Likewise.
20916         * soft-fp/op-common.h: Likewise.
20917         * soft-fp/quad.h: Likewise.
20918         * soft-fp/single.h: Likewise.
20919         * soft-fp/soft-fp.h: Likewise.
20920
20921 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
20922
20923         * iconv/iconv_prog.c: Fix typos.
20924         * stdio-common/psiginfo-data.h: Likewise.
20925
20926 2013-10-12   Reuben Thomas <rrt@sc3d.org>
20927
20928         [BZ #15764]
20929         * locale/setlocale.c: Fix typo.
20930
20931 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
20932
20933         [BZ #16036]
20934         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
20935         signaling NaN arguments.
20936         * soft-fp/unordsf2.c (__unordsf2): Likewise.
20937         * soft-fp/unordtf2.c (__unordtf2): Likewise.
20938
20939         [BZ #14910]
20940         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
20941         unordered operands.
20942         * soft-fp/gesf2.c (__gesf2): Likewise.
20943         * soft-fp/getf2.c (__getf2): Likewise.
20944         * soft-fp/ledf2.c (__ledf2): Likewise.
20945         * soft-fp/lesf2.c (__lesf2): Likewise.
20946         * soft-fp/letf2.c (__letf2): Likewise.
20947
20948         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
20949         * soft-fp/eqsf2.c (__eqsf2): Likewise.
20950         * soft-fp/eqtf2.c (__eqtf2): Likewise.
20951         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
20952         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
20953         * soft-fp/fixdfti.c (__fixdfti): Likewise.
20954         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
20955         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
20956         * soft-fp/fixsfti.c (__fixsfti): Likewise.
20957         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
20958         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
20959         * soft-fp/fixtfti.c (__fixtfti): Likewise.
20960         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
20961         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
20962         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
20963         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
20964         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
20965         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
20966         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
20967         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
20968         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
20969         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
20970         * soft-fp/floatdisf.c (__floatdisf): Likewise.
20971         * soft-fp/floatsisf.c (__floatsisf): Likewise.
20972         * soft-fp/floattidf.c (__floattidf): Likewise.
20973         * soft-fp/floattisf.c (__floattisf): Likewise.
20974         * soft-fp/floattitf.c (__floattitf): Likewise.
20975         * soft-fp/floatundidf.c (__floatundidf): Likewise.
20976         * soft-fp/floatundisf.c (__floatundisf): Likewise.
20977         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
20978         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
20979         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
20980         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
20981         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
20982         * soft-fp/gesf2.c (__gesf2): Likewise.
20983         * soft-fp/getf2.c (__getf2): Likewise.
20984         * soft-fp/ledf2.c (__ledf2): Likewise.
20985         * soft-fp/lesf2.c (__lesf2): Likewise.
20986         * soft-fp/letf2.c (__letf2): Likewise.
20987
20988         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
20989         Undefine and redefine.
20990         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
20991         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
20992         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
20993         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
20994         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20995         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
20996         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20997         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
20998         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20999         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
21000         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21001         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
21002         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21003         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
21004         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21005
21006         [BZ #16032]
21007         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
21008         without decrementing exponent if mantissa >= that for the
21009         denominator, not >.
21010         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
21011         denominator, not >.  Decrement exponent in < case instead of
21012         incrementing in >= case.
21013         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
21014         without decrementing exponent if mantissa >= that for the
21015         denominator, not >.
21016
21017         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
21018         computing saturated result for unsigned overflow.
21019
21020 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
21021             Jeff Law  <law@redhat.com>
21022
21023         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
21024         (atan2Mp): Add systemtap probe marker.
21025         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
21026         (__ieee754_log): Add systemtap probe marker.
21027         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
21028         (atanMp): Add systemtap probe marker.
21029         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
21030         (tanMp): Add systemtap probe marker.
21031         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
21032         (__slowexp): Add systemtap probe marker.
21033         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
21034         (__slowpow): Add systemtap probe marker.
21035         * manual/probes.texi: Document probes.
21036
21037 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
21038
21039         [BZ #15362]
21040         * libio/fileops.c (_IO_new_file_write): Return count of bytes
21041         written.
21042         (_IO_new_file_xsputn): Don't return EOF if nothing has been
21043         written.
21044         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
21045         written to buffer but not flushed.
21046         * libio/iofwrite_u.c:  Likewise.
21047         * libio/iopadn.c:  Return bytes returned even if EOF was
21048         encountered.
21049         * libio/iowpadn.c:  Likewise.
21050         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
21051         if _IO_padn does not write the whole buffer.
21052         [!COMPILE_WPRINTF] (PAD): Likewise.
21053
21054 2013-10-10  David S. Miller  <davem@davemloft.net>
21055
21056         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
21057         directory block.
21058
21059 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
21060
21061         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
21062         instead of FSF address.
21063         * soft-fp/fixdfti.c: Likewise.
21064         * soft-fp/fixsfti.c: Likewise.
21065         * soft-fp/fixtfti.c: Likewise.
21066         * soft-fp/fixunsdfti.c: Likewise.
21067         * soft-fp/fixunssfti.c: Likewise.
21068         * soft-fp/fixunstfti.c: Likewise.
21069         * soft-fp/floattidf.c: Likewise.
21070         * soft-fp/floattisf.c: Likewise.
21071         * soft-fp/floattitf.c: Likewise.
21072         * soft-fp/floatuntidf.c: Likewise.
21073         * soft-fp/floatuntisf.c: Likewise.
21074         * soft-fp/floatuntitf.c: Likewise.
21075         * soft-fp/trunctfxf2.c: Likewise.
21076
21077         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
21078         * soft-fp/fixdfti.c: Likewise.
21079         * soft-fp/fixsfti.c: Likewise.
21080         * soft-fp/fixtfti.c: Likewise.
21081         * soft-fp/fixunsdfti.c: Likewise.
21082         * soft-fp/fixunssfti.c: Likewise.
21083         * soft-fp/fixunstfti.c: Likewise.
21084         * soft-fp/floattidf.c: Likewise.
21085         * soft-fp/floattisf.c: Likewise.
21086         * soft-fp/floattitf.c: Likewise.
21087         * soft-fp/floatuntidf.c: Likewise.
21088         * soft-fp/floatuntisf.c: Likewise.
21089         * soft-fp/floatuntitf.c: Likewise.
21090         * soft-fp/trunctfxf2.c: Likewise.
21091
21092 2013-10-10  David S. Miller  <davem@davemloft.net>
21093
21094         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21095
21096 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
21097
21098         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
21099         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
21100         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
21101         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
21102         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
21103         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
21104         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
21105
21106         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
21107         for NaNs before doing comparisons on argument.
21108         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
21109         Likewise.
21110
21111 2013-10-10  Will Newton  <will.newton@linaro.org>
21112
21113         * malloc/hooks.c (memalign_check): Ensure the value of bytes
21114         passed to _int_memalign does not overflow.
21115
21116 2013-10-10  Torvald Riegel  <triegel@redhat.com>
21117
21118         * scripts/bench.pl: Add include-sources directive.
21119         * benchtests/README: Update documentation.
21120
21121 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
21122
21123         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
21124         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
21125         instead of FP_INIT_ROUNDMODE.
21126         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
21127         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
21128
21129         [BZ #16034]
21130         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
21131         copy class of input value.
21132         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
21133         not handle exceptions.
21134         * soft-fp/negsf2.c (__negsf2): Likewise.
21135         * soft-fp/negtf2.c (__negtf2): Likewise.
21136         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
21137
21138 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
21139
21140         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
21141         semicolon.  From Linux kernel.
21142
21143 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
21144
21145         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
21146
21147 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
21148
21149         [BZ #156]
21150         * manual/socket.texi: Added statement about buffer
21151         for gethostbyname2_r.
21152
21153 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
21154
21155         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
21156         Use .p2align directive instead, throughout.
21157         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
21158         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
21159         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
21160         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21161         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21162         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
21163         * sysdeps/x86_64/strchr.S: Likewise.
21164         * sysdeps/x86_64/strrchr.S: Likewise.
21165
21166 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
21167
21168         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
21169
21170         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
21171
21172         * sysdeps/generic/math_private.h (__mpsin1): Remove
21173         declaration.
21174         (__mpcos1): Likewise.
21175         (__mpsin): New argument __range_reduce.
21176         (__mpcos): Likewise.
21177         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21178         (slow): Use __mpsin and __mpcos.
21179         (slow1): Likewise.
21180         (slow2): Likewise.
21181         (sloww): Likewise.
21182         (sloww1): Likewise.
21183         (sloww2): Likewise.
21184         (bsloww): Likewise.
21185         (bsloww1): Likewise.
21186         (bsloww2): Likewise.
21187         (cslow2): Likewise.
21188         (csloww): Likewise.
21189         (csloww1): Likewise.
21190         (csloww2): Likewise.
21191         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
21192         range_reduce.  Merge in __mpsin1.
21193         (__mpcos): Likewise.
21194         (__mpsin1): Remove.
21195         (__mpcos1): Likewise.
21196
21197 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
21198
21199         * locale/loadlocale.c (_nl_intern_locale_data): Use
21200         LOCFILE_ALIGNED_P.
21201         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
21202         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
21203         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
21204         obstack data is appropriately aligned.
21205         (obstack_int32_grow_fast): Likewise.
21206         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
21207         * locale/programs/locfile.c (add_locale_uint32): Likewise.
21208         (add_locale_uint32_array): Likewise.
21209
21210 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
21211
21212         * benchtests/Makefile: Remove ARGLIST and RET variables.
21213         ($(objpfx)bench-%.c): Pass only function name to the script.
21214         * benchtests/README: Update documentation.
21215         * benchtests/acos-inputs: Add new directives.
21216         * benchtests/acosh-inputs: Likewise.
21217         * benchtests/asin-inputs: Likewise.
21218         * benchtests/asinh-inputs: Likewise.
21219         * benchtests/atan-inputs: Likewise.
21220         * benchtests/atanh-inputs: Likewise.
21221         * benchtests/cos-inputs: Likewise.
21222         * benchtests/cosh-inputs: Likewise.
21223         * benchtests/exp-inputs: Likewise.
21224         * benchtests/log-inputs: Likewise.
21225         * benchtests/pow-inputs: Likewise.
21226         * benchtests/rint-inputs: Likewise.
21227         * benchtests/sin-inputs: Likewise.
21228         * benchtests/sinh-inputs: Likewise.
21229         * benchtests/tan-inputs: Likewise.
21230         * benchtests/tanh-inputs: Likewise.
21231         * scripts/bench.pl: Add support for new directives.
21232
21233 2013-10-07  Alan Modra  <amodra@gmail.com>
21234
21235         * README: Fix careless merge.
21236
21237 2013-10-05  Alan Modra  <amodra@gmail.com>
21238
21239         * NEWS: Mention powerpc64le support and bugs fixed.
21240         * README: Both big-endian and little-endian powerpc64 supported.
21241
21242 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21243
21244         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
21245         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
21246         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
21247         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
21248
21249 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
21250
21251         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
21252         match prototype.
21253
21254 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
21255
21256         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
21257         Move -mhard-float appending from
21258         ports/sysdeps/powerpc/powerpc32/Makefile.
21259         [$(with-fp) = yes] (ASFLAGS): Likewise.
21260         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
21261         * sysdeps/powerpc/nofpu: Move directory from
21262         ports/sysdeps/powerpc/nofpu.
21263         * sysdeps/powerpc/soft-fp: Move directory from
21264         ports/sysdeps/powerpc/soft-fp.
21265         * sysdeps/powerpc/powerpc32/405: Move directory from
21266         ports/sysdeps/powerpc/powerpc32/405.
21267         * sysdeps/powerpc/powerpc32/440: Move directory from
21268         ports/sysdeps/powerpc/powerpc32/440.
21269         * sysdeps/powerpc/powerpc32/464: Move directory from
21270         ports/sysdeps/powerpc/powerpc32/464.
21271         * sysdeps/powerpc/powerpc32/476: Move directory from
21272         ports/sysdeps/powerpc/powerpc32/476.
21273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
21274         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
21275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
21276         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
21277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
21278         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
21279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
21280         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
21281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
21282         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
21283         * README: Update for powerpc-*-linux-gnu software floating point
21284         support in libc.
21285
21286         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
21287         case to powerpc/powerpc32*.
21288         * sysdeps/unix/sysv/linux/configure: Regenerated.
21289
21290         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
21291         (_FPU_MASK_OM): Define as 0x04.
21292         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
21293         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
21294         0x00c10080.
21295         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
21296         0x0000003c.
21297         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
21298
21299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
21300         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
21301         getcontext_e500.
21302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
21303         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
21304         setcontext_e500.
21305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
21306         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
21307         and setcontext_e500.
21308
21309 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
21310
21311         * locale/iso-3166.def: Update iso-1366.def and related occurrences
21312
21313 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
21314
21315         * manual/threads.texi (Default Thread Attributes): Fix typo.
21316
21317 2013-10-04  Will Newton  <will.newton@linaro.org>
21318
21319         * malloc/Makefile: Add tst-memalign.
21320         * malloc/tst-memalign.c: New file.
21321
21322         * malloc/tst-posix_memalign.c: Add comments.
21323         (do_test): Add comments and call free on all potentially
21324         allocated pointers. Add space after cast.
21325
21326         * malloc/tst-pvalloc.c: Add comments.
21327         (do_test): Add comments and call free on all potentially
21328         allocated pointers. Remove duplicate check for NULL pointer.
21329         Add space after cast.
21330
21331         * malloc/tst-valloc.c: Add comments.
21332         (do_test): Add comments and call free on all potentially
21333         allocated pointers. Remove duplicate check for NULL pointer.
21334         Add space after cast.
21335
21336 2013-10-04  Alan Modra  <amodra@gmail.com>
21337
21338         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
21339         Use stdint types in rather than __attribute__((mode())).
21340         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
21341
21342 2013-10-04  Alan Modra  <amodra@gmail.com>
21343
21344         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
21345         Correct handling of unaligned relocs for little-endian.
21346         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
21347
21348 2013-10-04  Alan Modra  <amodra@gmail.com>
21349
21350         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
21351         * configure: Regenerate.
21352         * nptl/shlib-versions: Powerpc*le starts at 2.18.
21353         * shlib-versions: Likewise.
21354
21355 2013-10-04  Alan Modra  <amodra@gmail.com>
21356
21357         * string/tester.c (test_memrchr): Increment reported test cycle.
21358
21359 2013-10-04  Alan Modra  <amodra@gmail.com>
21360
21361         * string/test-memcpy.c (do_one_test): When reporting errors, print
21362         string address and don't overrun end of string.
21363
21364 2013-10-04  Alan Modra  <amodra@gmail.com>
21365
21366         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
21367         insrdi.  Make better use of reg selection to speed exit slightly.
21368         Schedule entry path a little better.  Remove useless "are we done"
21369         checks on entry to main loop.  Handle wrapping around zero address.
21370         Correct main loop count.  Handle single left-over word from main
21371         loop inline rather than by using loop_small.  Remove extra word
21372         case in loop_small caused by wrong loop count.  Add little-endian
21373         support.
21374         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
21375         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
21376         cache hint.
21377         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
21378         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
21379         support.  Avoid rlwimi.
21380         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
21381
21382 2013-10-04  Alan Modra  <amodra@gmail.com>
21383
21384         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
21385         insrdi.  Formatting.
21386         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
21387         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
21388         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
21389         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
21390         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
21391         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
21392
21393 2013-10-04  Alan Modra  <amodra@gmail.com>
21394
21395         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
21396         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21397         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
21398         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
21399         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
21400         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
21401         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21402         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
21403         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
21404         use of regs.  Use power7 mtocrf.  Tidy function tails.
21405
21406 2013-10-04  Alan Modra  <amodra@gmail.com>
21407
21408         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
21409         Formatting.  Consistently use rXXX register defines or rN defines.
21410         Use early exit labels that avoid restoring unused non-volatile regs.
21411         Make cr field use more consistent with rWORDn compares.  Rename
21412         regs used as shift registers for unaligned loop, using rN defines
21413         for short lifetime/multiple use regs.
21414         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
21415         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
21416         addi 1,1,64 to pop stack frame.  Simplify return value code.
21417         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21418
21419 2013-10-04  Alan Modra  <amodra@gmail.com>
21420
21421         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
21422         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
21423         rather than rlwimi.
21424         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
21425         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
21426         little-endian support.  Correct typos.
21427         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
21428         rather than rlwimi.
21429         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
21430         in loop and entry code to keep "and." results.
21431         (strchr): Add little-endian support.  Comment.  Move cntlzd
21432         earlier in tail.
21433         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
21434
21435 2013-10-04  Alan Modra  <amodra@gmail.com>
21436
21437         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
21438         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
21439         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
21440         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
21441
21442 2013-10-04  Alan Modra  <amodra@gmail.com>
21443
21444         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
21445         (rTMP): Define as r11.
21446         (strcmp): Add little-endian support.  Optimise tail.
21447         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
21448         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
21449         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
21450         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
21451         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
21452         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21453         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
21454
21455 2013-10-04  Alan Modra  <amodra@gmail.com>
21456
21457         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
21458         little-endian support.  Remove unnecessary "are we done" tests.
21459         Handle "s" wrapping around zero and extremely large "size".
21460         Correct main loop count.  Handle single left-over word from main
21461         loop inline rather than by using small_loop.  Correct comments.
21462         Delete "zero" tail, use "end_max" instead.
21463         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
21464
21465 2013-10-04  Alan Modra  <amodra@gmail.com>
21466
21467         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
21468         support.  Don't branch over align.
21469         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
21470         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
21471         support.  Rearrange tmp reg use to suit.  Comment.
21472         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
21473
21474 2013-10-04  Alan Modra  <amodra@gmail.com>
21475
21476         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
21477
21478 2013-10-04  Alan Modra  <amodra@gmail.com>
21479
21480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
21481         conditional form of branch and link when obtaining pc.
21482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
21483
21484 2013-10-04  Alan Modra  <amodra@gmail.com>
21485
21486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
21487         HIWORD/LOWORD.
21488         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
21489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
21490
21491 2013-10-04  Alan Modra  <amodra@gmail.com>
21492
21493         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
21494         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
21495         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
21496         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
21497         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
21498         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
21499         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
21500         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
21501         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
21502         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
21503
21504 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
21505             Alistair Popple <alistair@ozlabs.au.ibm.com>
21506             Alan Modra <amodra@gmail.com>
21507
21508         [BZ #15723]
21509         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
21510         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
21511         _dl_hwcap access for little-endian.
21512         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
21513         destroy vmx regs when saving unaligned.
21514         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
21515         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
21516         destroy vmx regs when saving unaligned.
21517
21518 2013-10-04  Alan Modra  <amodra@gmail.com>
21519
21520         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
21521         Don't use a union to pack hi/low value.
21522
21523 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
21524
21525         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
21526         for little-endian.
21527         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
21528         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
21529         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
21530         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
21531         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
21532
21533 2013-10-04  Alan Modra  <amodra@gmail.com>
21534
21535         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
21536         constants to usual value for .cst8 section, and remove redundant
21537         high address load.
21538         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
21539         constant for 0x1p52.  Load little-endian words of double from
21540         correct stack offsets.
21541
21542 2013-10-04  Alan Modra  <amodra@gmail.com>
21543
21544         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
21545         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
21546         words of double from correct stack offsets.
21547         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
21548         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
21549         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
21550         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
21551         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
21552         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
21553         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
21554         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
21555         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
21556         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
21557         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
21558         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
21559         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
21560         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
21561         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
21562         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
21563         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
21564
21565 2013-10-04  Alan Modra  <amodra@gmail.com>
21566
21567         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
21568         64-bit int/double union.
21569         (_FPU_SETCW): Likewise.
21570         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
21571         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
21572
21573 2013-10-04  Alan Modra  <amodra@gmail.com>
21574
21575         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
21576         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
21577
21578 2013-10-04  Alan Modra  <amodra@gmail.com>
21579
21580         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
21581         use vector int constants.
21582         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
21583
21584 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
21585
21586         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
21587         array with long long.
21588         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
21589         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
21590         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
21591         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
21592         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
21593         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
21594         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
21595         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
21596         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
21597         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
21598         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
21599         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
21600         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
21601
21602 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
21603
21604         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
21605         (__signbit): Likewise.  Correct for little-endian.
21606         (__signbitl): Call __signbit.
21607         (lrint): Correct for little-endian.
21608         (lrintf): Call lrint.
21609
21610 2013-10-04  Alan Modra  <amodra@gmail.com>
21611
21612         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
21613         union 32-bit int array member with 64-bit int array.
21614         (t515, tm256): Double rather than long double.
21615         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
21616
21617 2013-10-04  Alan Modra  <amodra@gmail.com>
21618
21619         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
21620         Delete.
21621         (IEEE854_LONG_DOUBLE_BIAS): Delete.
21622         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
21623         version of math_ldbl.h.
21624
21625 2013-10-04  Alan Modra  <amodra@gmail.com>
21626
21627         [BZ #15734], [BZ #15735]
21628         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
21629         all uses of ieee875 long double macros and unions.  Simplify test
21630         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
21631         ldbl_extract_mantissa value for ix,iy exponents.  Properly
21632         normalize after ldbl_extract_mantissa, and don't add hidden bit
21633         already handled.  Don't treat low word of ieee854 mantissa like
21634         low word of IBM long double and mask off bit when testing for
21635         zero.
21636         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
21637         all uses of ieee875 long double macros and unions.  Simplify tests
21638         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
21639         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
21640         two1022, instead use their values.  Recognise that tests for large
21641         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
21642         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
21643         Rewrite all uses of ieee875 long double macros and unions.  Simplify
21644         test for 0.0L and nan.  Correct negation.
21645         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
21646         ieee875 long double macros and unions.  Correct output for large
21647         magnitude x.  Correct absolute value calculation.
21648         (__erfcl): Likewise.
21649         * math/libm-test.inc: Add tests for errors discovered in IBM long
21650         double versions of fmodl, remainderl, erfl and erfcl.
21651
21652 2013-10-04  Alan Modra  <amodra@gmail.com>
21653
21654         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
21655         all uses of ieee854 long double macros and unions.  Simplify tests
21656         for long doubles that are fully specified by the high double.
21657         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
21658         Likewise.
21659         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
21660         Remove dead code too.
21661         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
21662         (__ieee754_ynl): Likewise.
21663         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
21664         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
21665         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
21666         Remove dead code too.
21667         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
21668         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
21669         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
21670         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
21671         Simplify.
21672         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
21673         Simplify.
21674         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
21675         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
21676         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
21677         Comment on variable precision.
21678         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
21679         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
21680         Likewise.
21681         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
21682         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
21683         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
21684         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
21685         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
21686
21687 2013-10-04  Alan Modra  <amodra@gmail.com>
21688
21689         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
21690         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
21691         all uses of ieee854 long double macros and unions.
21692         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
21693         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
21694         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
21695         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
21696         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
21697         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
21698         Likewise.
21699         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
21700         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
21701         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
21702         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
21703         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
21704         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
21705         Simplify sign and nan test too.
21706         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
21707         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
21708         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
21709         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
21710         Likewise.
21711         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
21712         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
21713         Likewise.
21714         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21715         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
21716         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
21717         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
21718         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
21719         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
21720
21721 2013-10-04  Alan Modra  <amodra@gmail.com>
21722
21723         * stdio-common/printf_size.c (__printf_size): Don't use
21724         union ieee854_long_double in fpnum union.
21725         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
21726         signbit macro to retrieve sign from long double.
21727         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
21728         retrieve sign from long double.
21729         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
21730         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
21731         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
21732         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
21733         * math/test-misc.c (main): Don't use union ieee854_long_double.
21734
21735 2013-10-04  Alan Modra  <amodra@gmail.com>
21736
21737         [BZ #15680]
21738         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
21739         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
21740         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
21741         calculation.  Remove unnecessary test for denormal exponent.
21742         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
21743         Correct handling of denormals.  Avoid undefined shift behaviour.
21744         Correct normalisation of low mantissa when low double is denormal.
21745         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
21746         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
21747         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
21748         Correct normalisation of low mantissa.  Test for overflow of high
21749         mantissa and normalise.
21750         (ldbl_nearbyint): Use more readable constant for two52.
21751         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
21752         (__mpn_construct_long_double): Fix test for overflow of high
21753         mantissa and correct normalisation.  Avoid undefined shift.
21754
21755 2013-10-04  Alan Modra  <amodra@gmail.com>
21756
21757         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
21758         (union ibm_extended_long_double): Define as an array of ieee754_double.
21759         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
21760         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
21761         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
21762         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
21763         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21764         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
21765         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
21766         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
21767         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
21768         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
21769         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
21770
21771 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
21772
21773         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
21774         page size instead of calling getpagesize.
21775
21776         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
21777         (LOCFILE_ALIGN_MASK): Likewise.
21778         (LOCFILE_ALIGN_UP): Likewise.
21779         (LOCFILE_ALIGNED_P): Likewise.
21780         * locale/programs/ld-collate.c (collate_output): Use the new
21781         macros instead of __alignof__ (int32_t).
21782         * locale/weight.h (findidx): Likewise.
21783
21784 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
21785
21786         [BZ #431]
21787         * manual/string.texi: Fix strncat and wcsncat.
21788
21789 2013-10-03  Brooks Moses  <bmoses@google.com>
21790
21791         [BZ #15915]
21792         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
21793         * Makerules: ...here, and adjust associated comments.
21794
21795 2013-10-02  Will Newton  <will.newton@linaro.org>
21796
21797         * malloc/Makefile: Add tst-pvalloc.
21798         * malloc/tst-pvalloc.c: New file.
21799
21800 2013-10-02  Will Newton  <will.newton@linaro.org>
21801
21802         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
21803         improve test coverage.
21804
21805 2013-10-02  Will Newton  <will.newton@linaro.org>
21806
21807         * malloc/Makefile: Add tst-posix_memalign.
21808         * malloc/tst-posix_memalign.c: New file.
21809
21810 2013-10-01  Eric Blake  <eblake@redhat.com>
21811
21812         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
21813         Use __THROWNL rather than __THROW on static functions.
21814
21815 2013-09-30  Petr Machata  <pmachata@redhat.com>
21816
21817         * elf/elf.h (R_AARCH64_ABS16): New macro.
21818         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
21819         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
21820         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
21821         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
21822         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
21823         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
21824         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
21825         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
21826         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
21827         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
21828         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
21829         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
21830         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
21831         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
21832         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
21833         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
21834         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
21835         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
21836         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
21837         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
21838         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
21839         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
21840         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
21841         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
21842         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
21843         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
21844         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
21845         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
21846         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
21847         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
21848         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
21849         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
21850         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
21851         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
21852         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
21853         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
21854         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
21855         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
21856         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
21857         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
21858         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
21859         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
21860         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
21861         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
21862         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
21863         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
21864         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
21865         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
21866         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
21867         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
21868         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
21869         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
21870         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
21871         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
21872         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
21873         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
21874         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
21875         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
21876         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
21877         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
21878         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
21879         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
21880         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
21881         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
21882         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
21883         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
21884         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
21885         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
21886         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
21887         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
21888         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
21889         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
21890         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
21891         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
21892         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
21893         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
21894         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
21895         (R_AARCH64_TLSDESC_LDR): Likewise.
21896         (R_AARCH64_TLSDESC_ADD): Likewise.
21897         (R_AARCH64_TLSDESC_CALL): Likewise.
21898
21899 2013-09-30  Andreas Schwab  <schwab@suse.de>
21900
21901         [BZ #15048]
21902         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
21903         the nss database lookup.
21904         * nscd/initgrcache.c (addinitgroupsX): Likewise.
21905         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
21906
21907 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
21908
21909         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
21910
21911 2013-09-28  P. J. McDermott  <pj@pehjota.net>
21912
21913         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
21914         ${Bash-specific parameter/pattern/string} parameter expansion.
21915         * sysdeps/unix/make-syscalls.sh: Likewise.
21916
21917 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21918
21919         * sysdeps/sh/stackguard-macros.h: New file.
21920
21921 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
21922
21923         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
21924         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
21925         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
21926         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
21927         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
21928         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
21929
21930 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21931
21932         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
21933         Fix thread ID register.
21934
21935 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
21936
21937         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
21938         [POSIX || UNIX98]: Require rather than permitting all symbols from
21939         <time.h>.
21940         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
21941         element of struct sched_param.
21942         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
21943         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
21944         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
21945         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
21946         constant.
21947
21948 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
21949
21950         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
21951         argument calculation.
21952
21953 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
21954
21955         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
21956         Expect macro.
21957         [POSIX] (pthread_attr_t): Do not require type.
21958         [POSIX] (pthread_cond_t): Likewise.
21959         [POSIX] (pthread_condattr_t): Likewise.
21960         [POSIX] (pthread_key_t): Likewise.
21961         [POSIX] (pthread_mutex_t): Likewise.
21962         [POSIX] (pthread_mutexattr_t): Likewise.
21963         [POSIX] (pthread_once_t): Likewise.
21964         [POSIX] (pthread_t): Likewise.
21965         [POSIX-based standards] (pthread_atfork): Expect function.
21966
21967 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
21968             Richard Sandiford  <richard@codesourcery.com>
21969
21970         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
21971         (swap_endianness_p): New extern variable.
21972         (set_big_endian): New inline function.
21973         (maybe_swap_uint32): Likewise.
21974         (maybe_swap_uint32_array): Likewise.
21975         (maybe_swap_uint32_obstack): Likewise.
21976         * locale/programs/locfile.c: Include <stdbool.h>.
21977         (swap_endianness_p): New variable.
21978         (add_locale_uint32): Call maybe_swap_uint32.
21979         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
21980         (write_locale_data): Call maybe_swap_uint32_array.
21981         * locale/programs/ld-collate.c (obstack_int32_grow): Call
21982         maybe_swap_uint32.
21983         (obstack_int32_grow_fast): Likewise.
21984         (output_weightwc): Call maybe_swap_uint32_obstack.
21985         (collate_output): Likewise.
21986         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
21987         (OPT_LITTLE_ENDIAN): Likewise.
21988         (options): Add --little-endian and --big-endian options.
21989         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
21990         * locale/programs/locarchive.c: Include "locfile.h".
21991         (GET): New macro.
21992         (SET): Likewise.
21993         (INC): Likewise.
21994         (create_archive): Use the new macros to access fields of
21995         structures directly mapped from or written to locale archives.
21996         (oldlocrecentcmp): Likewise.
21997         (enlarge_archive): Likewise.
21998         (insert_name): Likewise.
21999         (add_alias): Likewise.
22000         (add_locale): Likewise.
22001         (delete_locales_from_archive): Likewise.
22002         (show_archive_content): Likewise.
22003         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
22004         locale data.
22005
22006 2013-09-24  Roland McGrath  <roland@hack.frob.com>
22007
22008         * manual/freemanuals.texi: Updated from (newly) canonical copy at
22009         http://www.gnu.org/doc/freemanuals.texi.
22010         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
22011
22012 2013-09-24  Will Newton  <will.newton@linaro.org>
22013
22014         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
22015         macro.
22016
22017 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
22018
22019         * locale/hashval.h (compute_hashval): Interpret bytes of key as
22020         unsigned char.
22021
22022 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
22023
22024         * manual/threads.texi (POSIX Threads): Fix a typo.
22025
22026 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
22027
22028         [BZ #14547]
22029         * string/tst-strcoll-overflow.c: New test case.
22030         * string/Makefile (xtests): Add tst-strcoll-overflow.
22031         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
22032         cache if string sizes may cause integer overflow.
22033
22034         [BZ #14547]
22035         * string/strcoll_l.c (coll_seq): New members rule, idx,
22036         save_idx and back_us.
22037         (get_next_seq_nocache): New function.
22038         (do_compare_nocache): New function.
22039         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
22040         when malloc fails.
22041
22042 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
22043
22044         [BZ #15754]
22045         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
22046         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
22047         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
22048
22049         [BZ #15754]
22050         * elf/Makefile (tests): Add tst-ptrguard1.
22051         (tests-static): Add tst-ptrguard1-static.
22052         (tst-ptrguard1-ARGS): Define.
22053         (tst-ptrguard1-static-ARGS): Define.
22054         * elf/tst-ptrguard1.c: New file.
22055         * elf/tst-ptrguard1-static.c: New file.
22056         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
22057         * sysdeps/i386/stackguard-macros.h: Likewise.
22058         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
22059         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
22060         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
22061         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
22062         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
22063         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
22064
22065 2013-09-23  Hector Marco  <hecmargi@upv.es>
22066             Ismael Ripoll  <iripoll@disca.upv.es>
22067             Carlos O'Donell  <carlos@redhat.com>
22068
22069         [BZ #15754]
22070         * sysdeps/generic/stackguard-macros.h: Define
22071         __pointer_chk_guard_local and POINTER_CHK_GUARD.
22072         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
22073         Define __pointer_chk_guard_local.
22074         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
22075         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
22076
22077 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
22078
22079         [BZ #15859]
22080         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
22081
22082 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
22083
22084         * include/string.h (__ffs): Declare as hidden.
22085         * string/ffs.c (__ffs): Define as hidden.
22086         * sysdeps/i386/ffs.c (__ffs): Likewise.
22087         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
22088         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
22089         * sysdeps/s390/ffs.c (__ffs): Likewise.
22090         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
22091
22092 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
22093
22094         * NEWS: Mention malloc probes.
22095
22096         * malloc/arena.c (new_heap): New memory_heap_new probe.
22097         (grow_heap): New memory_heap_more probe.
22098         (shrink_heap): New memory_heap_less probe.
22099         (heap_trim): New memory_heap_free probe.
22100         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
22101         (systrim): New memory_sbrk_less probe.
22102         * manual/probes.texi: Document them.
22103
22104         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
22105         * manual/probes.texi: Document it.
22106
22107         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
22108         (__libc_realloc): Add memory_realloc_retry probe.
22109         (__libc_memalign): Add memory_memalign_retry probe.
22110         (__libc_valloc): Add memory_valloc_retry probe.
22111         (__libc_pvalloc): Add memory_pvalloc_retry probe.
22112         (__libc_calloc): Add memory_calloc_retry probe.
22113         * manual/probes.texi: Document them.
22114
22115         * malloc/arena.c (get_free_list): Add probe
22116         memory_arena_reuse_free_list.
22117         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
22118         and memory_arena_reuse.
22119         (arena_get2) [!PER_THREAD]: Likewise.
22120         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
22121         memory_arena_reuse_realloc.
22122         * manual/probes.texi: Document them.
22123
22124         * malloc/malloc.c (__libc_free): Add
22125         memory_mallopt_free_dyn_thresholds probe.
22126         (__libc_mallopt): Add multiple memory_mallopt probes.
22127         * manual/probes.texi: Document them.
22128
22129         * malloc/malloc.c: Include stap-probe.h.
22130         (__libc_mallopt): Add memory_mallopt probe.
22131         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
22132         * manual/probes.texi: New.
22133         * manual/Makefile (chapters): Add probes.
22134         * manual/threads.texi: Set next node.
22135
22136 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
22137
22138         [BZ #15963, #13985]
22139         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
22140         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
22141         Add `Chinese' to `nan' entry name.
22142
22143 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
22144
22145         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
22146         (POLYNOMIAL): Likewise.
22147         (TAYLOR_SINCOS): Likewise.
22148         (TAYLOR_SLOW): Likewise.
22149         (__sin): Use TAYLOR_SINCOS.
22150         (__cos): Likewise.
22151         (slow): Use TAYLOR_SLOW.
22152         (sloww): Likewise.
22153         (bsloww): Likewise.
22154         (csloww): Likewise.
22155
22156 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
22157
22158         * stdlib/strtod_l.c: Fix buffer overrun.
22159
22160 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
22161
22162         * benchtests/Makefile (bench): Add sincos.
22163         * benchtests/bench-sincos.c: New file.
22164
22165         * math/libm-test.inc (cos_test_data): New test inputs.
22166         (sin_test_data): Likewise.
22167
22168         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
22169         macro.
22170         (__sin): Use it.
22171         (__cos): Likewise.
22172         (slow1): Likewise.
22173         (slow2): Likewise.
22174         (sloww1): Likewise.
22175         (sloww2): Likewise.
22176         (bsloww1): Likewise.
22177         (bsloww2): Likewise.
22178         (cslow2): Likewise.
22179         (csloww1): Likewise.
22180         (csloww2): Likewise.
22181
22182         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
22183         function.
22184         (__sin): Use it.
22185         (__cos): Likewise.
22186
22187         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
22188         gotos.
22189         (__cos): Likewise.
22190
22191 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
22192
22193         * config.h.in (HAVE_MIPS_NAN2008): New macro.
22194         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
22195         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
22196         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
22197         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
22198         * elf/cache.c (print_entry): Handle the new cache flags.
22199
22200 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
22201             Aldy Hernandez  <aldyh@redhat.com>
22202
22203         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
22204         Change condition to [_SOFT_FLOAT].
22205         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
22206         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
22207         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
22208         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
22209         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
22210         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
22211         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
22212         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
22213         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
22214         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
22215         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
22216         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
22217         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
22218         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
22219         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
22220         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
22221         declaration.
22222
22223 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
22224
22225         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
22226         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
22227         (__longjmp): Use LOAD_GP to load saved GPRs.
22228         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
22229         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
22230         (__sigsetjmp): Use SAVE_GP to save GPRs.
22231
22232         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
22233         Do not append -msoft-float.
22234         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
22235
22236 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
22237
22238         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
22239
22240 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
22241
22242         [BZ #15966]
22243         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
22244         (_FPU_GETCW): Use initial "__" on variable and field names but not
22245         on macro parameter name.
22246         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
22247         parentheses around reference to macro parameter.
22248
22249 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
22250
22251         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
22252         prototype.
22253         (ctype_startup): Use uint32_t in cast and sizeof for
22254         ctype->charnames.
22255
22256 2013-09-11  Jia Liu  <proljc@gmail.com>
22257
22258         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
22259         __daddr_t_defined.
22260         [__FreeBSD__]: Likewise.
22261
22262 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
22263
22264         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
22265         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
22266         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
22267         (strchr): Remove __strchr_sse42 ifunc selection.
22268         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
22269         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
22270
22271 2013-09-11  Will Newton  <will.newton@linaro.org>
22272
22273         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
22274         parameter to RES. Remove hardcoded 1000 value.
22275         * benchtests/bench-skeleton.c (main): Pass RES parameter
22276         to TIMING_INIT and multiply result by 1000.
22277
22278 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22279
22280         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22281
22282 2013-09-11  Andreas Schwab  <schwab@suse.de>
22283
22284         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
22285         if not defined.
22286         (O_TMPFILE) [__USE_GNU]: Define.
22287         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
22288         Define.
22289
22290 2013-09-11  Will Newton  <will.newton@linaro.org>
22291
22292         [BZ #15857]
22293         * malloc/malloc.c (__libc_memalign): Check the value of bytes
22294         does not overflow.
22295
22296 2013-09-11  Will Newton  <will.newton@linaro.org>
22297
22298         [BZ #15856]
22299         * malloc/malloc.c (__libc_valloc): Check the value of bytes
22300         does not overflow.
22301
22302 2013-09-11  Will Newton  <will.newton@linaro.org>
22303
22304         [BZ #15855]
22305         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
22306         does not overflow.
22307
22308 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
22309
22310         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
22311         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22312         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22313         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22314         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22315
22316 2013-09-10  Allan McRae  <allan@archlinux.org>
22317
22318         [BZ #15748]
22319         * manual/arith.texi (Parsing of Floats): Clarify
22320         cross-reference.
22321
22322         [BZ #15849]
22323         * manual/install.texi (Running make install): Mention
22324         --enable-pt-chown.
22325         * INSTALL: Regenerated.
22326
22327 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
22328
22329         * csu/init-first.c (_init): Remove the !SHARED condition around
22330         FPU control word initialization.
22331         * elf/dl-support.c (_dl_fpu_control): New variable.
22332         (_dl_aux_init) <AT_FPUCW>: Initialize it.
22333         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
22334         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
22335         * math/test-fpucw-static.c: New file.
22336         * math/test-fpucw-ieee.c: New file.
22337         * math/test-fpucw-ieee-static.c: New file.
22338         * math/Makefile (tests): Add `test-fpucw-ieee' and
22339         `$(tests-static)'.
22340         (tests-static): New variable.
22341         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
22342         dependency to...
22343         [($(build-shared),yes)]
22344         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
22345         ... this.
22346         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
22347         New dependency.
22348
22349 2013-09-09  Allan McRae  <allan@archlinux.org>
22350
22351         [BZ #15939]
22352         * manual/string.texi (Collation Functions): Fix typo in
22353         strcoll example.
22354         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
22355
22356         [BZ #15893]
22357         * stdlib/isomac.c (get_null_defines): Fix memory leak.
22358
22359         [BZ #15892]
22360         * libio/memstream.c (open_memstream): Fix memory leak.
22361         * libio/wmemstream.c (open_wmemstream): Likewise.
22362
22363         [BZ #15895]
22364         * nscd/netgroupcache.c: Fix nesting of ifdefs.
22365
22366 2013-09-09  Will Newton  <will.newton@linaro.org>
22367
22368         * malloc/Makefile: Add tst-realloc to tests.
22369         * malloc/tst-realloc.c: New file.
22370
22371 2013-09-09  Allan McRae  <allan@archlinux.org>
22372
22373         [BZ #15844]
22374         * COPYING: Update from GNU website to fix FSF address.
22375         * COPYING.LIB: Likewise.
22376
22377 2013-09-06  David S. Miller  <davem@davemloft.net>
22378
22379         * po/zh_TW.po: Update Chinese (traditional) translation from
22380         translation project.
22381
22382 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
22383             Joseph Myers  <joseph@codesourcery.com>
22384
22385         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
22386         "localeinfo.h".
22387         (obstack_chunk_alloc): New macro.
22388         (obstack_chunk_free): Likewise.
22389         (record_offset): New function.
22390         (init_locale_data): Likewise.
22391         (align_locale_data): Likewise.
22392         (add_locale_empty): Likewise.
22393         (add_locale_raw_data): Likewise.
22394         (add_locale_raw_obstack): Likewise.
22395         (add_locale_string): Likewise.
22396         (add_locale_wstring): Likewise.
22397         (add_locale_uint32): Likewise.
22398         (add_locale_uint32_array): Likewise.
22399         (add_locale_char): Likewise.
22400         (start_locale_structure): Likewise.
22401         (end_locale_structure): Likewise.
22402         (start_locale_prelude): Likewise.
22403         (end_locale_prelude): Likewise.
22404         (write_locale_data): Take locale_file structure rather than an
22405         iovec.
22406         * locale/programs/locfile.h: Include "obstack.h".
22407         (struct locale_file): Change to store locale file contents instead
22408         of header.
22409         (init_locale_data): New prototype.
22410         (align_locale_data): Likewise.
22411         (add_locale_empty): Likewise.
22412         (add_locale_raw_data): Likewise.
22413         (add_locale_raw_obstack): Likewise.
22414         (add_locale_string): Likewise.
22415         (add_locale_wstring): Likewise.
22416         (add_locale_uint32): Likewise.
22417         (add_locale_uint32_array): Likewise.
22418         (add_locale_char): Likewise.
22419         (start_locale_structure): Likewise.
22420         (end_locale_structure): Likewise.
22421         (start_locale_prelude): Likewise.
22422         (end_locale_prelude): Likewise.
22423         (write_locale_data): Update prototype.
22424         * locale/programs/3level.h (struct TABLE): Remove result field.
22425         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
22426         Use new locale_file interface.
22427         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
22428         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
22429         * locale/programs/ld-address.c (address_output): Use new
22430         locale_file interface.
22431         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
22432         NO_ADD_LOCALE.
22433         (collate_finish): Don't call collseq_table_finalize.
22434         (collate_output): Use new locale_file interface.
22435         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
22436         in file.
22437         (NO_FINALIZE): Change to NO_ADD_LOCALE.
22438         (TABLE): Move defines earlier in file.
22439         (ELEMENT): Likewise.
22440         (DEFAULT): Likewise.
22441         (wctrans_table_add): Move macro and inline function earlier in
22442         file.
22443         (struct wctype_table): Move type earlier in file.
22444         (add_locale_wctype_table): New static prototype.
22445         (struct locale_ctype_t): Use logical types instead of struct iovec
22446         pointers for members.
22447         (ctype_output): Use new locale_file interface.
22448         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
22449         new locale_file interface.
22450         (allocate_arrays): Update for use of new locale_file interface.
22451         * locale/programs/ld-identification.c (identification_output): Use
22452         new locale_file interface.
22453         * locale/programs/ld-measurement.c (measurement_output): Likewise.
22454         * locale/programs/ld-messages.c (messages_output): Likewise.
22455         * locale/programs/ld-monetary.c (monetary_output): Likewise.
22456         * locale/programs/ld-name.c (name_output): Likewise.
22457         * locale/programs/ld-numeric.c (numeric_output): Likewise.
22458         * locale/programs/ld-paper.c (paper_output): Likewise.
22459         * locale/programs/ld-telephone.c (telephone_output): Likewise.
22460         * locale/programs/ld-time.c (time_output): Likewise.
22461
22462 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22463
22464         * benchtests/Makefile: Add memrchr benchmark.
22465         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
22466         benchmark as memrchr.
22467         * benchtests/bench-memrchr-ifunc.c: New file.
22468         * benchtests/bench-memrchr.c: New file.
22469
22470 2013-09-06   Will Newton  <will.newton@linaro.org>
22471
22472         * benchtests/Makefile (string-bench): Add memcpy.
22473
22474 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
22475             Cong Wang  <amwang@redhat.com>
22476
22477         [BZ #15850]
22478         * sysdeps/unix/sysv/linux/bits/in.h
22479         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
22480         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
22481         before __USE_KERNEL_IPV6_DEFS uses.
22482         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
22483         IPPROTO_BEETPH.
22484         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
22485         sockaddr_in6, or ipv6_mreq.
22486
22487 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22488
22489         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
22490         memory access for final bytes in some large inputs.
22491         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
22492
22493 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22494
22495         * string/test-memrchr.c: New file.
22496         * string/test-memrchr-ifunc.c: New file.
22497         * string/Makefile: Add new memrchr testcase.
22498
22499 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
22500
22501         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
22502         fanotify_init returns EPERM.
22503
22504 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
22505
22506         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
22507         errors.
22508         (top level): Treat second token from macro or constant entries for
22509         allowed headers as allowed.
22510         * include/complex.h: Condition internal declarations on
22511         [!_ISOMAC].
22512         * include/fenv.h: Condition include of <stdbool.h> and internal
22513         declarations on [!_ISOMAC].
22514
22515 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
22516
22517         [BZ #15923]
22518         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
22519
22520 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
22521
22522         * configure.in (--enable-versioning): Remove configure option.
22523         (libc_cv_asm_symver_directive): Remove configure test.
22524         (libc_cv_ld_version_script_option): Likewise.
22525         (VERSIONING): Remove variable and AC_SUBST.
22526         (DO_VERSIONING): Remove AC_DEFINE.
22527         * configure: Regenerated.
22528         * config.h.in (DO_VERSIONING): Remove macro.
22529         * Makerules [$(versioning) = yes]: Change conditionals to
22530         [$(build-shared) = yes].
22531         * config.make.in (versioning): Remove variable.
22532         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
22533         [$(build-shared) = yes].
22534         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
22535         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
22536         * elf/Makefile [$(versioning) = yes]: Change conditionals to
22537         [$(build-shared) = yes].
22538         * extra-lib.mk [$(versioning) = yes]: Likewise.
22539         * hurd/Makefile [$(versioning) = yes]: Likewise.
22540         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
22541         [SHARED].
22542         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
22543         [SHARED].
22544         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
22545         [SHARED && !NO_HIDDEN].
22546         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
22547         [SHARED].
22548         [SHARED && DO_VERSIONING]: Likewise..
22549         * libio/Makefile [$(versioning) = yes]: Change conditionals to
22550         [$(build-shared) = yes].
22551         * manual/install.texi (--disable-versioning): Remove
22552         documentation.
22553         * INSTALL: Regenerated.
22554         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
22555         to [SHARED].
22556         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
22557         [$(build-shared) = yes].
22558         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
22559         * sysdeps/i386/i686/multiarch/strstr-c.c
22560         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
22561         [SHARED && !NO_HIDDEN].
22562         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
22563         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
22564         * sysdeps/powerpc/powerpc32/dl-machine.c
22565         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
22566         * sysdeps/powerpc/powerpc32/sysdep.h
22567         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
22568         to [SHARED && PIC && !NO_HIDDEN].
22569         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
22570         conditional to [SHARED].
22571
22572 2013-09-04   Will Newton  <will.newton@linaro.org>
22573
22574         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
22575         * benchtests/bench-string.h: Include bench-timing.h instead
22576         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
22577         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
22578         call to HP_TIMING_DIFF_INIT.
22579         * benchtests/bench-memccpy.c: Use bench-timing.h macros
22580         instead of hp-timing.h macros.
22581         * benchtests/bench-memchr.c: Likewise.
22582         * benchtests/bench-memcmp.c: Likewise.
22583         * benchtests/bench-memcpy.c: Likewise.
22584         * benchtests/bench-memmem.c: Likewise.
22585         * benchtests/bench-memmove.c: Likewise.
22586         * benchtests/bench-memset.c: Likewise.
22587         * benchtests/bench-rawmemchr.c: Likewise.
22588         * benchtests/bench-strcasecmp.c: Likewise.
22589         * benchtests/bench-strcasestr.c: Likewise.
22590         * benchtests/bench-strcat.c: Likewise.
22591         * benchtests/bench-strchr.c: Likewise.
22592         * benchtests/bench-strcmp.c: Likewise.
22593         * benchtests/bench-strcpy.c: Likewise.
22594         * benchtests/bench-strcpy_chk.c: Likewise.
22595         * benchtests/bench-strlen.c: Likewise.
22596         * benchtests/bench-strncasecmp.c: Likewise.
22597         * benchtests/bench-strncat.c: Likewise.
22598         * benchtests/bench-strncmp.c: Likewise.
22599         * benchtests/bench-strncpy.c: Likewise.
22600         * benchtests/bench-strnlen.c: Likewise.
22601         * benchtests/bench-strpbrk.c: Likewise.
22602         * benchtests/bench-strrchr.c: Likewise.
22603         * benchtests/bench-strspn.c: Likewise.
22604         * benchtests/bench-strstr.c: Likewise.
22605
22606 2013-09-04  Will Newton  <will.newton@linaro.org>
22607
22608         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
22609
22610 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
22611
22612         [BZ #15427]
22613         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
22614         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
22615         * math/libm-test.inc (lgamma_test_data): Add more tests.
22616         * sysdeps/i386/fpu/libm-test-ulps: Update.
22617         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22618
22619 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
22620
22621         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
22622         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22623         Add ifunc.
22624         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22625         Add strcmp-sse2-unaligned
22626         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
22627
22628 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
22629
22630         * Versions.def (libc): Add GLIBC_2.19.
22631
22632 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
22633
22634         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
22635         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
22636
22637 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
22638
22639         [BZ #14155]
22640         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
22641         intermediate calculations in recurrence.
22642         (__ieee754_ynf): Likewise.
22643         * math/libm-test.inc (jn_test_data): Do not allow spurious
22644         underflow exception.  Add more tests.
22645         (yn_test_data): Add more tests.
22646         * sysdeps/i386/fpu/libm-test-ulps: Update.
22647         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22648
22649 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
22650
22651         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
22652
22653 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
22654
22655         * csu/init-first.c: Fix then/than typos.
22656         * locale/programs/ld-collate.c: Likewise.
22657         * locale/programs/linereader.h: Likewise.
22658         * manual/charset.texi: Likewise.
22659         * manual/filesys.texi: Likewise.
22660         * manual/stdio.texi: Likewise.
22661         * manual/string.texi: Likewise.
22662         * stdlib/fmtmsg.c: Likewise.
22663         * sysdeps/i386/stpncpy.S: Likewise.
22664         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22665         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
22666         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22667         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
22668
22669 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
22670
22671         * elf/dl-open.c: Fix typos.
22672         * iconvdata/gbbig5.c: Likewise.
22673         * iconvdata/iso-2022-jp.c: Likewise.
22674         * iconv/gconv_int.h: Likewise.
22675         * iconv/loop.c: Likewise.
22676         * nis/rpcsvc/nis.h: Likewise.
22677         * resolv/ns_name.c: Likewise.
22678         * stdio-common/vfscanf.c: Likewise.
22679         * streams/stropts.h: Likewise.
22680         * sunrpc/rpc_thread.c: Likewise.
22681         * sysdeps/i386/strpbrk.S: Likewise.
22682         * sysdeps/ieee754/k_standard.c: Likewise.
22683         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
22684         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22685         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
22686         * sysdeps/mach/hurd/profil.c: Likewise.
22687         * sysdeps/s390/dl-procinfo.h: Likewise.
22688         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
22689         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
22690         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
22691         * sysdeps/x86_64/dl-trampoline.S: Likewise.
22692         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
22693
22694 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
22695
22696         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
22697         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
22698
22699 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
22700
22701         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
22702         aix specific files.
22703         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
22704         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
22705         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
22706         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
22707         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
22708         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
22709         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
22710         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
22711
22712 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
22713             Roland McGrath  <roland@hack.frob.com>
22714
22715         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
22716         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
22717
22718 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22719
22720         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
22721         __executable_start symbol instead of _start.
22722
22723 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
22724
22725         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
22726         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
22727         Move macros to...
22728         * sysdeps/gnu/ldsodefs.h: ... this new file.
22729
22730         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
22731         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
22732         instead of ELFOSABI_LINUX.
22733
22734         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
22735         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
22736         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
22737         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
22738         Likewise.
22739         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
22740         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
22741         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
22742         Likewise.
22743         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
22744         (ibm_extended_long_double): Add ieee_nan member.
22745         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
22746         (do_test): New function.
22747
22748         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
22749         TEST_TRUNC.
22750         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
22751         functions, renamed from truncdfsf_test, trunctfsf_test,
22752         trunctfdf_test.
22753         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
22754         functions.
22755         (do_test): Run all these.
22756
22757 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
22758
22759         * argp/argp-help.c: Fix typos.
22760         * argp/argp-parse.c: Likewise.
22761         * debug/backtracesyms.c: Likewise.
22762         * elf/elf.h: Likewise.
22763         * malloc/malloc.c: Likewise.
22764         * nis/nis_print.c: Likewise.
22765         * resolv/res_comp.c: Likewise.
22766         * stdlib/stdlib.h: Likewise.
22767         * sunrpc/clnt_tcp.c: Likewise.
22768         * sunrpc/clnt_udp.c: Likewise.
22769         * sunrpc/clnt_unix.c: Likewise.
22770         * sysdeps/unix/bsd/ptsname.c: Likewise.
22771         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
22772         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
22773         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
22774         Likewise.
22775         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
22776         Likewise.
22777         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
22778         Likewise.
22779         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
22780
22781 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22782
22783         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
22784         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
22785
22786 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
22787
22788         [BZ #15897]
22789         * dlfcn/Makefile (tests): Add bug-dl-leaf.
22790         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
22791         ($(objpfx)bug-dl-leaf): New rule.
22792         ($(objpfx)bug-dl-leaf.so): Likewise.
22793         ($(objpfx)bug-dl-leaf.out): Likewise.
22794         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
22795         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
22796         * dlfcn/bug-dl-leaf.c: New test.
22797         * dlfcn/bug-dl-leaf-lib.c: Likewise.
22798         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
22799         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
22800         (dlclose): Likewise.
22801         (dlmopen): Likewise.
22802
22803 2013-08-27  Roland McGrath  <roland@hack.frob.com>
22804
22805         * include/netdb.h [!_ISOMAC]:
22806         Don't include <tls.h>.
22807         (h_errno, __libc_h_errno): Move declaration and macros out of
22808         [_LIBC_REENTRANT].
22809
22810         * include/resolv.h [_RESOLV_H_]:
22811         Don't include <tls.h>.
22812         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
22813         * resolv/res_libc.c: Don't include <tls.h>.
22814         (_res): Use __attribute__ ((nocommon)) in place of
22815         __attribute__ ((section (".bss"))).
22816
22817         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
22818         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
22819
22820         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
22821
22822         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
22823         only under [SIOCGIFCONF && SIOCGIFNETMASK].
22824
22825         * resolv/res_mkquery.c: Include <sys/time.h>.
22826
22827         * inet/ifreq.c: Moved to ...
22828         * sysdeps/unix/ifreq.c: ... here.
22829         * inet/ifreq.c: New file, true stub version.
22830
22831         * socket/sa_len.c: New file.
22832         * socket/Makefile (aux): Add it.
22833         * sysdeps/unix/sysv/linux/Makefile
22834         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
22835         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
22836         and #include <socket/sa_len.c>.
22837         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
22838         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
22839
22840         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
22841         * bits/socket.h: ... here.
22842
22843         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
22844         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
22845         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
22846
22847 2013-08-27  Andreas Schwab  <schwab@suse.de>
22848
22849         [BZ #15736]
22850         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
22851         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
22852         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
22853         * string/test-strcasecmp.c (test_main): Run tests in several
22854         locales.
22855         * string/test-strncasecmp.c (test_main): Likewise.
22856
22857         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
22858         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
22859         to __strcasecmp_nonascii and __strncasecmp_nonascii.
22860         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
22861         (__strncasecmp_ssse3) [PIC]: Likewise.
22862
22863 2013-08-26  Roland McGrath  <roland@hack.frob.com>
22864
22865         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
22866
22867         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
22868         instead of explicitly declaring xdecrypt.
22869         * nis/nss_nis/nis-publickey.c: Likewise.
22870
22871 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22872
22873         [BZ #15890]
22874         * nscd/aicache.c: Include res_hconf.h.
22875         (addhstaiX): Initialize res_hconf.
22876
22877 2013-08-26  Andreas Schwab  <schwab@suse.de>
22878
22879         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
22880         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
22881
22882 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22883
22884         * nscd/aicache.c (addhstaiX): Fix indentation.
22885
22886 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
22887
22888         * configure.ac: Quote $build_pt_chown test.
22889         * configure: Regenerated.
22890
22891 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
22892
22893         [BZ #15532]
22894         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
22895         * math/s_cexpf.c (__cexpf): Likewise.
22896         * math/s_cexpl.c (__cexpl): Likewise.
22897         * math/libm-test.inc (cexp_test_data): Correct expected return
22898         value for NaN + i0.  Add another test.
22899
22900 2013-08-22  David S. Miller  <davem@davemloft.net>
22901
22902         * po/ca.po: Update Catalan translation from translation project.
22903         * po/uk.po: Add Ukrainian translations from translation project.
22904
22905 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
22906
22907         [BZ #15797]
22908         * math/s_fdim.c (__fdim): Check for infinite arguments if result
22909         is infinite, not alongside NaN test.
22910         * math/s_fdimf.c (__fdimf): Likewise.
22911         * math/s_fdiml.c (__fdiml): Likewise.
22912         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
22913         errno is unchanged.
22914
22915 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
22916
22917         * argp/argp-help.c: Fix typos.
22918         * crypt/speeds.c: Likewise.
22919         * csu/check_fds.c: Likewise.
22920         * elf/dl-load.c: Likewise.
22921         * elf/dl-open.c: Likewise.
22922         * elf/reldep3.c: Likewise.
22923         * elf/reldep.c: Likewise.
22924         * elf/sprof.c: Likewise.
22925         * iconv/iconv_charmap.c: Likewise.
22926         * iconv/skeleton.c: Likewise.
22927         * iconv/strtab.c: Likewise.
22928         * io/lockf64.c: Likewise.
22929         * libio/libioP.h: Likewise.
22930         * resolv/gai_notify.c: Likewise.
22931         * resolv/ns_name.c: Likewise.
22932         * resolv/ns_samedomain.c: Likewise.
22933         * resolv/res_send.c: Likewise.
22934         * stdlib/random.c: Likewise.
22935         * sunrpc/rpc/xdr.h: Likewise.
22936         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
22937         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
22938         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
22939         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
22940         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
22941         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
22942         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
22943         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
22944         * sysdeps/mach/hurd/check_fds.c: Likewise.
22945         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
22946         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
22947         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22948         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
22949         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
22950         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
22951         * sysdeps/pthread/aio_notify.c: Likewise.
22952         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
22953         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
22954         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
22955         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
22956         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
22957
22958 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
22959
22960         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
22961         version if bit_Slow_SSE4_2 is set.
22962         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22963         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
22964
22965 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22966
22967         [BZ #15867]
22968         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
22969         trampoline stack frame information.
22970         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
22971         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
22972         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
22973         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
22974         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
22975         * sysdeps/unix/sysv/linux/powerpc/init-first.c
22976         (_libc_vdso_platform_setup): Initialize the signal trampolines.
22977         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
22978         sa_flags value.
22979         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
22980         interrupting a syscall and set with option SA_SIGINFO.
22981
22982 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
22983
22984         [BZ #15531]
22985         * math/s_cproj.c (__cproj): Only return an infinity if one part of
22986         argument is infinite.
22987         * math/s_cprojf.c (__cprojf): Likewise.
22988         * math/s_cprojl.c (__cprojl): Likewise.
22989         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
22990         * math/libm-test.inc (cproj_test_data): Add more tests.
22991
22992         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
22993
22994         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
22995         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
22996         size.  Use __ffs to determine corresponding shift.
22997
22998 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
22999             Roland McGrath  <roland@hack.frob.com>
23000
23001         * Makefile (INSTALL): Remove trailing blank lines from output of
23002         makeinfo.
23003
23004 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23005
23006         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
23007         Align 32 bit compat elf_greg to 8 bytes.
23008
23009 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
23010
23011         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
23012
23013 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
23014
23015         * string/strcoll_l.c (coll_seq): New structure.
23016         (get_next_seq_cached): New function.
23017         (get_next_seq): New function.
23018         (do_compare): New function.
23019         (STRCOLL): Use GNU style definition.  Simplify implementation
23020         by using get_next_seq, get_next_seq_cached and do_compare.
23021
23022 2013-08-16  Florian Weimer  <fweimer@redhat.com>
23023
23024         [BZ #14699]
23025         CVE-2013-4237
23026         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
23027         member.
23028         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
23029         member.
23030         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
23031         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
23032         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
23033         conditional.
23034         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
23035         GETDENTS_64BIT_ALIGNED.
23036         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
23037         * manual/filesys.texi (Reading/Closing Directory): Document
23038         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
23039         strongly.
23040         * manual/conf.texi (Limits for Files): Add portability note to
23041         NAME_MAX, PATH_MAX.
23042         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
23043
23044 2013-08-13  Andreas Schwab  <schwab@suse.de>
23045
23046         [BZ #15749]
23047         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
23048         of fabs.
23049         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
23050         LDBL_MAX_EXP >= 16384]: Add tests for it.
23051
23052 2013-08-12  David S. Miller  <davem@davemloft.net>
23053
23054         * version.h (RELEASE): Set to "development".
23055         (VERSION): Set to "2.18.90".
23056         * NEWS: Add 2.19 section.
23057
23058 2013-08-03  David S. Miller  <davem@davemloft.net>
23059
23060         * po/ko.po: Update Korean translation from translation project.
23061
23062 2013-08-01  David S. Miller  <davem@davemloft.net>
23063
23064         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
23065         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
23066         Bilka.
23067
23068 2013-07-30  David S. Miller  <davem@davemloft.net>
23069
23070         * po/fr.po: Update French translation from translation project.
23071
23072 2013-07-28  David S. Miller  <davem@davemloft.net>
23073
23074         * po/cs.po: Update Czech translation from translation project.
23075
23076         * po/sv.po: Update Swedish translation from translation project.
23077
23078 2013-07-27  David S. Miller  <davem@davemloft.net>
23079
23080         * po/eo.po: Update Esperanto translation from translation project.
23081
23082         * po/vi.po: Update Vietnamese translation from translation project.
23083
23084         * po/de.po: Update German translation from translation project.
23085
23086 2013-07-26  David S. Miller  <davem@davemloft.net>
23087
23088         * po/bg.po: Update Bulgarian translation from translation project.
23089
23090         * po/nl.po: Update Dutch translation from translation project.
23091         * po/pl.po: Update Polish translation from translation project.
23092         * po/ru.po: Update Russian translation from translation project.
23093
23094 2013-07-24  David S. Miller  <davem@davemloft.net>
23095
23096         * po/libc.pot: Update.
23097
23098 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23099
23100         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
23101         variable page size.
23102         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
23103         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
23104         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
23105
23106 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23107
23108         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
23109
23110 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23111             Andreas Schwab  <schwab@suse.de>
23112             Roland McGrath  <roland@hack.frob.com>
23113             Joseph Myers  <joseph@codesourcery.com>
23114             Carlos O'Donell  <carlos@redhat.com>
23115
23116         [BZ #15755]
23117         * config.h.in: Define HAVE_PT_CHOWN.
23118         * config.make.in (build-pt-chown): New variable.
23119         * configure.in (--enable-pt_chown): New configure option.
23120         * configure: Regenerate.
23121         * login/Makefile: Include Makeconfig.  Build pt_chown only if
23122         build-pt-chown is enabled.
23123         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
23124         pt_chown to fix pty ownership.
23125         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
23126         CLOSE_ALL_FDS.
23127         * manual/install.texi (Configuring and compiling): Mention
23128         --enable-pt_chown. Add @findex for grantpt.
23129         * INSTALL: Regenerate.
23130
23131 2013-07-20  David S. Miller  <davem@davemloft.net>
23132
23133         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
23134         difference between 32-bit and 64-bit.
23135
23136 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
23137
23138         [BZ #15711]
23139         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
23140         Avoid system header dependency with -ffreestanding.
23141         ($(objpfx)bits/syscall%d): Likewise.
23142
23143 2013-07-13  David S. Miller  <davem@davemloft.net>
23144
23145         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
23146         underflows from atanl/atan2l due to bug 15319.
23147         (casinh_test_data): Likewise.
23148
23149 2013-07-07  David S. Miller  <davem@davemloft.net>
23150
23151         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
23152
23153 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
23154
23155         * sysdeps/i386/fpu/libm-test-ulps: Update.
23156         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23157
23158 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
23159
23160         * configure.in (--enable-lock-elision): Fix message text.
23161         * INSTALL: Regenerate.
23162         * configure: Regenerate.
23163
23164 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23165
23166         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23167
23168 2013-07-03  Andreas Jaeger  <aj@suse.de>
23169
23170         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
23171         define.
23172         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
23173         (ptrace_peeksiginfo_args): Add.
23174         (__ptrace_peeksiginfo_flags): Add.
23175         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23176         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23177         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23178
23179 2013-07-03  Allan McRae  <allan@archlinux.org>
23180
23181         * sysdeps/i386/fpu/libm-test-ulps: Update.
23182
23183 2013-07-02  David S. Miller  <davem@davemloft.net>
23184
23185         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23186
23187 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
23188
23189         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23190
23191 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
23192
23193         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
23194         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23195
23196 2013-07-02  Andi Kleen <ak@linux.intel.com>
23197
23198         * config.h.in (ENABLE_LOCK_ELISION): Add.
23199         * configure.in (--enable-lock-elision): Add option.
23200         * manual/install.texi: Document --enable lock elision.
23201         * configure: Regenerate
23202         * INSTALL: Regenerate.
23203
23204 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
23205
23206         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
23207         SSE4.2 strcasecmp for libc.a.
23208         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
23209
23210 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
23211
23212         [BZ #13304]
23213         * soft-fp/op-common.h (_FP_FMA): New macro.
23214         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
23215         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
23216         (_FP_MUL_MEAT_1_imm): ... here.
23217         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
23218         (_FP_MUL_MEAT_1_wide): ... here.
23219         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
23220         (_FP_MUL_MEAT_1_hard): ... here.
23221         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
23222         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
23223         (_FP_MUL_MEAT_2_wide): ... here.
23224         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
23225         (_FP_MUL_MEAT_2_wide_3mul): ... here.
23226         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
23227         (_FP_MUL_MEAT_2_gmp): ... here.
23228         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
23229         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
23230         (_FP_MUL_MEAT_4_wide): ... here.
23231         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
23232         (_FP_MUL_MEAT_4_gmp): ... here.
23233         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
23234         (_FP_WFRACBITS_DW_S): Likewise.
23235         (_FP_WFRACXBITS_DW_S): Likewise.
23236         (_FP_HIGHBIT_DW_S): Likewise.
23237         (FP_FMA_S): Likewise.
23238         (_FP_FRAC_HIGH_DW_S): Likewise.
23239         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
23240         (_FP_WFRACBITS_DW_D): Likewise.
23241         (_FP_WFRACXBITS_DW_D): Likewise.
23242         (_FP_HIGHBIT_DW_D): Likewise.
23243         (FP_FMA_D): Likewise.
23244         (_FP_FRAC_HIGH_DW_D): Likewise.
23245         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
23246         (_FP_WFRACBITS_DW_E): Likewise.
23247         (_FP_WFRACXBITS_DW_E): Likewise.
23248         (_FP_HIGHBIT_DW_E): Likewise.
23249         (FP_FMA_E): Likewise.
23250         (_FP_FRAC_HIGH_DW_E): Likewise.
23251         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
23252         (_FP_WFRACBITS_DW_Q): Likewise.
23253         (_FP_WFRACXBITS_DW_Q): Likewise.
23254         (_FP_HIGHBIT_DW_Q): Likewise.
23255         (FP_FMA_Q): Likewise.
23256         (_FP_FRAC_HIGH_DW_Q): Likewise.
23257         * soft-fp/fmasf4.c: New file.
23258         * soft-fp/fmadf4.c: Likewise.
23259         * soft-fp/fmatf4.c: Likewise.
23260
23261 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
23262
23263         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
23264         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
23265         Silvermont.
23266         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
23267         macro.
23268         (index_Slow_SSE4_2): Likewise.
23269         (index_Prefer_PMINUB_for_stringop): Likewise.
23270         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
23271         bit_Slow_SSE4_2 is set.
23272         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
23273         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23274
23275 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
23276
23277         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
23278         rtld_global._dl_hwcap2.
23279         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
23280         POWER8.
23281         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
23282         POWER8 feature descriptions defined in _dl_hwcap2.
23283         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
23284         string handling for POWER8 feature bits.
23285         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
23286         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
23287         _dl_powerpc_cap_flags.
23288         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
23289         * sysdeps/powerpc/rtld-global-offsets.sym
23290         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
23291         _dl_hwcap2 in the rtld_global_ro structure.
23292
23293 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
23294
23295         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
23296         hardware capabilities in support of AT_HWCAP2.
23297         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
23298         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
23299         GLRO(dl_hwcap2).
23300         (_dl_show_auxv): Add support for calling _dl_procinfo to display
23301         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
23302         explicitly the unknown a_type display mechanism is used.
23303         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
23304         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
23305         struct member.
23306         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
23307         to macro prototype for AT_HWCAP2 support.
23308         * sysdeps/i386/dl-procinfo.h: Likewise.
23309         * sysdeps/s390/dl-procinfo.h: Likewise.
23310         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
23311         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
23312         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
23313         return -1 for unknown a_type display fallback.
23314         * sysdeps/sparc/dl-procinfo.h: Likewise.
23315         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
23316         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
23317
23318 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
23319
23320         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
23321         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
23322
23323 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
23324
23325         [BZ #12492]
23326         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
23327         mprotect making __stack_prot writable.
23328
23329 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
23330             Joseph Myers  <joseph@codesourcery.com>
23331
23332         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
23333         as being properly aligned.
23334
23335 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
23336
23337         * dlfcn/modstatic5.c: New file.
23338         * dlfcn/tststatic5.c: New file.
23339         * dlfcn/Makefile (tests): Add tststatic5.
23340         (tests-static): Likewise.
23341         (modules-names): Add modstatic5.
23342         (tststatic5-ENV): New variable.
23343         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
23344
23345         [BZ #15022]
23346         * elf/dl-support.c (_dl_main_map): New variable.
23347         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
23348         (_dl_nns, _dl_load_adds): Set to 1.
23349         (_dl_initial_searchlist): Refer to _dl_main_map.
23350         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
23351         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
23352         call to _dl_get_origin.
23353         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
23354         around call_map.
23355         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
23356         * dlfcn/modstatic3.c: New file.
23357         * dlfcn/tststatic3.c: New file.
23358         * dlfcn/tststatic4.c: New file.
23359         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
23360         (tests-static): Likewise.
23361         (modules-names): Add modstatic3.
23362         (tststatic3-ENV, tststatic4-ENV): New variables.
23363         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
23364         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
23365
23366 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
23367
23368         * configure.in (CC): Require GCC version 4.4 or later.
23369         * configure: Regenerated.
23370         * manual/install.texi (Tools for Compilation): Update GCC version
23371         requirement.
23372         * INSTALL: Regenerated.
23373
23374 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
23375
23376         [BZ #15674]
23377         * string/test-memcmp.c (check2): New.
23378         (main): Call check2.
23379
23380         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
23381
23382 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
23383
23384         [BZ #15022]
23385         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
23386         over to...
23387         (dl_open_worker) [!SHARED]: ... here.
23388
23389 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
23390
23391         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
23392
23393 2013-06-25  Richard Henderson  <rth@redhat.com>
23394
23395         * locale/programs/locarchive.c: Include <libc-internal.h>
23396
23397 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
23398
23399         * manual/texinfo.tex: Update to version 2013-06-21.17, with
23400         trailing whitespace removed.
23401
23402 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
23403
23404         [BZ #10283]
23405         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
23406         * locale/programs/locarchive.c: Include libc-mmap.h.
23407         (prepare_address_space): Take two new outputs (the mmap base and len).
23408         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
23409         values.
23410         (create_archive): Declare new mmap base and len values for
23411         prepare_address_space, and store the result in ah.
23412         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
23413         (enlarge_archive): If ah->mmap_base is not NULL, use that and
23414         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
23415         Declare new mmap base and len values for
23416         prepare_address_space, and store the result in new_ah.
23417         (open_archive): Declare new mmap base and len values for
23418         prepare_address_space, and store the result in ah.
23419         (close_archive): If ah->mmap_base is not NULL, use that and
23420         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
23421         * sysdeps/generic/libc-mmap.h: New file.
23422
23423 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
23424
23425         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
23426         (ALIGN_UP): Likewise.
23427         (PTR_ALIGN_DOWN): Likewise.
23428         (PTR_ALIGN_UP): Likewise.
23429
23430 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
23431
23432         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
23433         entry mapped to PPC_PLATFORM_POWER8.
23434         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
23435         POWER8.
23436         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
23437         (_dl_string_platform): Add case for exporting platform position for
23438         POWER8.
23439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
23440         search path to sysdeps/powerpc/powerpc32/power8 directory.
23441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
23442         search path to sysdeps/powerpc/powerpc64/power8 directory.
23443         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
23444         power7 directories.
23445         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
23446         power7 directories.
23447
23448 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
23449
23450         * INSTALL: Regenerate.
23451
23452         * nscd/connections.c (nscd_init): Fix comment.
23453
23454 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
23455
23456         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
23457
23458         [BZ #15667]
23459         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
23460         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
23461
23462 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
23463
23464         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
23465         DL_DST_REQ_STATIC.
23466         (DL_DST_REQ_STATIC): Remove macro.
23467
23468 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
23469
23470         [BZ #7006]
23471         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
23472         with a shift of 0 bits.
23473
23474 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
23475
23476         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
23477         $(tststatic-ENV).
23478
23479 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23480
23481         [BZ #15655]
23482         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
23483
23484 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23485
23486         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
23487         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
23488         accepts -fno-tree-loop-distribute-patterns.
23489         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
23490         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
23491         recursive call.
23492         * string/memset.c (memset): Likewise.
23493         * string/test-memmove.c (simple_memmove): Disable loop transformation
23494         to library calls.
23495         * string/test-memset.c (simple_memset): Likewise.
23496         * benchtests/bench-memmove.c (simple_memmove): Likewise.
23497         * benchtests/bench-memset.c (simple_memset): Likewise.
23498         * configure: Regenerated.
23499
23500 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
23501
23502         * math/test-misc.c (main): Ignore fesetround failure when failures
23503         of subsequent rounding tests would be ignored.
23504
23505         [BZ #15654]
23506         * math/fedisblxcpt.c (fedisableexcept): Return 0.
23507         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
23508         * math/fegetenv.c (__fegetenv): Return 0.
23509         * math/fegetexcept.c (fegetexcept): Return 0.
23510         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
23511         FE_TONEAREST.
23512         * math/feholdexcpt.c (feholdexcept): Return 0.
23513         * math/fesetenv.c (__fesetenv): Return 0.
23514         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
23515         argument FE_TONEAREST.
23516         * math/feupdateenv.c (__feupdateenv): Return 0.
23517         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
23518
23519 2013-06-18  Roland McGrath  <roland@hack.frob.com>
23520
23521         * elf/rtld-Rules (rtld-compile-command.S): New variable.
23522         (rtld-compile-command.s, rtld-compile-command.c): New variables.
23523         ($(objpfx)rtld-%.os rules): Use them.
23524
23525 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23526
23527         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
23528         fields.
23529
23530 2013-06-17  Roland McGrath  <roland@hack.frob.com>
23531
23532         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
23533         length of target pattern, then descending length of dependency pattern.
23534         * configure.in (AWK): Require gawk 3.1.2 or newer.
23535         * manual/install.texi (Tools for Compilation): Say that we do.
23536         * configure: Regenerated.
23537
23538         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
23539         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
23540         * scripts/sysd-rules.awk: ... this new script.
23541         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
23542         than a glob-style pattern.
23543
23544 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
23545
23546         * math/test-misc.c (main): Do not treat incorrectly rounded
23547         conversions as failure unless ROUNDING_TESTS passes.
23548
23549 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
23550
23551         [BZ #15631]
23552         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
23553         restore exception state around main square root computation, then
23554         check for inexactness explicitly.
23555
23556         * math/libm-test.inc (fma_test_data): Add another test.
23557
23558 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23559
23560         * manual/threads.texi (Non-POSIX Extensions): New document
23561         node.  Document pthread_getattr_default_np and
23562         pthread_setattr_default_np.
23563
23564         * Versions.def (libpthread): Add GLIBC_2.18.
23565         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
23566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
23567         Likewise.
23568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
23569         Likewise.
23570         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23571         Likewise.
23572         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23573         Likewise.
23574         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
23575         Likewise.
23576         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
23577         Likewise.
23578         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
23579         Likewise.
23580         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
23581         Likewise.
23582         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
23583         Likewise.
23584
23585 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
23586
23587         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23588         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
23589
23590 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
23591             H.J. Lu  <hjl.tools@gmail.com>
23592
23593         [BZ #15627]
23594         * sysdeps/x86_64/rtld-memset.c: Remove file.
23595         * sysdeps/x86_64/rtld-memset.S: New file.
23596
23597 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
23598
23599         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
23600         (test_in_one_mode): Take arguments for whether the rounding mode
23601         is supported for each floating-point type.
23602         (do_test): Pass new arguments to test_in_one_mode using
23603         ROUNDING_TESTS.
23604
23605 2013-06-13  Roland McGrath  <roland@hack.frob.com>
23606
23607         * posix/tst-waitid.c (do_test): Distinguish different instances of
23608         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
23609         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
23610         before entering the kernel for waitpid.
23611
23612 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
23613
23614         * NEWS: Fix note on clock function precision.  Text by Roland
23615         McGrath.
23616
23617 2013-06-13  Roland McGrath  <roland@hack.frob.com>
23618
23619         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
23620         it into place only when and if the sanity check passes.
23621
23622 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
23623
23624         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
23625         output for whether conversion result is exact.  Take argument
23626         indicating whether type is IBM long double.
23627         (round_for_all): Change need_exact field to ibm_ld.
23628         * stdlib/tst-strtod-round.c (struct exactness): New type.
23629         (struct test): Change bool ld_ok field to struct exactness exact.
23630         (TEST): Update all definitions for change to field.
23631         (tests): Regenerate array contents.
23632         (test_in_one_mode): Take pointer to new field instead of old ld_ok
23633         field value.  Check for IBM long double here.
23634         (do_test): Update calls to test_in_one_mode.
23635
23636 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
23637
23638         [BZ #12515]
23639         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
23640         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
23641
23642 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23643
23644         [BZ #15605]
23645         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
23646         generated by the compiler on loop optimizations.
23647         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
23648         general definitions.
23649
23650 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
23651
23652         * math/bug-nextafter.c: Include <math-tests.h>.
23653         (main): Only test for exceptions if EXCEPTION_TESTS is true for
23654         the relevant type.
23655         * math/bug-nexttoward.c: Include <math-tests.h>.
23656         (main): Only test for exceptions if EXCEPTION_TESTS is true for
23657         the relevant type.
23658         * math/test-misc.c: Include <math-tests.h>.
23659         (main): Only test for exceptions if EXCEPTION_TESTS is true for
23660         the relevant type.
23661
23662 2013-06-12  Andreas Jaeger  <aj@suse.de>
23663
23664         * po/ia.po: Update Interlingua translation from translation
23665         project.
23666
23667 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
23668
23669         * include/fenv.h: Include stdbool.h.
23670         (struct rm_ctx): New structure.
23671         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
23672         Define macro.
23673         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
23674         (SET_RESTORE_ROUNDF): Likewise.
23675         (SET_RESTORE_ROUNDL): Likewise.
23676         (SET_RESTORE_ROUND_NOEX): Likewise.
23677         (SET_RESTORE_ROUND_NOEXF): Likewise.
23678         (SET_RESTORE_ROUND_NOEXL): Likewise.
23679         (SET_RESTORE_ROUND_53BIT): Likewise.
23680         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
23681         (libc_feresetround_noexf_ctx): Likewise.
23682         (libc_feresetround_noexl_ctx): Likewise.
23683         (libc_feholdsetround_53bit_ctx): Likewise.
23684         (libc_feresetround_53bit_ctx): Likewise.
23685         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
23686         (libc_feholdexcept_setround_sse_ctx): New function.
23687         (libc_fesetenv_sse_ctx): Likewise.
23688         (libc_feupdateenv_sse_ctx): Likewise.
23689         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
23690         (libc_feholdexcept_setround_387_ctx): Likewise.
23691         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
23692         (libc_feholdsetround_387_prec_ctx): Likewise.
23693         (libc_feholdsetround_387_ctx): Likewise.
23694         (libc_feholdsetround_387_53bit_ctx): Likewise.
23695         (libc_feholdsetround_sse_ctx): Likewise.
23696         (libc_feresetround_sse_ctx): Likewise.
23697         (libc_feresetround_387_ctx): Likewise.
23698         (libc_feupdateenv_387_ctx): Likewise.
23699         (libc_feholdexcept_setroundf_ctx): Define macro.
23700         (libc_fesetenvf_ctx): Likewise.
23701         (libc_feupdateenvf_ctx): Likewise.
23702         (libc_feholdsetroundf_ctx): Likewise.
23703         (libc_feresetroundf_ctx): Likewise.
23704         (libc_feholdexcept_setround_ctx): Likewise.
23705         (libc_fesetenv_ctx): Likewise.
23706         (libc_feupdateenv_ctx): Likewise.
23707         (libc_feholdsetround_ctx): Likewise.
23708         (libc_feresetround_ctx): Likewise.
23709         (libc_feholdexcept_setroundl_ctx): Likewise.
23710         (libc_feupdateenvl_ctx): Likewise.
23711         (libc_feholdsetroundl_ctx): Likewise.
23712         (libc_feresetroundl_ctx): Likewise.
23713         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
23714         (libc_feresetround_53bit_ctx): Likewise.
23715
23716 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
23717
23718         * locale/iso-639.def: Convert to UTF-8.
23719
23720 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
23721
23722         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
23723         (EXCEPTION_TESTS_double): Likewise.
23724         (EXCEPTION_TESTS_long_double): Likewise.
23725         (EXCEPTION_TESTS): Likewise.
23726         * math/libm-test.inc (test_exceptions): Only test exceptions if
23727         EXCEPTION_TESTS (FLOAT).
23728
23729 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
23730
23731         * benchtests/Makefile (string-bench): Add strcpy_chk and
23732         stpcpy_chk.
23733         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
23734         * benchtests/bench-stpcpy_chk.c: New file.
23735         * benchtests/bench-strcpy_chk-ifunc.c: New file.
23736         * benchtests/bench-strcpy_chk.c: New file.
23737         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
23738         code.
23739         (do_test): Likewise.
23740
23741 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
23742
23743         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
23744         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
23745         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
23746         with tabs where appropriate.
23747         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
23748         dl-procinfo.h.
23749         [PPC_PLATFORM_PPC440]: Likewise.
23750         [PPC_PLATFORM_PPC464]: Likewise.
23751         [PPC_PLATFORM_PPC476]: Likewise.
23752         (_dl_string_platform): Add support for detecting ppc405, ppc440,
23753         ppc464, and ppc476 platform strings merging from ports/
23754         dl-procinfo.h.
23755
23756 2013-06-11  Andreas Schwab  <schwab@suse.de>
23757
23758         [BZ #14991]
23759         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
23760         (from_ucs4_idx): Regenerate.
23761         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
23762         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
23763         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
23764         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
23765         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
23766         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
23767         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
23768         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
23769         from FROM_LOOP and TO_LOOP specific macros.
23770         (BODY): Handle combining characters.
23771         * iconvdata/BIG5HKSCS.irreversible: Update.
23772         * iconvdata/BIG5HKSCS.precomposed: New file.
23773         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
23774         characters.
23775         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
23776
23777 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
23778
23779         * include/sys/time.h: Fix indentation and add copyright header.
23780
23781         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
23782         (do_test): Likewise.
23783         * string/test-memchr.c (do_one_test): Likewise.
23784         (do_test): Likewise.
23785         * string/test-memcmp.c (do_one_test): Likewise.
23786         (do_test): Likewise.
23787         * string/test-memcpy.c (do_one_test): Likewise.
23788         (do_test): Likewise.
23789         * string/test-memmem.c (do_one_test): Likewise.
23790         (do_test): Likewise.
23791         (do_random_tests): Likewise.
23792         * string/test-memmove.c (do_one_test): Likewise.
23793         (do_test): Likewise.
23794         * string/test-memset.c (do_one_test): Likewise.
23795         (do_test): Likewise.
23796         * string/test-rawmemchr.c (do_one_test): Likewise.
23797         (do_test): Likewise.
23798         * string/test-strcasecmp.c (do_one_test): Likewise.
23799         (do_test): Likewise.
23800         * string/test-strcasestr.c (do_one_test): Likewise.
23801         (do_test): Likewise.
23802         * string/test-strcat.c (do_one_test): Likewise.
23803         (do_test): Likewise.
23804         * string/test-strchr.c (do_one_test): Likewise.
23805         (do_test): Likewise.
23806         * string/test-strcmp.c (do_one_test): Likewise.
23807         (do_test): Likewise.
23808         * string/test-strcpy.c (do_one_test): Likewise.
23809         (do_test): Likewise.
23810         * string/test-string.h: Likewise.
23811         (test_init): Likewise.
23812         * string/test-strlen.c (do_one_test): Likewise.
23813         (do_test): Likewise.
23814         * string/test-strncasecmp.c (do_one_test): Likewise.
23815         (do_test): Likewise.
23816         * string/test-strncat.c (do_one_test): Likewise.
23817         (do_test): Likewise.
23818         * string/test-strncmp.c (do_one_test): Likewise.
23819         (do_test_limit): Likewise.
23820         (do_test): Likewise.
23821         * string/test-strncpy.c (do_one_test): Likewise.
23822         (do_test): Likewise.
23823         * string/test-strnlen.c (do_one_test): Likewise.
23824         (do_test): Likewise.
23825         * string/test-strpbrk.c (do_one_test): Likewise.
23826         (do_test): Likewise.
23827         * string/test-strrchr.c (do_one_test): Likewise.
23828         (do_test): Likewise.
23829         * string/test-strspn.c (do_one_test): Likewise.
23830         (do_test): Likewise.
23831         * string/test-strstr.c (do_one_test): Likewise.
23832         (do_test): Likewise.
23833
23834         * benchtests/Makefile (string-bench): Add string benchmarks.
23835         * benchtests/bench-bcopy-ifunc.c: New file.
23836         * benchtests/bench-bcopy.c: New file.
23837         * benchtests/bench-bzero-ifunc.c: New file.
23838         * benchtests/bench-bzero.c: New file.
23839         * benchtests/bench-memccpy-ifunc.c: New file.
23840         * benchtests/bench-memccpy.c: New file.
23841         * benchtests/bench-memchr-ifunc.c: New file.
23842         * benchtests/bench-memchr.c: New file.
23843         * benchtests/bench-memcmp-ifunc.c: New file.
23844         * benchtests/bench-memcmp.c: New file.
23845         * benchtests/bench-memmem-ifunc.c: New file.
23846         * benchtests/bench-memmem.c: New file.
23847         * benchtests/bench-memmove-ifunc.c: New file.
23848         * benchtests/bench-memmove.c: New file.
23849         * benchtests/bench-mempcpy-ifunc.c: New file.
23850         * benchtests/bench-mempcpy.c: New file.
23851         * benchtests/bench-memset-ifunc.c: New file.
23852         * benchtests/bench-memset.c: New file.
23853         * benchtests/bench-rawmemchr-ifunc.c: New file.
23854         * benchtests/bench-rawmemchr.c: New file.
23855         * benchtests/bench-stpcpy-ifunc.c: New file.
23856         * benchtests/bench-stpcpy.c: New file.
23857         * benchtests/bench-stpncpy-ifunc.c: New file.
23858         * benchtests/bench-stpncpy.c: New file.
23859         * benchtests/bench-strcasecmp-ifunc.c: New file.
23860         * benchtests/bench-strcasecmp.c: New file.
23861         * benchtests/bench-strcasestr-ifunc.c: New file.
23862         * benchtests/bench-strcasestr.c: New file.
23863         * benchtests/bench-strcat-ifunc.c: New file.
23864         * benchtests/bench-strcat.c: New file.
23865         * benchtests/bench-strchr-ifunc.c: New file.
23866         * benchtests/bench-strchr.c: New file.
23867         * benchtests/bench-strchrnul-ifunc.c: New file.
23868         * benchtests/bench-strchrnul.c: New file.
23869         * benchtests/bench-strcmp-ifunc.c: New file.
23870         * benchtests/bench-strcmp.c: New file.
23871         * benchtests/bench-strcpy-ifunc.c: New file.
23872         * benchtests/bench-strcpy.c: New file.
23873         * benchtests/bench-strcspn-ifunc.c: New file.
23874         * benchtests/bench-strcspn.c: New file.
23875         * benchtests/bench-strlen-ifunc.c: New file.
23876         * benchtests/bench-strlen.c: New file.
23877         * benchtests/bench-strncasecmp-ifunc.c: New file.
23878         * benchtests/bench-strncasecmp.c: New file.
23879         * benchtests/bench-strncat-ifunc.c: New file.
23880         * benchtests/bench-strncat.c: New file.
23881         * benchtests/bench-strncmp-ifunc.c: New file.
23882         * benchtests/bench-strncmp.c: New file.
23883         * benchtests/bench-strncpy-ifunc.c: New file.
23884         * benchtests/bench-strncpy.c: New file.
23885         * benchtests/bench-strnlen-ifunc.c: New file.
23886         * benchtests/bench-strnlen.c: New file.
23887         * benchtests/bench-strpbrk-ifunc.c: New file.
23888         * benchtests/bench-strpbrk.c: New file.
23889         * benchtests/bench-strrchr-ifunc.c: New file.
23890         * benchtests/bench-strrchr.c: New file.
23891         * benchtests/bench-strspn-ifunc.c: New file.
23892         * benchtests/bench-strspn.c: New file.
23893         * benchtests/bench-strstr-ifunc.c: New file.
23894         * benchtests/bench-strstr.c: New file.
23895
23896         * benchtests/Makefile: Disable parallel execution of targets.
23897         (string-bench): Add memcpy.
23898         (benchset): New variable to store a list of benchmark sets.
23899         (bench-func): Renamed from bench.
23900         (bench-set): New target.
23901         (bench): Depend on bench-func and bench-set.
23902         * benchtests/README: Add section on benchmark sets.
23903         * benchtests/bench-memcpy-ifunc.c: New file.
23904         * benchtests/bench-memcpy.c: New file.
23905         * benchtests/bench-string.h: New file.
23906
23907 2013-06-11  Andreas Schwab  <schwab@suse.de>
23908
23909         [BZ #15577]
23910         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
23911         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
23912         values in the triple.
23913         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
23914         terminator in the group key.
23915
23916 2013-06-11  Andreas Jaeger  <aj@suse.de>
23917
23918         * po/zh_TW.po: Update Chinese (traditional) translation from
23919         translation project.
23920
23921 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
23922
23923         * include/time.h (__clock_gettime): Add libc_hidden_proto.
23924         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
23925         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
23926         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
23927         (clock_getcpuclockid): Likewise.
23928         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
23929         Add weak_alias and libc_hidden_def.
23930         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
23931         * rt/clock_gettime.c (clock_gettime): Rename to
23932         __clock_gettime.  Add weak_alias and libc_hidden_def.
23933         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
23934         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
23935         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
23936         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
23937         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
23938         Likewise.
23939         * rt/clock_settime.c (clock_settime): Rename to
23940         __clock_settime.  Add weak_alias and libc_hidden_def.
23941         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
23942
23943 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
23944
23945         * mach/err_boot.sub: Remove trailing whitespace.
23946         * mach/err_ipc.sub: Likewise.
23947         * mach/err_mach.sub: Likewise.
23948
23949         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
23950         (ROUNDING_TESTS_double): Likewise.
23951         (ROUNDING_TESTS_long_double): Likewise.
23952         (ROUNDING_TESTS): Likewise.
23953         * math/libm-test.inc: Include <math-tests.h>.
23954         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
23955         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
23956         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
23957         (IF_ROUND_INIT_FE_UPWARD): Likewise.
23958
23959 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
23960
23961         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
23962         of assigning.
23963
23964 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
23965
23966         * sysdeps/gnu/errlist.awk: Do not generate space at end of
23967         otherwise empty TRANS lines.
23968         * sysdeps/gnu/errlist.c: Regenerated.
23969
23970         * catgets/gencat.c (error_print): Use (void) in function
23971         definition.
23972         * crypt/crypt_util.c (__init_des): Likewise.
23973         * crypt/speeds.c (Stop): Likewise.
23974         (main): Likewise.
23975         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
23976         * inet/ruserpass.c (token): Likewise.
23977         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
23978         * intl/localealias.c (extend_alias_table): Likewise.
23979         * intl/plural-exp.c (init_germanic_plural): Likewise.
23980         * libio/fcloseall.c (__fcloseall): Likewise.
23981         * libio/genops.c (_IO_flush_all): Likewise.
23982         (_IO_flush_all_linebuffered): Likewise.
23983         (_IO_cleanup): Likewise.
23984         (_IO_iter_begin): Likewise.
23985         (_IO_iter_end): Likewise.
23986         (_IO_list_lock): Likewise.
23987         (_IO_list_unlock): Likewise.
23988         (_IO_list_resetlock): Likewise.
23989         * libio/getchar.c (getchar): Likewise.
23990         * libio/getchar_u.c (getchar_unlocked): Likewise.
23991         * libio/getwchar.c (getwchar): Likewise.
23992         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
23993         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
23994         * login/getpt.c (__getpt): Likewise.
23995         * login/tst-utmp.c (main): Likewise.
23996         * malloc/hooks.c (__malloc_check_init): Likewise.
23997         * malloc/malloc.c (__malloc_stats): Likewise.
23998         * malloc/mtrace.c (tr_break): Likewise.
23999         (mtrace): Likewise.
24000         (muntrace): Likewise.
24001         * misc/fstab.c (endfsent): Likewise.
24002         * misc/getclktck.c (__getclktck): Likewise.
24003         * misc/getdtsz.c (__getdtablesize): Likewise.
24004         * misc/gethostid.c (gethostid): Likewise.
24005         * misc/getpagesize.c (__getpagesize): Likewise.
24006         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
24007         (__get_nprocs): Likewise.
24008         (__get_phys_pages): Likewise.
24009         (__get_avphys_pages): Likewise.
24010         * misc/getttyent.c (getttyent): Likewise.
24011         (setttyent): Likewise.
24012         (endttyent): Likewise.
24013         * misc/getusershell.c (getusershell): Likewise.
24014         (endusershell): Likewise.
24015         (setusershell): Likewise.
24016         (initshells): Likewise.
24017         * misc/hsearch.c (__hdestroy): Likewise.
24018         * misc/sync.c (sync): Likewise.
24019         * misc/syslog.c (closelog_internal): Likewise.
24020         (closelog): Likewise.
24021         * misc/ttyslot.c (ttyslot): Likewise.
24022         * misc/vhangup.c (vhangup): Likewise.
24023         * posix/fork.c (__fork): Likewise.
24024         * posix/getegid.c (__getegid): Likewise.
24025         * posix/geteuid.c (__geteuid): Likewise.
24026         * posix/getgid.c (__getgid): Likewise.
24027         * posix/getpid.c (__getpid): Likewise.
24028         * posix/getppid.c (__getppid): Likewise.
24029         * posix/getuid.c (__getuid): Likewise.
24030         * posix/pause.c (pause): Likewise.
24031         * posix/setpgrp.c (setpgrp): Likewise.
24032         * posix/setsid.c (__setsid): Likewise.
24033         * posix/test-vfork.c (noop): Likewise.
24034         * resolv/gethnamaddr.c (_endhtent): Likewise.
24035         (_gethtent): Likewise.
24036         (ht_endhostent): Likewise.
24037         (gethostent): Likewise.
24038         (dns_service): Likewise.
24039         * stdlib/drand48.c (drand48): Likewise.
24040         * stdlib/lrand48.c (lrand48): Likewise.
24041         * stdlib/mrand48.c (mrand48): Likewise.
24042         * stdlib/rand.c (rand): Likewise.
24043         * stdlib/random.c (__random): Likewise.
24044         * stdlib/setenv.c (clearenv): Likewise.
24045         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
24046         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
24047         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
24048         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
24049         (__get_nprocs): Likewise.
24050         (__get_phys_pages): Likewise.
24051         (__get_avphys_pages): Likewise.
24052         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
24053         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
24054         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
24055         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
24056         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
24057         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
24058         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
24059         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
24060         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
24061         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
24062         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
24063         * sysdeps/mach/hurd/sync.c (sync): Likewise.
24064         * sysdeps/posix/clock.c (clock): Likewise.
24065         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
24066         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
24067         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
24068         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
24069         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
24070         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
24071         (__get_nprocs_conf): Likewise.
24072         (__get_phys_pages): Likewise.
24073         (__get_avphys_pages): Likewise.
24074         * time/clock.c (clock): Likewise.
24075         * time/tzset.c (__tzname_max): Likewise.
24076
24077 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
24078
24079         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
24080         (__bswap_32): Do not use "register".
24081         * crypt/crypt.c (_ufc_doit_r): Likewise.
24082         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
24083         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
24084         * gmon/gmon.c (__monstartup): Likewise.
24085         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
24086         * hurd/hurdmalloc.c (more_memory): Likewise.
24087         (malloc): Likewise.
24088         (free): Likewise.
24089         (realloc): Likewise.
24090         (malloc_fork_prepare): Likewise.
24091         (malloc_fork_parent): Likewise.
24092         (malloc_fork_child): Likewise.
24093         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
24094         (_svcauth_des): Likewise.
24095         * inet/inet_lnaof.c (inet_lnaof): Likewise.
24096         * inet/inet_net.c (inet_network): Likewise.
24097         * inet/inet_netof.c (inet_netof): Likewise.
24098         * inet/rcmd.c (__validuser2_sa): Likewise.
24099         * io/fts.c (fts_open): Likewise.
24100         (fts_load): Likewise.
24101         (fts_close): Likewise.
24102         (fts_read): Likewise.
24103         (fts_children): Likewise.
24104         (fts_build): Likewise.
24105         (fts_stat): Likewise.
24106         (fts_sort): Likewise.
24107         (fts_alloc): Likewise.
24108         (fts_lfree): Likewise.
24109         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
24110         (_IO_file_xsgetn): Likewise.
24111         (_IO_file_xsgetn_mmap): Likewise.
24112         * libio/iofopncook.c (_IO_cookie_read): Likewise.
24113         (_IO_cookie_write): Likewise.
24114         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
24115         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
24116         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
24117         * malloc/obstack.c (_obstack_begin): Likewise.
24118         (_obstack_begin_1): Likewise.
24119         (_obstack_newchunk): Likewise.
24120         (_obstack_allocated_p): Likewise.
24121         (obstack_free): Likewise.
24122         (_obstack_memory_used): Likewise.
24123         * misc/getttyent.c (getttynam): Likewise.
24124         (getttyent): Likewise.
24125         (skip): Likewise.
24126         (value): Likewise.
24127         * misc/getusershell.c (initshells): Likewise.
24128         * misc/syslog.c (__vsyslog_chk): Likewise.
24129         * misc/ttyslot.c (ttyslot): Likewise.
24130         * nis/nis_hash.c (__nis_hash): Likewise.
24131         * posix/fnmatch_loop.c (FCT): Likewise.
24132         * posix/getconf.c (print_all): Likewise.
24133         (main): Likewise.
24134         * posix/getopt.c (exchange): Likewise.
24135         * posix/glob.c (globfree): Likewise.
24136         (prefix_array): Likewise.
24137         (__glob_pattern_type): Likewise.
24138         * resolv/arpa/nameser.h (NS_GET16): Likewise.
24139         (NS_GET32): Likewise.
24140         (NS_PUT16): Likewise.
24141         (NS_PUT32): Likewise.
24142         * resolv/gethnamaddr.c (getanswer): Likewise.
24143         (gethostbyname2): Likewise.
24144         (gethostbyaddr): Likewise.
24145         (_gethtent): Likewise.
24146         (_gethtbyname2): Likewise.
24147         (_gethtbyaddr): Likewise.
24148         * resolv/ns_print.c (dst_s_get_int16): Likewise.
24149         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
24150         * resolv/res_init.c (__res_vinit): Likewise.
24151         (net_mask): Likewise.
24152         * resolv/res_mkquery.c (outchar): Likewise.
24153         (PRINT): Likewise.
24154         * stdio-common/printf_fp.c (outchar): Likewise.
24155         (PRINT): Likewise.
24156         * stdio-common/printf_fphex.c (outchar): Likewise.
24157         (PRINT): Likewise.
24158         * stdio-common/printf_size.c (outchar): Likewise.
24159         (PRINT): Likewise.
24160         * stdio-common/test_rdwr.c (main): Likewise.
24161         * stdio-common/tfformat.c (matches): Likewise.
24162         * stdio-common/vfprintf.c (outchar): Likewise.
24163         (printf_unknown): Likewise.
24164         (buffered_vfprintf): Likewise.
24165         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
24166         * stdio-common/xbug.c (AppendToBuffer): Likewise.
24167         (ReadFile): Likewise.
24168         * stdlib/qsort.c (SWAP): Likewise.
24169         (_quicksort): Likewise.
24170         * stdlib/setenv.c (__add_to_environ): Likewise.
24171         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
24172         * stdlib/strtol_l.c (__strtol_l): Likewise.
24173         * stdlib/tst-strtod.c (main): Likewise.
24174         * stdlib/tst-strtol.c (main): Likewise.
24175         * stdlib/tst-strtoll.c (main): Likewise.
24176         * string/bits/string2.h (__strcmp_cc): Likewise.
24177         (__strcmp_cg): Likewise.
24178         (__strcspn_c1): Likewise.
24179         (__strcspn_c2): Likewise.
24180         (__strcspn_c3): Likewise.
24181         (__strspn_c1): Likewise.
24182         (__strspn_c2): Likewise.
24183         (__strspn_c3): Likewise.
24184         (__strsep_1c): Likewise.
24185         (__strsep_2c): Likewise.
24186         (__strsep_3c): Likewise.
24187         * string/memccpy.c (__memccpy): Likewise.
24188         * string/stpcpy.c (__stpcpy): Likewise.
24189         * string/strcmp.c (strcmp): Likewise.
24190         * string/strrchr.c (strrchr): Likewise.
24191         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
24192         Likewise.
24193         * sysdeps/mach/hurd/getcwd.c
24194         (_hurd_canonicalize_directory_name_internal): Likewise.
24195         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
24196         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
24197         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
24198         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
24199         Likewise, in both definitions.
24200         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
24201         definitions.
24202         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
24203         64] (__bswap_64): Likewise.
24204         * time/test_time.c (main): Likewise.
24205         * time/tzfile.c (__tzfile_read): Likewise.
24206         (__tzfile_compute): Likewise.
24207         * time/tzset.c (__tzset_parse_tz): Likewise.
24208         (tzset_internal): Likewise.
24209         (compute_change): Likewise.
24210         * wcsmbs/wcscat.c (__wcscat): Likewise.
24211         * wcsmbs/wcschr.c (wcschr): Likewise.
24212         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
24213         * wcsmbs/wcscspn.c (wcscspn): Likewise.
24214         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
24215         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
24216         * wcsmbs/wcsspn.c (wcsspn): Likewise.
24217         * wcsmbs/wcsstr.c (wcsstr): Likewise.
24218         * wcsmbs/wmemchr.c (wmemchr): Likewise.
24219         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
24220         * wcsmbs/wmemset.c (wmemset): Likewise.
24221
24222 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
24223
24224         * scripts/config.guess: Update to version 2013-05-16.
24225         * scripts/config.sub: Update to version 2013-04-24.
24226         * scripts/install-sh: Update to version 2011-11-20.07.
24227         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
24228         * scripts/move-if-change: Update to version 2012-01-06 07:23.
24229
24230 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
24231
24232         * debug/fgetws_u_chk.c: Fix leading whitespaces.
24233         * elf/sln.c: Likewise.
24234         * hurd/hurd/ioctl.h: Likewise.
24235         * hurd/hurdmalloc.c: Likewise.
24236         * hurd/xattr.c: Likewise.
24237         * include/shlib-compat.h: Likewise.
24238         * inet/ruserpass.c: Likewise.
24239         * libio/iofgets_u.c: Likewise.
24240         * libio/iofgetws_u.c: Likewise.
24241         * locale/programs/ld-identification.c: Likewise.
24242         * locale/programs/ld-time.c: Likewise.
24243         * mach/msg-destroy.c: Likewise.
24244         * nss/nss_files/files-netgrp.c: Likewise.
24245         * resolv/res_data.c: Likewise.
24246         * soft-fp/op-1.h: Likewise.
24247         * soft-fp/op-2.h: Likewise.
24248         * soft-fp/op-4.h: Likewise.
24249         * soft-fp/op-common.h: Likewise.
24250         * stdio-common/printf_fphex.c: Likewise.
24251         * stdlib/strtod_l.c: Likewise.
24252         * sunrpc/rpc/clnt.h: Likewise.
24253         * sysdeps/generic/framestate.c: Likewise.
24254         * sysdeps/i386/bsd-_setjmp.S: Likewise.
24255         * sysdeps/i386/bsd-setjmp.S: Likewise.
24256         * sysdeps/i386/__longjmp.S: Likewise.
24257         * sysdeps/i386/setjmp.S: Likewise.
24258         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24259         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24260         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24261         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
24262         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24263         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
24264         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24265         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24266         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24267         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
24268         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
24269         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
24270         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
24271         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
24272         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
24273         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24274         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
24275         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
24276         * sysdeps/ieee754/support.c: Likewise.
24277         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24278         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
24279         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
24280         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
24281         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
24282         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
24283         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
24284         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
24285         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
24286         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
24287         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
24288         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
24289         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
24290         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
24291         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
24292         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
24293         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
24294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
24295
24296 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
24297
24298         * posix/transbug.c: Remove executable mode.
24299
24300 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
24301
24302         * crypt/speeds.c: Remove trailing whitespace.
24303         * dlfcn/default.c: Likewise.
24304         * elf/ifuncdep2.c: Likewise.
24305         * elf/ifuncmain1.c: Likewise.
24306         * elf/ifuncmain1vis.c: Likewise.
24307         * elf/testobj.h: Likewise.
24308         * elf/tst-stackguard1.c: Likewise.
24309         * gmon/sys/gmon.h: Likewise.
24310         * hurd/hurdmsg.c: Likewise.
24311         * hurd/new-fd.c: Likewise.
24312         * hurd/ports-get.c: Likewise.
24313         * iconvdata/ibm1008_420.c: Likewise.
24314         * inet/tst-getni1.c: Likewise.
24315         * inet/tst-getni2.c: Likewise.
24316         * libio/ioungetc.c: Likewise.
24317         * libio/wfiledoalloc.c: Likewise.
24318         * manual/libm-err-tab.pl: Likewise.
24319         * math/w_dremf.c: Likewise.
24320         * misc/ftruncate.c: Likewise.
24321         * posix/bug-glob2.c: Likewise.
24322         * posix/tst-pcre.c: Likewise.
24323         * posix/wait4.c: Likewise.
24324         * resolv/README: Likewise.
24325         * resolv/res_debug.h: Likewise.
24326         * resolv/tst-inet_ntop.c: Likewise.
24327         * setjmp/bug269-setjmp.c: Likewise.
24328         * soft-fp/extended.h: Likewise.
24329         * soft-fp/op-1.h: Likewise.
24330         * soft-fp/op-2.h: Likewise.
24331         * soft-fp/op-4.h: Likewise.
24332         * soft-fp/op-8.h: Likewise.
24333         * soft-fp/testit.c: Likewise.
24334         * stdio-common/bug16.c: Likewise.
24335         * stdlib/random.c: Likewise.
24336         * sunrpc/rpcsvc/rquota.x: Likewise.
24337         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
24338         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24339         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24340         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24341         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24342         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24343         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24344         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24345         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24346         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24347         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24348         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
24349         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24350         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
24351         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24352         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
24353         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
24354         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24355         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
24356         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24357         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24358         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24359         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
24360         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
24361         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
24362         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
24363         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
24364         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
24365         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24366         * sysdeps/ieee754/s_lib_version.c: Likewise.
24367         * sysdeps/mach/hurd/check_fds.c: Likewise.
24368         * sysdeps/mach/hurd/getsockname.c: Likewise.
24369         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
24370         * sysdeps/mach/hurd/recvfrom.c: Likewise.
24371         * sysdeps/powerpc/bits/link.h: Likewise.
24372         * sysdeps/powerpc/dl-procinfo.c: Likewise.
24373         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
24374         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
24375         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
24376         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
24377         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
24378         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
24379         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
24380         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
24381         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
24382         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
24383         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
24384         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
24385         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
24386         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
24387         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
24388         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
24389         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
24390         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
24391         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
24392         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
24393         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
24394         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24395         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
24396         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
24397         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
24398         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
24399         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
24400         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
24401         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
24402         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
24403         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
24404         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24405         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
24406         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
24407         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
24408         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
24409         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
24410         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
24411         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
24412         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
24413         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
24414         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
24415         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
24416         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
24417         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
24418         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
24419         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
24420         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
24421         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
24422         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24423         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24424         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24425         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24426         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
24427         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
24428         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
24429         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24430         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
24431         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
24432         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
24433         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
24434         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
24435         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24436         * sysdeps/powerpc/sysdep.h: Likewise.
24437         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
24438         * sysdeps/s390/s390-64/sub_n.S: Likewise.
24439         * sysdeps/sh/dl-trampoline.S: Likewise.
24440         * sysdeps/sh/memset.S: Likewise.
24441         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
24442         * sysdeps/sh/strlen.S: Likewise.
24443         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
24444         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
24445         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
24446         * sysdeps/sparc/sparc32/rem.S: Likewise.
24447         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
24448         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
24449         * sysdeps/sparc/sparc32/strchr.S: Likewise.
24450         * sysdeps/sparc/sparc32/udiv.S: Likewise.
24451         * sysdeps/sparc/sparc32/urem.S: Likewise.
24452         * sysdeps/sparc/sparc64/add_n.S: Likewise.
24453         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
24454         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
24455         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
24456         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
24457         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
24458         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
24459         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
24460         * sysdeps/unix/bsd/times.c: Likewise.
24461         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
24462         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
24463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
24464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
24465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
24466         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
24467         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
24468         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
24469         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
24470         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
24471         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
24472         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
24473         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
24474         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
24475         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
24476         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
24477         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
24478         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
24479         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
24480         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
24481         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
24482         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
24483         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
24484         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
24485         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
24486         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
24487         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
24488         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24489         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
24490         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
24491         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
24492         * sysdeps/x86_64/strcspn.S: Likewise.
24493
24494 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
24495
24496         * locale/C-translit.h: Revert #include <stdint.h> because this is a
24497         generated file.  Regenerate properly from gen-translit.pl.
24498         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
24499         locale/C-translit.h.
24500
24501 2013-06-05  Andreas Schwab  <schwab@suse.de>
24502
24503         [BZ #15100]
24504         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
24505         week as 6 instead of -1.
24506         * time/tst-strptime.c (day_tests): Add test case.
24507
24508 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
24509
24510         * sysdeps/generic/math_private.h
24511         (libc_feholdexcept_setround_53bit): Replace with
24512         libc_feholdsetround_53bit.
24513         (libc_feupdateenv_53bit): Replace with
24514         libc_feresetround_53bit.
24515         (SET_RESTORE_ROUND_53BIT): Adjust.
24516
24517 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
24518
24519         * string/test-strchrnul.c: Add copyright header.
24520
24521         * posix/tst-getaddrinfo4.c: Increase test timeout.
24522
24523 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
24524
24525         [BZ #15536]
24526         * math/libm-test.inc (MAX_EXP): Remove
24527         (MIN_EXP): Define.
24528         (ulp): Use MIN_EXP - MANT_DIG.
24529         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
24530
24531 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
24532
24533         * po/be.po: Revert last change.
24534         * po/zh_CN.po: Likewise.
24535         * po/header.pot: Likewise.
24536
24537 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
24538
24539         * Makefile ($(common-objpfx)linkobj/libc.so): Define
24540         link-libc-deps to empty as target-specific variable.
24541         * Makerules (link-libc-args): New variable.
24542         (libc-for-link): Likewise.
24543         (link-libc-deps): Likewise.
24544         (lib%.so): Depend on $(link-libc-deps).  Link with
24545         $(link-libc-args).
24546         (build-module): Link with $(link-libc-args).
24547         (build-module-asneeded): Likewise.
24548         (build-module-helper-objlist): Filter out $(link-libc-deps) from
24549         list of objects.
24550         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
24551         target-specific variable.
24552         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
24553         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
24554         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
24555         libc.
24556         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
24557         libc and ld.so.
24558         ($(objpfx)libpcprofile.so): Likewise.
24559         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
24560         libc_nonshared.a.
24561         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
24562         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
24563         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
24564         $(link-libc-deps).
24565         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
24566         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
24567         * login/Makefile ($(objpfx)libutil.so): Likewise.
24568         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
24569         * math/Makefile ($(objpfx)libm.so): Likewise.
24570         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
24571         $(objpfx)libnsl.so): Define libc-for-link as target-specific
24572         variable instead of depending directly on libc.
24573         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
24574         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
24575         $(link-libc-deps).
24576         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
24577         libc.
24578         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
24579         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
24580         ($(objpfx)libanl.so): Likewise.
24581         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
24582         ld.so.
24583         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
24584         $(link-libc-deps).
24585         * sysdeps/i386/fpu/Makefile: Remove file.
24586         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
24587         ($(objpfx)libm.so): Remove dependency on ld.so.
24588
24589 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
24590
24591         [BZ # 15553]
24592         * nis/yp_xdr.c (XDRMAXNAME): Define.
24593         (XDRMAXRECORD): Define.
24594         (xdr_domainname): Use XDRMAXNAME.
24595         (xdr_mapname): Likewise.
24596         (xdr_peername): Likewise.
24597         (xdr_keydat): Use XDRMAXRECORD.
24598         (xdr_valdat): Likewise.
24599
24600 2013-05-30  Jeff Law  <law@redhat.com>
24601
24602         [BZ #14256]
24603         * manual/errno.texi (ESTALE): Update to account for more than
24604         just NFS file systems.
24605         * sysdeps/gnu/errlist.c: Regenerated.
24606
24607 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
24608
24609         [BZ #15465]
24610         * elf/Makefile (tests): Add tst-null-argv.
24611         (modules-names):  Add tst-null-argv-lib.
24612         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
24613         (tst-null-argv-ENV): Set environment for tst-null-argv.
24614         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
24615         (RTLD_PROGNAME): New macro.
24616         * elf/tst-null-argv.c: New test case.
24617         * elf/tst-null-argv-lib.c: Library for test case.
24618         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
24619         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
24620         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
24621         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
24622         * elf/dl-init.c (call_init): Likewise.
24623         (_dl_init): Likewise.
24624         * elf/dl-load.c (print_search_path): Likewise.
24625         (_dl_map_object): Likewise.
24626         * elf/dl-lookup.c (do_lookup_x): Likewise.
24627         (add_dependency): Likewise.
24628         (_dl_lookup_symbol_x): Likewise.
24629         (_dl_debug_bindings): Likewise.
24630         * elf/dl-open.c (_dl_show_scope): Likewise.
24631         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
24632         * elf/dl-version.c (match_symbol): Likewise.
24633         (_dl_check_map_versions): Likewise.
24634         * elf/rtld.c (dl_main): Likewise.
24635         (print_unresolved): Use RTLD_PROGNAME.
24636         (print_missing_version): Likewise.
24637         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
24638         (elf_machine_rela): Likewise.
24639         * sysdeps/powerpc/powerpc32/dl-machine.c
24640         (__process_machine_rela): Likewise.
24641         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
24642         Likewise.
24643         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
24644         Likewise.
24645         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
24646         Likewise.
24647         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
24648         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
24649         Likewise.
24650         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
24651         Likewise.
24652         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
24653
24654 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
24655
24656         * po/be.po: Add descriptive title.
24657         * po/zh_CN.po: Likewise.
24658         * po/header.pot: Likewise.
24659
24660 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
24661
24662         * locale/programs/locarchive.c (create_archive): Inlucde fname in
24663         error message.
24664         (enlarge_archive): Likewise.
24665
24666 2013-05-28  Ben North  <ben@redfrontdoor.org>
24667
24668         * manual/arith.texi (frexp): It is the magnitude of the return
24669         value which lies in [0.5, 1), not the return value itself.
24670
24671 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24672
24673         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24674
24675 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
24676
24677         * stdio-common/bug26.c (main): Correct fscanf template.
24678
24679         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
24680         declare _dl_skip_args.
24681
24682         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
24683         Don't declare.
24684
24685         * manual/platform.texi: Add missing @end deftypefun.
24686
24687 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
24688
24689         [BZ #15529]
24690         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
24691         bit of mantissa of 2^16382.
24692         * math/libm-test.inc (hypot_test_data): Add more tests.
24693
24694         * math/libm-test.inc: Add drem and pow10 to list of tested
24695         functions.
24696         (pow10_test): New function.
24697         (drem_test): Likewise.
24698         (drem_test_tonearest): Likewise.
24699         (drem_test_towardzero): Likewise.
24700         (drem_test_downward): Likewise.
24701         (drem_test_upward): Likewise.
24702         (main): Call the new functions.
24703
24704         * math/libm-test.inc (finite_test_data): Remove.
24705         (finite_test): Run tests from isfinite_test_data.
24706         (gamma_test_data): Remove.
24707         (gamma_test): Run tests from lgamma_test_data.
24708         * sysdeps/i386/fpu/libm-test-ulps: Update.
24709         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24710
24711 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24712
24713         * manual/platform.texi: Add PowerPC PPR function set documentation.
24714         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
24715         implementation.
24716
24717 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
24718
24719         * math/libm-test.inc (MAX_EXP): Define.
24720         (ULPDIFF): Define.
24721         (ulp): New function.
24722         (check_float_internal): Use ULPDIFF.
24723         (cpow_test): Disable failing test.
24724         (check_ulp): Test ulp() implemetnation.
24725         (main): Call check_ulp before starting tests.
24726
24727 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
24728
24729         * math/gen-libm-test.pl (generate_testfile): Do not handle
24730         START_DATA and END_DATA.
24731         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
24732         END_DATA.
24733         (acos_tonearest_test_data): Likewise.
24734         (acos_towardzero_test_data): Likewise.
24735         (acos_downward_test_data): Likewise.
24736         (acos_upward_test_data): Likewise.
24737         (acosh_test_data): Likewise.
24738         (asin_test_data): Likewise.
24739         (asin_tonearest_test_data): Likewise.
24740         (asin_towardzero_test_data): Likewise.
24741         (asin_downward_test_data): Likewise.
24742         (asin_upward_test_data): Likewise.
24743         (asinh_test_data): Likewise.
24744         (atan_test_data): Likewise.
24745         (atanh_test_data): Likewise.
24746         (atan2_test_data): Likewise.
24747         (cabs_test_data): Likewise.
24748         (cacos_test_data): Likewise.
24749         (cacosh_test_data): Likewise.
24750         (carg_test_data): Likewise.
24751         (casin_test_data): Likewise.
24752         (casinh_test_data): Likewise.
24753         (catan_test_data): Likewise.
24754         (catanh_test_data): Likewise.
24755         (cbrt_test_data): Likewise.
24756         (ccos_test_data): Likewise.
24757         (ccosh_test_data): Likewise.
24758         (ceil_test_data): Likewise.
24759         (cexp_test_data): Likewise.
24760         (cimag_test_data): Likewise.
24761         (clog_test_data): Likewise.
24762         (clog10_test_data): Likewise.
24763         (conj_test_data): Likewise.
24764         (copysign_test_data): Likewise.
24765         (cos_test_data): Likewise.
24766         (cos_tonearest_test_data): Likewise.
24767         (cos_towardzero_test_data): Likewise.
24768         (cos_downward_test_data): Likewise.
24769         (cos_upward_test_data): Likewise.
24770         (cosh_test_data): Likewise.
24771         (cosh_tonearest_test_data): Likewise.
24772         (cosh_towardzero_test_data): Likewise.
24773         (cosh_downward_test_data): Likewise.
24774         (cosh_upward_test_data): Likewise.
24775         (cpow_test_data): Likewise.
24776         (cproj_test_data): Likewise.
24777         (creal_test_data): Likewise.
24778         (csin_test_data): Likewise.
24779         (csinh_test_data): Likewise.
24780         (csqrt_test_data): Likewise.
24781         (ctan_test_data): Likewise.
24782         (ctan_tonearest_test_data): Likewise.
24783         (ctan_towardzero_test_data): Likewise.
24784         (ctan_downward_test_data): Likewise.
24785         (ctan_upward_test_data): Likewise.
24786         (ctanh_test_data): Likewise.
24787         (ctanh_tonearest_test_data): Likewise.
24788         (ctanh_towardzero_test_data): Likewise.
24789         (ctanh_downward_test_data): Likewise.
24790         (ctanh_upward_test_data): Likewise.
24791         (erf_test_data): Likewise.
24792         (erfc_test_data): Likewise.
24793         (exp_test_data): Likewise.
24794         (exp_tonearest_test_data): Likewise.
24795         (exp_towardzero_test_data): Likewise.
24796         (exp_downward_test_data): Likewise.
24797         (exp_upward_test_data): Likewise.
24798         (exp10_test_data): Likewise.
24799         (exp2_test_data): Likewise.
24800         (expm1_test_data): Likewise.
24801         (fabs_test_data): Likewise.
24802         (fdim_test_data): Likewise.
24803         (finite_test_data): Likewise.
24804         (floor_test_data): Likewise.
24805         (fma_test_data): Likewise.
24806         (fma_towardzero_test_data): Likewise.
24807         (fma_downward_test_data): Likewise.
24808         (fma_upward_test_data): Likewise.
24809         (fmax_test_data): Likewise.
24810         (fmin_test_data): Likewise.
24811         (fmod_test_data): Likewise.
24812         (fpclassify_test_data): Likewise.
24813         (frexp_test_data): Likewise.
24814         (gamma_test_data): Likewise.
24815         (hypot_test_data): Likewise.
24816         (ilogb_test_data): Likewise.
24817         (isfinite_test_data): Likewise.
24818         (isgreater_test_data): Likewise.
24819         (isgreaterequal_test_data): Likewise.
24820         (isinf_test_data): Likewise.
24821         (isless_test_data): Likewise.
24822         (islessequal_test_data): Likewise.
24823         (islessgreater_test_data): Likewise.
24824         (isnan_test_data): Likewise.
24825         (isnormal_test_data): Likewise.
24826         (issignaling_test_data): Likewise.
24827         (isunordered_test_data): Likewise.
24828         (j0_test_data): Likewise.
24829         (j1_test_data): Likewise.
24830         (jn_test_data): Likewise.
24831         (ldexp_test_data): Likewise.
24832         (lgamma_test_data): Likewise.
24833         (lrint_test_data): Likewise.
24834         (lrint_tonearest_test_data): Likewise.
24835         (lrint_towardzero_test_data): Likewise.
24836         (lrint_downward_test_data): Likewise.
24837         (lrint_upward_test_data): Likewise.
24838         (llrint_test_data): Likewise.
24839         (llrint_tonearest_test_data): Likewise.
24840         (llrint_towardzero_test_data): Likewise.
24841         (llrint_downward_test_data): Likewise.
24842         (llrint_upward_test_data): Likewise.
24843         (log_test_data): Likewise.
24844         (log10_test_data): Likewise.
24845         (log1p_test_data): Likewise.
24846         (log2_test_data): Likewise.
24847         (logb_test_data): Likewise.
24848         (logb_downward_test_data): Likewise.
24849         (lround_test_data): Likewise.
24850         (llround_test_data): Likewise.
24851         (modf_test_data): Likewise.
24852         (nearbyint_test_data): Likewise.
24853         (nextafter_test_data): Likewise.
24854         (nexttoward_test_data): Likewise.
24855         (pow_test_data): Likewise.
24856         (pow_tonearest_test_data): Likewise.
24857         (pow_towardzero_test_data): Likewise.
24858         (pow_downward_test_data): Likewise.
24859         (pow_upward_test_data): Likewise.
24860         (remainder_test_data): Likewise.
24861         (remainder_tonearest_test_data): Likewise.
24862         (remainder_towardzero_test_data): Likewise.
24863         (remainder_downward_test_data): Likewise.
24864         (remainder_upward_test_data): Likewise.
24865         (remquo_test_data): Likewise.
24866         (rint_test_data): Likewise.
24867         (rint_tonearest_test_data): Likewise.
24868         (rint_towardzero_test_data): Likewise.
24869         (rint_downward_test_data): Likewise.
24870         (rint_upward_test_data): Likewise.
24871         (round_test_data): Likewise.
24872         (scalb_test_data): Likewise.
24873         (scalbn_test_data): Likewise.
24874         (scalbln_test_data): Likewise.
24875         (signbit_test_data): Likewise.
24876         (sin_test_data): Likewise.
24877         (sin_tonearest_test_data): Likewise.
24878         (sin_towardzero_test_data): Likewise.
24879         (sin_downward_test_data): Likewise.
24880         (sin_upward_test_data): Likewise.
24881         (sincos_test_data): Likewise.
24882         (sinh_test_data): Likewise.
24883         (sinh_tonearest_test_data): Likewise.
24884         (sinh_towardzero_test_data): Likewise.
24885         (sinh_downward_test_data): Likewise.
24886         (sinh_upward_test_data): Likewise.
24887         (sqrt_test_data): Likewise.
24888         (tan_test_data): Likewise.
24889         (tan_tonearest_test_data): Likewise.
24890         (tan_towardzero_test_data): Likewise.
24891         (tan_downward_test_data): Likewise.
24892         (tan_upward_test_data): Likewise.
24893         (tanh_test_data): Likewise.
24894         (tgamma_test_data): Likewise.
24895         (trunc_test_data): Likewise.
24896         (y0_test_data): Likewise.
24897         (y1_test_data): Likewise.
24898         (yn_test_data): Likewise.
24899         (significand_test_data): Likewise.
24900
24901         * math/gen-libm-test.pl (@functions): Remove variable.
24902         (generate_testfile): Don't handle START and END lines.
24903         * math/libm-test.inc (START): New macro.
24904         (END): Likewise.
24905         (END_COMPLEX): Likewise.
24906         (acos_test): Use END macro without arguments.
24907         (acos_test_tonearest): Likewise.
24908         (acos_test_towardzero): Likewise.
24909         (acos_test_downward): Likewise.
24910         (acos_test_upward): Likewise.
24911         (acosh_test): Likewise.
24912         (asin_test): Likewise.
24913         (asin_test_tonearest): Likewise.
24914         (asin_test_towardzero): Likewise.
24915         (asin_test_downward): Likewise.
24916         (asin_test_upward): Likewise.
24917         (asinh_test): Likewise.
24918         (atan_test): Likewise.
24919         (atanh_test): Likewise.
24920         (atan2_test): Likewise.
24921         (cabs_test): Likewise.
24922         (cacos_test): Use END_COMPLEX macro without arguments.
24923         (cacosh_test): Likewise.
24924         (carg_test): Use END macro without arguments.
24925         (casin_test): Use END_COMPLEX macro without arguments.
24926         (casinh_test): Likewise.
24927         (catan_test): Likewise.
24928         (catanh_test): Likewise.
24929         (cbrt_test): Use END macro without arguments.
24930         (ccos_test): Use END_COMPLEX macro without arguments.
24931         (ccosh_test): Likewise.
24932         (ceil_test): Use END macro without arguments.
24933         (cexp_test): Use END_COMPLEX macro without arguments.
24934         (cimag_test): Use END macro without arguments.
24935         (clog_test): Use END_COMPLEX macro without arguments.
24936         (clog10_test): Likewise.
24937         (conj_test): Likewise.
24938         (copysign_test): Use END macro without arguments.
24939         (cos_test): Likewise.
24940         (cos_test_tonearest): Likewise.
24941         (cos_test_towardzero): Likewise.
24942         (cos_test_downward): Likewise.
24943         (cos_test_upward): Likewise.
24944         (cosh_test): Likewise.
24945         (cosh_test_tonearest): Likewise.
24946         (cosh_test_towardzero): Likewise.
24947         (cosh_test_downward): Likewise.
24948         (cosh_test_upward): Likewise.
24949         (cpow_test): Use END_COMPLEX macro without arguments.
24950         (cproj_test): Likewise.
24951         (creal_test): Use END macro without arguments.
24952         (csin_test): Use END_COMPLEX macro without arguments.
24953         (csinh_test): Likewise.
24954         (csqrt_test): Likewise.
24955         (ctan_test): Likewise.
24956         (ctan_test_tonearest): Likewise.
24957         (ctan_test_towardzero): Likewise.
24958         (ctan_test_downward): Likewise.
24959         (ctan_test_upward): Likewise.
24960         (ctanh_test): Likewise.
24961         (ctanh_test_tonearest): Likewise.
24962         (ctanh_test_towardzero): Likewise.
24963         (ctanh_test_downward): Likewise.
24964         (ctanh_test_upward): Likewise.
24965         (erf_test): Use END macro without arguments.
24966         (erfc_test): Likewise.
24967         (exp_test): Likewise.
24968         (exp_test_tonearest): Likewise.
24969         (exp_test_towardzero): Likewise.
24970         (exp_test_downward): Likewise.
24971         (exp_test_upward): Likewise.
24972         (exp10_test): Likewise.
24973         (exp2_test): Likewise.
24974         (expm1_test): Likewise.
24975         (fabs_test): Likewise.
24976         (fdim_test): Likewise.
24977         (finite_test): Likewise.
24978         (floor_test): Likewise.
24979         (fma_test): Likewise.
24980         (fma_test_towardzero): Likewise.
24981         (fma_test_downward): Likewise.
24982         (fma_test_upward): Likewise.
24983         (fmax_test): Likewise.
24984         (fmin_test): Likewise.
24985         (fmod_test): Likewise.
24986         (fpclassify_test): Likewise.
24987         (frexp_test): Likewise.
24988         (gamma_test): Likewise.
24989         (hypot_test): Likewise.
24990         (ilogb_test): Likewise.
24991         (isfinite_test): Likewise.
24992         (isgreater_test): Likewise.
24993         (isgreaterequal_test): Likewise.
24994         (isinf_test): Likewise.
24995         (isless_test): Likewise.
24996         (islessequal_test): Likewise.
24997         (islessgreater_test): Likewise.
24998         (isnan_test): Likewise.
24999         (isnormal_test): Likewise.
25000         (issignaling_test): Likewise.
25001         (isunordered_test): Likewise.
25002         (j0_test): Likewise.
25003         (j1_test): Likewise.
25004         (jn_test): Likewise.
25005         (ldexp_test): Likewise.
25006         (lgamma_test): Likewise.
25007         (lrint_test): Likewise.
25008         (lrint_test_tonearest): Likewise.
25009         (lrint_test_towardzero): Likewise.
25010         (lrint_test_downward): Likewise.
25011         (lrint_test_upward): Likewise.
25012         (llrint_test): Likewise.
25013         (llrint_test_tonearest): Likewise.
25014         (llrint_test_towardzero): Likewise.
25015         (llrint_test_downward): Likewise.
25016         (llrint_test_upward): Likewise.
25017         (log_test): Likewise.
25018         (log10_test): Likewise.
25019         (log1p_test): Likewise.
25020         (log2_test): Likewise.
25021         (logb_test): Likewise.
25022         (logb_test_downward): Likewise.
25023         (lround_test): Likewise.
25024         (llround_test): Likewise.
25025         (modf_test): Likewise.
25026         (nearbyint_test): Likewise.
25027         (nextafter_test): Likewise.
25028         (nexttoward_test): Likewise.
25029         (pow_test): Likewise.
25030         (pow_test_tonearest): Likewise.
25031         (pow_test_towardzero): Likewise.
25032         (pow_test_downward): Likewise.
25033         (pow_test_upward): Likewise.
25034         (remainder_test): Likewise.
25035         (remainder_test_tonearest): Likewise.
25036         (remainder_test_towardzero): Likewise.
25037         (remainder_test_downward): Likewise.
25038         (remainder_test_upward): Likewise.
25039         (remquo_test): Likewise.
25040         (rint_test): Likewise.
25041         (rint_test_tonearest): Likewise.
25042         (rint_test_towardzero): Likewise.
25043         (rint_test_downward): Likewise.
25044         (rint_test_upward): Likewise.
25045         (round_test): Likewise.
25046         (scalb_test): Likewise.
25047         (scalbn_test): Likewise.
25048         (scalbln_test): Likewise.
25049         (signbit_test): Likewise.
25050         (sin_test): Likewise.
25051         (sin_test_tonearest): Likewise.
25052         (sin_test_towardzero): Likewise.
25053         (sin_test_downward): Likewise.
25054         (sin_test_upward): Likewise.
25055         (sincos_test): Likewise.
25056         (sinh_test): Likewise.
25057         (sinh_test_tonearest): Likewise.
25058         (sinh_test_towardzero): Likewise.
25059         (sinh_test_downward): Likewise.
25060         (sinh_test_upward): Likewise.
25061         (sqrt_test): Likewise.
25062         (tan_test): Likewise.
25063         (tan_test_tonearest): Likewise.
25064         (tan_test_towardzero): Likewise.
25065         (tan_test_downward): Likewise.
25066         (tan_test_upward): Likewise.
25067         (tanh_test): Likewise.
25068         (tgamma_test): Likewise.
25069         (trunc_test): Likewise.
25070         (y0_test): Likewise.
25071         (y1_test): Likewise.
25072         (yn_test): Likewise.
25073         (significand_test): Likewise.
25074
25075 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
25076
25077         [BZ #15381]
25078         * libio/genops.c (_IO_no_init): Initialize wide struct info.
25079
25080 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
25081
25082         [BZ #14894]
25083         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
25084         __ppc_mdoio and __ppc_mdoom.
25085         * manual/platform.texi: Document new functions __ppc_yield,
25086         __ppc_mdoio and __ppc_mdoom.
25087
25088 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
25089
25090         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
25091         (main): Mention "tls" pseudo-hwcap is legacy.
25092         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
25093
25094 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
25095
25096         * math/gen-libm-test.pl (parse_args): Output only string of
25097         arguments as text for test name, not full call or descriptions of
25098         tests for extra outputs.
25099         (generate_testfile): Do not pass function name to parse_args.
25100         Generate this_func variable from START.
25101         * math/libm-test.inc (struct test_f_f_data): Rename test_name
25102         field to arg_str.
25103         (struct test_ff_f_data): Likewise.
25104         (test_ff_f_data_nexttoward): Likewise.
25105         (struct test_fi_f_data): Likewise.
25106         (struct test_fl_f_data): Likewise.
25107         (struct test_if_f_data): Likewise.
25108         (struct test_fff_f_data): Likewise.
25109         (struct test_c_f_data): Likewise.
25110         (struct test_f_f1_data): Likewise.  Remove field extra_name.
25111         (struct test_fF_f1_data): Likewise.
25112         (struct test_ffI_f1_data): Likewise.
25113         (struct test_c_c_data): Rename test_name field to arg_str.
25114         (struct test_cc_c_data): Likewise.
25115         (struct test_f_i_data): Likewise.
25116         (struct test_ff_i_data): Likewise.
25117         (struct test_f_l_data): Likewise.
25118         (struct test_f_L_data): Likewise.
25119         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
25120         and extra2_name.
25121         (COMMON_TEST_SETUP): New macro.
25122         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
25123         (COMMON_TEST_CLEANUP): Likewise.
25124         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
25125         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
25126         macros.
25127         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
25128         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
25129         macros.
25130         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
25131         (RUN_TEST_fff_f): Take argument string.  Call new setup and
25132         cleanup macros.
25133         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
25134         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
25135         macros.
25136         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
25137         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
25138         macros.
25139         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
25140         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
25141         cleanup macros.
25142         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
25143         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
25144         cleanup macros.
25145         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
25146         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
25147         cleanup macros.
25148         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
25149         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
25150         macros.
25151         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
25152         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
25153         macros.
25154         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
25155         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
25156         macros.
25157         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
25158         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
25159         cleanup macros.
25160         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
25161         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
25162         cleanup macros.
25163         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
25164         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
25165         macros.
25166         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
25167         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
25168         cleanup macros.
25169         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
25170         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
25171         macros.
25172         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
25173         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
25174         macros.
25175         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
25176         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
25177         cleanup macros.
25178         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
25179
25180 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
25181
25182         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
25183         to _sifields.sigfault.
25184         (si_addr_lsb): Define new macro.
25185         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
25186         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
25187         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
25188
25189 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
25190
25191         [BZ #15441]
25192         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
25193         returns -1.
25194         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
25195         null return -1.
25196         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
25197         loading the domain.
25198
25199 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
25200
25201         * math/gen-libm-test.pl (parse_args): Do not include expected
25202         result in test name.
25203         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
25204         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25205         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
25206         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
25207         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
25208         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25209
25210 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
25211
25212         * benchtests/Makefile: Sort function entries.
25213
25214         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
25215         tanh, asinh, acosh, atanh.
25216         * benchtests/acos-inputs: New file.
25217         * benchtests/acosh-inputs: New file.
25218         * benchtests/asin-inputs: New file.
25219         * benchtests/asinh-inputs: New file.
25220         * benchtests/atanh-inputs: New file.
25221         * benchtests/cosh-inputs: New file.
25222         * benchtests/log-inputs: New file.
25223         * benchtests/sinh-inputs: New file.
25224         * benchtests/tanh-inputs: New file.
25225
25226 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
25227
25228         [BZ #15339]
25229         * posix/tst-getaddrinfo4.c: New test.
25230         * posix/Makefile (tests): Add it.
25231
25232 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
25233
25234         [BZ #15339]
25235         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
25236         when no services were used.
25237         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
25238         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
25239
25240 2013-05-21  Andreas Schwab  <schwab@suse.de>
25241
25242         [BZ #15014]
25243         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
25244         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
25245         successful.
25246         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
25247         redundant variable declarations and reallocation of buffer when
25248         parsing as IPv6 address.  Always set NSS status when called from
25249         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
25250         buffer too small.  Correct computation of needed size.
25251         * nss/Makefile (tests): Add test-digits-dots.
25252         * nss/test-digits-dots.c: New test.
25253
25254 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
25255
25256         * benchtests/Makefile: Remove instructions for adding
25257         benchmark tests.
25258         * benchtests/README: New file to explain how to execute and
25259         enhance the benchmark tests.
25260
25261 2013-05-21  Andreas Schwab  <schwab@suse.de>
25262
25263         [BZ #15493]
25264         * setjmp/Makefile (tests): Add tst-sigsetjmp.
25265         * setjmp/tst-sigsetjmp.c: New test.
25266
25267 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
25268
25269         * sysdeps/x86_64/memset.S (memset): New implementation.
25270         (__bzero): Likewise.
25271         (__memset_tail): New function.
25272
25273 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
25274
25275         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
25276         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
25277         __memcpy_sse2_unaligned ifunc selection.
25278         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
25279         Add memcpy-sse2-unaligned.S.
25280         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25281         Add: __memcpy_sse2_unaligned.
25282
25283 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
25284
25285         [BZ #15490]
25286         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
25287         math_force_eval before restoring floating-point envrionment.
25288         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
25289         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
25290         Likewise.
25291         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
25292         <math_private.h>.
25293         (__nearbyintl): Use math_force_eval before restoring
25294         floating-point environment.
25295         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
25296
25297         * math/gen-libm-test.pl (special_functions): Remove.
25298         (parse_args): Don't handle TEST_extra.  Handle functions with no
25299         return value.
25300         * math/libm-test.inc (struct test_sincos_data): Replace with
25301         struct test_fFF_11_data.
25302         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
25303         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
25304         (sincos_test_data): Change element type to struct
25305         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
25306         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
25307         RUN_TEST_LOOP_sincos.
25308         * math/README.libm-test: Don't mention special handling of
25309         individual functions.
25310         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
25311         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25312         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
25313         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
25314         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
25315         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25316
25317         * math/gen-libm-test.pl (get_variable): Remove function.
25318         (parse_args): Don't show pointer parameters to call in test
25319         names.  Use "extra output N" in test names for extra outputs
25320         rather than naming variables.
25321
25322 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
25323
25324         [BZ #15488]
25325         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
25326         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
25327         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
25328         double tests.
25329         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
25330         disable.
25331         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
25332         check_long_double.
25333
25334         * math/gen-libm-test.pl (@tests): Remove variable.
25335         ($count): Likewise.
25336         (new_test): Remove function.
25337         (show_exceptions): New function.
25338         (special_functions): Use show_exceptions instead of new_test.
25339         (parse_args): Likewise.
25340         (generate_testfile): Pass only function name in generated call to
25341         print_max_error or print_complex_max_error.
25342         (get_ulps): Do not handle complex tests specially.
25343         (output_test): Rename to ...
25344         (get_all_ulps_for_test): ... this.  Return a string rather than
25345         printing to a file.  Require ulps to be present.
25346         (output_ulps): Generate arrays rather than #defines.
25347         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
25348         (struct ulp_data): New type.
25349         (BUILD_COMPLEX_ULP): Remove macro.
25350         (compare_ulp_data): New function.
25351         (find_ulps): Likewise.
25352         (find_test_ulps): Likewise.
25353         (find_function_ulps): Likewise.
25354         (find_complex_function_ulps): Likewise.
25355         (print_max_error): Determine allowed ulps using
25356         find_function_ulps.
25357         (print_complex_max_error): Determine allowed ulps using
25358         find_complex_function_ulps.
25359         (check_float_internal): Determine max ulps using find_test_ulps.
25360         (check_float): Do not take max_ulp parameter.  Update call to
25361         check_float_internal.
25362         (check_complex): Likewise.
25363         (check_int): Do not take max_ulp parameter.
25364         (check_long): Likewise.
25365         (check_bool): Likewise.
25366         (check_longlong): Likewise.
25367         (struct test_f_f_data): Remove max_ulp field.
25368         (struct test_ff_f_data): Likewise.
25369         (struct test_ff_f_data_nexttoward): Likewise.
25370         (struct test_fi_f_data): Likewise.
25371         (struct test_fl_f_data): Likewise.
25372         (struct test_if_f_data): Likewise.
25373         (struct test_fff_f_data): Likewise.
25374         (struct test_c_f_data): Likewise.
25375         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
25376         (struct test_fF_f1_data): Likewise.
25377         (struct test_ffI_f1_data): Likewise.
25378         (struct test_c_c_data): Remove max_ulp field.
25379         (struct test_cc_c_data): Likewise.
25380         (struct test_f_i_data): Likewise.
25381         (struct test_ff_i_data): Likewise.
25382         (struct test_f_l_data): Likewise.
25383         (struct test_f_L_data): Likewise.
25384         (struct test_sincos_data): Likewise.
25385         (RUN_TEST_f_f): Do not handle ulps.
25386         (RUN_TEST_LOOP_f_f): Likewise.
25387         (RUN_TEST_2_f): Likewise.
25388         (RUN_TEST_LOOP_2_f): Likewise.
25389         (RUN_TEST_fff_f): Likewise.
25390         (RUN_TEST_LOOP_fff_f): Likewise.
25391         (RUN_TEST_c_f): Likewise.
25392         (RUN_TEST_LOOP_c_f): Likewise.
25393         (RUN_TEST_f_f1): Likewise.
25394         (RUN_TEST_LOOP_f_f1): Likewise.
25395         (RUN_TEST_fF_f1): Likewise.
25396         (RUN_TEST_LOOP_fF_f1): Likewise.
25397         (RUN_TEST_fI_f1): Likewise.
25398         (RUN_TEST_LOOP_fI_f1): Likewise.
25399         (RUN_TEST_ffI_f1): Likewise.
25400         (RUN_TEST_LOOP_ffI_f1): Likewise.
25401         (RUN_TEST_c_c): Likewise.
25402         (RUN_TEST_LOOP_c_c): Likewise.
25403         (RUN_TEST_cc_c): Likewise.
25404         (RUN_TEST_LOOP_cc_c): Likewise.
25405         (RUN_TEST_f_i): Likewise.
25406         (RUN_TEST_LOOP_f_i): Likewise.
25407         (RUN_TEST_f_i_tg): Likewise.
25408         (RUN_TEST_LOOP_f_i_tg): Likewise.
25409         (RUN_TEST_ff_i_tg): Likewise.
25410         (RUN_TEST_LOOP_ff_i_tg): Likewise.
25411         (RUN_TEST_f_b): Likewise.
25412         (RUN_TEST_LOOP_f_b): Likewise.
25413         (RUN_TEST_f_b_tg): Likewise.
25414         (RUN_TEST_LOOP_f_b_tg): Likewise.
25415         (RUN_TEST_f_l): Likewise.
25416         (RUN_TEST_LOOP_f_l): Likewise.
25417         (RUN_TEST_f_L): Likewise.
25418         (RUN_TEST_LOOP_f_L): Likewise.
25419         (RUN_TEST_sincos): Likewise.
25420         (RUN_TEST_LOOP_sincos): Likewise.
25421
25422 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
25423
25424         [BZ #15480]
25425         [BZ #15485]
25426         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
25427         main case of finite arguments, set rounding mode to FE_TONEAREST
25428         and discard exceptions.
25429         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
25430         exceptions.
25431         (remainder_tonearest_test_data): New variable.
25432         (remainder_test_tonearest): New function.
25433         (remainder_towardzero_test_data): New variable.
25434         (remainder_test_towardzero): New function.
25435         (remainder_downward_test_data): New variable.
25436         (remainder_test_downward): New function.
25437         (remainder_upward_test_data): New variable.
25438         (remainder_test_upward): New function.
25439         (main): Call the new test functions.
25440
25441         * math/libm-test.inc (struct test_f_f1_data): Remove field
25442         extra_init.
25443         (struct test_fF_f1_data): Likewise.
25444         (struct test_ffI_f1_data): Likewise.
25445         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
25446         based on value of EXTRA_EXPECTED.
25447         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
25448         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
25449         EXTRA_VAR based on value of EXTRA_EXPECTED.
25450         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
25451         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
25452         EXTRA_VAR based on value of EXTRA_EXPECTED.
25453         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
25454         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
25455         EXTRA_VAR based on value of EXTRA_EXPECTED.
25456         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
25457         * math/gen-libm-test.pl (parse_args): Don't output initializers
25458         for extra output values.
25459
25460         * math/libm-test.inc (check_int): Expect result to be exactly
25461         equal to expected value and do not handle ulps.
25462         (check_long): Likewise.
25463         (check_longlong): Likewise.
25464
25465         * math/libm-test.inc (ceil_test_data): Test for "inexact"
25466         exceptions.
25467         (cimag_test_data): Likewise.
25468         (conj_test_data): Likewise.
25469         (copysign_test_data): Likewise.
25470         (cproj_test_data): Likewise.
25471         (creal_test_data): Likewise.
25472         (fabs_test_data): Likewise.
25473         (fdim_test_data): Likewise.
25474         (finite_test_data): Likewise.
25475         (floor_test_data): Likewise.
25476         (fmax_test_data): Likewise.
25477         (fmin_test_data): Likewise.
25478         (fmod_test_data): Likewise.
25479         (fpclassify_test_data): Likewise.
25480         (frexp_test_data): Likewise.
25481         (ilogb_test_data): Likewise.
25482         (isfinite_test_data): Likewise.
25483         (isgreater_test_data): Likewise.
25484         (isgreaterequal_test_data): Likewise.
25485         (isinf_test_data): Likewise.
25486         (isless_test_data): Likewise.
25487         (islessequal_test_data): Likewise.
25488         (islessgreater_test_data): Likewise.
25489         (isnan_test_data): Likewise.
25490         (isnormal_test_data): Likewise.
25491         (issignaling_test_data): Likewise.
25492         (isunordered_test_data): Likewise.
25493         (ldexp_test_data): Likewise.
25494         (lrint_test_data): Likewise.
25495         (lrint_test_data) [TEST_FLOAT]: Disable one test.
25496         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
25497         (lrint_tonearest_test_data): Test for "inexact" exceptions.
25498         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
25499         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
25500         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
25501         test input.
25502         (lrint_towardzero_test_data): Test for "inexact" exceptions.
25503         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
25504         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
25505         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
25506         that test input.
25507         (lrint_downward_test_data): Test for "inexact" exceptions.
25508         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
25509         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
25510         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
25511         test input.
25512         (lrint_upward_test_data): Test for "inexact" exceptions.
25513         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
25514         test input.
25515         (llrint_test_data): Test for "inexact" exceptions.
25516         (llrint_test_data) [TEST_FLOAT]: Disable one test.
25517         (llrint_tonearest_test_data): Test for "inexact" exceptions.
25518         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
25519         (llrint_towardzero_test_data): Test for "inexact" exceptions.
25520         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
25521         (llrint_downward_test_data): Test for "inexact" exceptions.
25522         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
25523         (llrint_upward_test_data): Test for "inexact" exceptions.
25524         (logb_test_data): Likewise.
25525         (logb_downward_test_data): Likewise.
25526         (nextafter_test_data): Likewise.
25527         (nexttoward_test_data): Likewise.
25528         (remainder_test_data): Likewise.
25529         (remquo_test_data): Likewise.
25530         (scalbn_test_data): Likewise.
25531         (scalbln_test_data): Likewise.
25532         (signbit_test_data): Likewise.
25533         (sqrt_test_data): Likewise.
25534         (significand_test_data): Likewise.
25535
25536 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
25537
25538         [BZ #15424]
25539         * benchtests/bench-modf.c (struct args): Mark arg0 as
25540         volatile.
25541         * scripts/bench.pl: Mark members of struct args as volatile.
25542
25543 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25544
25545         [BZ # 15497]
25546         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
25547         negative infinity on POWER6 or lower.
25548         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
25549
25550 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
25551
25552         [BZ #15442]
25553         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
25554         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
25555         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
25556         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
25557         (_FP_SETQNAN): New macro.
25558         (_FP_SETQNAN_SEMIRAW): Likewise.
25559         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
25560         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
25561         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
25562         (FP_EXTEND): Use _FP_FRAC_SNANP.
25563         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
25564         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
25565         into account.
25566         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
25567         New macro.
25568         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
25569         Likewise.
25570
25571 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
25572
25573         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
25574         with DIVIDE_BY_ZERO_EXCEPTION.
25575         (gamma_test_data): Likewise.
25576         (lgamma_test_data): Likewise.
25577         (log_test_data): Likewise.
25578         (log10_test_data): Likewise.
25579         (log2_test_data): Likewise.
25580         (tgamma_test_data): Likewise.
25581
25582         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
25583         (acos_test_tonearest): Likewise.
25584         (acos_test_towardzero): Likewise.
25585         (acos_test_downward): Likewise.
25586         (acos_test_upward): Likewise.
25587         (acosh_test): Likewise.
25588         (asin_test): Likewise.
25589         (asin_test_tonearest): Likewise.
25590         (asin_test_towardzero): Likewise.
25591         (asin_test_downward): Likewise.
25592         (asin_test_upward): Likewise.
25593         (asinh_test): Likewise.
25594         (atan_test): Likewise.
25595         (atanh_test): Likewise.
25596         (atan2_test): Likewise.
25597         (cabs_test): Likewise.
25598         (cacos_test): Likewise.
25599         (cacosh_test): Likewise.
25600         (casin_test): Likewise.
25601         (casinh_test): Likewise.
25602         (catan_test): Likewise.
25603         (catanh_test): Likewise.
25604         (cbrt_test): Likewise.
25605         (ccos_test): Likewise.
25606         (ccosh_test): Likewise.
25607         (cexp_test): Likewise.
25608         (clog_test): Likewise.
25609         (clog10_test): Likewise.
25610         (cos_test): Likewise.
25611         (cos_test_tonearest): Likewise.
25612         (cos_test_towardzero): Likewise.
25613         (cos_test_downward): Likewise.
25614         (cos_test_upward): Likewise.
25615         (cosh_test): Likewise.
25616         (cosh_test_tonearest): Likewise.
25617         (cosh_test_towardzero): Likewise.
25618         (cosh_test_downward): Likewise.
25619         (cosh_test_upward): Likewise.
25620         (cpow_test): Likewise.
25621         (csin_test): Likewise.
25622         (csinh_test): Likewise.
25623         (csqrt_test): Likewise.
25624         (ctan_test): Likewise.
25625         (ctan_test_tonearest): Likewise.
25626         (ctan_test_towardzero): Likewise.
25627         (ctan_test_downward): Likewise.
25628         (ctan_test_upward): Likewise.
25629         (ctanh_test): Likewise.
25630         (ctanh_test_tonearest): Likewise.
25631         (ctanh_test_towardzero): Likewise.
25632         (ctanh_test_downward): Likewise.
25633         (ctanh_test_upward): Likewise.
25634         (erf_test): Likewise.
25635         (erfc_test): Likewise.
25636         (exp_test): Likewise.
25637         (exp_test_tonearest): Likewise.
25638         (exp_test_towardzero): Likewise.
25639         (exp_test_downward): Likewise.
25640         (exp_test_upward): Likewise.
25641         (exp10_test): Likewise.
25642         (exp2_test): Likewise.
25643         (expm1_test): Likewise.
25644         (fmod_test): Likewise.
25645         (gamma_test): Likewise.
25646         (hypot_test): Likewise.
25647         (j0_test): Likewise.
25648         (j1_test): Likewise.
25649         (jn_test): Likewise.
25650         (lgamma_test): Likewise.
25651         (log_test): Likewise.
25652         (log10_test): Likewise.
25653         (log1p_test): Likewise.
25654         (log2_test): Likewise.
25655         (logb_test_downward): Likewise.
25656         (pow_test): Likewise.
25657         (pow_test_tonearest): Likewise.
25658         (pow_test_towardzero): Likewise.
25659         (pow_test_downward): Likewise.
25660         (pow_test_upward): Likewise.
25661         (remainder_test): Likewise.
25662         (remquo_test): Likewise.
25663         (sin_test): Likewise.
25664         (sin_test_tonearest): Likewise.
25665         (sin_test_towardzero): Likewise.
25666         (sin_test_downward): Likewise.
25667         (sin_test_upward): Likewise.
25668         (sincos_test): Likewise.
25669         (sinh_test): Likewise.
25670         (sinh_test_tonearest): Likewise.
25671         (sinh_test_towardzero): Likewise.
25672         (sinh_test_downward): Likewise.
25673         (sinh_test_upward): Likewise.
25674         (sqrt_test): Likewise.
25675         (tan_test): Likewise.
25676         (tan_test_tonearest): Likewise.
25677         (tan_test_towardzero): Likewise.
25678         (tan_test_downward): Likewise.
25679         (tan_test_upward): Likewise.
25680         (tanh_test): Likewise.
25681         (tgamma_test): Likewise.
25682         (y0_test): Likewise.
25683         (y1_test): Likewise.
25684         (yn_test): Likewise.
25685
25686         * math/gen-libm-test.pl (adjust_arg): Remove function.
25687         (special_function): Remove argument $in_func.  Only handle
25688         generating output for tables of tests, not inside functions.
25689         (parse_args): Likewise.
25690         (generate_testfile): Remove variable $in_func.  Update call to
25691         parse_args.
25692         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
25693         (MINUS_ZERO_INIT): Rename macro to minus_zero.
25694         (PLUS_INFTY_INIT): Rename macro to plus_infty.
25695         (MINUS_INFTY_INIT): Rename macro to minus_infty.
25696         (QNAN_VALUE_INIT): Rename macro to qnan_value.
25697         (MAX_VALUE_INIT): Rename macro to max_value.
25698         (MIN_VALUE_INIT): Rename macro to min_value.
25699         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
25700         (plus_zero): Remove variable.
25701         (minus_zero): Likewise.
25702         (plus_infty): Likewise.
25703         (minus_infty): Likewise.
25704         (qnan_value): Likewise.
25705         (max_value): Likewise.
25706         (min_value): Likewise.
25707         (min_subnorm_value): Likewise.
25708
25709 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
25710
25711         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
25712         uint64_t or uint32_t usage.
25713         * crypt/sha256-block.c: Likewise.
25714         * crypt/sha256-crypt.c: Likewise.
25715         * crypt/sha256.c: Likewise.
25716         * crypt/sha512-block.c: Likewise.
25717         * crypt/sha512-crypt.c: Likewise.
25718         * crypt/sha512.c: Likewise.
25719         * debug/backtrace-tst.c: Likewise.
25720         * debug/pcprofiledump.c: Likewise.
25721         * elf/cache.c: Likewise.
25722         * elf/dl-cache.c: Likewise.
25723         * elf/dl-misc.c: Likewise.
25724         * elf/dl-profile.c: Likewise.
25725         * elf/dl-support.c: Likewise.
25726         * elf/ldconfig.c: Likewise.
25727         * elf/sprof.c: Likewise.
25728         * iconv/dummy-repertoire.c: Likewise.
25729         * iconv/iconv_charmap.c: Likewise.
25730         * iconv/skeleton.c: Likewise.
25731         * iconvdata/8bit-generic.c: Likewise.
25732         * iconvdata/cp737.h: Likewise.
25733         * iconvdata/cp775.h: Likewise.
25734         * iconvdata/ibm1008.h: Likewise.
25735         * iconvdata/ibm1025.h: Likewise.
25736         * iconvdata/ibm1046.h: Likewise.
25737         * iconvdata/ibm1097.h: Likewise.
25738         * iconvdata/ibm1112.h: Likewise.
25739         * iconvdata/ibm1122.h: Likewise.
25740         * iconvdata/ibm1123.h: Likewise.
25741         * iconvdata/ibm1124.h: Likewise.
25742         * iconvdata/ibm1129.h: Likewise.
25743         * iconvdata/ibm1130.h: Likewise.
25744         * iconvdata/ibm1132.h: Likewise.
25745         * iconvdata/ibm1133.h: Likewise.
25746         * iconvdata/ibm1137.h: Likewise.
25747         * iconvdata/ibm1140.h: Likewise.
25748         * iconvdata/ibm1141.h: Likewise.
25749         * iconvdata/ibm1142.h: Likewise.
25750         * iconvdata/ibm1143.h: Likewise.
25751         * iconvdata/ibm1144.h: Likewise.
25752         * iconvdata/ibm1145.h: Likewise.
25753         * iconvdata/ibm1146.h: Likewise.
25754         * iconvdata/ibm1147.h: Likewise.
25755         * iconvdata/ibm1148.h: Likewise.
25756         * iconvdata/ibm1149.h: Likewise.
25757         * iconvdata/ibm1153.h: Likewise.
25758         * iconvdata/ibm1154.h: Likewise.
25759         * iconvdata/ibm1155.h: Likewise.
25760         * iconvdata/ibm1156.h: Likewise.
25761         * iconvdata/ibm1157.h: Likewise.
25762         * iconvdata/ibm1158.h: Likewise.
25763         * iconvdata/ibm1160.h: Likewise.
25764         * iconvdata/ibm1161.h: Likewise.
25765         * iconvdata/ibm1162.h: Likewise.
25766         * iconvdata/ibm1163.h: Likewise.
25767         * iconvdata/ibm1164.h: Likewise.
25768         * iconvdata/ibm1166.h: Likewise.
25769         * iconvdata/ibm1167.h: Likewise.
25770         * iconvdata/ibm12712.h: Likewise.
25771         * iconvdata/ibm1390.h: Likewise.
25772         * iconvdata/ibm1399.h: Likewise.
25773         * iconvdata/ibm16804.h: Likewise.
25774         * iconvdata/ibm4517.h: Likewise.
25775         * iconvdata/ibm4899.h: Likewise.
25776         * iconvdata/ibm4909.h: Likewise.
25777         * iconvdata/ibm4971.h: Likewise.
25778         * iconvdata/ibm5347.h: Likewise.
25779         * iconvdata/ibm803.h: Likewise.
25780         * iconvdata/ibm856.h: Likewise.
25781         * iconvdata/ibm901.h: Likewise.
25782         * iconvdata/ibm902.h: Likewise.
25783         * iconvdata/ibm9030.h: Likewise.
25784         * iconvdata/ibm9066.h: Likewise.
25785         * iconvdata/ibm921.h: Likewise.
25786         * iconvdata/ibm922.h: Likewise.
25787         * iconvdata/ibm9448.h: Likewise.
25788         * iconvdata/isiri-3342.h: Likewise.
25789         * iconvdata/jis0201.h: Likewise.
25790         * include/link.h: Likewise.
25791         * include/netdb.h: Likewise.
25792         * inet/check_native.c: Likewise.
25793         * inet/check_pf.c: Likewise.
25794         * inet/getipv4sourcefilter.c: Likewise.
25795         * inet/getnameinfo.c: Likewise.
25796         * inet/getsourcefilter.c: Likewise.
25797         * inet/htonl.c: Likewise.
25798         * inet/setipv4sourcefilter.c: Likewise.
25799         * inet/setsourcefilter.c: Likewise.
25800         * inet/test-inet6_opt.c: Likewise.
25801         * inet/tst-network.c: Likewise.
25802         * locale/C-collate.c: Likewise.
25803         * locale/C-ctype.c: Likewise.
25804         * locale/C-time.c: Likewise.
25805         * locale/C-translit.h: Likewise.
25806         * locale/loadarchive.c: Likewise.
25807         * locale/programs/3level.h: Likewise.
25808         * locale/programs/charmap.c: Likewise.
25809         * locale/programs/charmap.h: Likewise.
25810         * locale/programs/ld-address.c: Likewise.
25811         * locale/programs/ld-collate.c: Likewise.
25812         * locale/programs/ld-ctype.c: Likewise.
25813         * locale/programs/ld-identification.c: Likewise.
25814         * locale/programs/ld-measurement.c: Likewise.
25815         * locale/programs/ld-messages.c: Likewise.
25816         * locale/programs/ld-monetary.c: Likewise.
25817         * locale/programs/ld-name.c: Likewise.
25818         * locale/programs/ld-numeric.c: Likewise.
25819         * locale/programs/ld-paper.c: Likewise.
25820         * locale/programs/ld-telephone.c: Likewise.
25821         * locale/programs/ld-time.c: Likewise.
25822         * locale/programs/linereader.c: Likewise.
25823         * locale/programs/locale.c: Likewise.
25824         * locale/programs/locarchive.c: Likewise.
25825         * locale/programs/locfile.h: Likewise.
25826         * locale/programs/repertoire.c: Likewise.
25827         * locale/programs/simple-hash.c: Likewise.
25828         * locale/programs/simple-hash.h: Likewise.
25829         * malloc/memusage.c: Likewise.
25830         * malloc/memusagestat.c: Likewise.
25831         * nis/nis_defaults.c: Likewise.
25832         * nis/nis_hash.c: Likewise.
25833         * nis/nis_print.c: Likewise.
25834         * nis/nis_xdr.c: Likewise.
25835         * nscd/connections.c: Likewise.
25836         * nscd/hstcache.c: Likewise.
25837         * nscd/nscd_gethst_r.c: Likewise.
25838         * nscd/nscd_getserv_r.c: Likewise.
25839         * nscd/nscd_helper.c: Likewise.
25840         * nscd/servicescache.c: Likewise.
25841         * nss/makedb.c: Likewise.
25842         * nss/nss_db/db-XXX.c: Likewise.
25843         * nss/nss_db/db-initgroups.c: Likewise.
25844         * nss/nss_db/db-netgrp.c: Likewise.
25845         * nss/nss_files/files-network.c: Likewise.
25846         * nss/nss_files/files-parse.c: Likewise.
25847         * posix/bug-regex5.c: Likewise.
25848         * posix/fnmatch_loop.c: Likewise.
25849         * posix/regcomp.c: Likewise.
25850         * posix/regexec.c: Likewise.
25851         * posix/tst-rfc3484-2.c: Likewise.
25852         * posix/tst-rfc3484-3.c: Likewise.
25853         * posix/tst-rfc3484.c: Likewise.
25854         * resolv/nss_dns/dns-canon.c: Likewise.
25855         * resolv/nss_dns/dns-network.c: Likewise.
25856         * resolv/res_init.c: Likewise.
25857         * resolv/res_mkquery.c: Likewise.
25858         * resolv/tst-aton.c: Likewise.
25859         * stdlib/cxa_atexit.c: Likewise.
25860         * stdlib/cxa_finalize.c: Likewise.
25861         * stdlib/gen-fpioconst.c: Likewise.
25862         * stdlib/strtol_l.c: Likewise.
25863         * string/tst-endian.c: Likewise.
25864         * sunrpc/auth_des.c: Likewise.
25865         * sunrpc/clnt_udp.c: Likewise.
25866         * sunrpc/rtime.c: Likewise.
25867         * sunrpc/svcauth_des.c: Likewise.
25868         * sunrpc/xdr.c: Likewise.
25869         * sunrpc/xdr_intXX_t.c: Likewise.
25870         * sunrpc/xdr_rec.c: Likewise.
25871         * sysdeps/generic/ldconfig.h: Likewise.
25872         * sysdeps/generic/ldsodefs.h: Likewise.
25873         * sysdeps/generic/memusage.h: Likewise.
25874         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
25875         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
25876         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
25877         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
25878         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25879         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25880         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
25881         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
25882         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
25883         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
25884         * sysdeps/posix/getaddrinfo.c: Likewise.
25885         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
25886         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
25887         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
25888         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
25889         * sysdeps/powerpc/test-gettimebase.c: Likewise.
25890         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
25891         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
25892         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
25893         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
25894         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
25895         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
25896         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
25897         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
25898         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
25899         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
25900         * sysdeps/x86_64/dl-tls.h: Likewise.
25901         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
25902         * time/alt_digit.c: Likewise.
25903         * time/era.c: Likewise.
25904         * wcsmbs/tst-c16c32-1.c: Likewise.
25905
25906 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
25907
25908         * math/libm-test.inc (struct test_sincos_data): New type.
25909         (RUN_TEST_LOOP_sincos): New macro.
25910         (sincos_test_data): New variable.
25911         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
25912
25913 2013-05-16  Richard Henderson  <rth@redhat.com>
25914
25915         * math/atest-exp2.c (LIMB64): New macro.
25916         (CONSTSZ): New macro.
25917         (mp_exp1, mp_exp_m1, mp_log2): New variables.
25918         (hexdig): Move ...
25919         (print_mpn_fp): ... to function scope.
25920         (read_mpn_hex): Remove.
25921         (get_log2): Remove.
25922         (exp2_mpn): Use mp_log2.
25923         (main): Use mp_exp1.
25924
25925 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
25926
25927         * math/libm-test.inc: Remove comment about not testing "inexact"
25928         exceptions.
25929         (INEXACT_EXCEPTION): New macro.
25930         (NO_INEXACT_EXCEPTION): Likewise.
25931         (INVALID_EXCEPTION_OK): Update value.
25932         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
25933         (OVERFLOW_EXCEPTION_OK): Likewise.
25934         (UNDERFLOW_EXCEPTION_OK): Likewise.
25935         (IGNORE_ZERO_INF_SIGN): Likewise.
25936         (ERRNO_UNCHANGED): Likewise.
25937         (ERRNO_EDOM): Likewise.
25938         (ERRNO_ERANGE): Likewise.
25939         (test_exceptions): Handle testing "inexact" exceptions.
25940         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
25941         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
25942         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
25943         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
25944         INEXACT_EXCEPTION.
25945         (rint_towardzero_test_data): Likewise.
25946         (rint_downward_test_data): Likewise.
25947         (rint_upward_test_data): Likewise.
25948
25949         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
25950         with OVERFLOW_EXCEPTION.
25951         (exp10_test_data): Likewise.
25952         (exp2_test_data): Likewise.
25953         (expm1_test_data): Likewise.
25954         (lgamma_test_data): Likewise.
25955         (pow_test_data): Likewise.
25956         (tgamma_test_data): Likewise.
25957         (yn_test_data): Remove duplicate test of overflow.
25958
25959         * math/libm-test.inc (struct test_cc_c_data): New type.
25960         (RUN_TEST_LOOP_cc_c): New macro.
25961         (cpow_test_data): New variable.
25962         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
25963
25964         * math/libm-test.inc (struct test_f_L_data): New type.
25965         (RUN_TEST_LOOP_f_L): New macro.
25966         (llrint_test_data): New variable.
25967         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
25968         (llrint_tonearest_test_data): New variable.
25969         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
25970         (llrint_towardzero_test_data): New variable.
25971         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
25972         (llrint_downward_test_data): New variable.
25973         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
25974         (llrint_upward_test_data): New variable.
25975         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
25976         (llround_test_data): New variable.
25977         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
25978
25979 2013-05-13  Peter Collingbourne  <pcc@google.com>
25980
25981         * math/atest-exp2.c (get_log2): Remove const attribute.
25982
25983 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
25984
25985         * math/libm-test.inc (struct test_f_l_data): New type.
25986         (RUN_TEST_LOOP_f_l): New macro.
25987         (lrint_test_data): New variable.
25988         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
25989         (lrint_tonearest_test_data): New variable.
25990         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
25991         (lrint_towardzero_test_data): New variable.
25992         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
25993         (lrint_downward_test_data): New variable.
25994         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
25995         (lrint_upward_test_data): New variable.
25996         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
25997         (lround_test_data): New variable.
25998         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
25999
26000 2013-05-15  Peter Collingbourne  <pcc@google.com>
26001
26002         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
26003         (EXTRACT_WORDS64) Use where appropriate.
26004         (INSERT_WORDS64) Likewise.
26005
26006         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
26007         constraints with x constraints.
26008         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
26009
26010         * malloc/obstack.c (_obstack_compat): Add initializer.
26011
26012 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
26013
26014         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
26015         si_trapno and add si_addr_lsb to _sifields.sigfault.
26016         (si_trapno): Remove macro.
26017         (si_addr_lsb): Define new macro.
26018         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
26019
26020 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
26021
26022         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
26023         instead of TEST_f_l.
26024         (llrint_test_tonearest): Likewise.
26025         (llrint_test_towardzero): Likewise.
26026         (llrint_test_downward): Likewise.
26027         (llrint_test_upward): Likewise.
26028         (llround_test): Likewise.
26029
26030         * math/libm-test.inc (struct test_f_i_data): Add comment.
26031         (RUN_TEST_LOOP_f_b): New macro.
26032         (RUN_TEST_LOOP_f_b_tg): Likewise.
26033         (finite_test_data): New variable.
26034         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
26035         (isfinite_test_data): New variable.
26036         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26037         (isinf_test_data): New variable.
26038         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26039         (isnan_test_data): New variable.
26040         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26041         (isnormal_test_data): New variable.
26042         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26043         (issignaling_test_data): New variable.
26044         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26045         (signbit_test_data): New variable.
26046         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26047
26048         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
26049         with INVALID_EXCEPTION.
26050         (acosh_test_data): Likewise.
26051         (asin_test_data): Likewise.
26052         (atanh_test_data): Likewise.
26053         (fmod_test_data): Likewise.
26054         (log_test_data): Likewise.
26055         (log10_test_data): Likewise.
26056         (log2_test_data): Likewise.
26057         (pow_test_data): Likewise.
26058         (sqrt_test_data): Likewise.
26059         (y0_test_data): Likewise.
26060         (y1_test_data): Likewise.
26061         (yn_test_data): Likewise.
26062
26063         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
26064         function contents.
26065
26066         * math/libm-test.inc (struct test_ff_i_data): New type.
26067         (RUN_TEST_LOOP_ff_i_tg): New macro.
26068         (isgreater_test_data): New variable.
26069         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26070         (isgreaterequal_test_data): New variable.
26071         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26072         (isless_test_data): New variable.
26073         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26074         (islessequal_test_data): New variable.
26075         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26076         (islessgreater_test_data): New variable.
26077         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26078         (isunordered_test_data): New variable.
26079         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26080
26081 2013-05-14  David S. Miller  <davem@davemloft.net>
26082
26083         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26084
26085 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
26086
26087         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
26088
26089         * math/libm-test.inc (struct test_fF_f1_data): Change type of
26090         extra_test to int.
26091         (struct test_f_i_data): Change type of max_ulp to int.
26092
26093         * math/libm-test.inc (test_ffI_f1_data): New type.
26094         (RUN_TEST_LOOP_ffI_f1): New macro.
26095         (remquo_test_data): New variable.
26096         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
26097
26098         * setjmp/tst-setjmp-fp.c: New file.
26099         * setjmp/Makefile (tests): Add tst-setjmp-fp.
26100         (link-libm): New variable.
26101         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
26102
26103         * math/libm-test.inc (struct test_f_i_data): New type.
26104         (RUN_TEST_LOOP_f_i): New macro.
26105         (RUN_TEST_LOOP_f_i_tg): Likewise.
26106         (fpclassify_test_data): New variable.
26107         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
26108         (ilogb_test_data): New variable.
26109         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
26110
26111         * math/libm-test.inc (scalbln_test): Correct function name in END
26112         call.
26113
26114         * math/libm-test.inc (struct test_f_f1_data): Add comment.
26115         (RUN_TEST_LOOP_fI_f1): New macro.
26116         (frexp_test_data): New variable.
26117         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
26118
26119         * math/libm-test.inc (struct test_fF_f1_data): New type.
26120         (RUN_TEST_LOOP_fF_f1): New macro.
26121         (modf_test_data): New variable.
26122         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
26123
26124         * math/libm-test.inc (struct test_f_f1_data): New type.
26125         (RUN_TEST_LOOP_f_f1): New macro.
26126         (gamma_test_data): New variable.
26127         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
26128         (lgamma_test_data): New variable.
26129         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
26130
26131 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
26132
26133         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
26134         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
26135         (main): Comment "tls" pseudo-hwcap.
26136
26137 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
26138
26139         * math/libm-test.inc (struct test_fl_f_data): New type.
26140         (RUN_TEST_LOOP_fl_f): New variable.
26141         (scalbln_test_data): New variable.
26142         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
26143
26144         * math/libm-test.inc (struct test_fi_f_data): New type.
26145         (RUN_TEST_LOOP_fi_f): New macro.
26146         (ldexp_test_data): New variable.
26147         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
26148         (scalbn_test_data): New variable.
26149         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
26150
26151         * math/libm-test.inc (struct test_c_f_data): New type.
26152         (RUN_TEST_LOOP_c_f): New macro.
26153         (cabs_test_data): New variable.
26154         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
26155         (carg_test_data): New variable.
26156         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
26157         (cimag_test_data): New variable.
26158         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
26159         (creal_test_data): New variable.
26160         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
26161
26162         * math/libm-test.inc (struct test_if_f_data): New type.
26163         (RUN_TEST_LOOP_if_f): New macro.
26164         (jn_test_data): New variable.
26165         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
26166         (yn_test_data): New variable.
26167         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
26168
26169         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
26170
26171 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26172
26173         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
26174         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
26175
26176 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
26177
26178         * benchtests/Makefile (CPPFLAGS-nonlib): Add
26179         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
26180         (bench-deps): Add bench-timing.h.
26181         * benchtests-bench-skeleton.c: Include bench-timing.h.
26182         (main): Use TIMING_* macros instead of clock_gettime.
26183         * benchtests/bench-timing.h: New file.
26184
26185         [BZ #14582]
26186         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
26187         Renamed from _LIB_VERSION.
26188         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
26189
26190 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
26191
26192         * math/libm-test.inc (struct test_fff_f_data): New type.
26193         (RUN_TEST_LOOP_fff_f): New macro.
26194         (fma_test_data): New variable.
26195         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
26196         (fma_towardzero_test_data): New variable.
26197         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
26198         (fma_downward_test_data): New variable.
26199         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
26200         (fma_upward_test_data): New variable.
26201         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
26202
26203         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
26204         (struct test_c_c_data): New type.
26205         (RUN_TEST_LOOP_c_c): New macro.
26206         (cacos_test_data): New variable.
26207         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
26208         (cacosh_test_data): New variable.
26209         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
26210         (casin_test_data): New variable.
26211         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
26212         (casinh_test_data): New variable.
26213         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
26214         (catan_test_data): New variable.
26215         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
26216         (catanh_test_data): New variable.
26217         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
26218         (ccos_test_data): New variable.
26219         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
26220         (ccosh_test_data): New variable.
26221         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
26222         (cexp_test_data): New variable.
26223         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
26224         (clog_test_data): New variable.
26225         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
26226         (clog10_test_data): New variable.
26227         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
26228         (conj_test_data): New variable.
26229         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
26230         (cproj_test_data): New variable.
26231         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
26232         (csin_test_data): New variable.
26233         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
26234         (csinh_test_data): New variable.
26235         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
26236         (csqrt_test_data): New variable.
26237         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
26238         (ctan_test_data): New variable.
26239         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
26240         (ctan_tonearest_test_data): New variable.
26241         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
26242         (ctan_towardzero_test_data): New variable.
26243         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
26244         (ctan_downward_test_data): New variable.
26245         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
26246         (ctan_upward_test_data): New variable.
26247         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
26248         (ctanh_test_data): New variable.
26249         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
26250         (ctanh_tonearest_test_data): New variable.
26251         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
26252         (ctanh_towardzero_test_data): New variable.
26253         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
26254         (ctanh_downward_test_data): New variable.
26255         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
26256         (ctanh_upward_test_data): New variable.
26257         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
26258         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
26259         of BUILD_COMPLEX.
26260
26261         * math/libm-test.inc (struct test_ff_f_data): New type.
26262         (struct test_ff_f_data_nexttoward): Likewise.
26263         (RUN_TEST_LOOP_2_f): New macro.
26264         (RUN_TEST_LOOP_ff_f): Likewise.
26265         (atan2_test_data): New variable.
26266         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
26267         (copysign_test_data): New variable.
26268         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
26269         (fdim_test_data): New variable.
26270         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
26271         (fmax_test_data): New variable.
26272         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
26273         (fmin_test_data): New variable.
26274         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
26275         (fmod_test_data): New variable.
26276         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
26277         (hypot_test_data): New variable.
26278         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
26279         (nextafter_test_data): New variable.
26280         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
26281         (nexttoward_test_data): New variable.
26282         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
26283         (pow_test_data): New variable.
26284         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
26285         (pow_tonearest_test_data): New variable.
26286         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
26287         (pow_towardzero_test_data): New variable.
26288         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
26289         (pow_downward_test_data): New variable.
26290         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
26291         (pow_upward_test_data): New variable.
26292         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
26293         (remainder_test_data): New variable.
26294         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
26295         (scalb_test_data): New variable.
26296         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
26297         * sysdeps/i386/fpu/libm-test-ulps: Update.
26298
26299 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
26300
26301         * math/libm-test.inc (fma_test): Use max_value instead of local
26302         variable fltmax.
26303         (nextafter_test): Likewise.
26304
26305         * math/libm-test.inc (acos_towardzero_test_data): New variable.
26306         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26307         (acos_downward_test_data): New variable.
26308         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26309         (acos_upward_test_data): New variable.
26310         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26311         (acosh_test_data): New variable.
26312         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
26313         (asin_test_data): New variable.
26314         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
26315         (asin_tonearest_test_data): New variable.
26316         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26317         (asin_towardzero_test_data): New variable.
26318         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26319         (asin_downward_test_data): New variable.
26320         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26321         (asin_upward_test_data): New variable.
26322         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26323         (asinh_test_data): New variable.
26324         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
26325         (atan_test_data): New variable.
26326         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
26327         (atanh_test_data): New variable.
26328         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
26329         (cbrt_test_data): New variable.
26330         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
26331         (ceil_test_data): New variable.
26332         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
26333         (cos_test_data): New variable.
26334         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
26335         (cos_tonearest_test_data): New variable.
26336         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26337         (cos_towardzero_test_data): New variable.
26338         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26339         (cos_downward_test_data): New variable.
26340         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26341         (cos_upward_test_data): New variable.
26342         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26343         (cosh_test_data): New variable.
26344         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
26345         (cosh_tonearest_test_data): New variable.
26346         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26347         (cosh_towardzero_test_data): New variable.
26348         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26349         (cosh_downward_test_data): New variable.
26350         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26351         (cosh_upward_test_data): New variable.
26352         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26353         (erf_test_data): New variable.
26354         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
26355         (erfc_test_data): New variable.
26356         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
26357         (exp_test_data): New variable.
26358         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
26359         (exp_tonearest_test_data): New variable.
26360         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26361         (exp_towardzero_test_data): New variable.
26362         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26363         (exp_downward_test_data): New variable.
26364         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26365         (exp_upward_test_data): New variable.
26366         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26367         (exp10_test_data): New variable.
26368         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
26369         (exp2_test_data): New variable.
26370         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
26371         (expm1_test_data): New variable.
26372         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
26373         (fabs_test_data): New variable.
26374         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
26375         (floor_test_data): New variable.
26376         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
26377         (j0_test_data): New variable.
26378         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
26379         (j1_test_data): New variable.
26380         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
26381         (log_test_data): New variable.
26382         (log_test): Run tests with RUN_TEST_LOOP_f_f.
26383         (log10_test_data): New variable.
26384         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
26385         (log1p_test_data): New variable.
26386         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
26387         (log2_test_data): New variable.
26388         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
26389         (logb_test_data): New variable.
26390         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
26391         (logb_downward_test_data): New variable.
26392         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26393         (nearbyint_test_data): New variable.
26394         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
26395         (rint_test_data): New variable.
26396         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
26397         (rint_tonearest_test_data): New variable.
26398         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26399         (rint_towardzero_test_data): New variable.
26400         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26401         (rint_downward_test_data): New variable.
26402         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26403         (rint_upward_test_data): New variable.
26404         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26405         (round_test_data): New variable.
26406         (round_test): Run tests with RUN_TEST_LOOP_f_f.
26407         (sin_test_data): New variable.
26408         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
26409         (sin_tonearest_test_data): New variable.
26410         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26411         (sin_towardzero_test_data): New variable.
26412         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26413         (sin_downward_test_data): New variable.
26414         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26415         (sin_upward_test_data): New variable.
26416         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26417         (sinh_test_data): New variable.
26418         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
26419         (sinh_tonearest_test_data): New variable.
26420         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26421         (sinh_towardzero_test_data): New variable.
26422         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26423         (sinh_downward_test_data): New variable.
26424         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26425         (sinh_upward_test_data): New variable.
26426         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26427         (sqrt_test_data): New variable.
26428         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
26429         (tan_test_data): New variable.
26430         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
26431         (tan_tonearest_test_data): New variable.
26432         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26433         (tan_towardzero_test_data): New variable.
26434         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26435         (tan_downward_test_data): New variable.
26436         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26437         (tan_upward_test_data): New variable.
26438         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26439         (tanh_test_data): New variable.
26440         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
26441         (tgamma_test_data): New variable.
26442         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
26443         (trunc_test_data): New variable.
26444         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
26445         (y0_test_data): New variable.
26446         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
26447         (y1_test_data): New variable.
26448         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
26449         (significand_test_data): New variable.
26450         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
26451
26452 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
26453
26454         [BZ #12387]
26455         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
26456
26457 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
26458
26459         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
26460
26461 2013-05-10  Andreas Jaeger  <aj@suse.de>
26462
26463         [BZ #15448]
26464         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
26465         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
26466
26467 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
26468
26469         * math/gen-libm-test.pl (adjust_arg): New function.
26470         (special_functions): Handle generating output in both functions
26471         and arrays.
26472         (parse_args): Likewise.
26473         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
26474         $in_func argument to parse_args.
26475         * math/libm-test.inc (struct test_f_f_data): New type.
26476         (IF_ROUND_INIT_): New macro.
26477         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
26478         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
26479         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
26480         (IF_ROUND_INIT_FE_UPWARD): Likewise.
26481         (ROUND_RESTORE_): Likewise.
26482         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
26483         (ROUND_RESTORE_FE_TONEAREST): Likewise.
26484         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
26485         (ROUND_RESTORE_FE_UPWARD): Likewise.
26486         (RUN_TEST_LOOP_f_f): New macro.
26487         (acos_test_data): New variable.
26488         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
26489         (acos_tonearest_test_data): New variable.
26490         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26491
26492 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26493
26494         * benchtests/bench-skeleton.c (startup): Fix coding style.
26495
26496 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
26497
26498         [BZ #6809]
26499         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
26500         negative infinity argument.
26501         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
26502         negative infinity argument.
26503         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
26504         negative infinity argument.
26505         * math/libm-test.inc (tgamma_test): Expect errno to be set for
26506         domain errors.
26507
26508 2013-05-10  Florian Weimer  <fweimer@redhat.com>
26509
26510         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
26511         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
26512         * iconv/iconv_prog.c (main): Likewise.
26513         * locale/programs/charmap-dir.c (charmap_readdir)
26514         (fopen_uncompressed): Likewise.
26515         * locale/programs/locfile.c (siblings_uncached)
26516         (write_locale_data): Use lstat64 instead of lstat.
26517         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
26518         stat.
26519
26520 2013-05-10  Andreas Jaeger  <aj@suse.de>
26521
26522         [BZ #15395]
26523         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
26524         localization.
26525         Include <locale.h>.
26526
26527 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
26528
26529         * elf/dl-close.c (_dl_close_worker): Add comments.
26530
26531 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
26532
26533         [BZ #15359]
26534         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
26535         high part of pi/2.
26536         (__ieee754_rem_pio2l): Update comments.
26537
26538         [BZ #15429]
26539         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
26540         high part of pi/2.
26541         (__ieee754_rem_pio2l): Update comments.
26542
26543         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
26544         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
26545
26546         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
26547         M_PI_4l.
26548
26549         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
26550         (M_PI_34_LOG10El): Likewise.
26551         (M_PI2_LOG10El): Likewise.
26552         (M_PI4_LOG10El): Likewise.
26553         (M_PI_LOG10El): Likewise.
26554
26555 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26556
26557         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26558
26559 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
26560
26561         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
26562         (MINUS_ZERO_INIT): Likewise.
26563         (PLUS_INFTY_INIT): Likewise.
26564         (MINUS_INFTY_INIT): Likewise.
26565         (QNAN_VALUE_INIT): Likewise.
26566         (MAX_VALUE_INIT): Likewise.
26567         (MIN_VALUE_INIT): Likewise.
26568         (MIN_SUBNORM_VALUE_INIT): Likewise.
26569         (plus_zero): Initialize with PLUS_ZERO_INIT.
26570         (minus_zero): Initialize with MINUS_ZERO_INIT.
26571         (plus_infty): Initialize with PLUS_INFTY_INIT.
26572         (minus_infty): Initialize with MINUS_INFTY_INIT.
26573         (qnan_value): Initialize with QNAN_VALUE_INIT.
26574         (max_value): Initialize with MAX_VALUE_INIT.
26575         (min_value): Initialize with MIN_VALUE_INIT.
26576         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
26577
26578         * math/libm-test.inc (RUN_TEST_if_f): New macro.
26579         (jn_test): Use TEST_if_f instead of TEST_ff_f.
26580         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
26581         (yn_test): Use TEST_if_f instead of TEST_ff_f.
26582
26583         * math/libm-test.inc (RUN_TEST_f_f): New macro.
26584         (RUN_TEST_2_f): Likewise.
26585         (RUN_TEST_ff_f): Likewise.
26586         (RUN_TEST_fi_f): Likewise.
26587         (RUN_TEST_fl_f): Likewise.
26588         (RUN_TEST_fff_f): Likewise.
26589         (RUN_TEST_c_f): Likewise.
26590         (RUN_TEST_f_f1): Likewise.
26591         (RUN_TEST_fF_f1): Likewise.
26592         (RUN_TEST_fI_f1): Likewise.
26593         (RUN_TEST_ffI_f1): Likewise.
26594         (RUN_TEST_c_c): Likewise.
26595         (RUN_TEST_cc_c): Likewise.
26596         (RUN_TEST_f_i): Likewise.
26597         (RUN_TEST_f_i_tg): Likewise.
26598         (RUN_TEST_ff_i_tg): Likewise.
26599         (RUN_TEST_f_b): Likewise.
26600         (RUN_TEST_f_b_tg): Likewise.
26601         (RUN_TEST_f_l): Likewise.
26602         (RUN_TEST_f_L): Likewise.
26603         (RUN_TEST_sincos): Likewise.
26604         * math/gen-libm-test.pl (new_test): Take new argument to indicate
26605         whether to show exceptions.  Do not include ");\n" in return
26606         value.
26607         (special_functions): Output call to RUN_TEST_sincos instead of
26608         check_float calls.  Update calls to new_test.
26609         (parse_args): Output call to single RUN_TEST_* macro instead of
26610         check_* calls and other assignments.  Update calls to new_test.
26611
26612         [BZ #2546]
26613         [BZ #2560]
26614         [BZ #5159]
26615         [BZ #15426]
26616         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
26617         input to result for tgamma overflow.
26618         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
26619         (gamma_coeff): New variable.
26620         (NCOEFF): New macro.
26621         (gamma_positive): New function.
26622         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
26623         underflow here.  Use gamma_positive instead of exp (lgamma) for
26624         other arguments.
26625         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
26626         (gamma_coeff): New variable.
26627         (NCOEFF): New macro.
26628         (gammaf_positive): New function.
26629         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
26630         underflow here.  Use gamma_positive instead of exp (lgamma) for
26631         other arguments.
26632         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
26633         (gamma_coeff): New variable.
26634         (NCOEFF): New macro.
26635         (gammal_positive): New function.
26636         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
26637         underflow here.  Use gamma_positive instead of exp (lgamma) for
26638         other arguments.
26639         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
26640         (gamma_coeff): New variable.
26641         (NCOEFF): New macro.
26642         (gammal_positive): New function.
26643         (__ieee754_gammal_r): Handle positive infinity, overflow and
26644         underflow here.  Handle NaN the same as positive infinity.  Remove
26645         check x < 0xffffffff for negative integers.  Use gamma_positive
26646         instead of exp (lgamma) for other arguments.
26647         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
26648         (gamma_coeff): New variable.
26649         (NCOEFF): New macro.
26650         (gammal_positive): New function.
26651         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
26652         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
26653         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
26654         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
26655         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
26656         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
26657         * sysdeps/generic/math_private.h (__gamma_productf): New
26658         prototype.
26659         (__gamma_product): Likewise.
26660         (__gamma_productl): Likewise.
26661         * math/Makefile (libm-calls): Add gamma_product.
26662         * math/libm-test.inc (tgamma_test): Add more tests.
26663         * sysdeps/i386/fpu/libm-test-ulps: Update.
26664         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26665
26666 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
26667
26668         * benchtests/bench-skeleton.c (main): Preheat CPU.
26669
26670 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
26671
26672         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
26673
26674 2013-05-07  Roland McGrath  <roland@hack.frob.com>
26675
26676         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
26677         and _dl_skip_args_internal.
26678
26679 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
26680
26681         * manual/message.texi (Message Translation): Talk about users.
26682         Message to key mapping impacts design.
26683
26684 2013-05-06  Roland McGrath  <roland@hack.frob.com>
26685
26686         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
26687
26688         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
26689
26690         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
26691         * sysdeps/wordsize-64/glob64.c: ... here.
26692
26693         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
26694         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
26695         New macros.
26696
26697         * debug/getlogin_r_chk.c: Moved to ...
26698         * login/getlogin_r_chk.c: ... here.
26699         * debug/Makefile (routines): Move getlogin_r_chk to ...
26700         * login/Makefile (routines): ... here.
26701         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
26702         * login/Versions (libc: GLIBC_2.4): ... here.
26703
26704         * io/poll.c (__poll): Renamed from poll.
26705         Add libc_hidden_def.
26706         (poll): Define as weak alias.
26707
26708         * debug/ptsname_r_chk.c: Moved to ...
26709         * login/ptsname_r_chk.c: ... here.
26710         * debug/Makefile (routines): Move ptsname_r_chk to ...
26711         * login/Makefile (routines): ... here.
26712         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
26713         * login/Versions (libc: GLIBC_2.4): ... here.
26714
26715         * posix/getlogin.c: Moved to ...
26716         * login/getlogin.c: ... here.
26717         * posix/getlogin_r.c: Moved to ...
26718         * login/getlogin_r.c: ... here.
26719         * posix/getlogin_r.c: Moved to ...
26720         * login/getlogin_r.c: ... here.
26721         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
26722         * login/Makefile (routines): ... here.
26723         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
26724         * login/Versions (libc: GLIBC_2.0): ... here.
26725
26726         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
26727         (setrlimit): Define as weak alias.
26728
26729         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
26730         Call __ names for open, ftruncate, and close.
26731         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
26732         (truncate): Define as weak alias.
26733
26734 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
26735
26736         * math/gen-libm-test.pl (parse_args): Initialize x before each
26737         test of frexp, modf and remquo.
26738
26739         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
26740         test signgam value.
26741
26742 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26743
26744         [BZ #15418]
26745         [BZ #15419]
26746         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
26747         internal tests.
26748         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26749
26750 2013-05-06  Roland McGrath  <roland@hack.frob.com>
26751
26752         * elf/dl-writev.h: New file.
26753         * elf/dl-misc.c: Include it.
26754         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
26755         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
26756
26757 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
26758
26759         * math/libm-test.inc (noXFails): Remove variable.
26760         (noXPasses): Likewise.
26761         (BUILD_COMPLEX_INT): Remove macro.
26762         (print_screen): Remove xfail argument.
26763         (print_screen_max_error): Likewise.
26764         (update_stats): Likewise.
26765         (print_max_error): Likewise.  Update calls to other affected
26766         functions.
26767         (print_complex_max_error): Likewise.
26768         (test_single_exception): Update calls to print_screen.
26769         (test_single_errno): Likewise.
26770         (check_float_internal): Remove xfail argument.  Update calls to
26771         other affected functions.
26772         (check_float): Likewise.
26773         (check_complex): Likewise.
26774         (check_int): Likewise.
26775         (check_long): Likewise.
26776         (check_bool): Likewise.
26777         (check_longlong): Likewise.
26778         (main): Don't print noXFails and noXPasses.
26779         * math/gen-libm-test.pl (top level): Don't mention expected
26780         failure handling in comment.
26781         (new_test): Don't handle expected failures.
26782         (parse_args): Don't mention expected failure handling in comment.
26783         (generate_testfile): Don't handle expected failures.
26784         (parse_ulps): Likewise.
26785         (print_ulps_file): Likewise.
26786         (get_failure): Remove function.
26787         (output_test): Don't handle expected failures.
26788         * make/README.libm-test: Don't mention expected failure handling.
26789
26790         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
26791         (minus_zero): Likewise.
26792         (plus_infty): Likewise.
26793         (minus_infty): Likewise.
26794         (qnan_value): Likewise.
26795         (max_value): Likewise.
26796         (min_value): Likewise.
26797         (min_subnorm_value): Likewise.
26798         (initialize): Do not initialize those variables dynamically.
26799
26800 2013-05-03  Roland McGrath  <roland@hack.frob.com>
26801
26802         * io/open.c (__open_2): Moved to ...
26803         * io/open_2.c: ... this new file.
26804         * io/open64.c (__open64_2): Moved to ...
26805         * io/open64_2.c: ... this new file.
26806         * io/openat.c (__openat_2): Moved to ...
26807         * io/openat_2.c: ... this new file.
26808         * io/openat64.c (__openat64_2): Moved to ...
26809         * io/openat64_2.c: ... this new file.
26810         * io/Makefile (routines): Add them.
26811         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
26812         * sysdeps/unix/sysv/linux/open_2.c: File removed.
26813         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
26814         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
26815         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
26816         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
26817         (__openat64): Add hidden_ver.
26818         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
26819         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
26820
26821         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
26822         Separately conditionalize setting of GLRO(dl_sysinfo) so
26823         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
26824         as well, but the actual setting is only under [NEED_DL_SYSINFO].
26825
26826 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26827
26828         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
26829         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
26830         definition.
26831         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
26832         * sysdeps/unix/sysv/linux/powerpc/init-first.c
26833         (_libc_vdso_platform_setup): Add __vdso_time initialization.
26834         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
26835         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
26836
26837 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
26838
26839         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
26840         test signgam value.
26841
26842         * math/libm-test.inc (hypot_test): Do not use
26843         IGNORE_ZERO_INF_SIGN.
26844
26845 2013-05-03  Andreas Jaeger  <aj@suse.de>
26846
26847         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
26848         Linux 3.9.
26849         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
26850         (PF_MAX): Adjust for VSOCK change.
26851
26852 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26853
26854         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26855
26856 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
26857
26858         [BZ #15264]
26859         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
26860         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
26861         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
26862
26863 2013-05-02  David S. Miller  <davem@davemloft.net>
26864
26865         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26866
26867 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
26868
26869         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
26870
26871 2013-05-01  Roland McGrath  <roland@hack.frob.com>
26872
26873         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
26874
26875 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
26876
26877         [BZ #14952]
26878         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
26879         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
26880         Use __attribute__ ((__gnu_inline__)).
26881         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
26882         Don't use __attribute__ ((__gnu_inline__)).
26883
26884 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
26885
26886         [BZ #15423]
26887         * math/s_catan.c (__catan): Handle small real or imaginary part of
26888         input specially to avoid spurious underflow.
26889         * math/s_catanf.c (__catanf): Likewise.
26890         * math/s_catanh.c (__catanh): Likewise.
26891         * math/s_catanhf.c (__catanhf): Likewise.
26892         * math/s_catanhl.c (__catanhl): Likewise.
26893         * math/s_catanl.c (__catanl): Likewise.
26894         * math/libm-test.inc (catan_test): Add more tests.
26895         (catanh_test): Likewise.
26896         * sysdeps/i386/fpu/libm-test-ulps: Update.
26897         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26898
26899 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26900
26901         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26902
26903 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
26904
26905         [BZ #15416]
26906         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
26907         accurately for denominator in atan2.
26908         * math/s_catanf.c (__catanf): Likewise.
26909         * math/s_catanh.c (__catanh): Likewise.
26910         * math/s_catanhf.c (__catanhf): Likewise.
26911         * math/s_catanhl.c (__catanhl): Likewise.
26912         * math/s_catanl.c (__catanl): Likewise.
26913         * math/libm-test.inc (catan_test): Add more tests.
26914         (catanh_test): Likewise.
26915         * sysdeps/i386/fpu/libm-test-ulps: Update.
26916         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26917
26918 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
26919
26920         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
26921
26922         * benchtests/Makefile (bench): Remove slow benchmarks.
26923         * benchtests/atan-inputs: Add slow benchmark inputs.
26924         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
26925         (BENCH_FUNC): Accept variant offset.
26926         (VARIANT): Define.
26927         * benchtests/bench-skeleton.c (main): Run benchmark for each
26928         variant.
26929         * benchtests/cos-inputs: Add slow benchmark inputs.
26930         * benchtests/exp-inputs: Likewise.
26931         * benchtests/pow-inputs: Likewise.
26932         * benchtests/sin-inputs: Likewise.
26933         * benchtests/slowatan-inputs: Remove.
26934         * benchtests/slowatan.c: Remove.
26935         * benchtests/slowcos-inputs: Remove.
26936         * benchtests/slowcos.c: Remove.
26937         * benchtests/slowexp-inputs: Remove.
26938         * benchtests/slowexp.c: Remove.
26939         * benchtests/slowpow-inputs: Remove.
26940         * benchtests/slowpow.c: Remove.
26941         * benchtests/slowsin-inputs: Remove.
26942         * benchtests/slowsin.c: Remove.
26943         * benchtests/slowtan-inputs: Remove.
26944         * benchtests/slowtan.c: Remove.
26945         * benchtests/tan-inputs: Add slow benchmark inputs.
26946         * scripts/bench.pl: Parse comments and directives.
26947
26948         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
26949         in CPPFLAGS.
26950         ($(objpfx)bench-%.c): Remove *-ITER.
26951         * benchtests/bench-modf.c: Remove definition of ITER.
26952         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
26953         (main): Loop for DURATION seconds instead of fixed number of
26954         iterations.
26955         * scripts/bench.pl: Don't expect iterations in parameters.
26956
26957 2013-04-29  Roland McGrath  <roland@hack.frob.com>
26958
26959         * io/fchdir.c (__fchdir): Renamed from fchdir.
26960         (fchdir): Define as weak alias.
26961
26962 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
26963
26964         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
26965         (ERRNO_EDOM): Likewise.
26966         (ERRNO_ERANGE): Likewise.
26967         (noErrnoTests): New variable.
26968         (init_max_error): Set errno to 0.
26969         (test_single_errno): New function.
26970         (test_errno): Likewise.
26971         (check_float_internal): Call test_errno.  Set errno to 0.
26972         (check_complex): Refer to errno tests in comment.
26973         (check_int): Call test_errno.  Set errno to 0.
26974         (check_long): Likewise.
26975         (check_bool): Likewise.
26976         (check_longlong): Likewise.
26977         (cos_test): Use ERRNO_* flags for errno tests instead of
26978         check_int.
26979         (expm1_test): Likewise.
26980         (fmod_test): Likewise.
26981         (ilogb_test): Likewise.
26982         (lgamma_test): Likewise.
26983         (pow_test): Likewise.
26984         (remainder_test): Likewise.
26985         (sin_test): Likewise.
26986         (tan_test): Likewise.
26987         (yn_test): Likewise.
26988         (initialize): Set errno to 0.
26989         (main): Print number of errno tests.
26990         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
26991
26992 2013-04-29  Andreas Jaeger  <aj@suse.de>
26993
26994         [BZ #15084]
26995         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
26996         and RES_USEVC.
26997
26998         [BZ #15085]
26999         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
27000         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
27001         unimplemented.
27002
27003         [BZ #15380]
27004         * stdlib/random.c (__initstate): Return NULL if
27005         __initstate fails.
27006
27007         [BZ #15086]
27008         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
27009         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
27010         RES_SNGLKUPREOP.
27011
27012 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27013
27014         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27015
27016 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
27017
27018         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
27019         of individual tests.
27020         (casin_test): Likewise.
27021         (casinh_test): Likewise.
27022
27023 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
27024
27025         [BZ #15409]
27026         * math/s_catan.c (__catan): Handle arguments with large real or
27027         imaginary part separately without squaring.
27028         * math/s_catanf.c (__catanf): Likewise.
27029         * math/s_catanh.c (__catanh): Likewise.
27030         * math/s_catanhf.c (__catanhf): Likewise.
27031         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
27032         and redefine.
27033         (__catanhl): Handle arguments with large real or imaginary part
27034         separately without squaring.
27035         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
27036         and redefine.
27037         (__catanl): Handle arguments with large real or imaginary part
27038         separately without squaring.
27039         * math/libm-test.inc (catan_test): Add more tests.
27040         (catanh_test): Likewise.
27041         * sysdeps/i386/fpu/libm-test-ulps: Update.
27042         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27043
27044 2013-04-27  Andreas Jaeger  <aj@suse.de>
27045
27046         [BZ #15007]
27047         * stdlib/stdlib.h: Update guards for qecvt.
27048         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
27049         <stdlib.h>.
27050
27051 2013-04-27  Allan McRae  <allan@archlinux.org>
27052
27053         * sysdeps/i386/fpu/libm-test-ulps: Update.
27054
27055 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
27056
27057         [BZ #15406]
27058         * math/s_catan.c: Include <float.h>.
27059         (__catan): Ensure underflow exception occurs for underflowed
27060         result.
27061         * math/s_catanf.c: Include <float.h>.
27062         (__catanf): Ensure underflow exception occurs for underflowed
27063         result.
27064         * math/s_catanh.c: Include <float.h>.
27065         (__catanh): Ensure underflow exception occurs for underflowed
27066         result.
27067         * math/s_catanhf.c: Include <float.h>.
27068         (__catanhf): Ensure underflow exception occurs for underflowed
27069         result.
27070         * math/s_catanhl.c: Include <float.h>.
27071         (__catanhl): Ensure underflow exception occurs for underflowed
27072         result.
27073         * math/s_catanl.c: Include <float.h>.
27074         (__catanl): Ensure underflow exception occurs for underflowed
27075         result.
27076         * math/libm-test.inc (catan_test): Add more tests.
27077         (catanh_test): Likewise.
27078
27079         [BZ #15405]
27080         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
27081         underflowed result.
27082         * math/s_ccoshf.c (__ccoshf): Likewise.
27083         * math/s_ccoshl.c (__ccoshl): Likewise.
27084         * math/s_csin.c (__csin): Likewise.
27085         * math/s_csinf.c (__csinf): Likewise.
27086         * math/s_csinh.c (__csinh): Likewise.
27087         * math/s_csinhf.c (__csinhf): Likewise.
27088         * math/s_csinhl.c (__csinhl): Likewise.
27089         * math/s_csinl.c (__csinl): Likewise.
27090         * math/libm-test.inc (ccos_test): Add more tests.
27091         (ccosh_test): Likewise.
27092         (csin_test): Likewise.
27093         (csinh_test): Likewise.
27094
27095 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27096
27097         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
27098         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
27099         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
27100         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
27101         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
27102         powerpc/power5+/fpu folders.
27103         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
27104
27105
27106 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
27107
27108         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27109
27110 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
27111
27112         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
27113         additions to variable.
27114         [$(config-machine) = x86_64] (modules-names): Likewise.
27115         ($(objpfx)tst-audit3): Remove dependency.
27116         ($(objpfx)tst-audit3.out): Likewise.
27117         ($(objpfx)tst-audit4): Likewise.
27118         ($(objpfx)tst-audit4.out): Likewise.
27119         ($(objpfx)tst-audit5): Likewise.
27120         ($(objpfx)tst-audit5.out): Likewise.
27121         ($(objpfx)tst-audit6): Likewise.
27122         ($(objpfx)tst-audit6.out): Likewise.
27123         ($(objpfx)tst-audit7): Likewise.
27124         ($(objpfx)tst-audit7.out): Likewise.
27125         (tst-audit3-ENV): Remove variable.
27126         (tst-audit4-ENV): Likewise.
27127         (tst-audit5-ENV): Likewise.
27128         (tst-audit6-ENV): Likewise.
27129         (tst-audit7-ENV): Likewise.
27130         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
27131         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
27132         addition to variable.
27133         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
27134         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
27135         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
27136         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
27137         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
27138         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
27139         tst-audit3, tst-audit4 and tst-audit5.
27140         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
27141         tst-audit6 and tst-audit7.
27142         [$(subdir) = elf] (modules-names): Add audit modules for those
27143         tests.
27144         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
27145         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
27146         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
27147         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
27148         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
27149         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
27150         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
27151         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
27152         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
27153         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
27154         [$(subdir) = elf] (tst-audit3-ENV): New variable.
27155         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
27156         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
27157         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
27158         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
27159         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
27160         Likewise.
27161         [$(subdir) = elf && $(config-cflags-avx) = yes]
27162         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
27163         [$(subdir) = elf && $(config-cflags-avx) = yes]
27164         (CFLAGS-tst-auditmod4a.c): Likewise.
27165         [$(subdir) = elf && $(config-cflags-avx) = yes]
27166         (CFLAGS-tst-auditmod4b.c): Likewise.
27167         [$(subdir) = elf && $(config-cflags-avx) = yes]
27168         (CFLAGS-tst-auditmod6b.c): Likewise.
27169         [$(subdir) = elf && $(config-cflags-avx) = yes]
27170         (CFLAGS-tst-auditmod6c.c): Likewise.
27171         [$(subdir) = elf && $(config-cflags-avx) = yes]
27172         (CFLAGS-tst-auditmod7b.c): Likewise.
27173         * elf/tst-audit3.c: Move to ...
27174         * sysdeps/x86_64/tst-audit3.c: ... here.
27175         * elf/tst-audit4.c: Move to ...
27176         * sysdeps/x86_64/tst-audit4.c: ... here.
27177         * elf/tst-audit5.c: Move to ...
27178         * sysdeps/x86_64/tst-audit5.c: ... here.
27179         * elf/tst-audit6.c: Move to ...
27180         * sysdeps/x86_64/tst-audit6.c: ... here.
27181         * elf/tst-audit7.c: Move to ...
27182         * sysdeps/x86_64/tst-audit7.c: ... here.
27183         * elf/tst-auditmod3a.c: Move to ...
27184         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
27185         * elf/tst-auditmod3b.c: Move to ...
27186         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
27187         * elf/tst-auditmod4a.c: Move to ...
27188         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
27189         * elf/tst-auditmod4b.c: Move to ...
27190         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
27191         * elf/tst-auditmod5a.c: Move to ...
27192         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
27193         * elf/tst-auditmod5b.c: Move to ...
27194         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
27195         * elf/tst-auditmod6a.c: Move to ...
27196         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
27197         * elf/tst-auditmod6b.c: Move to ...
27198         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
27199         * elf/tst-auditmod6c.c: Move to ...
27200         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
27201         * elf/tst-auditmod7a.c: Move to ...
27202         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
27203         * elf/tst-auditmod7b.c: Move to ...
27204         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
27205
27206 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
27207
27208         [BZ #15366]
27209         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
27210         define unconditionally.
27211         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
27212         define unconditionally.
27213         (INT8_C, INT16_C, etc.): Likewise.
27214
27215 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
27216
27217         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
27218         __ehdr_start with hidden visibility.
27219
27220         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
27221
27222 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
27223
27224         * math/libm-test.inc (cos_test): Use accurate hex constants.
27225         (sincost_test): Likewise.
27226
27227 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
27228
27229         * math/libm-test.inc (catan_test): Add more tests.
27230         (catanh_test): Likewise.
27231
27232         * math/s_catanf.c (__catanf): Use suffixed floating-point
27233         constants.
27234         * math/s_catanhf.c (__catanhf): Likewise.
27235         * math/s_catanhl.c (__catanhl): Likewise.
27236         * math/s_catanl.c (__catanl): Likewise.
27237
27238         [BZ #15394]
27239         * math/s_catan.c (__catan): Calculate imaginary part of result
27240         with log1p not log unless computing log of number close to 0.
27241         * math/s_catanf.c (__catanf): Likewise.
27242         * math/s_catanl.c (__catanl): Likewise.
27243         * math/s_catanh.c (__catanh): Calculate real part of result with
27244         log1p not log unless computing log of number close to 0.
27245         * math/s_catanhf.c (__catanhf): Likewise.
27246         * math/s_catanhl.c (__catanhl): Likewise.
27247         * math/libm-test.inc (catan_test): Add more tests.
27248         (catanh_test): Likewise.
27249         * sysdeps/i386/fpu/libm-test-ulps: Update.
27250         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27251
27252 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
27253
27254         * benchtests/Makefile: Mention files in which fast and slow
27255         paths of math functions are implemented.
27256
27257 2013-04-23  Roland McGrath  <roland@hack.frob.com>
27258
27259         * sysdeps/posix/timespec_get.c: New file.
27260
27261 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27262
27263         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
27264         POWER.
27265         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
27266         for POWER.
27267         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
27268         powerpc/power5/fpu folders.
27269         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
27270         * benchtests/Makefile: Add modf testcase.
27271         * benchtests/bench-modf.c: New file: Benchmark test for mo
27272
27273 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
27274
27275         [BZ #14888]
27276         * time/Makefile (tests): Add tst-strptime-whitespace.
27277         * time/strptime_l.c (get_number): Use ISSPACE.
27278         (__strptime_internal): Likewise.
27279         * time/tst-strptime-whitespace.c: New test case.
27280
27281 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
27282
27283         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
27284         member.
27285         (_nss_files_init): Set it here.
27286
27287 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
27288
27289         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
27290         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
27291         unsigned.
27292
27293 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
27294
27295         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
27296
27297 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
27298
27299         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
27300         size just once.
27301
27302 2013-04-21  David S. Miller  <davem@davemloft.net>
27303
27304         * po/ru.po: Update Russion translation from translation project.
27305
27306 2013-04-17  Adam Conrad  <adconrad@0c3.net>
27307
27308         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
27309         and setfsgid.
27310
27311 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
27312
27313         * configure.in: Remove i386 configure warning. Remove i386 case.
27314         * configure: Regenerate.
27315         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
27316         Add example to error message.
27317         * sysdeps/i386/configure: Regenerate.
27318
27319 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
27320
27321         * benchtests/Makefile (bench): Add cos, tan, slowcos and
27322         slowtan.
27323         * benchtests/cos-inputs: New file.
27324         * benchtests/slowcos-inputs: New file.
27325         * benchtests/slowcos.c: New file.
27326         * benchtests/slowtan-inputs: New file.
27327         * benchtests/slowtan.c: New file.
27328         * benchtests/tan-inputs: New file.
27329
27330 2013-04-16  Roland McGrath  <roland@hack.frob.com>
27331
27332         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
27333         considered kosher.
27334
27335 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27336
27337         * benchtests/Makefile: Include cppflags-iterator.mk to add
27338         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
27339
27340         * Makefile.in (bench-clean): New target.
27341         * benchtests/Makefile (bench-clean): Likewise.
27342
27343 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
27344
27345         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
27346
27347 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
27348
27349         * stdio-common/tstdiomisc.c: Fix coding-style violation.
27350
27351 2013-04-15  Andreas Schwab  <schwab@suse.de>
27352
27353         * nscd/grpcache.c (cache_addgr): Properly check for short write.
27354         * nscd/initgrcache.c (addinitgroupsX): Likewise.
27355         * nscd/pwdcache.c (cache_addpw): Likewise.
27356         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
27357         more than recsize.
27358
27359 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27360
27361         * benchtests/Makefile (bench): Write all output to
27362         bench-out.tmp together.
27363
27364 2013-04-15  Andreas Schwab  <schwab@suse.de>
27365
27366         * nscd/nscd.c (main): Don't fork again after closing files.
27367
27368 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27369
27370         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
27371
27372         * benchtests/Rules (bench-deps): Collect dependencies into a
27373         single variable.  Add Makefile to dependencies.
27374         ($(objpfx)bench-%.c): Depend on bench-deps.
27375
27376 2013-04-12  Roland McGrath  <roland@hack.frob.com>
27377             Xavier Roche  <roche+kml2@exalead.com>
27378
27379         [BZ #15361]
27380         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
27381         just that it's a file descriptor.
27382         * manual/llio.texi (Synchronizing AIO Operations): Update description
27383         for EBADF error from aio_fsync.
27384
27385 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
27386
27387         * Rules (bench): Move target definition...
27388         * benchtests/Makefile: ... here.
27389
27390 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
27391
27392         * math/libm-test.inc (cos_test): Fix PI/2 test.
27393         (sincos_test): Likewise.
27394         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
27395         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
27396
27397 2013-04-11  Andreas Schwab  <schwab@suse.de>
27398
27399         [BZ #13988]
27400         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
27401         accept exponent character only when digits were seen.
27402         * stdio-common/Makefile (tests): Add bug26.
27403         * stdio-common/bug26.c: New file.
27404
27405         [BZ #14293]
27406         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
27407         non-freeable.
27408
27409 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
27410
27411         * Makeconfig (rtld-prefix): Define built linker prefix.
27412         * Rules (run-bench): Use it.
27413         * math/Makefile (run-regen-ulps): Likewise.
27414
27415         * Rules (bench): Remove eval.
27416
27417 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
27418             Roland McGrath  <roland@hack.frob.com>
27419             Ondrej Bilka  <neleai@seznam.cz>
27420
27421         [BZ #15346]
27422         * time/getdate.c: Include ctype.h and alloca.h.
27423         (__getdate_r): Trim leading and trailing spaces of input.
27424         * time/tst-getdate.c (tests): Add tests with leading and
27425         trailing spaces.
27426
27427 2013-04-08  Roland McGrath  <roland@hack.frob.com>
27428
27429         [BZ #14280]
27430         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
27431         when computing value.
27432
27433 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
27434
27435         * math/README.libm-test (How can I generate "libm-test-ulps"?):
27436         Use testrun.sh to run libm tests.
27437
27438         [BZ #15309]
27439         * elf/dl-open.c (dl_open_worker): memset all of seen array.
27440
27441 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
27442
27443         [BZ #15264]
27444         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
27445
27446 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
27447
27448         * Makefile.in (regen-ulps): New target.
27449         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
27450         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
27451         [ifneq (no,$(PERL)] (regen-ulps): New target.
27452         [ifeq (no,$(PERL)] (regen-ulps): New target.
27453         * math/libm-test.inc (ulps_file_name): Define.
27454         (output_dir): New variable.
27455         (options): Add "output-dir" option.
27456         (parse_opt): Handle 'o' case.
27457         (main): If output_dir is non-NULL use it as a prefix
27458         otherwise use "".
27459         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
27460
27461 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
27462
27463         [BZ #10060, #10062]
27464         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
27465         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
27466         fail configure if __sync_val_compare_and_swap is not inlined.
27467         * sysdeps/i386/configure: Regenerate.
27468         * configure.in: Build for i686 when configured for i386.
27469         * configure: Regenerate.
27470         * README: Remove i386 reference.
27471
27472 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
27473
27474         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
27475         * sysdeps/s390/s390-64/sysdep.h: Likewise.
27476
27477 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
27478
27479         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
27480         (lmsnanval): New variables.
27481         (F): Add conversion tests.
27482         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
27483         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
27484
27485         * stdio-common/tstdiomisc.c (F): Properly collect individual
27486         tests' results.
27487
27488         [BZ #14686, #15336]
27489         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
27490         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
27491         Instead, use input NaN values or generate a qNaN by arithmetic
27492         operation.  Also fix bugs to comply with the standard.
27493         * math/libm-test.inc (remainder_test): Add more tests.
27494
27495         [BZ #15335, #15342]
27496         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
27497         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
27498         input NaN values or generate a qNaN by arithmetic operation.
27499
27500         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
27501         unreachable code.
27502
27503         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
27504         definitions.
27505
27506 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
27507
27508         [BZ #14478]
27509         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
27510         underflowed result.
27511         * math/s_cexpf.c (__cexpf): Likewise.
27512         * math/s_cexpl.c (__cexpl): Likewise.
27513         * math/libm-test.inc (cexp_test): Add more tests.
27514
27515 2013-04-03  Andreas Schwab  <schwab@suse.de>
27516
27517         [BZ #15330]
27518         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
27519         order arrays from heap if bigger than alloca cutoff.
27520
27521 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
27522
27523         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
27524         (SNAN_TESTS_double): Refer to GCC PR56831.
27525         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
27526         GCC PR56828.
27527
27528 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
27529
27530         * Rules (bench): Move bench.out after the run is complete.
27531
27532         * Rules (bench): Echo currently running benchmark.
27533
27534         * benchtests/Makefile (bench): Add atan and slowatan.
27535         * benchtests/atan-inputs: New file.
27536         * benchtests/slowatan-inputs: New file.
27537         * benchtests/slowatan.c: New file.
27538
27539         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
27540         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
27541         its value.
27542
27543         [BZ #15305]
27544         * sysdeps/unix/sysv/linux/kernel-features.h
27545         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
27546         __ASSUME_XFS_RESTRICTED_CHOWN.
27547         * sysdeps/unix/sysv/linux/pathconf.c
27548         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
27549         Save and restore errno.
27550
27551 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
27552
27553         [BZ #15327]
27554         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
27555         arguments using __kernel_casinh.
27556         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
27557         arguments using __kernel_casinhf.
27558         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
27559         arguments using __kernel_casinhl.
27560         * math/libm-test.inc (cacosh_test): Add more tests.
27561         * sysdeps/i386/fpu/libm-test-ulps: Update.
27562         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27563
27564 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27565
27566         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
27567         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
27568
27569         * bench/Makefile (bench): Add sin and slowsin.
27570         * benchtests/sin-inputs: New file.
27571         * benchtests/slowsin-inputs: New file.
27572         * benchtests/slowsin.c: New file.
27573
27574         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
27575         (bench): Add slowexp and slowpow.
27576         (exp-ITER): Increase iterations.
27577         (pow-ITER): Likewise.
27578         * benchtests/exp-inputs: Change input.
27579         * benchtests/pow-inputs: Likewise.
27580         * benchtests/slowexp-inputs: New file.
27581         * benchtests/slowexp.c: New file.
27582         * benchtests/slowpow-inputs: New file.
27583         * benchtests/slowpow.c: New file.
27584
27585 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27586
27587         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
27588         instructions.
27589         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
27590         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
27591         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
27592         * benchtests/Makefile: Add rint benchtest.
27593         * benchtests/rint-inputs: Input for rint benchtest.
27594
27595 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
27596
27597         * Versions.def (libm): Add GLIBC_2.18.
27598         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
27599         hidden libm prototypes.
27600         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
27601         * math/Makefile (libm-calls): Add s_issignaling.
27602         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
27603         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
27604         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
27605         declaration.
27606         * math/math.h [__USE_GNU] (issignaling): New macro.
27607         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
27608         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
27609         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
27610         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
27611         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
27612         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
27613         * manual/arith.texi (issignaling): New section.
27614         * manual/libm-err-tab.pl (@all_functions): Update comment.
27615         * math/gen-libm-test.pl (parse_args): Apply special handling for
27616         issignaling.
27617         * math/libm-test.inc (print_float, issignaling_test): New
27618         functions.
27619         (check_float_internal): Add issignaling checks.
27620         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
27621         default definition.
27622         * sysdeps/powerpc/math-tests.h: New file.
27623         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
27624         tests.
27625         * math/test-snan.c (TEST_FUNC): Likewise.
27626
27627 2013-03-30  David S. Miller  <davem@davemloft.net>
27628
27629         * po/de.po: Update from translation team.
27630
27631 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
27632
27633         [BZ #10357]
27634         * math/k_casinh.c (__kernel_casinh): Handle arguments with
27635         imaginary part less than 1.0 and real part less than 0.5
27636         specially.
27637         * math/k_casinhf.c (__kernel_casinhf): Likewise.
27638         * math/k_casinhl.c (__kernel_casinhl): Likewise.
27639         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
27640         (cacos_test): Add more tests.
27641         (casin_test): Likewise.
27642         (casinh_test): Likewise.
27643         * sysdeps/i386/fpu/libm-test-ulps: Update.
27644         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27645
27646 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
27647
27648         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
27649         ONE with its value.
27650
27651         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
27652         (__pow_mp): Replace ONE and MONE with their values.
27653         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
27654         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
27655         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
27656         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
27657         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
27658         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
27659
27660         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
27661
27662         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
27663         (__pow_mp): Replace ZERO and MZERO with their values.
27664         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
27665         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
27666         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
27667         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
27668         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
27669         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
27670         (__sqr): Likewise.
27671
27672         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
27673
27674         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
27675
27676 2013-03-28  Roland McGrath  <roland@hack.frob.com>
27677
27678         * include/stdlib.h [!SHARED] (__call_tls_dtors):
27679         Declare with __attribute__ ((weak)).
27680         * stdlib/exit.c (__libc_atexit) [!SHARED]:
27681         Call __call_tls_dtors only if it's not NULL.
27682
27683 2013-03-28  Roland McGrath  <roland@hack.frob.com>
27684
27685         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
27686         didn't do it already, then set _dl_phdr and _dl_phnum based on the
27687         magic __ehdr_start linker symbol if it's defined.
27688         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
27689         them up here if it was already done.
27690
27691         * elf/dl-support.c (_dl_phdr): Make pointer to const.
27692         (_dl_aux_init): Use const in cast when setting it.
27693         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
27694         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
27695         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
27696
27697         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
27698         Declare them here.
27699         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
27700         * csu/libc-tls.c: Nor here.
27701         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
27702
27703         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
27704         (__libc_message): Never call vsyslog.
27705
27706 2013-03-28  Alan Modra  <amodra@gmail.com>
27707
27708         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
27709         Define as empty.
27710         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
27711         Likewise.
27712
27713 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27714
27715         [BZ #15214]
27716         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
27717         underflow.
27718         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27719
27720 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27721
27722         [BZ #15304]
27723         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
27724         Don't add gid passed as argument.
27725
27726         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
27727
27728 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
27729
27730         [BZ #15307]
27731         * math/k_casinh.c (__kernel_casinh): Handle arguments with
27732         imaginary part between 1.0 and 1.5 and real part less than 0.5
27733         specially.
27734         * math/k_casinhf.c (__kernel_casinhf): Likewise.
27735         * math/k_casinhl.c (__kernel_casinhl): Likewise.
27736         * math/libm-test.inc (cacos_test): Add more tests.
27737         (casin_test): Likewise.
27738         (casinh_test): Likewise.
27739         * sysdeps/i386/fpu/libm-test-ulps: Update.
27740         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27741
27742 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
27743
27744         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
27745         constants.
27746         (norm): Likewise.
27747         (denorm): Likewise.
27748         (__dbl_mp): Likewise.
27749         (add_magnitudes): Likewise.
27750         (sub_magnitudes): Likewise.
27751         (__add): Likewise.
27752         (__sub): Likewise.
27753         (__mul): Likewise.
27754         (__sqr): Likewise.
27755         (__inv): Likewise.
27756         (__dvd): Likewise.
27757
27758         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
27759         commented code.
27760         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
27761         (__dubcos): Likewise.
27762         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
27763         (__ieee754_acos): Likewise.
27764         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
27765         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
27766         (__exp1): Likewise.
27767         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
27768         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
27769         (log1): Likewise.
27770         (my_log2): Likewise.
27771         (checkint): Likewise.
27772         * sysdeps/ieee754/dbl-64/e_remainder.c
27773         (__ieee754_remainder): Likewise.
27774         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
27775         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
27776         (bsloww): Likewise.
27777         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
27778
27779         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
27780         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
27781         MANTISSA_STORE_T to store computations on mantissa.  Use
27782         macros for rounding and division.
27783         (denorm): Likewise.
27784         (__dbl_mp): Likewise.
27785         (add_magnitudes): Likewise.
27786         (sub_magnitudes): Likewise.
27787         (__mul): Likewise.
27788         (__sqr): Likewise.
27789         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
27790         powers of two in terms of TWOPOW macro.
27791         (mp_no): Make type of mantissa as MANTISSA_T.
27792         [!RADIXI]: Define RADIXI.
27793         [!TWO52]: Define TWO52.
27794         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
27795
27796 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27797
27798         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
27799         llroundl symbol when building for PPC32.
27800
27801 2013-03-24  Mark H Weaver  <mhw@netris.org>
27802
27803         * manual/arith.texi (Normalization Functions): Fix prototypes for
27804         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
27805
27806 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27807
27808         [BZ #13889]
27809         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
27810         high value to check if expl overflow.
27811         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
27812         to check for underflow and overflow.
27813         * math/libm-test.inc: Add exp test.
27814
27815 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
27816
27817         [BZ #11120]
27818         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
27819         with NOT_IN_libc.
27820
27821 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27822
27823         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
27824         symbol.
27825
27826 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
27827
27828         * math/gen-libm-test.pl (parse_args, special_functions): Properly
27829         wrap blocks consisting of several statements.
27830
27831         * sysdeps/generic/math-tests.h: New file.
27832         * sysdeps/i386/fpu/math-tests.h: Likewise.
27833         * math/test-snan.c: Include it.
27834         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
27835
27836 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
27837
27838         [BZ #15285]
27839         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
27840         (__ieee754_j0l): Do not improve calculations using cos of twice
27841         input for inputs above LDBL_MAX / 2.0L.
27842         (__ieee754_y0l): Likewise.
27843         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
27844         (__ieee754_j1l): Do not improve calculations using cos of twice
27845         input for inputs above LDBL_MAX / 2.0L.
27846         (__ieee754_y1l): Likewise.
27847         * math/libm-test.inc (j0_test): Add another test.
27848         (j1_test): Likewise.
27849         (y0_test): Likewise.
27850         (y1_test): Likewise.
27851         * sysdeps/i386/fpu/libm-test-ulps: Update.
27852
27853 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
27854
27855         * Rules ($(objpfx)bench-%.c): Include code from a C source
27856         file.
27857
27858 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
27859
27860         [BZ #15287]
27861         * math/k_casinh.c (__kernel_casinh): Handle arguments with
27862         imaginary part 1.0 and real part less than 0.5 specially.
27863         * math/k_casinhf.c (__kernel_casinhf): Likewise.
27864         * math/k_casinhl.c (__kernel_casinhl): Likewise.
27865         * math/libm-test.inc (cacos_test): Add more tests.
27866         (casin_test): Likewise.
27867         (casinh_test): Likewise.
27868         * sysdeps/i386/fpu/libm-test-ulps: Update.
27869         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27870
27871 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
27872
27873         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
27874         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
27875
27876 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
27877
27878         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
27879         * config.make.in (config-cflags-sse4): Remove variable.
27880         (config-cflags-avx): Likewise.
27881         (config-cflags-sse2avx): Likewise.
27882         (config-cflags-novzeroupper): Likewise.
27883         (config-asflags-i686): Likewise.
27884         (have-mfma4): Likewise.
27885         (have-as-vis3): Likewise.
27886         (MIG): Likewise.
27887         * configure.in (MIG): Do not AC_SUBST.
27888         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
27889         (libc_cv_cc_sse4): Do not AC_SUBST.
27890         (libc_cv_cc_avx): Likewise.
27891         (libc_cv_cc_sse2avx): Likewise.
27892         (libc_cv_cc_novzeroupper): Likewise.
27893         (libc_cv_cc_fma4): Likewise.
27894         (libc_cv_as_i686): Likewise.
27895         (libc_cv_sparc_as_vis3): Likewise.
27896         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
27897         LIBC_CONFIG_VAR.
27898         (config-asflags-i686): Likewise.
27899         (config-cflags-avx): Likewise.
27900         (config-cflags-sse2avx): Likewise.
27901         (have-mfma4): Likewise.
27902         (config-cflags-novzeroupper): Likewise.
27903         * sysdeps/mach/configure.in (MIG): Likewise.
27904         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
27905         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
27906         LIBC_CONFIG_VAR.
27907         (config-cflags-avx): Likewise.
27908         (config-cflags-sse2avx): Likewise.
27909         (have-mfma4): Likewise.
27910         (config-cflags-novzeroupper): Likewise.
27911         * configure: Regenerated.
27912         * sysdeps/i386/configure: Likewise.
27913         * sysdeps/mach/configure: Likewise.
27914         * sysdeps/sparc/configure: Likewise.
27915         * sysdeps/x86_64/configure: Likewise.
27916
27917 2013-03-20  Roland McGrath  <roland@hack.frob.com>
27918
27919         [BZ #14812]
27920         * locale/programs/localedef.c (options): Put N_ translation marker
27921         on argument names, not just descriptions.
27922
27923 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27924
27925         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
27926
27927 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
27928
27929         [BZ #14176]
27930         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
27931
27932 2013-03-19  Roland McGrath  <roland@hack.frob.com>
27933
27934         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
27935         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
27936         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
27937         [!BEFORE_ABORT] (before_abort): New function.
27938         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
27939         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
27940         (writev_for_fatal): New function.
27941         (WRITEV_FOR_FATAL): New macro; call that.
27942         (backtrace_and_maps): New function.
27943         (BEFORE_ABORT): New macro; call that.
27944         (struct str_list): Type removed.
27945         (__libc_message, __libc_fatal): Functions removed.
27946         Include <sysdeps/posix/libc_fatal.c> instead.
27947
27948 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
27949
27950         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
27951         constants.
27952         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
27953         double constants.
27954
27955 2013-03-19  Andreas Schwab  <schwab@suse.de>
27956
27957         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
27958         * sysdeps/gnu/configure: Regenerate.
27959
27960         * configure.in: Substitute libc_cv_rtlddir.
27961         * configure: Regenerate.
27962         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
27963         * Makeconfig (rtlddir, inst_rtlddir): New variables.
27964         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
27965         * elf/Makefile (install-others, CFLAGS-interp.c)
27966         (ldso_install, common-ldd-rewrite): Likewise.
27967         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
27968         $(inst_slibdir)/$(rtld-installed-name).
27969         * scripts/rellns-sh: Add -p option.
27970         * Makerules (make-shlib-link): Use rellns-sh to get relative name
27971         for source.
27972
27973 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
27974
27975         * manual/nptl.texi: Renamed to ...
27976         * manual/threads.texi: ... this.
27977         * manual/Makefile (chapters): Update.
27978
27979 2013-03-18  Roland McGrath  <roland@hack.frob.com>
27980
27981         [BZ #14812]
27982         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
27983         on argument names, not just descriptions.
27984         * malloc/memusagestat.c (options): Likewise.
27985         * nss/getent.c (options): Likewise.
27986
27987 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
27988
27989         [BZ #14812]
27990         * iconv/iconv_prog.c (options): Put N_ translation marker
27991         on argument names, not just descriptions.
27992         * iconv/iconvconfig.c (options): Likewise.
27993
27994 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
27995
27996         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
27997         implementation which is faster on all x86_64 architectures.
27998         Tested on AMD, Intel Nehalem, SNB, IVB.
27999         * sysdeps/x86_64/strnlen.S: Likewise.
28000
28001         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
28002         Remove all multiarch strlen and strnlen versions.
28003         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
28004         Remove strlen and strnlen related parts.
28005
28006         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
28007         Inline strlen part.
28008         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
28009
28010         * sysdeps/x86_64/multiarch/strlen.S: Remove.
28011         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
28012         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
28013         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
28014         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
28015         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
28016
28017 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
28018
28019         * manual/memory.texi (Malloc Tunable Parameters):
28020         Sort parameters alphabetically. Add comments for missing entries.
28021
28022 2013-03-17  David S. Miller  <davem@davemloft.net>
28023
28024         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28025
28026 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
28027
28028         [BZ #15283]
28029         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
28030         for arguments at most half maximum finite value.
28031         * math/libm-test.inc (j0_test): Add more tests.
28032         (j1_test): Likewise.
28033         (y0_test): Likewise.
28034         (y1_test): Likewise.
28035         * sysdeps/i386/fpu/libm-test-ulps: Update.
28036         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28037
28038         [BZ #14155]
28039         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
28040         1 / x and functions P and Q for arguments above 0x1p256L.
28041         (__ieee754_y0l): Likewise.
28042         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
28043         (__ieee754_y1l): Likewise.
28044         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
28045         (j1_test): Likewise.
28046         (y0_test): Likewise.
28047         (y1_test): Likewise.
28048
28049 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
28050
28051         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
28052         variable.
28053
28054 2013-03-15  Roland McGrath  <roland@hack.frob.com>
28055
28056         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
28057         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
28058         zero since it's initialized to EXEC_PAGESIZE.
28059
28060         * sysdeps/unix/sysv/linux/ldsodefs.h
28061         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
28062         * sysdeps/generic/ldsodefs.h: ... here.
28063
28064 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
28065
28066         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
28067
28068         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
28069         math/test-snan.c.
28070         * math/test-snan.c: Renamed from
28071         sysdeps/powerpc/fpu/test-powerpc-snan.c.
28072         * math/Makefile (tests): Add test-snan.
28073         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
28074         test-powerpc-snan.
28075
28076         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
28077         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
28078         functions.
28079         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
28080         __builtin_nan family of functions.
28081         * math/libm-test.inc (initialize): Initialize qnan_value with
28082         __builtin_nan family of functions.
28083         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
28084         Remove variables.
28085         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
28086         Remove functions.
28087         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
28088         storage class.  Initialize qNaN_var and sNaN_var with
28089         __builtin_nan and __builtin_nans families of functions,
28090         respectively.
28091
28092         * math/libm-test.inc (acosh_test): Also test with qNaN input.
28093         (sqrt_test): Remove duplicate test with qNaN input.
28094         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
28095         (round_test, signbit_test, significand_test): Note missing +/-Inf
28096         as well as qNaN tests.
28097
28098         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
28099         qNaN_var.  Fix a few strings, too.
28100         * math/libm-test.inc (nan_value): Rename to qnan_value.
28101         * math/gen-libm-test.pl (%beautify): Adjust to that.
28102         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
28103         * math/test-misc.c (main): Likewise.
28104         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
28105         to __qnan_bytes, and __qnan_union, respectively.
28106         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
28107         Likewise.
28108         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
28109         and lqnanval, respectively.
28110         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
28111         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
28112         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
28113         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
28114
28115         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
28116         * math/test-misc.c (main) [__x86_64__]: Enable test for long
28117         doubles.
28118
28119         * math/test-misc.c (main): Fix copy'n'pastos.
28120         * misc/tst-efgcvt.c (special): Likewise.
28121
28122         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
28123         Remove declarations.
28124
28125 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
28126
28127         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
28128         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
28129         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
28130         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
28131
28132 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28133
28134         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
28135         macro to return vdso values correctly in IFUNC implementations.
28136         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
28137         Optimization by using IFUNC.
28138
28139 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
28140             Richard Henderson  <rth@redhat.com>
28141             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28142
28143         * Makefile.in (bench): New target.
28144         * NEWS: Mention the benchmark framework.
28145         * Rules (bench): Likewise.
28146         (binaries-bench): Generate binaries for functions to
28147         benchmark.
28148         * benchtests/Makefile: New makefile for benchmark tests.
28149         * benchtests/bench-skeleton.c: New skeleton file for benchmark
28150         programs.
28151         * benchtests/exp-inputs: New input file for EXP function.
28152         * benchtests/pow-inputs: New input file for POW function.
28153         * scripts/bench.pl: New script to generate source files for
28154         benchmark programs.
28155
28156 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
28157
28158         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
28159         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
28160         computations on mantissa.  Use macros for rounding and
28161         division.
28162         (denorm): Likewise.
28163         (__dbl_mp): Likewise.
28164         (add_magnitudes): Likewise.
28165         (sub_magnitudes): Likewise.
28166         (__mul): Likewise.
28167         (__sqr): Likewise.
28168         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
28169         powers of two in terms of TWOPOW macro.
28170         (mp_no): Make type of mantissa as MANTISSA_T.
28171         [!RADIXI]: Define RADIXI.
28172         [!TWO52]: Define TWO52.
28173         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
28174
28175         * manual/nptl.texi (cindex): Modify threads to pthreads.
28176
28177 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
28178
28179         * sysdeps/x86_64/preconfigure: Regenerated.
28180
28181 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
28182
28183         [BZ #14155]
28184         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
28185         0x1p28 and above.
28186         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
28187         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
28188         0x1p28 and above.
28189         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
28190         * math/libm-test.inc (j0_test): Do not allow one spurious
28191         underflow exception.
28192         (y1_test): Likewise.
28193
28194 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
28195
28196         * manual/Makefile (chapters): Add nptl.
28197         * manual/debug.texi (Debugging Support): Add link to Threads
28198         chapter.
28199         * manual/nptl.texi: New file.
28200
28201         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
28202
28203 2013-03-14  Petr Baudis  <pasky@ucw.cz>
28204
28205         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
28206         for non-NULL pointer before the memory validity test. Pointed
28207         out by Holger Brunck <holger.brunck@keymile.com>.
28208
28209 2013-03-13  Andreas Schwab  <schwab@suse.de>
28210
28211         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
28212         instead of .os.
28213
28214 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
28215
28216         * timezone/zic.c: Update from tzcode 2013b.
28217
28218 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
28219
28220         * manual/install.texi (Configuring and compiling):
28221         Mention i686 and i586.
28222         * INSTALL: Regenerate.
28223
28224 2013-03-12  Roland McGrath  <roland@hack.frob.com>
28225
28226         * sysdeps/init_array/elf-init.c: New file.
28227         * csu/elf-init.c
28228         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
28229         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
28230
28231         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
28232         __gmon_start__ as global, but as static with a .preinit_array pointer.
28233         * sysdeps/init_array/gmon-start.c: New file.  Use that.
28234         * sysdeps/init_array/crti.S: New file, empty except for comments.
28235         * sysdeps/init_array/crtn.S: Likewise.
28236
28237 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
28238
28239         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
28240         definining bcopy.
28241         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28242         Remove Prefer_SSE_for_memop.
28243         * sysdeps/x86_64/multiarch/init-arch.h: Remove
28244         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
28245         HAS_PREFER_SSE_FOR_MEMOP.
28246         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
28247         memset-x86-64.
28248         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28249         Remove bzero, memset ifunc support.
28250         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
28251         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
28252         * sysdeps/x86_64/multiarch/memset.S: Likewise.
28253         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28254
28255 2013-03-11  Andreas Schwab  <schwab@suse.de>
28256
28257         [BZ #15234]
28258         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
28259         by SHLIB_COMPAT.
28260         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
28261         (GLIBC_2.16): Remove pthread_atfork.
28262
28263 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
28264
28265         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
28266         (ptestcases.h): Likewise.
28267
28268 2013-03-08  Roland McGrath  <roland@hack.frob.com>
28269
28270         * Makeconfig ($(common-objpfx)config.status): Depend on
28271         sysdeps/*/preconfigure{,.in} too.
28272
28273 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
28274
28275         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
28276         (__free_hook): Use void * instead of __malloc_ptr_t.
28277         (__malloc_hook): Likewise.
28278         (__realloc_hook): Likewise.
28279         (__memalign_hook): Likewise.
28280         (__after_morecore_hook): Likewise.
28281         * malloc/arena.c (save_malloc_hook): Likewise.
28282         (save_free_hook): Likewise.
28283         * malloc/hooks.c (malloc_hook_ini): Likewise.
28284         (realloc_hook_ini): Likewise.
28285         (memalign_hook_ini): Likewise.
28286         * malloc/malloc.c (malloc_hook_ini): Likewise.
28287         (realloc_hook_ini): Likewise.
28288         (memalign_hook_ini): Likewise.
28289         (__free_hook): Likewise.
28290         (__malloc_hook): Likewise.
28291         (__realloc_hook): Likewise.
28292         (__memalign_hook): Likewise.
28293         (__libc_malloc): Likewise.
28294         (__libc_free): Likewise.
28295         (__libc_realloc): Likewise.
28296         (__libc_memalign): Likewise.
28297         (__libc_valloc): Likewise.
28298         (__libc_pvalloc): Likewise.
28299         (__libc_calloc): Likewise.
28300         (__posix_memalign): Likewise.
28301         * malloc/morecore.c (__sbrk): Likewise.
28302         (__default_morecore): Likewise.
28303
28304         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
28305
28306         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
28307         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
28308         __malloc_ptrdiff_t.
28309
28310         * malloc/malloc.h (__malloc_size_t): Remove macro.
28311         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
28312         __malloc_size_t.
28313         (old_memalign_hook): Likewise.
28314         (old_realloc_hook): Likewise.
28315         (struct hdr): Likewise.
28316         (flood): Likewise.
28317         (mallochook): Likewise.
28318         (memalignhook): Likewise.
28319         (reallochook): Likewise.
28320         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
28321         (tr_old_realloc_hook): Likewise.
28322         (tr_old_memalign_hook): Likewise.
28323         (tr_mallochook): Likewise.
28324         (tr_reallochook): Likewise.
28325         (tr_memalignhook): Likewise.
28326
28327 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28328
28329         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
28330         default_ldbl_pack and using as default implementation.
28331         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
28332         implementation.
28333         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
28334         redundant definition.
28335         (ldbl_insert_mantissa): Likewise.
28336         (ldbl_canonicalize): Likewise.
28337         (ldbl_nearbyint): Likewise.
28338         (ldbl_pack): Rename to ldbl_pack_ppc.
28339         (ldbl_unpack): Rename to ldbl_unpack_ppc.
28340         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
28341         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
28342
28343 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
28344
28345         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
28346         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
28347         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
28348         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
28349         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
28350         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
28351         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
28352         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
28353
28354 2013-03-07  Andreas Jaeger  <aj@suse.de>
28355
28356         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28357         bits/mman-linux.h.
28358
28359 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
28360
28361         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
28362         Include mpa.h and declare __MPEXP.
28363         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
28364         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
28365         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
28366         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
28367         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
28368         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
28369         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
28370
28371         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
28372         (__slowpow): Use long double EXPL and LOGL functions to
28373         compute POW.
28374         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
28375         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
28376         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
28377         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
28378         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
28379         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
28380
28381         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
28382         intermediate variable to calculate exponent.
28383         (__sqr): Likewise.
28384         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
28385         Likewise.
28386         (__sqr): Likewise.
28387
28388         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
28389         [!NO__SQR]: Define __sqr.
28390         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
28391         and NO__SQR.  Remove all code except __mul and __sqr.  Include
28392         sysdeps/ieee754/dbl-64/mpa.c.
28393         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28394
28395         [BZ #12723]
28396         * posix/Makefile (tests): Add tst-pathconf.
28397         * posix/tst-pathconf.c: New test case.
28398         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
28399         _PC_PIPE_BUF.
28400         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
28401
28402 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
28403
28404         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
28405
28406 2013-03-06  Andreas Jaeger  <aj@suse.de>
28407
28408         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
28409         definition via __MAP_ANONYMOUS.
28410
28411         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
28412         it's not part of Linux headers.
28413
28414         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
28415         (MAP_HUGE_MASK): Define.
28416
28417         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
28418         Define.
28419         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28420         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
28421         Define.
28422         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28423         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
28424         Define.
28425         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28426         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
28427         Define.
28428         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28429
28430         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
28431         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
28432         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
28433         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
28434         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
28435         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
28436
28437         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
28438         Handle f2fs.
28439
28440         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28441         Handle f2fs and efivarfs.
28442
28443         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
28444         f2fs.
28445
28446         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
28447         (EFIVARFS_MAGIC): Add.
28448         (F2FS_LINK_MAX): Add.
28449
28450 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
28451
28452         * stdio-common/vfprintf.c: Replace __builtin_expect with
28453         __glibc_unlikely.
28454
28455 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
28456
28457         [BZ #13550]
28458         * sysdeps/generic/bp-sym.h: Remove file.
28459         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
28460         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
28461         <bp-sym.h> and <bp-asm.h>.
28462         (__longjmp): Don't use BP_SYM.
28463         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
28464         and <bp-asm.h>.
28465         (memcpy): Don't use BP_SYM.
28466         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
28467         <bp-sym.h> and <bp-asm.h>.
28468         (memcpy): Don't use BP_SYM.
28469         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
28470         <bp-asm.h>.
28471         (memcpy): Don't use BP_SYM.
28472         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
28473         <bp-asm.h>.
28474         (memset): Don't use BP_SYM.
28475         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28476         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28477         (__bzero): Don't use BP_SYM.
28478         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28479         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28480         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
28481         <bp-sym.h> and <bp-asm.h>.
28482         (memcmp): Don't use BP_SYM.  Remove comment about bounded
28483         pointers.
28484         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
28485         <bp-sym.h> and <bp-asm.h>.
28486         (memcpy): Don't use BP_SYM.
28487         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
28488         <bp-sym.h> and <bp-asm.h>.
28489         (memset): Don't use BP_SYM.
28490         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28491         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28492         (__bzero): Don't use BP_SYM.
28493         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28494         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28495         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
28496         <bp-sym.h> and <bp-asm.h>.
28497         (strncmp): Don't use BP_SYM.  Remove comment about bounded
28498         pointers.
28499         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
28500         <bp-sym.h> and <bp-asm.h>.
28501         (memcpy): Don't use BP_SYM.
28502         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
28503         <bp-sym.h> and <bp-asm.h>.
28504         (memset): Don't use BP_SYM.
28505         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28506         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28507         (__bzero): Don't use BP_SYM.
28508         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28509         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28510         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
28511         <bp-sym.h> and <bp-asm.h>.
28512         (__memchr): Don't use BP_SYM.
28513         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
28514         <bp-sym.h> and <bp-asm.h>.
28515         (memcmp): Don't use BP_SYM.  Remove comment about bounded
28516         pointers.
28517         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
28518         <bp-sym.h> and <bp-asm.h>.
28519         (memcpy): Don't use BP_SYM.
28520         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
28521         <bp-sym.h> and <bp-asm.h>.
28522         (__mempcpy): Don't use BP_SYM.
28523         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
28524         <bp-sym.h> and <bp-asm.h>.
28525         (__memrchr): Don't use BP_SYM.
28526         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
28527         <bp-sym.h> and <bp-asm.h>.
28528         (memset): Don't use BP_SYM.
28529         (__bzero): Likewise.
28530         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
28531         <bp-sym.h> and <bp-asm.h>.
28532         (__rawmemchr): Don't use BP_SYM.
28533         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
28534         <bp-sym.h> and <bp-asm.h>.
28535         (__STRCMP): Don't use BP_SYM.
28536         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
28537         <bp-sym.h> and <bp-asm.h>.
28538         (strchr): Don't use BP_SYM.
28539         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
28540         <bp-sym.h> and <bp-asm.h>.
28541         (__strchrnul): Don't use BP_SYM.
28542         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
28543         <bp-sym.h> and <bp-asm.h>.
28544         (strlen): Don't use BP_SYM.
28545         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
28546         <bp-sym.h> and <bp-asm.h>.
28547         (strncmp): Don't use BP_SYM.  Remove comment about bounded
28548         pointers.
28549         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
28550         <bp-sym.h> and <bp-asm.h>.
28551         (__strnlen): Don't use BP_SYM.
28552         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
28553         <bp-sym.h> and <bp-asm.h>.
28554         (__GI__setjmp): Don't use BP_SYM.
28555         (_setjmp): Likewise.
28556         (__sigsetjmp): Likewise.
28557         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
28558         (L(start_addresses)): Don't use BP_SYM.
28559         (_start): Likewise.
28560         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
28561         <bp-asm.h>.
28562         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
28563         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
28564         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28565         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28566         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
28567         <bp-asm.h>.
28568         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
28569         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
28570         about bounded pointers.
28571         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
28572         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28573         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
28574         <bp-asm.h>.
28575         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
28576         about bounded pointers.  Remove GKM FIXME comments.
28577         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
28578         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
28579         <bp-asm.h>.
28580         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
28581         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
28582         Remove GKM FIXME comments.
28583         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28584         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28585         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
28586         <bp-asm.h>.
28587         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
28588         about bounded pointers.  Remove GKM FIXME comment.
28589         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
28590         and <bp-asm.h>.
28591         (strncmp): Don't use BP_SYM.  Remove comment about bounded
28592         pointers.
28593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
28594         <bp-sym.h> and <bp-asm.h>.
28595         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
28596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
28597         <bp-sym.h> and <bp-asm.h>.
28598         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
28599         comment.
28600
28601 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
28602
28603         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
28604         call free(NULL).
28605
28606 2013-03-05  David S. Miller  <davem@davemloft.net>
28607
28608         * po/es.po: Update from translation team.
28609
28610 2013-03-05  Andreas Jaeger  <aj@suse.de>
28611
28612         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
28613         <bits/mman-linux.h>.
28614         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
28615         is fine.
28616         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
28617         <bits/mman-linux.h> to end of file.
28618         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
28619         is fine.
28620         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
28621         <bits/mman-linux.h> to end of file.
28622         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
28623         is fine.
28624         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
28625         <bits/mman-linux.h> to end of file.
28626
28627         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
28628         (MCL_CURRENT, MCL_FUTURE): Define here.
28629
28630 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28631
28632         [BZ #15232]
28633         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
28634         attribute_hidden.
28635         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
28636
28637 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28638
28639         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
28640         fourth parameter needed for rt_sigprocmask syscall.
28641         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
28642         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
28643         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
28644         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
28645         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
28646         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
28647
28648 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
28649
28650         [BZ #13550]
28651         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
28652         comment about bounded pointers.
28653         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
28654         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
28655
28656 2013-03-04  Andreas Jaeger  <aj@suse.de>
28657
28658         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
28659         common definitions.
28660
28661         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
28662         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
28663         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
28664         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
28665         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
28666         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
28667
28668 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28669
28670         [BZ #15055]
28671         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
28672         __ieee754_sqrl instead of __sqrl.
28673
28674 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
28675
28676         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
28677         * sysdeps/powerpc/fpu_control.h: ... here.
28678         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
28679         * sysdeps/powerpc/bits/fenvinline.h: ... here.
28680         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
28681         * sysdeps/powerpc/bits/mathinline.h: ... here.
28682
28683 2013-03-01  Roland McGrath  <roland@hack.frob.com>
28684
28685         * elf/dl-hwcaps.c (_dl_important_hwcaps):
28686         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
28687         to just [NEED_DL_SYSINFO_DSO].
28688         * elf/dl-support.c: Likewise.
28689         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
28690         * elf/rtld.c (dl_main): Likewise.
28691         * elf/setup-vdso.h (setup_vdso): Likewise.
28692         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
28693         * sysdeps/unix/sysv/linux/dl-sysdep.c
28694         (_dl_discover_osversion): Likewise.
28695
28696 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
28697
28698         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
28699         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
28700
28701 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
28702
28703         * NEWS: Mention libm performance improvements and non-x86 PI
28704         futex support.
28705
28706         * csu/libc-start.c (__pthread_initialize_minimal): Change
28707         function arguments.
28708         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
28709
28710 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
28711
28712         [BZ #13550]
28713         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
28714         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
28715         <bp-sym.h> and <bp-asm.h>.
28716         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
28717         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
28718         and <bp-asm.h>.
28719         (memcpy): Don't use BP_SYM.
28720         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
28721         <bp-asm.h>.
28722         (__mpn_add_n): Don't use BP_SYM.
28723         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
28724         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
28725         and <bp-asm.h>.
28726         (__mpn_addmul_1): Don't use BP_SYM.
28727         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28728         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
28729         <bp-sym.h>.
28730         (_setjmp): Don't use BP_SYM.
28731         (__novmx_setjmp): Likewise.
28732         (__GI__setjmp): Likewise.
28733         (__vmx_setjmp): Likewise.
28734         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
28735         <bp-sym.h>.
28736         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
28737         (__bzero): Don't use BP_SYM.
28738         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28739         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28740         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
28741         <bp-sym.h> and <bp-asm.h>.
28742         (memcpy): Don't use BP_SYM.
28743         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
28744         <bp-sym.h> and <bp-asm.h>.
28745         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
28746         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
28747         <bp-sym.h> and <bp-asm.h>.
28748         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
28749         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
28750         <bp-asm.h>.
28751         (__mpn_lshift): Don't use BP_SYM.
28752         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28753         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
28754         <bp-asm.h>.
28755         (memset): Don't use BP_SYM.
28756         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28757         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28758         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
28759         <bp-asm.h>.
28760         (__mpn_mul_1): Don't use BP_SYM.
28761         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28762         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
28763         <bp-sym.h> and <bp-asm.h>.
28764         (memcmp): Don't use BP_SYM.
28765         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
28766         <bp-sym.h> and <bp-asm.h>.
28767         (memcpy): Don't use BP_SYM.
28768         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
28769         <bp-sym.h> and <bp-asm.h>.
28770         (memset): Don't use BP_SYM.
28771         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
28772         <bp-sym.h> and <bp-asm.h>.
28773         (strncmp): Don't use BP_SYM.
28774         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
28775         <bp-sym.h> and <bp-asm.h>.
28776         (memcpy): Don't use BP_SYM.
28777         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
28778         <bp-sym.h> and <bp-asm.h>.
28779         (memset): Don't use BP_SYM.
28780         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
28781         <bp-sym.h> and <bp-asm.h>.
28782         (__memchr): Don't use BP_SYM.
28783         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
28784         <bp-sym.h> and <bp-asm.h>.
28785         (memcmp): Don't use BP_SYM.
28786         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
28787         <bp-sym.h> and <bp-asm.h>.
28788         (memcpy): Don't use BP_SYM.
28789         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
28790         <bp-sym.h> and <bp-asm.h>.
28791         (__mempcpy): Don't use BP_SYM.
28792         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
28793         <bp-sym.h> and <bp-asm.h>.
28794         (__memrchr): Don't use BP_SYM.
28795         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
28796         <bp-sym.h> and <bp-asm.h>.
28797         (memset): Don't use BP_SYM.
28798         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
28799         <bp-sym.h> and <bp-asm.h>.
28800         (__rawmemchr): Don't use BP_SYM.
28801         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
28802         <bp-sym.h> and <bp-asm.h>.
28803         (__STRCMP): Don't use BP_SYM.
28804         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
28805         <bp-sym.h> and <bp-asm.h>.
28806         (strchr): Don't use BP_SYM.
28807         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
28808         <bp-sym.h> and <bp-asm.h>.
28809         (__strchrnul): Don't use BP_SYM.
28810         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
28811         <bp-sym.h> and <bp-asm.h>.
28812         (strlen): Don't use BP_SYM.
28813         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
28814         <bp-sym.h> and <bp-asm.h>.
28815         (strncmp): Don't use BP_SYM.
28816         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
28817         <bp-sym.h> and <bp-asm.h>.
28818         (__strnlen): Don't use BP_SYM.
28819         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
28820         <bp-asm.h>.
28821         (__mpn_rshift): Don't use BP_SYM.
28822         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28823         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
28824         <bp-sym.h> and <bp-asm.h>.
28825         (__sigsetjmp): Don't use BP_SYM.
28826         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
28827         (L(start_addresses)): Don't use BP_SYM.
28828         (_start): Likewise.
28829         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
28830         <bp-asm.h>.
28831         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
28832         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28833         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28834         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
28835         <bp-asm.h>.
28836         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
28837         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
28838         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28839         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
28840         <bp-asm.h>.
28841         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
28842         comments.
28843         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
28844         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
28845         <bp-asm.h>.
28846         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
28847         FIXME comments.
28848         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28849         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28850         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
28851         <bp-asm.h>.
28852         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
28853         comment.
28854         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
28855         and <bp-asm.h>.
28856         (strncmp): Don't use BP_SYM,
28857         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
28858         <bp-asm.h>.
28859         (__mpn_sub_n): Don't use BP_SYM.
28860         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28861         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
28862         and <bp-asm.h>.
28863         (__mpn_submul_1): Don't use BP_SYM.
28864         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
28866         <bp-sym.h> and <bp-asm.h>.
28867         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
28868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
28869         <bp-sym.h> and <bp-asm.h>.
28870         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
28871         comment.
28872
28873 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28874
28875         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
28876         Use ZK to minimize writes to Z.
28877         (sub_magnitudes): Simplify code a bit.
28878         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
28879         Use ZK to minimize writes to Z.
28880         (sub_magnitudes): Simplify code a bit.
28881
28882 2013-02-27  Roland McGrath  <roland@hack.frob.com>
28883
28884         * csu/gmon-start.c: Add special exception to license text.
28885
28886 2013-02-27  Richard Henderson  <rth@redhat.com>
28887
28888         * scripts/config.guess: Update from config.git.
28889         * scripts/config.sub: Likewise.
28890
28891 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
28892
28893         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
28894
28895         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
28896
28897         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
28898
28899         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
28900
28901         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
28902
28903 2013-02-26  Roland McGrath  <roland@hack.frob.com>
28904
28905         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
28906         [$(build-shared = yes].
28907
28908 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
28909
28910         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
28911         (__mul): Reduce iterations for calculating mantissa.
28912
28913         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
28914         MPTWO.
28915         (__mpranred): Likewise.
28916
28917         [BZ #15160]
28918         * malloc/memusagestat.c (main): Draw graphs for heap and stack
28919         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
28920
28921 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
28922
28923         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
28924         Define __attribute__.
28925
28926 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
28927
28928         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
28929         unused.
28930         * posix/regex_internal.h (__attribute): Remove.
28931         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
28932         (re_string_context_at): Likewise.
28933         (bitset_not): Use __attribute__ and mark function as possibly
28934         unused.
28935         (bitset_merge): Likewise.
28936         (bitset_mask): Likewise.
28937         (re_string_char_size_at): Likewise.
28938         (re_string_wchar_at): Likewise.
28939         (re_string_elem_size_at): Likewise.
28940
28941 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
28942
28943         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
28944         code.
28945         (cc32): Likewise.
28946
28947         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
28948         (__acr): Likewise.
28949         (__cpy): Likewise.
28950         (norm): Likewise.
28951         (denorm): Likewise.
28952         (__dbl_mp): Likewise.
28953         (add_magnitudes): Likewise.
28954         (sub_magnitudes): Likewise.
28955         (__mul): Likewise.
28956         (__inv): Likewise.
28957
28958         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
28959         style.
28960
28961         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
28962         style.
28963
28964         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
28965         code.
28966
28967         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
28968         up changes with default code.
28969         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
28970         Likewise.
28971
28972 2013-02-24  Allan McRae  <allan@archlinux.org>
28973
28974         * manual/socket.texi (The Internet Namespace): Order menu items
28975         to match that in the file.
28976
28977         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
28978         node listing of the info page menu.
28979
28980 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
28981
28982         [BZ #13550]
28983         * sysdeps/i386/bp-asm.h: Remove file.
28984         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
28985         (PARMS): Do not use macros from bp-asm.h.
28986         (S1): Likewise.
28987         (S2): Likewise.
28988         (SIZE): Likewise.
28989         (__mpn_add_n): Do not use BP_SYM
28990         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
28991         "bp-asm.h".
28992         (PARMS): Do not use macros from bp-asm.h.
28993         (S1): Likewise.
28994         (SIZE): Likewise.
28995         (__mpn_addmul_1): Do not use BP_SYM
28996         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
28997         "bp-asm.h".
28998         (PARMS): Do not use macros from bp-asm.h.
28999         (SIGMSK): Likewise.
29000         (_setjmp): Likewise.  Do not use BP_SYM.
29001         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
29002         "bp-asm.h".
29003         (PARMS): Do not use macros from bp-asm.h.
29004         (SIGMSK): Likewise.
29005         (setjmp): Likewise.  Do not use BP_SYM.
29006         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
29007         "bp-asm.h".
29008         (PARMS): Do not use macros from bp-asm.h.
29009         (__frexp): Do not use BP_SYM.
29010         (frexp): Likewise.
29011         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
29012         "bp-asm.h".
29013         (PARMS): Do not use macros from bp-asm.h.
29014         (__frexpf): Do not use BP_SYM.
29015         (frexpf): Likewise.
29016         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
29017         "bp-asm.h".
29018         (PARMS): Do not use macros from bp-asm.h.
29019         (__frexpl): Do not use BP_SYM.
29020         (frexpl): Likewise.
29021         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
29022         "bp-asm.h".
29023         (PARMS): Do not use macros from bp-asm.h.
29024         (__remquo): Do not use BP_SYM.
29025         (remquo): Likewise.
29026         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
29027         "bp-asm.h".
29028         (PARMS): Do not use macros from bp-asm.h.
29029         (__remquof): Do not use BP_SYM.
29030         (remquof): Likewise.
29031         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
29032         "bp-asm.h".
29033         (PARMS): Do not use macros from bp-asm.h.
29034         (__remquol): Do not use BP_SYM.
29035         (remquol): Likewise.
29036         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
29037         "bp-asm.h".
29038         (PARMS): Do not use macros from bp-asm.h.
29039         (DEST): Likewise.
29040         (SRC): Likewise.
29041         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
29042         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
29043         "bp-asm.h".
29044         (PARMS): Do not use macros from bp-asm.h.
29045         (strlen): Do not use BP_SYM.
29046         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
29047         "bp-asm.h".
29048         (PARMS): Do not use macros from bp-asm.h.
29049         (S1): Likewise.
29050         (S2): Likewise.
29051         (SIZE): Likewise.
29052         (__mpn_add_n): Do not use BP_SYM.
29053         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
29054         "bp-asm.h".
29055         (PARMS): Do not use macros from bp-asm.h.
29056         (S1): Likewise.
29057         (SIZE): Likewise.
29058         (__mpn_addmul_1): Do not use BP_SYM.
29059         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
29060         weak_alias.
29061         (bzero): Likewise.
29062         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
29063         "bp-asm.h".
29064         (PARMS): Do not use macros from bp-asm.h.
29065         (S): Likewise.
29066         (SIZE): Likewise.
29067         (__mpn_lshift): Do not use BP_SYM.
29068         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
29069         "bp-asm.h".
29070         (PARMS): Do not use macros from bp-asm.h.
29071         (DEST): Likewise.
29072         (SRC): Likewise.
29073         (LEN): Likewise.
29074         (memcpy): Likewise.  Do not use BP_SYM.
29075         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
29076         libc_hidden_def and weak_alias.
29077         (mempcpy): Do not use BP_SYM in weak_alias.
29078         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
29079         "bp-asm.h".
29080         (PARMS): Do not use macros from bp-asm.h.
29081         (DEST): Likewise.
29082         (LEN): Likewise.
29083         [!BZERO_P] (CHR): Likewise.
29084         (memset): Likewise.  Do not use BP_SYM.
29085         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
29086         "bp-asm.h".
29087         (PARMS): Do not use macros from bp-asm.h.
29088         (S1): Likewise.
29089         (SIZE): Likewise.
29090         (__mpn_mul_1): Do not use BP_SYM.
29091         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
29092         "bp-asm.h".
29093         (PARMS): Do not use macros from bp-asm.h.
29094         (S): Likewise.
29095         (SIZE): Likewise.
29096         (__mpn_rshift): Do not use BP_SYM.
29097         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
29098         "bp-asm.h".
29099         (PARMS): Do not use macros from bp-asm.h.
29100         (STR): Likewise.
29101         (CHR): Likewise.
29102         (strchr): Likewise.  Do not use BP_SYM.
29103         (index): Do not use BP_SYM in weak_alias.
29104         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
29105         "bp-asm.h".
29106         (PARMS): Do not use macros from bp-asm.h.
29107         (DEST): Likewise.
29108         (SRC): Likewise.
29109         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
29110         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
29111         "bp-asm.h".
29112         (PARMS): Do not use macros from bp-asm.h.
29113         (strlen): Do not use BP_SYM.
29114         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
29115         "bp-asm.h".
29116         (PARMS): Do not use macros from bp-asm.h.
29117         (S1): Likewise.
29118         (S2): Likewise.
29119         (SIZE): Likewise.
29120         (__mpn_sub_n): Do not use BP_SYM.
29121         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
29122         "bp-asm.h".
29123         (PARMS): Do not use macros from bp-asm.h.
29124         (S1): Likewise.
29125         (SIZE): Likewise.
29126         (__mpn_submul_1): Do not use BP_SYM.
29127         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
29128         "bp-asm.h".
29129         (PARMS): Do not use macros from bp-asm.h.
29130         (S1): Likewise.
29131         (S2): Likewise.
29132         (SIZE): Likewise.
29133         (__mpn_add_n): Do not use BP_SYM.
29134         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
29135         weak_alias.
29136         (bzero): Likewise.
29137         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
29138         "bp-asm.h".
29139         (PARMS): Do not use macros from bp-asm.h.
29140         (BLK2): Likewise.
29141         (LEN): Likewise.
29142         (memcmp): Do not use BP_SYM.
29143         (bcmp): Do not use BP_SYM in weak_alias.
29144         * sysdeps/i386/i686/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/i686/memmove.S: Do not include "bp-sym.h" and
29152         "bp-asm.h".
29153         (PARMS): Do not use macros from bp-asm.h.
29154         (DEST): Likewise.
29155         (SRC): Likewise.
29156         (LEN): Likewise.
29157         (memmove): Likewise.  Do not use BP_SYM.
29158         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
29159         "bp-asm.h".
29160         (PARMS): Do not use macros from bp-asm.h.
29161         (DEST): Likewise.
29162         (SRC): Likewise.
29163         (LEN): Likewise.
29164         (__mempcpy): Likewise.  Do not use BP_SYM.
29165         (mempcpy): Do not use BP_SYM in weak_alias.
29166         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
29167         "bp-asm.h".
29168         (PARMS): Do not use macros from bp-asm.h.
29169         (DEST): Likewise.
29170         (LEN): Likewise.
29171         [!BZERO_P] (CHR): Likewise.
29172         (memset): Likewise.  Do not use BP_SYM.
29173         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
29174         "bp-asm.h".
29175         (PARMS): Do not use macros from bp-asm.h.
29176         (STR2): Likewise.
29177         (strcmp): Do not use BP_SYM.
29178         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
29179         "bp-asm.h".
29180         (PARMS): Do not use macros from bp-asm.h.
29181         (STR): Likewise.
29182         (DELIM): Likewise.
29183         [USE_AS_STRTOK_R] (SAVE): Likewise.
29184         (FUNCTION): Likewise.  Do not use BP_SYM.
29185         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
29186         aliases.
29187         (strtok_r): Likewise.
29188         (__GI___strtok_r): Likewise.
29189         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
29190         (PARMS): Do not use macros from bp-asm.h.
29191         (S): Likewise.
29192         (SIZE): Likewise.
29193         (__mpn_lshift): Do not use BP_SYM.
29194         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
29195         (PARMS): Do not use macros from bp-asm.h.
29196         (STR): Likewise.
29197         (CHR): Likewise.
29198         (__memchr): Do not use BP_SYM.
29199         (memchr): Do not use BP_SYM in weak_alias.
29200         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
29201         (PARMS): Do not use macros from bp-asm.h.
29202         (BLK2): Likewise.
29203         (LEN): Likewise.
29204         (memcmp): Do not use BP_SYM.
29205         (bcmp): Do not use BP_SYM in weak_alias.
29206         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
29207         (PARMS): Do not use macros from bp-asm.h.
29208         (S1): Likewise.
29209         (SIZE): Likewise.
29210         (__mpn_mul_1): Do not use BP_SYM.
29211         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
29212         "bp-asm.h".
29213         (PARMS): Do not use macros from bp-asm.h.
29214         (STR): Likewise.
29215         (CHR): Likewise.
29216         (__rawmemchr): Do not use BP_SYM.
29217         (rawmemchr): Do not use BP_SYM in weak_alias.
29218         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
29219         (PARMS): Do not use macros from bp-asm.h.
29220         (S): Likewise.
29221         (SIZE): Likewise.
29222         (__mpn_rshift): Do not use BP_SYM.
29223         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
29224         (PARMS): Do not use macros from bp-asm.h.
29225         (SIGMSK): Likewise.
29226         (__sigsetjmp): Likewise.  Do not use BP_SYM.
29227         * sysdeps/i386/start.S: Do not include "bp-sym.h".
29228         (_start): Do not use BP_SYM.
29229         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
29230         (PARMS): Do not use macros from bp-asm.h.
29231         (DEST): Likewise.
29232         (SRC): Likewise.
29233         (__stpcpy): Likewise.  Do not use BP_SYM.
29234         (stpcpy): Do not use BP_SYM in weak_alias.
29235         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
29236         "bp-asm.h".
29237         (PARMS): Do not use macros from bp-asm.h.
29238         (DEST): Likewise.
29239         (SRC): Likewise.
29240         (LEN): Likewise.
29241         (__stpncpy): Likewise.  Do not use BP_SYM.
29242         (stpncpy): Do not use BP_SYM in weak_alias.
29243         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
29244         (PARMS): Do not use macros from bp-asm.h.
29245         (STR): Likewise.
29246         (CHR): Likewise.
29247         (strchr): Likewise.  Do not use BP_SYM.
29248         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
29249         "bp-asm.h".
29250         (PARMS): Do not use macros from bp-asm.h.
29251         (STR): Likewise.
29252         (CHR): Likewise.
29253         (__strchrnul): Likewise.  Do not use BP_SYM.
29254         (strchrnul): Do not use BP_SYM in weak_alias.
29255         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
29256         "bp-asm.h".
29257         (PARMS): Do not use macros from bp-asm.h.
29258         (STOP): Likewise.
29259         (strcspn): Do not use BP_SYM.
29260         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
29261         "bp-asm.h".
29262         (PARMS): Do not use macros from bp-asm.h.
29263         (STR): Likewise.
29264         (STOP): Likewise.
29265         (strpbrk): Likewise.  Do not use BP_SYM.
29266         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
29267         "bp-asm.h".
29268         (PARMS): Do not use macros from bp-asm.h.
29269         (STR): Likewise.
29270         (CHR): Likewise.
29271         (strrchr): Likewise.  Do not use BP_SYM.
29272         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
29273         (PARMS): Do not use macros from bp-asm.h.
29274         (SKIP): Likewise.
29275         (strspn): Do not use BP_SYM.
29276         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
29277         (PARMS): Do not use macros from bp-asm.h.
29278         (STR): Likewise.
29279         (DELIM): Likewise.
29280         (SAVE): Likewise.
29281         (FUNCTION): Likewise.  Do not use BP_SYM.
29282         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
29283         aliases.
29284         (strtok_r): Likewise.
29285         (__GI___strtok_r): Likewise.
29286         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
29287         (PARMS): Do not use macros from bp-asm.h.
29288         (S1): Likewise.
29289         (S2): Likewise.
29290         (SIZE): Likewise.
29291         (__mpn_sub_n): Do not use BP_SYM.
29292         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
29293         "bp-asm.h".
29294         (PARMS): Do not use macros from bp-asm.h.
29295         (S1): Likewise.
29296         (SIZE): Likewise.
29297         (__mpn_submul_1): Do not use BP_SYM.
29298         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
29299         <bp-sym.h>.
29300         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
29301         and <bp-asm.h>.
29302         (PARMS): Do not use macros from bp-asm.h.
29303         (FLAGS): Likewise.
29304         (PTID): Likewise.
29305         (TLS): Likewise.
29306         (CTID): Likewise.
29307         (__clone): Do not use BP_SYM.
29308         (clone): Do not use BP_SYM in weak_alias.
29309         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
29310         and <bp-asm.h>.
29311         (PARMS): Do not use macros from bp-asm.h.
29312         (LEN): Likewise.
29313         (__mmap64): Do not use BP_SYM.
29314         (mmap64): Do not use BP_SYM in weak_alias.
29315         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
29316         <bp-sym.h> and <bp-asm.h>.
29317         (PARMS): Do not use macros from bp-asm.h.
29318         (__posix_fadvise64_l64): Do not use BP_SYM.
29319         * sysdeps/unix/sysv/linux/i386/semtimedop.S
29320         (PARMS): Do not use macros from bp-asm.h.
29321         (NSOPS): Likewise.
29322         (semtimedop): Do not use BP_SYM.
29323         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
29324         and <bp-asm.h>.
29325
29326 2013-02-21  Allan McRae  <allan@archlinux.org>
29327
29328         * manual/message.texi (Charset conversion in gettext):
29329         Move @end statement to beginning of line.
29330
29331 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
29332
29333         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
29334         static.
29335         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
29336         Likewise.
29337
29338         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
29339         (denorm): Likewise.
29340         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
29341         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
29342
29343 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29344
29345         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
29346         tail-call to the resolved function if pltexit isn't needed.
29347
29348 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
29349
29350         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
29351         or Y being zero as being unlikely.
29352         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
29353         Likewise.
29354
29355 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
29356
29357         * manual/nss.texi (System Databases and Name Service Switch):
29358         Remove frobnicate @pxref.
29359
29360 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
29361
29362         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
29363         __attribute__ ((unused)) to __attribute__ ((__unused__)).
29364
29365 2013-02-20  Petr Machata  <pmachata@redhat.com>
29366
29367         * elf/elf.h (R_ARM_TARGET1): New macro.
29368         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
29369         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
29370         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
29371         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
29372         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
29373         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
29374         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
29375         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
29376         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
29377         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
29378         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
29379         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
29380         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
29381         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
29382         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
29383         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
29384         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
29385         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
29386         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
29387         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
29388         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
29389         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
29390         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
29391         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
29392         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
29393         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
29394         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
29395         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
29396         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
29397         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
29398         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
29399         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
29400         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
29401         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
29402         (R_ARM_THM_GOT_BREL12): Likewise.
29403         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
29404         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
29405         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
29406         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
29407         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
29408         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
29409         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
29410         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
29411         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
29412
29413 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
29414
29415         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
29416         __attribute_used__ to __attribute__ ((unused)).
29417
29418 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
29419
29420         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
29421         powerpc mpa.c.
29422         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
29423         comment formatting.
29424         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
29425
29426 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
29427
29428         [BZ #13550]
29429         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
29430         Remove macro.
29431         (ENTER): Remove both macro definitions.
29432         (LEAVE): Likewise.
29433         (CHECK_BOUNDS_LOW): Likewise.
29434         (CHECK_BOUNDS_HIGH): Likewise.
29435         (CHECK_BOUNDS_BOTH): Likewise.
29436         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
29437         (RETURN_BOUNDED_POINTER): Likewise.
29438         (RETURN_NULL_BOUNDED_POINTER): Likewise.
29439         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
29440         (POP_ERRNO_LOCATION_RETURN): Likewise.
29441         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
29442         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29443         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
29444         macros.
29445         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29446         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
29447         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
29448         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
29449         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
29450         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
29451         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
29452         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
29453         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
29454         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
29455         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
29456         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
29457         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29458         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
29459         removed macros.
29460         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29461         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
29462         macros.
29463         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29464         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
29465         * sysdeps/i386/i586/memset.S (memset): Likewise.
29466         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
29467         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29468         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
29469         macros.
29470         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29471         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
29472         Change uses of L(2) to L(out).
29473         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
29474         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
29475         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
29476         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29477         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
29478         removed macros.
29479         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29480         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
29481         macros.
29482         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29483         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
29484         (RETURN): Do not use macro LEAVE.
29485         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
29486         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
29487         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
29488         * sysdeps/i386/i686/memset.S (memset): Likewise.
29489         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
29490         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
29491         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
29492         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
29493         Likewise.
29494         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29495         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
29496         L(1_2) and L(1_3) into L(1).
29497         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
29498         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
29499         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29500         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
29501         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
29502         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
29503         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
29504         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29505         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
29506         macros.
29507         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
29508         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29509         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
29510         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
29511         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
29512         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29513         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
29514         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
29515         * sysdeps/i386/strcspn.S (strcspn): Likewise.
29516         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
29517         * sysdeps/i386/strrchr.S (strrchr): Likewise.
29518         * sysdeps/i386/strspn.S (strspn): Likewise.
29519         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
29520         conditional code.
29521         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29522         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
29523         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
29524         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
29525         L(1_3) into L(1_1).
29526         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
29527         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29528         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
29529         macros.
29530         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29531
29532 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
29533
29534         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
29535         macro.
29536
29537 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
29538
29539         * math/atest-exp.c (exp_mpn): Remove ROUND.
29540         * math/atest-exp2.c (exp_mpn): Likewise.
29541         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
29542
29543         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
29544         * stdlib/tst-tls-atexit-lib.c: Likewise.
29545         * stdlib/tst-tls-atexit.c: Likewise.
29546
29547 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
29548
29549         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
29550         and __attribute_alloc_size__.
29551
29552 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
29553
29554         * include/programs/xmalloc.h: Change __attribute_alloc_size to
29555         __attribute_alloc_size__.
29556         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
29557         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
29558
29559 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
29560
29561         * include/programs/xmalloc.h: New file.
29562         * catgets/gencat.c: Include it.
29563         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
29564         * elf/pldd.c: Likewise.
29565         * iconv/iconv_charmap.c: Likewise.
29566         * iconv/iconvconfig.c: Likewise.
29567         * iconv/strtab.c: Likewise.
29568         * locale/programs/locale.c: Likewise.
29569         * locale/programs/localedef.h: Likewise.
29570         * locale/programs/simple-hash.c: Likewise.
29571         * nscd/nscd.h: Likewise.
29572         * nss/makedb.c: Likewise.
29573         * sysdeps/generic/ldconfig.h: Likewise.
29574
29575 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
29576
29577         * Versions.def: Add GLIBC_2.18.
29578         * include/link.h (struct link_map): New member l_tls_dtor_count.
29579         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
29580         (__call_tls_dtors): Likewise.
29581         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
29582         __cxa_thread_atexit_impl.
29583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29584         Likewise.
29585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29586         Likewise.
29587         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
29588         Likewise.
29589         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
29590         Likewise.
29591         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29592         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
29593         Likewise.
29594         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
29595         Likewise.
29596         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29597         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
29598         Likewise.
29599         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
29600         (tests): Add test case tst-tls-atexit.
29601         (modules-names): Add shared library for tst-tls-atexit.
29602         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
29603         (GLIBC_PRIVATE): Add __call_tls_dtors.
29604         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
29605         for libstdc++.
29606         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
29607         * stdlib/tst-tls-atexit.c: New test case.
29608         * stdlib/tst-tls-atexit-lib.c: New test case.
29609
29610         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
29611
29612         * elf/Versions (ld): Add _dl_find_dso_for_object.
29613         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
29614         * elf/dl-open.c (_dl_find_dso_for_object): New function.
29615         (dl_open_worker): Use _dl_find_dso_for_object.
29616         * elf/dl-sym.c (do_sym): Likewise.
29617         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
29618
29619 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29620
29621         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
29622         Syntactic changes only.
29623         (_dl_runtime_profile): Do a tail-call to the resolved function.
29624
29625 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
29626
29627         [BZ #13550]
29628         * sysdeps/x86_64/bp-asm.h: Remove file.
29629         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
29630         <bp-sym.h> and <bp-asm.h>.
29631         (__clone): Do not use BP_SYM.
29632         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
29633         <bp-sym.h> and <bp-asm.h>.
29634         * sysdeps/unix/x86_64/sysdep.S: Likewise.
29635         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
29636         "bp-asm.h".
29637         (_setjmp): Do not use BP_SYM.
29638         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
29639         "bp-asm.h".
29640         (setjmp): Do not use BP_SYM.
29641         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
29642         libc_hidden_def.
29643         (mempcpy): Do not use BP_SYM in weak_alias.
29644         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
29645         "bp-asm.h".
29646         (strchr): Do not use BP_SYM.
29647         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
29648         "bp-asm.h".
29649         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
29650         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
29651         (_start): Do not use BP_SYM.
29652         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
29653         "bp-asm.h".
29654         (strcat): Do not use BP_SYM.
29655         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
29656         "bp-asm.h".
29657         (STRCMP): Do not use BP_SYM.
29658         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
29659         "bp-asm.h".
29660         (STRCPY): Do not use BP_SYM.
29661         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
29662         "bp-asm.h".
29663         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
29664         "bp-asm.h".
29665         (FUNCTION): Do not use BP_SYM.
29666         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
29667         weak_alias.
29668         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
29669
29670 2013-02-17  Andreas Jaeger  <aj@suse.de>
29671
29672         * time/Versions: Sort entries.
29673         * string/Versions: Likewise.
29674         * resolv/Versions: Likewise.
29675         * posix/Versions: Likewise.
29676         * iconv/Versions: Likewise.
29677         * elf/Versions: Likewise.
29678         * wcsmbs/Versions: Likewise.
29679
29680 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
29681
29682         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
29683         loop termination condition.
29684
29685         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
29686         variable to calculate EZ.
29687         (__sqr): Likewise.
29688
29689         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
29690         the lower precision input.
29691
29692 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
29693
29694         [BZ #13550]
29695         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
29696         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
29697         (run-via-rtld-prefix): Do not handle %-bp tests.
29698         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
29699         (all-object-suffixes): Remove .ob.
29700         (bppfx): Remove variable.
29701         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
29702         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
29703         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
29704         [$(build-bounded) = yes] (libtype.ob): Likewise.
29705         * Makerules (elide-routines.ob): Remove variable.
29706         (do-tests-clean): Do not handle *-bp.out.
29707         (common-mostlyclean): Do not handle *-bp and *-bp.out.
29708         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
29709         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
29710         (tests): Do not include $(tests-bp.out).
29711         (xtests): Do not include $(xtests-bp.out).
29712         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
29713         [$(build-bounded) = yes] ($(addprefix
29714         $(objpfx),$(binaries-bounded))): Remove rule.
29715         ($(objpfx)%-bp.out): Remove rule.
29716         * config.make.in (build-bounded): Remove variable.
29717         * crypt/Makefile [$(build-bounded) = yes]
29718         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
29719         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
29720         append to variable.
29721         [$(build-bounded) = yes] (install-lib): Likewise.
29722         [$(build-bounded) = yes] (generated): Likewise.
29723         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
29724         Remove rule.
29725         * intl/Makefile [$(build-bounded) = yes]
29726         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
29727         * math/Makefile [$(build-bounded) = yes]
29728         ($(tests:%=$(objpfx)%-bp): Likewise.
29729         * misc/Makefile [$(build-bounded) = yes]
29730         ($(objpfx)tst-tsearch-bp): Likewise.
29731         * nptl/Makeconfig (bounded-thread-library): Remove variable.
29732         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
29733         Remove dependency.
29734         * string/Makefile (o-objects.ob): Remove variable.
29735         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
29736         (CFLAGS-.ob): Remove variable.
29737         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
29738         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
29739         both definitions of variable.
29740         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
29741         (ASFLAGS-.ob): Remove variable.
29742
29743 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
29744
29745         [BZ #13550]
29746         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
29747         Remove __BOUNDED_POINTERS__ from condition.
29748         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
29749         * string/bits/string2.h [!__NO_STRING_INLINES &&
29750         !__BOUNDED_POINTERS__]: Likewise.
29751         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
29752         Likewise.
29753         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
29754         Remove conditional code.
29755         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
29756         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
29757         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
29758         condition.
29759
29760         [BZ #13550]
29761         * csu/libc-start.c: Do not include <bp-sym.h>.
29762         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
29763         * elf/dl-open.c: Do not include <bp-sym.h>.
29764         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
29765         * math/fegetenv.c: Do not include <bp-sym.h>.
29766         (fegetenv): Do not use BP_SYM in versioned symbols.
29767         * nptl/sysdeps/pthread/bits/libc-lockP.h
29768         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
29769         <bp-sym.h>.
29770         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29771         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
29772         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29773         (__pthread_mutex_destroy): Likewise.
29774         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29775         (__pthread_mutex_lock): Likewise.
29776         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29777         (__pthread_mutex_trylock): Likewise.
29778         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29779         (__pthread_mutex_unlock): Likewise.
29780         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29781         (__pthread_mutexattr_init): Likewise.
29782         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29783         (__pthread_mutexattr_destroy): Likewise.
29784         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29785         (__pthread_mutexattr_settype): Likewise.
29786         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29787         (__pthread_rwlock_init): Likewise.
29788         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29789         (__pthread_rwlock_destroy): Likewise.
29790         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29791         (__pthread_rwlock_rdlock): Likewise.
29792         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29793         (__pthread_rwlock_tryrdlock): Likewise.
29794         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29795         (__pthread_rwlock_wrlock): Likewise.
29796         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29797         (__pthread_rwlock_trywrlock): Likewise.
29798         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29799         (__pthread_rwlock_unlock): Likewise.
29800         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29801         (__pthread_key_create): Likewise.
29802         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29803         (__pthread_setspecific): Likewise.
29804         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29805         (__pthread_getspecific): Likewise.
29806         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
29807         Likewise.
29808         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29809         (_pthread_cleanup_push_defer): Likewise.
29810         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29811         (_pthread_cleanup_pop_restore): Likewise.
29812         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29813         (pthread_setcancelstate): Likewise.
29814         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
29815         <bp-sym.h>.
29816         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
29817         (memchr): Do not use BP_SYM in weak_alias.
29818         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
29819         (fegetenv): Do not use BP_SYM in versioned symbols.
29820         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
29821         (fesetenv): Do not use BP_SYM in versioned symbols.
29822         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
29823         (feupdateenv): Do not use BP_SYM in versioned symbols.
29824         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
29825         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
29826         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
29827         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
29828         (open64): Do not use BP_SYM in weak_alias.
29829         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
29830         (fegetenv): Do not use BP_SYM in versioned symbols.
29831         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
29832         (fesetenv): Do not use BP_SYM in versioned symbols.
29833         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
29834         (feupdateenv): Do not use BP_SYM in versioned symbols.
29835         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
29836         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
29837         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
29838         (feraiseexcept): Do not use BP_SYM in versioned symbols.
29839         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
29840         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
29841         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
29842         <bp-sym.h>.
29843         (__libc_start_main): Do not use BP_SYM.
29844
29845 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
29846
29847         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
29848         redundant return line.
29849         (norm): Likewise.
29850         (denorm): Likewise.
29851         (dbl_mp): Likewise.
29852         (sub_magnitudes): Likewise.
29853         (__add): Likewise.
29854         (__sub): Likewise.
29855         (__mul): Likewise.
29856         (__inv): Likewise.
29857         (__dvd): Likewise.
29858         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
29859         (norm): Likewise.
29860         (denorm): Likewise.
29861         (dbl_mp): Likewise.
29862         (sub_magnitudes): Likewise.
29863         (__add): Likewise.
29864         (__sub): Likewise.
29865         (__mul): Likewise.
29866         (__inv): Likewise.
29867         (__dvd): Likewise.
29868
29869         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
29870         instead of __mul.
29871         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
29872         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
29873         (cc32): Likewise.
29874
29875         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
29876         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
29877         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
29878         of __mul for squares.
29879         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
29880         function
29881         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
29882         Likewise.
29883         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
29884         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
29885
29886 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
29887
29888         [BZ #13550]
29889         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
29890         code.
29891         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
29892         prototype or function definition.  Rename ubp_* variables and
29893         parameters.  Remove argv definitions conditional on
29894         [__BOUNDED_POINTERS__].
29895         * debug/backtrace.c (__backtrace): Do not use __unbounded.
29896         * elf/dl-runtime.c (_dl_fixup): Likewise.
29897         * include/set-hooks.h (RUN_HOOK): Likewise.
29898         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
29899         definition.
29900         * string/strcpy.c (strcpy): Do not use __unbounded.
29901         * sysdeps/generic/frame.h (struct layout): Likewise.
29902         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
29903         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
29904         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
29905         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
29906         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
29907         (__backtrace): Likewise.
29908         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
29909         use __ptrvalue.
29910         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
29911         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
29912         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
29913         Likewise.
29914         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
29915         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
29916         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
29917         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
29918         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
29919         Do not use __unbounded.
29920         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
29921         Rename __unboundedrlimits parameter to rlimits in prototype.
29922         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
29923         Do not use __unbounded.
29924         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
29925         not use __ptrvalue.
29926         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
29927         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
29928         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
29929         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
29930         __ptrvalue or __unbounded.
29931         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
29932         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
29933         use __unbounded.
29934         (__new_msgctl): Do not use __ptrvalue.
29935         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
29936         __unbounded.
29937         (__libc_msgrcv): Do not use __ptrvalue.
29938         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
29939         startup_info): Do not use __unbounded.
29940         (__libc_start_main): Likewise.  Rename ubp_* variables and
29941         parameters.  Remove argv definitions conditional on
29942         [__BOUNDED_POINTERS__].
29943         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
29944         __ptrvalue.
29945         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
29946         use __unbounded.
29947         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
29948         or __ptrvalue.
29949         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
29950         use __unbounded.
29951         (__new_shmctl): Do not use __ptrvalue.
29952         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
29953         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
29954         Likewise.
29955         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
29956         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
29957         (__libc_sigaction): Likewise.
29958         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
29959         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
29960         Likewise.
29961         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
29962
29963 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
29964
29965         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
29966
29967         * string/mempcpy.c: Implement by calling memcpy.
29968
29969 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
29970
29971         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
29972
29973         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
29974         evaluation.
29975
29976         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
29977         values in the mantissa.
29978
29979         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
29980         minimize writes to Z.
29981         (sub_magnitudes): Simplify code a bit.
29982
29983 2013-02-12  Roland McGrath  <roland@hack.frob.com>
29984
29985         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
29986         from the message.  The linker prefixes all warnings with that already.
29987
29988 2013-02-12  Andreas Schwab  <schwab@suse.de>
29989
29990         [BZ #15078]
29991         * posix/regexec.c (extend_buffers): Add parameter min_len.
29992         (check_matching): Pass minimum needed length.
29993         (clean_state_log_if_needed): Likewise.
29994         (get_subexp): Likewise.
29995         * posix/Makefile (tests): Add bug-regex34.
29996         (bug-regex34-ENV): Define.
29997         * posix/bug-regex34.c: New file.
29998
29999         [BZ #11561]
30000         * posix/regcomp.c (parse_bracket_exp): When looking up collating
30001         elements compare against the byte sequence of it, not its name.
30002         * posix/Makefile (tests): Add bug-regex35.
30003         (bug-regex35-ENV): Define.
30004         * posix/bug-regex35.c: New file.
30005
30006 2013-02-11  Tom de Vries  <tom@codesourcery.com>
30007
30008         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
30009         comment.
30010         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
30011         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
30012         (CHECK_EOL): Add undef.
30013
30014 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
30015
30016         * bits/stdlib-bsearch.h: New file.
30017         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
30018         * stdlib/stdlib.h: Likewise.
30019
30020 2013-02-11  Roland McGrath  <roland@hack.frob.com>
30021
30022         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
30023         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
30024         declaration.
30025         * manual/search.texi (Array Search Function): Add missing const in
30026         lfind prototype.
30027         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
30028         declaration to use rlim_t.
30029         (Basic Scheduling Functions): Remove erroneous const from
30030         sched_getparam prototype.  Remove erroneous * from
30031         sched_get_priority_max and sched_get_priority_min prototypes.
30032         (Resource Usage): Fix summary @comment on vtimes to refer to
30033         sys/vtimes.h rather than vtimes.h.
30034         Add missing *s in vtimes prototype.
30035         (Limits on Resources): Fix ulimit prototype to return long int.
30036         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
30037         prototypes to use long int rather than double.
30038         (BSD Random): Fix initstate and setstate to use char *, not void *.
30039         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
30040         prototype to make second argument 'struct aiocb64 *const[]'.
30041         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
30042         (Status of AIO Operations): Remove erroneous const in aio_return and
30043         aio_return64 prototypes.
30044         (Synchronizing I/O): Fix sync prototype to return void.
30045         * manual/startup.texi (Suboptions): Remove an erroneous const in
30046         getsubopt prototype.
30047         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
30048         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
30049         use size_t rather than int.
30050         (Scanning All Users): Likewise for getpwent_r.
30051         (Setting Groups): Add missing const to setgroups prototype.
30052         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
30053         * manual/socket.texi (Host Names): Fix gethostbyaddr and
30054         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
30055         'const void *' rather than 'const char *'.
30056         (Host Address Functions): Likewise for inet_ntop.
30057         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
30058         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
30059         ssize_t for return value.
30060         (Sending Data): Likewise for send, sendto, sendmsg.
30061         (Socket Option Functions): Add a missing const in setsockopt prototype.
30062         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
30063         use wchar_t for the argument.
30064         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
30065         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
30066         take no arguments.
30067         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
30068         double/float/long double for second argument.
30069         Fix return types of significand, significandf, significandl.
30070         * manual/filesys.texi (Setting Permissions): Use mode_t for second
30071         argument in fchmod prototype.
30072         (File Owner): Use uid_t and gid_t in fchown prototype.
30073         (File Times): Add const to utimes, futimes, and lutimes prototypes.
30074         (Making Special Files): Use mode_t and dev_t in mknod prototype.
30075         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
30076         use 'const struct dirent **' as argument types to CMP function pointer
30077         argument.
30078         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
30079         (File Times): Fix summary magic @comment for struct utimbuf and utime
30080         to refer to utime.h, not time.h.
30081         * manual/string.texi (Argz Functions): Add missing const in
30082         argz_extract and argz_next prototypes.
30083         (Finding Tokens in a String): Likewise for basename.
30084         (String/Array Comparison): Fix typo in wcscasecmp prototype.
30085         (Copying and Concatenation): Fix typo in wmemmove prototype.
30086         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
30087         (Signal Stack): Remove erroneous const in sigstack prototype.
30088         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
30089         prototype.
30090         (Simple Calendar Time): Likewise for stime.
30091         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
30092         prototype.
30093         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
30094         say sys/sysctl.h instead.
30095         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
30096         and vsyslog prototypes.
30097
30098 2013-02-11  Tom de Vries  <tom@codesourcery.com>
30099
30100         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
30101         Remove.
30102
30103 2013-02-11  Roland McGrath  <roland@hack.frob.com>
30104
30105         * misc/sys/mman.h: Fix typo in mremap comment.
30106
30107 2013-02-08  Roland McGrath  <roland@hack.frob.com>
30108
30109         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
30110         the '\0' terminator.
30111
30112 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
30113
30114         [BZ #13550]
30115         * debug/segfault.c: Don't include <bp-checks.h>.
30116         * sysdeps/generic/bp-checks.h: Remove file.
30117         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
30118         (__GETDENTS): Don't use CHECK_N.
30119         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
30120         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
30121         (__getgroups): Don't use CHECK_N.
30122         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
30123         (setgroups): Don't use CHECK_N.
30124         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
30125         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
30126         (__libc_msgrcv): Don't use CHECK_N.
30127         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
30128         (__libc_msgsnd): Don't use CHECK_N.
30129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
30130         <bp-checks.h>.
30131         (__libc_pread): Don't use CHECK_N.
30132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
30133         include <bp-checks.h>.
30134         (__libc_pread64): Don't use CHECK_N.
30135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
30136         include <bp-checks.h>.
30137         (__libc_pwrite): Don't use CHECK_N.
30138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
30139         include <bp-checks.h>.
30140         (__libc_pwrite64): Don't use CHECK_N.
30141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
30142         <bp-checks.h>.
30143         (__libc_pread): Don't use CHECK_N.
30144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
30145         include <bp-checks.h>.
30146         (__libc_pread64): Don't use CHECK_N.
30147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
30148         include <bp-checks.h>.
30149         (__libc_pwrite): Don't use CHECK_N.
30150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
30151         include <bp-checks.h>.
30152         (__libc_pwrite64): Don't use CHECK_N.
30153         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
30154         (do_pread): Don't use CHECK_N.
30155         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
30156         (do_pread64): Don't use CHECK_N.
30157         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
30158         (do_pwrite): Don't use CHECK_N.
30159         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
30160         (do_pwrite64): Don't use CHECK_N.
30161         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
30162         (__libc_readv): Don't use CHECK_N.
30163         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
30164         (semop): Don't use CHECK_N.
30165         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
30166         <bp-checks.h>.
30167         (semtimedop): Don't use CHECK_N.
30168         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
30169         (__libc_pread): Don't use CHECK_N.
30170         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
30171         <bp-checks.h>.
30172         (__libc_pread64): Don't use CHECK_N.
30173         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
30174         <bp-checks.h>.
30175         (__libc_pwrite): Don't use CHECK_N.
30176         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
30177         <bp-checks.h>.
30178         (__libc_pwrite64): Don't use CHECK_N.
30179         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
30180         <bp-checks.h>.
30181         (__libc_msgrcv): Don't use CHECK_N.
30182         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
30183         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
30184         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
30185         (__libc_writev): Don't use CHECK_N.
30186
30187 2013-02-08  Roland McGrath  <roland@hack.frob.com>
30188
30189         * string/strcpy.c: Removed unused variable.
30190
30191         * Makeconfig (+sysdep-includes): Define with := rather than =.
30192         Use an existing include/ subdir of each sysdeps dir before it.
30193
30194 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
30195
30196         * nscd/connection.c (register_traced_file): Comment function.
30197         [HAVE_INOTIFY] (union __inev): Define.
30198         [HAVE_INOTIFY] (inotify_check_files): New function.
30199         [HAVE_INOTIFY] (clear_db_cache): Likewise.
30200         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
30201         clear_db_cache.
30202         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
30203
30204 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
30205
30206         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
30207         loaded if not already and that a failure is permanent.
30208
30209 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
30210
30211         [BZ #15006]
30212         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
30213         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
30214
30215 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
30216
30217         [BZ #13550]
30218         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
30219         (CHECK_1_NULL_OK): Likewise.
30220         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
30221         (__fxstat): Do not use CHECK_1.
30222         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
30223         <bp-checks.h>.
30224         (___fxstat64): Do not use CHECK_1.
30225         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
30226         <bp-checks.h>.
30227         (__fxstatat): Do not use CHECK_1.
30228         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
30229         <bp-checks.h>.
30230         (__fxstatat64): Do not use CHECK_1.
30231         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
30232         <bp-checks.h>.
30233         (__fxstat): Do not use CHECK_1.
30234         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
30235         <bp-checks.h>.
30236         (__fxstatat): Do not use CHECK_1.
30237         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
30238         <bp-checks.h>.
30239         (__getresgid): Do not use CHECK_1.
30240         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
30241         <bp-checks.h>.
30242         (__getresuid): Do not use CHECK_1.
30243         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
30244         <bp-checks.h>.
30245         (__lxstat): Do not use CHECK_1.
30246         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
30247         <bp-checks.h>.
30248         (__old_msgctl): Do not use CHECK_1.
30249         (__new_msgctl): Likewise.
30250         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
30251         <bp-checks.h>.
30252         (__new_setrlimit): Do not use CHECK_1.
30253         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
30254         <bp-checks.h>.
30255         (__old_shmctl): Do not use CHECK_1.
30256         (__new_shmctl): Likewise.
30257         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
30258         <bp-checks.h>.
30259         (__xstat): Do not use CHECK_1.
30260         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
30261         (__lxstat): Do not use CHECK_1.
30262         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
30263         <bp-checks.h>.
30264         (___lxstat64): Do not use CHECK_1.
30265         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
30266         (__old_msgctl): Do not use CHECK_1.
30267         (__new_msgctl): Likewise.
30268         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
30269         <bp-checks.h>.
30270         (__gettimeofday): Do not use CHECK_1.
30271         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
30272         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
30273         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
30274         <bp-checks.h>.
30275         (__gettimeofday): Do not use CHECK_1.
30276         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
30277         (__old_shmctl): Do not use CHECK_1_NULL_OK.
30278         (__new_shmctl): Do not use CHECK_1.
30279         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
30280         <bp-checks.h>.
30281         (do_sigtimedwait): Do not use CHECK_1.
30282         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
30283         <bp-checks.h>.
30284         (do_sigwaitinfo): Do not use CHECK_1.
30285         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
30286         <bp-checks.h>.
30287         (msgctl): Do not use CHECK_1.
30288         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
30289         <bp-checks.h>.
30290         (shmctl): Do not use CHECK_1.
30291         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
30292         (ustat): Do not use CHECK_1.
30293         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
30294         <bp-checks.h>.
30295         (__fxstat): Do not use CHECK_1.
30296         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
30297         <bp-checks.h>.
30298         (__fxstatat): Do not use CHECK_1.
30299         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
30300         <bp-checks.h>.
30301         (__lxstat): Do not use CHECK_1.
30302         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
30303         <bp-checks.h>.
30304         (__xstat): Do not use CHECK_1.
30305         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
30306         (__xstat): Do not use CHECK_1.
30307         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
30308         (___xstat64): Do not use CHECK_1.
30309
30310         [BZ #13550]
30311         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
30312         definitions.
30313         (CHECK_BOUNDS_HIGH): Likewise.
30314         * string/strcpy.c: Do not include <bp-checks.h>.
30315         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
30316
30317 2013-02-07  Roland McGrath  <roland@hack.frob.com>
30318
30319         * nscd/nscd-client.h (__nscd_drop_map_ref):
30320         Add __attribute__ ((unused)).
30321         * nis/nss-nisplus.h (niserr2nss): Likewise.
30322
30323         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
30324         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
30325
30326         * csu/libc-tls.c (init_static_tls, init_slotinfo):
30327         Remove inline keyword.
30328         * include/rounding-mode.h (round_away): Likewise.
30329         * libio/wfileops.c (adjust_wide_data): Likewise.
30330         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
30331         (__m128i_strloadu_tolower): Likewise.
30332         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
30333         (__m128i_strloadu_tolower): Likewise.
30334         * time/mktime.c (ydhms_diff): Likewise.
30335         * locale/elem-hash.h (elem_hash): Likewise.
30336         * locale/setlocale.c (setdata): Likewise.
30337         * posix/regex_internal.h (re_string_char_size_at): Likewise.
30338         (re_string_wchar_at): Likewise.
30339         (bitset_not, bitset_merge, bitset_mask): Likewise.
30340         [!(__GNUC__ > 3)] (inline): Remove macro.
30341         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
30342         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
30343         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
30344         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
30345         * string/memcmp.c (memcmp_bytes): Likewise.
30346         * locale/programs/locarchive.c (compute_hashval): Likewise.
30347         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
30348         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
30349         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
30350         * nss/getent.c (print_rpc, print_protocols): Likewise.
30351         (print_passwd, print_group, print_aliases): Likewise.
30352         * nis/nss-nisplus.h (niserr2nss): Likewise.
30353         * nscd/connections.c (restart_p): Likewise.
30354         Change return type to bool.
30355
30356 2013-02-05  Roland McGrath  <roland@hack.frob.com>
30357
30358         * Makeconfig (all-Depend-files): Add existing
30359         $(sorted-subdirs:=/Depend) files.
30360         (all-subdirs): Remove nss.
30361         * sysdeps/unix/inet/Subdirs: Add it here instead.
30362         * hesiod/Depend: New file.
30363
30364         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
30365         instead of calling alloca.
30366
30367         * io/lseek.c (__lseek): Rename to __libc_lseek.
30368         Define __lseek as an alias.
30369
30370         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
30371
30372 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
30373
30374         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
30375         else clause and remove check for non-standard endianness.
30376
30377 2013-02-04  David S. Miller  <davem@davemloft.net>
30378
30379         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30380
30381 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
30382
30383         [BZ #13550]
30384         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
30385         (__ubp_memchr): Remove prototype.
30386         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
30387         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
30388         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
30389         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
30390         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
30391         Remove alias.
30392         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
30393         (__ubp_memchr): Likewise.
30394         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
30395         (__ubp_memchr): Likewise.
30396         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
30397         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
30398         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
30399         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
30400         CHECK_STRING.
30401         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
30402         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
30403         (__getcwd): Do not use CHECK_STRING.
30404         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
30405         <bp-checks.h>.
30406         (__real_chown): Do not use CHECK_STRING.
30407         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
30408         <bp-checks.h>.
30409         (fchownat): Do not use CHECK_STRING.
30410         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
30411         CHECK_STRING.
30412         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
30413         <bp-checks.h>.
30414         (__lchown): Do not use CHECK_STRING.
30415         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
30416         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
30417         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
30418         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
30419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
30420         include <bp-checks.h>.
30421         (truncate64): Do not use CHECK_STRING.
30422         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
30423         <bp-checks.h>.
30424         (__real_chown): Do not use CHECK_STRING.
30425         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
30426         <bp-checks.h>.
30427         (__lchown): Do not use CHECK_STRING.
30428         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
30429         <bp-checks.h>.
30430         (__chown): Do not use CHECK_STRING.
30431         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
30432         <bp-checks.h>.
30433         (truncate64): Do not use CHECK_STRING.
30434         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
30435         Likewise.
30436         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
30437         (__xmknod): Do not use CHECK_STRING.
30438         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
30439         <bp-checks.h>.
30440         (__xmknodat): Do not use CHECK_STRING.
30441         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
30442         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
30443
30444 2013-02-04  Andreas Schwab  <schwab@suse.de>
30445
30446         [BZ #14142]
30447         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
30448         * include/netdb.h: Likewise for h_errno.
30449         * elf/tst-stackguard1.c: Include <tls.h>.
30450
30451 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
30452
30453         * elf/link.h (struct link_map): Extend the l_addr comment.
30454         * include/link.h (struct link_map): Likewise.
30455
30456 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
30457
30458         [BZ #13550]
30459         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
30460         (BOUNDED_1): Remove macro.
30461         * debug/backtrace.c: Don't include <bp-checks.h>.
30462         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
30463         (__backtrace): Likewise.
30464         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
30465         <bp-checks.h>.
30466         (__backtrace): Don't use BOUNDED_1.
30467         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
30468         <bp-checks.h>.
30469         (__backtrace): Don't use BOUNDED_1.
30470         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
30471         (__backtrace): Don't use BOUNDED_1.
30472         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
30473         (shmat): Don't use BOUNDED_N.
30474
30475 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
30476
30477         [BZ #13550]
30478         * sysdeps/generic/bp-start.h: Remove file.
30479         * csu/libc-start.c: Don't include <bp-start.h>.
30480         (LIBC_START_MAIN): Set up __environ directly instead of using
30481         INIT_ARGV_and_ENVIRON.
30482         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
30483         <bp-start.h>.
30484
30485         [BZ #13550]
30486         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
30487         definitions.
30488         (CHECK_FCNTL): Likewise.
30489         (CHECK_N_PAGES): Likewise.
30490
30491         [BZ #13550]
30492         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
30493         definitions.
30494         (CHECK_SIGSET_NULL_OK): Likewise.
30495         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
30496         <bp-checks.h>.
30497         (sigpending): Don't use CHECK_SIGSET.
30498         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
30499         <bp-checks.h>.
30500         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
30501         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
30502         <bp-checks.h>.
30503         (do_sigsuspend): Don't use CHECK_SIGSET.
30504         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
30505         use CHECK_SIGSET.
30506         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
30507         (do_sigwait): Don't use CHECK_SIGSET.
30508         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
30509         use CHECK_SIGSET.
30510         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
30511         include <bp-checks.h>.
30512         (sigpending): Don't use CHECK_SIGSET.
30513         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
30514         include <bp-checks.h>.
30515         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
30516         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
30517         <bp-checks.h>.
30518         (sigpending): Don't use CHECK_SIGSET.
30519         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
30520         <bp-checks.h>.
30521         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
30522
30523         [BZ #13550]
30524         * sysdeps/generic/bp-semctl.h: Remove file.
30525         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
30526         <bp-checks.h> and <bp-semctl.h>.
30527         (__old_semctl): Don't use CHECK_SEMCTL.
30528         (__new_semctl): Likewise.
30529         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
30530         and <bp-semctl.h>.
30531         (__old_semctl): Don't use CHECK_SEMCTL.
30532         (__new_semctl): Likewise.
30533         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
30534         <bp-checks.h> and <bp-semctl.h>.
30535         (__old_semctl): Don't use CHECK_SEMCTL.
30536         (__new_semctl): Likewise.
30537         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
30538         <bp-checks.h> and <bp-semctl.h>.
30539         (semctl): Don't use CHECK_SEMCTL.
30540
30541         [BZ #13550]
30542         * Makerules (elide-bp-thunks): Remove variable.
30543         (elide-routines.oS): Don't use $(elide-bp-thunks).
30544         (elide-routines.os): Likewise.
30545         (elide-routines.o): Likewise.
30546         (elide-routines.op): Likewise.
30547         (elide-routines.og): Likewise.
30548         (objects): Don't use $(bp-thunks).
30549         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
30550         include.
30551         (common-generated): Do not add s-proto-bp.d.
30552         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
30553         (int): Likewise.
30554         (typ): Likewise.
30555         Do not generate makefile rules for bounded-pointer thunks.
30556         * sysdeps/generic/bp-thunks.h: Remove file.
30557         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
30558         * sysdeps/unix/s-proto-bp.S: Likewise.
30559
30560         [BZ #15062]
30561         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
30562         parts of result separately when argument is not close to line from
30563         -i to i and one part of argument is small.
30564         * math/k_casinhf.c (__kernel_casinhf): Likewise.
30565         * math/k_casinhl.c (__kernel_casinhl): Likewise.
30566         * math/libm-test.inc (cacos_test): Add more tests.
30567         (casin_test): Likewise.
30568         (casinh_test): Likewise.
30569         * sysdeps/i386/fpu/libm-test-ulps: Update.
30570         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30571
30572 2013-01-31  David S. Miller  <davem@davemloft.net>
30573
30574         * po/de.po: Update from translation team.
30575
30576 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
30577
30578         * time/tzfile.c: Include stdint.h for SIZE_MAX.
30579
30580 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
30581
30582         * configure.in (_AC_PROG_CC_C89): New definition.
30583         * configure: Regenerate.
30584
30585         * configure.in (AC_PROG_CPP): New definition.
30586         * configure: Regenerate.
30587
30588 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
30589
30590         * debug/tst-backtrace.h: New file.
30591         * debug/tst-backtrace2.c: Include tst-backtrace.h.
30592         (ret): Remove variable.
30593         (x): Likewise.
30594         (FAIL): Remove macro.
30595         (NO_INLINE): Likewise.
30596         (fn1): Use match function instead of strstr.
30597         * debug/tst-backtrace3.c: Include tst-backtrace.h.
30598         (ret): Remove variable.
30599         (x): Likewise.
30600         (FAIL): Remove macro.
30601         (NO_INLINE): Likewise.
30602         (fn): Use match function instead of strstr.
30603         * debug/tst-backtrace4.c: Include tst-backtrace.h.
30604         (ret): Remove variable.
30605         (x): Likewise.
30606         (FAIL): Remove macro.
30607         (NO_INLINE): Likewise.
30608         (handle_signal): Use match function instead of strstr.
30609         * debug/tst-backtrace5.c: Include tst-backtrace.h.
30610         (ret): Remove variable.
30611         (x): Likewise.
30612         (FAIL): Remove macro.
30613         (NO_INLINE): Likewise.
30614         (handle_signal): Use match function instead of strstr.
30615
30616 2013-01-23  Roland McGrath  <roland@hack.frob.com>
30617
30618         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
30619
30620 2013-01-23  David S. Miller  <davem@davemloft.net>
30621
30622         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
30623         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
30624         argument of CAS if possible.
30625         * sysdeps/sparc/sparc64/bits/atomic.h
30626         (__arch_compare_and_exchange_val_32_acq): Likewise.
30627         (__arch_compare_and_exchange_val_64_acq): Likewise.
30628
30629 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
30630
30631         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
30632         * sysdeps/posix/ulimit.c: ... this.
30633         Include <limits.h>.
30634         * sysdeps/unix/bsd/ulimit.c: Remove file.
30635
30636 2013-01-23  Adam Conrad  <adconrad@0c3.net>
30637
30638         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
30639         (LDFLAGS-tst-array5): Likewise.
30640
30641 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
30642
30643         [BZ #15036]
30644         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
30645         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
30646         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
30647         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
30648
30649 2013-01-21  David S. Miller  <davem@davemloft.net>
30650
30651         * sysdeps/sparc/backtrace.c: New file.
30652         * sysdeps/sparc/sparc32/backtrace.h: New file.
30653         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
30654         * sysdeps/sparc/sparc64/backtrace.h: New file.
30655         * sysdeps/sparc/sparc64/backtrace.c: Delete.
30656         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
30657         -funwind-tables.
30658
30659 2013-01-21  Andreas Schwab  <schwab@suse.de>
30660
30661         [BZ #15020]
30662         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
30663         closed its stdout.
30664
30665 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
30666
30667         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
30668         "mpa2.h".
30669         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30670
30671 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
30672             Mark Mitchell  <mark@codesourcery.com>
30673             Tom de Vries  <tom@codesourcery.com>
30674             Paul Pluzhnikov  <ppluzhnikov@google.com>
30675
30676         * debug/tst-backtrace2.c: New file.
30677         * debug/tst-backtrace3.c: Likewise.
30678         * debug/tst-backtrace4.c: Likewise.
30679         * debug/tst-backtrace5.c: Likewise.
30680         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
30681         (CFLAGS-tst-backtrace3.c): Likewise.
30682         (CFLAGS-tst-backtrace4.c): Likewise.
30683         (CFLAGS-tst-backtrace5.c): Likewise.
30684         (LDFLAGS-tst-backtrace2): Likewise.
30685         (LDFLAGS-tst-backtrace3): Likewise.
30686         (LDFLAGS-tst-backtrace4): Likewise.
30687         (LDFLAGS-tst-backtrace5): Likewise.
30688         (tests): Add new tests tst-backtrace2, tst-backtrace3,
30689         tst-backtrace4 and tst-backtrace5.
30690
30691 2013-01-18  Anton Blanchard  <anton@samba.org>
30692             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30693
30694         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
30695         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
30696         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
30697         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
30698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
30699         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
30700         "+r" and remove output regs list as redundant.  Add explicit inline
30701         asm to specify register of return val to work around compiler codegen
30702         bug.  Remove (int) cast on return value.  Add return type parameter to
30703         use in macro so that this macro does not truncate return value for
30704         64-bit values.
30705         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
30706         pass to INTERNAL_VSYSCALL_NCS.
30707         (INLINE_VSYSCALL): Add 'long int' as return type to
30708         INTERNAL_VSYSCALL_NCS macro invocation.
30709         (INTERNAL_VSYSCALL): Add 'long int' as return type to
30710         INTERNAL_VSYSCALL_NCS macro invocation.
30711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30712
30713 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
30714
30715         [BZ #14496]
30716         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
30717         Fix application of SIMD FP exception mask.
30718
30719         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
30720         mp_no from a power of two.
30721         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
30722         __mpexp_twomm1.  Use __pow_mp.
30723
30724         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
30725         multiplication.
30726
30727 2013-01-17  David S. Miller  <davem@davemloft.net>
30728
30729         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30730
30731 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
30732
30733         [BZ #15023]
30734         * include/complex.h: Condition contents on [!_COMPLEX_H].
30735         (__kernel_casinhf): New prototype.
30736         (__kernel_casinh): Likewise.
30737         (__kernel_casinhl): Likewise.
30738         * math/Makefile (libm_calls): Add k_casinh.
30739         * math/k_casinh.c: New file.
30740         * math/k_casinhf.c: Likewise.
30741         * math/k_casinhl.c: Likewise.
30742         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
30743         finite nonzero arguments.
30744         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
30745         finite nonzero arguments.
30746         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
30747         finite nonzero arguments.
30748         * math/s_casinh.c: Do not include <float.h>.
30749         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
30750         * math/s_casinhf.c: Do not include <float.h>.
30751         (__casinhf): Move code for finite nonzero arguments to
30752         k_casinhf.c.
30753         * math/s_casinhl.c: Do not include <float.h>.
30754         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
30755         redefine.
30756         (__casinhl): Move code for finite nonzero arguments to
30757         k_casinhl.c.
30758         * math/libm-test.inc (cacos_test): Add more tests.
30759         * sysdeps/i386/fpu/libm-test-ulps: Update.
30760         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30761
30762 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
30763
30764         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
30765         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
30766         [!HAVE_MREMAP]: Remove [defined linux] case.
30767         * malloc/arena.c: Do not include <malloc-sysdep.h>.
30768
30769 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
30770
30771         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
30772
30773 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
30774
30775         * elf/elf.h (R_386_SIZE32): New relocation.
30776         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
30777         R_386_SIZE32.
30778         (elf_machine_rela): Likewise.
30779         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
30780         R_X86_64_SIZE64 and R_X86_64_SIZE32.
30781
30782 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
30783
30784         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
30785         (FP_FAST_FMA): Do not define.
30786         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
30787         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
30788         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
30789         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
30790         !_SOFT_FLOAT]: Likewise.
30791         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
30792         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
30793         value.
30794         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
30795         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
30796         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
30797         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
30798         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
30799         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
30800         file.
30801
30802 2013-01-16  Andreas Schwab  <schwab@suse.de>
30803
30804         [BZ #14327]
30805         * include/stdlib.h (__mktemp): Add declaration.
30806         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
30807         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
30808
30809 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
30810
30811         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
30812         definitions.
30813         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
30814         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
30815         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
30816         definitions here.
30817         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
30818         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
30819         definitions.
30820         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
30821         and ONE.
30822         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
30823         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
30824         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
30825         definitions.
30826         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
30827         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
30828         definitions.
30829         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
30830
30831         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
30832
30833 2013-01-15  David S. Miller  <davem@davemloft.net>
30834
30835         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
30836         trunc{,f} to libm-sysdep_routes.
30837         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
30838         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
30839         file.
30840         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
30841         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
30842         file.
30843         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
30844         file.
30845         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
30846         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
30847         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
30848         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
30849         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
30850         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
30851         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
30852         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
30853
30854         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
30855         nearbyint{,f} to libm-sysdep_routes.
30856         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
30857         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
30858         New file.
30859         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
30860         file.
30861         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
30862         New file.
30863         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
30864         file.
30865         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
30866         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
30867         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
30868         file.
30869         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
30870         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
30871         file.
30872         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
30873         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
30874         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
30875
30876         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
30877         libc_feholdexcept and libc_fesetenv.
30878
30879 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
30880
30881         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
30882
30883 2013-01-14  David S. Miller  <davem@davemloft.net>
30884
30885         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
30886         (SPARC_ASM_VIS2_IFUNC): Likewise.
30887         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
30888         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
30889         use of 'siam' instruction.
30890         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
30891         Likewise.
30892         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
30893         Likewise.
30894         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
30895         Likewise.
30896         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
30897         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
30898         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
30899         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
30900         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
30901         file.
30902         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
30903         file.
30904         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
30905         file.
30906         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
30907         file.
30908         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
30909         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
30910         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
30911         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
30912         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
30913         new VIS2 routines.
30914         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
30915         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
30916         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
30917         Likewise.
30918         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
30919         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
30920         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
30921         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
30922         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
30923         routines to libm-sysdep_routines.
30924         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
30925
30926         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
30927         fdim/fdimf to libm-sysdep_routines.
30928         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
30929         file.
30930         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
30931         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
30932         file.
30933         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
30934         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
30935         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
30936         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
30937         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
30938         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
30939         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
30940
30941 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
30942
30943         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
30944         to optimize copies.
30945
30946         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
30947         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
30948         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30949
30950         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
30951         local variable MPTWO.
30952         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
30953         Likewise.
30954
30955 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
30956
30957         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
30958         GLOB_NOESCAPE.
30959
30960 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
30961
30962         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
30963
30964 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
30965
30966         * manual/pattern.texi (glob_t): Document gl_flags.
30967         (glob64_t): Likewise.
30968
30969 2013-01-11  David S. Miller  <davem@davemloft.net>
30970
30971         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
30972         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
30973         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
30974         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
30975         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
30976         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
30977         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
30978         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
30979         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
30980         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
30981         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
30982         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
30983         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
30984
30985         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
30986         sparc V9 rather than using V8 code.
30987         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
30988         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
30989
30990         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
30991         Move to...
30992         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
30993         Here.
30994
30995 2013-01-11  Roland McGrath  <roland@hack.frob.com>
30996
30997         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
30998         not in the main loop.
30999         * configure: Regenerated.
31000
31001 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
31002
31003         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
31004         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
31005         to just #else.
31006         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
31007         [!__GLIBC_HAVE_LONG_LONG] case.
31008         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
31009         condition to just #else.
31010         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
31011         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
31012         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
31013         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
31014         unconditional.
31015         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
31016         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
31017         #elif condition to just #else.
31018         * sysdeps/unix/sysv/linux/sys/sysmacros.h
31019         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
31020         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
31021         #elif condition to just #else.
31022
31023 2013-01-11  Steve Ellcey  <sellcey@mips.com>
31024
31025         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
31026         (EF_MIPS_ARCH_64): Fix value.
31027         (EF_MIPS_ARCH_32R2): New.
31028         (EF_MIPS_ARCH_64R2): New.
31029
31030 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
31031
31032         * Makeconfig (+link-pie-before-libc): New.
31033         (+link-pie-after-libc): Likewise.
31034         (+link-pie-tests): Likewise.
31035         (+link-pie): Rewritten.
31036         (link-before-libc): Remove $(config-LDFLAGS).
31037         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
31038         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
31039         (config-LDFLAGS): Renamed to ...
31040         (rtld-LDFLAGS): This.
31041         (rtld-tests-LDFLAGS): New macro.
31042         (link-libc-rpath-link): Likewise.
31043         (link-libc-tests-rpath-link): Likewise.
31044         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
31045         (link-libc): Prepand $(link-libc-rpath-link).
31046         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
31047         (test-program-prefix): New macro.
31048         (test-via-rtld-prefix): Likewise.
31049         (test-program-cmd): Likewise.
31050         (host-test-program-cmd): Likewise.
31051         * Makefile ($(common-objpfx)testrun.sh): Replace
31052         $(run-program-prefix) with $(test-program-prefix).
31053         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
31054         $(rtld-LDFLAGS).
31055         ($(common-objpfx)shlib.lds): Likewise.
31056         (build-module-helper): Likewise.
31057         ($(common-objpfx)format.lds): Likewise.
31058         * Rules (binaries-pie-tests): New.
31059         (binaries-pie-notests): Likewise.
31060         (binaries-pie): Rewritten.
31061         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
31062         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
31063         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
31064         (make-test-out): Replace $(host-built-program-cmd) with
31065         $(host-test-program-cmd).
31066         * config.make.in (build-hardcoded-path-in-tests): New variable.
31067         * configure.in (--enable-hardcoded-path-in-tests): New configure
31068         option.
31069         (hardcoded_path_in_tests): New AC_SUBST.
31070         * configure: Regenerated.
31071         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
31072         $(built-program-cmd) with $(test-program-cmd).
31073         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
31074         (test_program_cmd): This.
31075         * elf/Makefile ($(objpfx)order.out): Run test with
31076         $(test-program-prefix).
31077         ($(objpfx)order2.out): Likewise.
31078         ($(objpfx)tst-initorder.out): Likewise.
31079         ($(objpfx)tst-initorder2.out): Likewise.
31080         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
31081         $(test-program-cmd).
31082         ($(objpfx)tst-array1-static.out): Likewise.
31083         ($(objpfx)tst-array2.out): Likewise.
31084         ($(objpfx)tst-array3.out): Likewise.
31085         ($(objpfx)tst-array4.out): Likewise.
31086         ($(objpfx)tst-array5.out): Likewise.
31087         ($(objpfx)tst-array5-static.out): Likewise.
31088         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
31089         $(test-program-cmd).
31090         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
31091         $(run-program-prefix) with $(test-program-prefix).
31092         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
31093         (test_program_prefix): This.
31094         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
31095         $(run-program-prefix) with $(test-program-prefix).
31096         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
31097         (test_program_prefix): This.
31098         * iconvdata/tst-tables.sh: Likewise.
31099         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
31100         $(run-program-prefix) with $(test-program-prefix).
31101         ($(objpfx)tst-translit.out): Likewise.
31102         ($(objpfx)tst-gettext2.out): Likewise.
31103         ($(objpfx)tst-gettext4.out): Likewise.
31104         ($(objpfx)tst-gettext6.out): Likewise.
31105         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
31106         (test_program_prefix): This.
31107         * intl/tst-gettext2.sh: Likewise.
31108         * intl/tst-gettext4.sh  Likewise.
31109         * intl/tst-gettext6.sh: Likewise.
31110         * intl/tst-translit.sh: Likewise.
31111         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
31112         with $(test-program-cmd).
31113         * libio/Makefile ($(objpfx)test-freopen.out): Replace
31114         $(run-program-prefix) with $(test-program-prefix).
31115         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
31116         (test_program_prefix): This.
31117         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
31118         $(run-program-prefix) with $(test-program-prefix).
31119         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
31120         (test_program_prefix): This.
31121         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
31122         * posix/Makefile ($(objpfx)globtest.out): Replace
31123         $(run-via-rtld-prefix) and $(test-wrapper) with
31124         $(test-program-prefix) and $(test-via-rtld-prefix).
31125         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
31126         $(test-program-prefix).
31127         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
31128         $(host-test-program-cmd).
31129         (tst-spawn-ARGS): Likewise.
31130         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
31131         $(test-program-prefix).
31132         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
31133         (test_via_rtld_prefix): This.
31134         (test_wrapper): Renamed to ...
31135         (test_program_prefix): This.
31136         (run_program_prefix): Replaced by test_program_prefix.
31137         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
31138         (test_program_prefix): This.
31139         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
31140         with $(host-test-program-cmd).
31141         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
31142         $(run-program-prefix) with $(test-program-prefix).
31143         ($(objpfx)tst-printf.out): Likewise.
31144         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
31145         $(test-program-cmd).
31146         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
31147         (test_program_prefix): This.
31148         * stdio-common/tst-unbputc.sh: Likewise.
31149         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
31150         $(run-program-prefix) with $(test-program-prefix).
31151         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
31152         (test_program_prefix): This.
31153         * string/Makefile ($(objpfx)tst-svc.out):  Replace
31154         $(built-program-cmd) with $(test-program-cmd).
31155
31156 2013-01-11  Andreas Jaeger  <aj@suse.de>
31157
31158         [BZ #15003]
31159         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
31160         value. Sync with Linux 3.7.
31161
31162 2013-01-10  David S. Miller  <davem@davemloft.net>
31163
31164         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
31165         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
31166         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
31167
31168 2013-01-10  Roland McGrath  <roland@hack.frob.com>
31169
31170         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
31171         never set.
31172         * configure: Regenerated.
31173
31174 2013-01-10  David S. Miller  <davem@davemloft.net>
31175
31176         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
31177         sparc V9 rather than using V8 code.
31178         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
31179         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
31180
31181 2013-01-10  Roland McGrath  <roland@hack.frob.com>
31182
31183         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
31184         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
31185         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
31186         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
31187         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
31188         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
31189         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
31190         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
31191         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
31192         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
31193         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
31194         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
31195         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
31196         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
31197         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
31198         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
31199         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
31200         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
31201         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
31202         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
31203         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
31204         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
31205         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
31206         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
31207         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
31208         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
31209         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
31210
31211 2013-01-10  David S. Miller  <davem@davemloft.net>
31212
31213         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31214
31215 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
31216
31217         * posix/Makefile (tests-static): New variable.
31218         (tests): Add $(tests-static).
31219         (tst-exec-static-ARGS): New variable.
31220         (tst-spawn-static-ARGS): Likewise.
31221         * posix/tst-exec-static.c: New file.
31222         * posix/tst-spawn-static.c: Likewise.
31223         * posix/tst-exec.c: Support run directly.
31224         * posix/tst-spawn.c: Likewise.
31225
31226 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
31227
31228         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
31229         long.
31230         * math/bits/mathcalls.h (llrint): Likewise.
31231         (llround): Likewise.
31232         * stdlib/stdlib.h (struct drand48_data): Likewise.
31233         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
31234         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
31235         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
31236         Likewise.
31237         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
31238         Likewise.
31239         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
31240         (elf_greg_t): Likewise.
31241         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
31242         (__jmp_buf): Likewise.
31243         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
31244         definitions.
31245         (llrint): Likewise, for all definitions.
31246         (llrintl): Likewise.
31247
31248         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
31249         Remove [__GNUC__] condition.
31250         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
31251         condition to just [__USE_ISOC99].
31252         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
31253
31254 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
31255
31256         [BZ #14200]
31257         * sysdeps/unix/sysv/linux/x86/bits/environments.h
31258         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
31259         defined.
31260         (_POSIX_V6_ILP32_OFF32): Likewise.
31261         (_XBS5_ILP32_OFF32): Likewise.
31262         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
31263         (__ILP32_OFFBIG_LDFLAGS): Likewise.
31264
31265 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
31266
31267         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
31268
31269         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
31270         doubles __mpexp_twomm1.  Adjust usage.
31271         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
31272         Remove.
31273
31274 2013-01-10  Andreas Schwab  <schwab@suse.de>
31275
31276         [BZ #14964]
31277         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
31278         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
31279
31280 2013-01-09  David S. Miller  <davem@davemloft.net>
31281
31282         [BZ #15003]
31283         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
31284         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
31285         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
31286         (TCP_FASTOPEN): Define.
31287         (tcp_repair_opt): New structure.
31288         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
31289         enum values.
31290         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
31291         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
31292         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
31293         (tcp_cookie_transactions): New structure.
31294
31295 2013-01-09  Anton Blanchard  <anton@samba.org>
31296
31297         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
31298         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
31299         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
31300         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
31301
31302 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
31303
31304         * include/features.h (__USE_ANSI): Remove.
31305
31306 2013-01-09  Roland McGrath  <roland@hack.frob.com>
31307
31308         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
31309
31310         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
31311
31312 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
31313
31314         * sysdeps/s390/fpu/libm-test-ulps: Update.
31315
31316         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31317
31318         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
31319         (__acr): Likewise.
31320         (__cpy): Likewise.
31321         (norm): Likewise.
31322         (denorm): Likewise.
31323         (__mp_dbl): Likewise.
31324         (__dbl_mp): Likewise.
31325         (add_magnitudes): Likewise.
31326         (sub_magnitudes): Likewise.
31327         (__add): Likewise.
31328         (__sub): Likewise.
31329         (__mul): Likewise.
31330         (__inv): Likewise.
31331         (__dvd): Likewise.
31332         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
31333         (__acr): Likewise.
31334         (__cpy): Likewise.
31335         (norm): Likewise.
31336         (denorm): Likewise.
31337         (__mp_dbl): Likewise.
31338         (__dbl_mp): Likewise.
31339         (add_magnitudes): Likewise.
31340         (sub_magnitudes): Likewise.
31341         (__add): Likewise.
31342         (__sub): Likewise.
31343         (__mul): Likewise.
31344         (__inv): Likewise.
31345         (__dvd): Likewise.
31346         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
31347         (__acr): Likewise.
31348         (__cpy): Likewise.
31349         (norm): Likewise.
31350         (denorm): Likewise.
31351         (__mp_dbl): Likewise.
31352         (__dbl_mp): Likewise.
31353         (add_magnitudes): Likewise.
31354         (sub_magnitudes): Likewise.
31355         (__add): Likewise.
31356         (__sub): Likewise.
31357         (__mul): Likewise.
31358         (__inv): Likewise.
31359         (__dvd): Likewise.
31360
31361 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
31362
31363         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
31364         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
31365         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
31366         2 && __USE_EXTERN_INLINES]: Likewise.
31367
31368 2013-01-08  Andreas Jaeger  <aj@suse.de>
31369
31370         [BZ# 14985]
31371         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
31372         Remove.
31373         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
31374         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
31375
31376 2013-01-07  Anton Blanchard  <anton@samba.org>
31377
31378         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
31379         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
31380         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
31381         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
31382         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
31383         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
31384         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
31385         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
31386         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
31387         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
31388         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31389         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31390         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
31391         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
31392         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
31393         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31394         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31395         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
31396         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
31397         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
31398         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
31399         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
31400         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
31401         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
31402         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
31403         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
31404         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
31405         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
31406         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
31407         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
31408         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
31409         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31410         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
31411         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
31412         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
31413         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
31414         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
31415         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
31416         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
31417         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
31418         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
31419         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31420         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
31421
31422 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
31423
31424         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
31425         (__MALLOC_PMT): Likewise.
31426         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
31427         [__GNUC__], only on [_LIBC].
31428         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
31429         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
31430         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
31431         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
31432         forward declaration.
31433         (realloc_hook_ini): Likewise.
31434         (memalign_hook_ini): Likewise.
31435         (__libc_memalign): Do not use __MALLOC_PMT in variable
31436         declaration.
31437         (__libc_valloc): Likewise.
31438         (__libc_pvalloc): Likewise.
31439         (__libc_calloc): Likewise.
31440         (__posix_memalign): Likewise.
31441
31442         [BZ #14996]
31443         * math/s_casinh.c: Include <float.h>.
31444         (__casinh): Do not do computation with squaring and square root
31445         for large arguments.
31446         * math/s_casinhf.c: Include <float.h>.
31447         (__casinhf): Do not do computation with squaring and square root
31448         for large arguments.
31449         * math/s_casinhl.c: Include <float.h>.
31450         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
31451         (__casinhl): Do not do computation with squaring and square root
31452         for large arguments.
31453         * math/libm-test.inc (casin_test): Add more tests.
31454         (casinh_test): Likewise.
31455         * sysdeps/i386/fpu/libm-test-ulps: Update.
31456         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31457
31458 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
31459
31460         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
31461         (__x86_64_raw_data_cache_size): Likewise.
31462         (__x86_64_data_cache_size_half): Likewise.
31463         (__x86_64_raw_data_cache_size_half): Likewise.
31464         (__x86_64_shared_cache_size): Likewise.
31465         (__x86_64_raw_shared_cache_size): Likewise.
31466         (__x86_64_shared_cache_size_half): Likewise.
31467         (__x86_64_raw_shared_cache_size_half): Likewise.
31468         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
31469         to ...
31470         (__x86_data_cache_size): This.
31471         (__x86_64_raw_data_cache_size): Renamed to ...
31472         (__x86_raw_data_cache_size): This.
31473         (__x86_64_data_cache_size_half): Renamed to ...
31474         (__x86_data_cache_size_half): This.
31475         (__x86_64_raw_data_cache_size_half): Renamed to ...
31476         (__x86_raw_data_cache_size_half): This.
31477         (__x86_64_shared_cache_size): Renamed to ...
31478         (__x86_shared_cache_size): This.
31479         (__x86_64_raw_shared_cache_size): Renamed to ...
31480         (__x86_raw_shared_cache_size): This.
31481         (__x86_64_shared_cache_size_half): Renamed to ...
31482         (__x86_shared_cache_size_half): This.
31483         (__x86_64_raw_shared_cache_size_half): Renamed to ...
31484         (__x86_raw_shared_cache_size_half): This.
31485         * sysdeps/x86_64/memcpy.S: Updated.
31486         * sysdeps/x86_64/memset.S: Likewise.
31487         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
31488         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
31489         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
31490
31491 2013-01-04  David S. Miller  <davem@davemloft.net>
31492
31493         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31494
31495 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
31496
31497         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
31498         1 to avoid redefinition warning.
31499         (__USE_GNU): Don't define.
31500         (init_signaling_nan): Protoize.
31501
31502         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31503
31504 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
31505
31506         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
31507         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
31508         (__cpymn): Likewise.
31509         (norm): Remove commented code.
31510         (denorm): Likewise.
31511         (__mp_dbl): Likewise.
31512         (__inv): Likewise.
31513         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
31514         (__cpymn): Likewise.
31515         (norm): Remove commented code.
31516         (denorm): Likewise.
31517         (__mp_dbl): Likewise.
31518         (__inv): Likewise.
31519
31520         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
31521         mp_no value for 1.0 and 2.0.
31522         (norm): Use RADIXI instead of radixi.d.
31523         (denorm): Likewise.
31524         (__mul): Use 0.0 instead of zero.d.
31525         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
31526         mp_no value for 1.0 and 2.0.
31527         (norm): Use RADIXI instead of radixi.d.
31528         (denorm): Likewise.
31529         (__mul): Use 0.0 instead of zero.d.
31530
31531 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
31532
31533         [BZ #14994]
31534         * math/s_casinh.c (__casinh): Reduce finite argument to first
31535         quadrant then set signs of results at the end.
31536         * math/s_casinhf.c (__casinhf): Likewise.
31537         * math/s_casinhl.c (__casinhl): Likewise.
31538         * math/libm-test.inc (casin_test): Add more tests.
31539         (casinh_test): Likewise.
31540         * sysdeps/i386/fpu/libm-test-ulps: Update.
31541         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31542
31543 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
31544
31545         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
31546
31547         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
31548
31549         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
31550         declarations.
31551         (denorm): Likewise.
31552         (__mp_dbl): Likewise.
31553         (__inv): Likewise.
31554
31555         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
31556         and adjust the header comment.
31557
31558         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
31559         variable name from declaration.
31560
31561 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
31562
31563         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31564         Initialize COMMON_CPUID_INDEX_7 element.
31565         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
31566         (CPUID_RTM): Likewise.
31567         (HAS_RTM): Likewise.
31568         (COMMON_CPUID_INDEX_7): New enum.
31569
31570 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
31571
31572         [BZ #14981]
31573         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
31574         size is zero, record memory as freed.
31575
31576 2013-01-03  Andreas Jaeger  <aj@suse.de>
31577
31578         * po/ia.po: Add new Interlingua translation.
31579
31580 2012-01-03  Allan McRae  <allan@archlinux.org>
31581
31582         * locale/programs/localedef.c: Fix description of '--posix' flag.
31583
31584 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
31585
31586         * NEWS: Update dates in second copyright notice.
31587         * README: Update copyright dates in example.
31588         * manual/libc.texinfo: Update copyright dates.
31589         * scripts/test-installation.pl: Update copyright date in --version
31590         output.
31591
31592         * hurd/ctty-input.c: Fix copyright notice formatting.
31593         * hurd/ctty-output.c: Likewise.
31594         * hurd/dtable.c: Likewise.
31595         * hurd/hurd-raise.c: Likewise.
31596         * hurd/hurdprio.c: Likewise.
31597         * hurd/msgportdemux.c: Likewise.
31598         * misc/sys/file.h: Likewise.
31599         * misc/sys/ioctl.h: Likewise.
31600         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
31601         * sysdeps/mach/hurd/chdir.c: Likewise.
31602         * sysdeps/mach/hurd/fchdir.c: Likewise.
31603         * sysdeps/mach/hurd/rename.c: Likewise.
31604         * sysdeps/mach/hurd/rmdir.c: Likewise.
31605         * sysdeps/mach/hurd/seekdir.c: Likewise.
31606         * sysdeps/mach/hurd/setsid.c: Likewise.
31607         * sysdeps/posix/wait3.c: Likewise.
31608
31609         * All files with FSF copyright notices: Update copyright dates
31610         using scripts/update-copyrights.
31611         * intl/plural.c: Regenerated.
31612         * locale/programs/charmap-kw.h: Likewise.
31613         * locale/programs/locfile-kw.h: Likewise.
31614
31615 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31616
31617         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
31618         four values.
31619
31620         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
31621         calculation loop and add branch prediction.
31622
31623         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
31624         check access beyond bounds of m1np.
31625
31626         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
31627         MPTWO.
31628         (__inv): Remove local variable MPTWO to use the global
31629         constant.
31630         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
31631         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
31632         variable MPTWO.
31633         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
31634         MP3HALFS static const.
31635
31636 2013-01-01  David S. Miller  <davem@davemloft.net>
31637
31638         * po/ca.po: Update from translation team.
31639
31640 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
31641
31642         * scripts/update-copyrights: New file.
31643         * Makeconfig: Reformat copyright notice.
31644         * ctype/ctype.h: Likewise.
31645         * debug/swprintf_chk.c: Likewise.
31646         * elf/dl-cache.c: Likewise.
31647         * elf/dl-debug.c: Likewise.
31648         * elf/dl-object.c: Likewise.
31649         * grp/initgroups.c: Likewise.
31650         * hurd/Makefile: Likewise.
31651         * hurd/hurd/signal.h: Likewise.
31652         * hurd/hurdfault.c: Likewise.
31653         * hurd/hurdioctl.c: Likewise.
31654         * hurd/hurdlookup.c: Likewise.
31655         * hurd/intr-msg.c: Likewise.
31656         * iconv/gconv_open.c: Likewise.
31657         * libio/swprintf.c: Likewise.
31658         * locale/lc-ctype.c: Likewise.
31659         * locale/nl_langinfo.c: Likewise.
31660         * mach/Machrules: Likewise.
31661         * mach/Makefile: Likewise.
31662         * malloc/obstack.h: Likewise.
31663         * manual/Makefile: Likewise.
31664         * manual/tsort.awk: Likewise.
31665         * misc/bits/stab.def: Likewise.
31666         * nis/nis_print_group_entry.c: Likewise.
31667         * nis/nis_table.c: Likewise.
31668         * nis/nss_compat/compat-pwd.c: Likewise.
31669         * nis/nss_compat/compat-spwd.c: Likewise.
31670         * po/Makefile: Likewise.
31671         * posix/fnmatch.c: Likewise.
31672         * posix/regex.h: Likewise.
31673         * resolv/Makefile: Likewise.
31674         * resolv/nss_dns/dns-network.c: Likewise.
31675         * resolv/res_hconf.c: Likewise.
31676         * scripts/gen-sorted.awk: Likewise.
31677         * soft-fp/soft-fp.h: Likewise.
31678         * stdio-common/printf.h: Likewise.
31679         * stdlib/monetary.h: Likewise.
31680         * stdlib/random.c: Likewise.
31681         * stdlib/random_r.c: Likewise.
31682         * sysdeps/generic/Makefile: Likewise.
31683         * sysdeps/gnu/Makefile: Likewise.
31684         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
31685         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31686         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
31687         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31688         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31689         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31690         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31691         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
31692         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
31693         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31694         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
31695         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
31696         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
31697         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
31698         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
31699         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
31700         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
31701         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31702         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
31703         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31704         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
31705         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
31706         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
31707         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
31708         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
31709         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
31710         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
31711         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
31712         * sysdeps/mach/hurd/errnos.awk: Likewise.
31713         * sysdeps/mach/hurd/fork.c: Likewise.
31714         * sysdeps/mach/hurd/getcwd.c: Likewise.
31715         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
31716         * sysdeps/mach/hurd/mmap.c: Likewise.
31717         * sysdeps/mach/hurd/utimes.c: Likewise.
31718         * sysdeps/mach/hurd/xmknod.c: Likewise.
31719         * sysdeps/posix/profil.c: Likewise.
31720         * sysdeps/posix/readdir_r.c: Likewise.
31721         * sysdeps/powerpc/bits/mathdef.h: Likewise.
31722         * sysdeps/powerpc/bits/setjmp.h: Likewise.
31723         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
31724         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
31725         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
31726         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
31727         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
31728         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
31729         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31730         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
31731         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
31732         * sysdeps/pthread/lio_listio.c: Likewise.
31733         * sysdeps/sparc/dl-procinfo.h: Likewise.
31734         * sysdeps/unix/i386/sysdep.S: Likewise.
31735         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
31736         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
31737         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
31738         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
31739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31740         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
31741         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
31742         * sysdeps/unix/sysv/linux/speed.c: Likewise.
31743         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
31744         * sysdeps/wordsize-32/divdi3.c: Likewise.
31745         * time/sys/time.h: Likewise.
31746         * wcsmbs/Makefile: Likewise.
31747
31748 2013-01-01  David S. Miller  <davem@davemloft.net>
31749
31750         * po/fr.po: Update from translation team.
31751
31752         * catgets/gencat.c: Update copyright year.
31753         * csu/version.c: Likewise.
31754         * debug/catchsegv.sh: Likewise.
31755         * debug/pcprofiledump.c: Likewise.
31756         * debug/xtrace.sh: Likewise.
31757         * elf/ldconfig.c: Likewise.
31758         * elf/ldd.bash.in: Likewise.
31759         * elf/pldd.c: Likewise.
31760         * elf/sotruss.ksh: Likewise.
31761         * elf/sprof.c: Likewise.
31762         * iconv/iconv_prog.c: Likewise.
31763         * iconv/iconvconfig.c: Likewise.
31764         * locale/programs/locale.c: Likewise.
31765         * locale/programs/localedef.c: Likewise.
31766         * login/programs/pt_chown.c: Likewise.
31767         * malloc/memusage.sh: Likewise.
31768         * malloc/memusagestat.c: Likewise.
31769         * malloc/mtrace.pl: Likewise.
31770         * nscd/nscd.c: Likewise.
31771         * nss/getent.c: Likewise.
31772         * nss/makedb.c: Likewise.
31773         * posix/getconf.c: Likewise.
31774
31775 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
31776
31777         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
31778         numbers.
31779
31780 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
31781
31782         * math/bits/mathcalls.h (modf): Use __nonnull.
31783
31784 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
31785
31786         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
31787         (split): Use macro CN instead of the bare value.
31788         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
31789         could be used.
31790         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
31791         instead of the bare value.
31792         (power1): Likewise.
31793
31794 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31795
31796         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
31797         __ATAN_TWOM.
31798         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
31799
31800         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
31801         their values.
31802         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
31803         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
31804         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
31805         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
31806
31807 2012-12-28  Andreas Jaeger  <aj@suse.de>
31808
31809         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
31810         values are from Linux 3.7.
31811
31812         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
31813         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
31814
31815 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31816
31817         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
31818         TRUE case.
31819
31820         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
31821         (norm): Likewise.
31822         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
31823         variables with preprocessor constants.
31824         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
31825         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
31826         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
31827
31828 2012-12-27  Bruno Haible  <bruno@clisp.org>
31829
31830         [BZ #14317]
31831         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
31832         only if needed.
31833
31834 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
31835
31836         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
31837         and use variable directly.
31838         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
31839
31840         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
31841         MPONE.
31842         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
31843         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
31844         variable MPONE.
31845         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
31846         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
31847         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
31848         include directive.  Remove local variable MPONE.
31849         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
31850         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
31851         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
31852
31853 2012-12-25  David S. Miller  <davem@davemloft.net>
31854
31855         * version.h (RELEASE): Set to "development".
31856         (VERSION): Set to "2.17.90".
31857         * NEWS: Add 2.18 section.
31858
31859 2012-12-21  David S. Miller  <davem@davemloft.net>
31860
31861         * po/hr.po: Update from translation team.
31862
31863 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31864
31865         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
31866
31867 2012-12-19  Steve Ellcey  <sellcey@mips.com>
31868
31869         * NEWS:  Mention new memcpy for MIPS.
31870
31871 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
31872
31873         * manual/contrib.texi (Contributors): Spelling correction.
31874
31875 2012-12-15  David S. Miller  <davem@davemloft.net>
31876
31877         * po/ru.po: Update from translation team.
31878
31879 2012-12-13  David S. Miller  <davem@davemloft.net>
31880
31881         * NEWS: Mention IFUNC testsuite enhancements.
31882
31883         * po/pl.po: Update from translation team.
31884         * po/bg.po: Likewise.
31885
31886         * manual/contrib.texi (Contributors): Update entries for Hongjiu
31887         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
31888
31889 2012-12-11  David S. Miller  <davem@davemloft.net>
31890
31891         * po/sv.po: Update from translation team.
31892
31893         * po/vi.po: Update from translation team.
31894
31895         * po/cs.po: Update from translation team.
31896
31897         * po/de.po: Update from translation team.
31898         * po/eo.po: Likewise.
31899         * po/nl.po: Likewise.
31900
31901 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
31902
31903         [BZ #14246]
31904         * manual/argp.texi (Argp Helper Functions): Move node to follow
31905         Argp Parsing State.
31906
31907         [BZ #14872]
31908         * manual/conf.texi (Limits on File System Capacity): Mention if
31909         terminating null is included in the max size.
31910
31911 2012-12-10  Andreas Jaeger  <aj@suse.de>
31912
31913         * po/cs.po: Update from translation team.
31914
31915 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
31916
31917         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
31918         void pointer and cast to uintptr_t.
31919         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
31920         path.
31921         * sysdeps/s390/s390-64/memcpy.S: Likewise.
31922         * sysdeps/s390/s390-64/memset.S: Likewise.
31923
31924 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
31925
31926         [BZ #14833]
31927         * menual/message.texi (Message Translation): Fix typos.
31928         (Helper programs for gettext): Likewise.
31929
31930 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
31931
31932         [BZ #14898]
31933         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
31934         Change to -1.
31935
31936 2012-12-07  David S. Miller  <davem@davemloft.net>
31937
31938         * po/libc.pot: Update.
31939
31940 2012-12-07  Richard Henderson  <rth@redhat.com>
31941
31942         [BZ #10114]
31943         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
31944         normal/normal case to before the switch.
31945         (_FP_DIV): Likewise.
31946
31947 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
31948             Mike Frysinger  <vapier@gentoo.org>
31949
31950         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
31951         check for __NR_fadvise64_64.
31952
31953 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
31954
31955         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
31956         0, not just to plain "0" as a statement.
31957         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
31958         with cw.
31959
31960 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
31961
31962         * NEWS: Use sourceware.org in Bugzilla URL.
31963
31964 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
31965
31966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
31967         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
31968
31969         * stdio-common/tst-put-error.c (do_test): Add newline to the
31970         padded test to ensure flush.
31971
31972 2012-12-05  Jeff Law  <law@redhat.com>
31973
31974         * sunrpc/etc.rpc (fedfs_admin): Add entry.
31975
31976 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
31977
31978         * README: Don't refer to ports add-on as distributed separately.
31979         Mention AArch64 in list of systems supported in the ports add-on.
31980
31981         * LICENSES: Add more non-FSF copyright and license notices.
31982
31983         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
31984         ((unused)).
31985
31986         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
31987
31988         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
31989         10000 as width of padded output.
31990
31991 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
31992
31993         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
31994
31995         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
31996         variable LX with __attribute__ ((unused)).
31997         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
31998         Likewise.
31999         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
32000         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32001         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
32002         with __attribute__ ((unused)).
32003
32004 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
32005
32006         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
32007
32008 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
32009
32010         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
32011         (CFLAGS-nldbl-acos.c): New variable.
32012         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
32013         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
32014         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
32015         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
32016         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
32017         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
32018         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
32019         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
32020         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
32021         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
32022         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
32023         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
32024         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
32025         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
32026         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
32027         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
32028         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
32029         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
32030         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
32031         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
32032         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
32033         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
32034         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
32035         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
32036         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
32037         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
32038         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
32039         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
32040         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
32041         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
32042         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
32043         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
32044         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
32045         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
32046         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
32047         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
32048         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
32049         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
32050         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
32051         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
32052         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
32053         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
32054         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
32055         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
32056         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
32057         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
32058         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
32059         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
32060         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
32061         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
32062         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
32063         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
32064         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
32065         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
32066         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
32067         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
32068         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
32069         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
32070         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
32071         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
32072         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
32073         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
32074         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
32075         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
32076         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
32077         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
32078         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
32079         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
32080         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
32081         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
32082         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
32083         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
32084         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
32085         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
32086         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
32087         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
32088         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
32089         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
32090         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
32091         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
32092         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
32093         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
32094         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
32095         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
32096         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
32097         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
32098         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
32099         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
32100         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
32101         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
32102         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
32103         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
32104         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
32105         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
32106         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
32107         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
32108         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
32109
32110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
32111         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
32112
32113         [BZ #14914]
32114         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
32115         whole low double instead of just low 47 bits when splitting values
32116         into two parts.
32117
32118 2012-12-03  Allan McRae  <allan@archlinux.org>
32119
32120         * manual/stdio.texi (Predefined Printf Handlers): Remove
32121         @hsep and @vsep usage.
32122
32123 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
32124
32125         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
32126         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
32127
32128 2012-12-03  Jeff Law  <law@redhat.com>
32129
32130         * time/sys/time.h (settimeofday): Do not mark TV argument
32131         as __nonnull.
32132
32133 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
32134
32135         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
32136         when currently writing and seek to current position when not.
32137         * libio/Makefile (tests): Remove bug-fclose1.
32138         * libio/bug-fclose1.c: Delete.
32139
32140 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
32141
32142         * manual/arith.texi (feenableexcept): Fix typo.
32143         (fedisableexcept): Likewise.
32144
32145 2012-11-30  Roland McGrath  <roland@hack.frob.com>
32146
32147         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
32148         second, differently-typed declaration, rather than a cast.
32149
32150 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
32151
32152         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
32153         * include/rpc/svc.h: ... here.
32154
32155 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
32156
32157         [BZ #13013]
32158         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
32159         depending n and resplen2 to catch cases where answer
32160         equals answerp2.
32161
32162 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
32163
32164         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
32165         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
32166
32167 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
32168
32169         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
32170
32171 2012-11-29  Roland McGrath  <roland@hack.frob.com>
32172
32173         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
32174
32175 2012-11-28  Jeff Law  <law@redhat.com>
32176
32177         [BZ #13761]
32178         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
32179         dataset_temporary.  Track alloca usage into alloca_used.
32180         If dataset is large allocate and release it via malloc/free.
32181
32182 2012-06-04  Florian Weimer  <fweimer@redhat.com>
32183
32184         [BZ #14197]
32185         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
32186
32187 2012-11-28  David S. Miller  <davem@davemloft.net>
32188
32189         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32190
32191 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
32192
32193         [BZ #14803]
32194         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
32195         of pi/2 rounded to nearest to 64 bits.
32196         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
32197         nearest to 64 bits.
32198         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
32199         bits.
32200
32201 2012-11-28  Jeff Law <law@redhat.com>
32202             Martin Osvald <mosvald@redhat.com>
32203
32204         [BZ #14889]
32205         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
32206         * sunrpc/svc.c: Include time.h.
32207         (__svc_accept_failed): New function.
32208         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
32209         any reason other than EINTR, call __svc_accept_failed.
32210         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
32211         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
32212
32213 2012-11-28  Andreas Schwab  <schwab@suse.de>
32214
32215         * scripts/abilist.awk: Also handle indirect functions in .opd
32216         section.
32217
32218 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
32219
32220         [BZ #13881]
32221         * sysdeps/x86/fpu/powl_helper.c: New file.
32222         * sysdeps/x86/fpu/Makefile: Likewise.
32223         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
32224         (p3): New object.
32225         (__ieee754_powl): Use __powl_helper for finite arguments except
32226         integer exponents below 8.
32227         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
32228         (p3): New object.
32229         (__ieee754_powl): Use __powl_helper for finite arguments except
32230         integer exponents below 8.
32231         * math/libm-test.inc (pow_test): Add more tests and enable some
32232         previously disabled tests.
32233         * sysdeps/i386/fpu/libm-test-ulps: Update.
32234         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32235
32236 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
32237             Carlos O'Donell  <carlos_odonell@mentor.com>
32238
32239         * nss/makedb.c (is_prime): Assert that input is odd and greater
32240         than 4.  Note that fact in a comment too.
32241         (next_prime): Add 4 to input.
32242
32243 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
32244
32245         [BZ #11741]
32246         * libio/Makefile (tests): Add test case tst-fwrite-error.
32247         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
32248         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
32249         * libio/tst-fwrite-error.c: New test case.
32250
32251 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
32252
32253         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
32254         before casting to void *.
32255         * include/libc-internal.h (__pointer_type): New macro.
32256         (__integer_if_pointer_type_sub): Likewise.
32257         (__integer_if_pointer_type): Likewise.
32258         (cast_to_integer): Likewise.
32259         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
32260         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
32261         before casting to atomic64_t.
32262         (atomic_exchange_acq): Likewise.
32263         (__arch_exchange_and_add_body): Likewise.
32264         (__arch_add_body): Likewise.
32265         (atomic_add_negative): Likewise.
32266         (atomic_add_zero): Likewise.
32267
32268 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
32269
32270         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
32271         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
32272         (add_fdes): Likewise.
32273         (linear_search_fdes): Likewise.
32274         (binary_search_unencoded_fdes): Likewise.
32275
32276 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
32277
32278         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
32279
32280 2012-11-24  Adam Conrad  <adconrad@0c3.net>
32281
32282         * configure.in: Autodetect C++ header directories.
32283         * configure: Regenerated.
32284
32285 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
32286
32287         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
32288
32289 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
32290
32291         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32292
32293 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
32294
32295         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
32296         LDBL_MANT_DIG == 106]: Disable some tests.
32297         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
32298         Likewise.
32299         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
32300         Likewise.
32301
32302         [BZ #14871]
32303         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
32304         input for small inputs.  Return +/- pi/2 for large inputs.
32305         * math/libm-test.inc (atan_test): Add more tests.
32306
32307         * sysdeps/generic/unwind-dw2-fde-glibc.c
32308         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
32309         __attribute__ ((unused)).
32310
32311         [BZ #14645]
32312         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
32313         x * y if x and y are nonzero and z is zero.
32314
32315         [BZ #14811]
32316         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
32317         nonzero exponents with absolute value below 0x1p-117 to +/-
32318         0x1p-117.
32319
32320         [BZ #14869]
32321         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
32322         up arguments below 2**-450, not just those below 2**-500.
32323         * math/libm-test.inc (hypot_test): Add another test.
32324
32325         [BZ #14868]
32326         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
32327         Return a+b for ratio over 2**120, not 2**60.
32328         * math/libm-test.inc (hypot_test): Add another test.
32329
32330         * math/libm-test.inc (clog_test): Use
32331         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
32332         (clog10_test): Likewise.
32333
32334         [BZ #6778]
32335         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
32336
32337 2012-11-22  Andreas Schwab  <schwab@suse.de>
32338
32339         * sysdeps/i386/fpu/libm-test-ulps: Update.
32340
32341 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
32342
32343         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
32344         printf output with newline.
32345
32346 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
32347
32348         [BZ #14865]
32349         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
32350         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
32351         -z nodlopen, -z initfirst and -z execstack support.
32352         * configure: Regenerated.
32353
32354         * elf/elf.h (DF_1_NODIRECT): New macro.
32355         (DF_1_IGNMULDEF): Likewise.
32356         (DF_1_NOKSYMS): Likewise.
32357         (DF_1_NOHDR): Likewise.
32358         (DF_1_EDITED): Likewise.
32359         (DF_1_NORELOC): Likewise.
32360         (DF_1_SYMINTPOSE): Likewise.
32361         (DF_1_GLOBAUDIT): Likewise.
32362         (DF_1_SINGLETON): Likewise.
32363         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
32364         DT_1_SUPPORTED_MASK bits.
32365         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
32366
32367 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
32368
32369         * sysdeps/unix/make-syscalls.sh: Document prefixes.
32370
32371 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
32372
32373         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
32374         macro.
32375
32376         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
32377         (sendmmsg): Move declarations...
32378         * socket/sys/socket.h: ... here.
32379         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
32380         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
32381         include it from...
32382         * socket/recvmmsg.c: ... this new file.
32383         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
32384         (sendmmsg): Rename to __sendmmsg, create weak alias and make
32385         definition of __sendmmsg hidden.
32386         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
32387         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
32388         Move ENOSYS stub into and include it from...
32389         * socket/sendmmsg.c: ... this new file.
32390         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
32391         (sysdep_routines): Move recvmmsg and sendmmsg...
32392         * socket/Makefile (routines): ... here.
32393         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
32394         (GLIBC_PRIVATE): Add __sendmmsg.
32395         * include/sys/socket.h (__sendmmsg): Add declarations.
32396         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
32397         sendmmsg.
32398
32399 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
32400
32401         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
32402         variable I1 with __attribute__ ((unused)).
32403         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
32404
32405 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
32406
32407         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
32408         DUMMY variables with __attribute__ ((unused)).
32409
32410         * bits/byteswap.h: Include <bits/types.h>.
32411         (__bswap_64): Use __uint64_t instead of unsigned long long int.
32412
32413 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
32414
32415         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
32416         string_t.  Do not manually set errno.
32417         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
32418         length with __strnlen.  Make sure to both set errno and return it on
32419         failure.
32420
32421 2012-11-19  David S. Miller  <davem@davemloft.net>
32422
32423         With help from Joseph Myers.
32424         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
32425         very large arguments properly.
32426         * math/libm-test.inc (atan_test): New tests.
32427         (atan2_test): New tests.
32428         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32429         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32430
32431 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
32432
32433         [BZ #14856]
32434         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
32435         Define to 3.
32436
32437         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
32438         [POSIX] (EADDRNOTAVAIL): Likewise.
32439         [POSIX] (EAFNOSUPPORT): Likewise.
32440         [POSIX] (EALREADY): Likewise.
32441         [POSIX] (ECONNABORTED): Likewise.
32442         [POSIX] (ECONNREFUSED): Likewise.
32443         [POSIX] (ECONNRESET): Likewise.
32444         [POSIX] (EDESTADDRREQ): Likewise.
32445         [POSIX] (EDQUOT): Likewise.
32446         [POSIX] (EHOSTUNREACH): Likewise.
32447         [POSIX] (EIDRM): Likewise.
32448         [POSIX] (EISCONN): Likewise.
32449         [POSIX] (ELOOP): Likewise.
32450         [POSIX] (EMULTIHOP): Likewise.
32451         [POSIX] (ENETDOWN): Likewise.
32452         [POSIX] (ENETUNREACH): Likewise.
32453         [POSIX] (ENOBUFS): Likewise.
32454         [POSIX] (ENODATA): Likewise.
32455         [POSIX] (ENOLINK): Likewise.
32456         [POSIX] (ENOMSG): Likewise.
32457         [POSIX] (ENOPROTOOPT): Likewise.
32458         [POSIX] (ENOSR): Likewise.
32459         [POSIX] (ENOSTR): Likewise.
32460         [POSIX] (ENOTCONN): Likewise.
32461         [POSIX] (ENOTSOCK): Likewise.
32462         [POSIX] (EOPNOTSUPP): Likewise.
32463         [POSIX] (EOVERFLOW): Likewise.
32464         [POSIX] (EPROTO): Likewise.
32465         [POSIX] (EPROTONOSUPPORT): Likewise.
32466         [POSIX] (EPROTOTYPE): Likewise.
32467         [POSIX] (ESTALE): Likewise.
32468         [POSIX] (ETIME): Likewise.
32469         [POSIX] (ETXTBSY): Likewise.
32470         [POSIX] (EWOULDBLOCK): Likewise.
32471         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
32472         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
32473         [POSIX] (SEEK_CUR): Likewise.
32474         [POSIX] (SEEK_END): Likewise.
32475         [POSIX || UNIX98] (mode_t): Do not require.
32476         [POSIX] (off_t): Likewise.
32477         [POSIX] (pid_t): Likewise.
32478         [POSIX] (sys/stat.h): Do not allow header.
32479         [POSIX] (unistd.h): Likewise.
32480         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
32481         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
32482         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
32483         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
32484         require.
32485         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
32486         sigevent): Specify elements.
32487         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
32488         entry.
32489         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
32490         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
32491
32492         * conform/data/cpio.h-data [POSIX]: Disable whole file.
32493         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
32494         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
32495         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
32496         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
32497         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
32498         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
32499         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
32500         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
32501         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
32502         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
32503         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
32504         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
32505         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
32506         Likewise.
32507         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
32508         Likewise.
32509         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
32510         Likewise.
32511         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
32512         Likewise.
32513         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
32514         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
32515         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
32516         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
32517         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
32518         Specify lower bound on value.
32519         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
32520         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
32521         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
32522         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
32523         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
32524         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
32525         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
32526         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
32527         value.
32528         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
32529         as optional.
32530         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
32531         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
32532         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
32533         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
32534         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
32535         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
32536         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
32537         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
32538         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
32539         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
32540         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
32541         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
32542         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
32543         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
32544         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
32545         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
32546         entry.
32547         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
32548         optional.
32549         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
32550         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
32551         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
32552         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
32553         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
32554         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
32555         Likewise.
32556         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
32557         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
32558         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
32559         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
32560         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
32561         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
32562         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
32563         as optional.
32564         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
32565         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
32566         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
32567         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
32568         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
32569         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
32570         specify as optional.
32571         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
32572         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
32573         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
32574         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
32575         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
32576         [XPG3] (NL_LANGMAX): Likewise.
32577         [POSIX || XPG3] (NL_MSGMAX): Likewise.
32578         [POSIX || XPG3] (NL_NMAX): Likewise.
32579         [POSIX || XPG3] (NL_SETMAX): Likewise.
32580         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
32581         [XPG3] (NZERO): Likewise.
32582         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
32583         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
32584         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
32585         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
32586         (REG_ERANGE): Expect.
32587         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
32588         optional-constant.
32589         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
32590         Use (void) in prototype.
32591         [POSIX] (*_t): Allow.
32592         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
32593         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
32594         (WRDE_BADVAL): Expect.
32595
32596         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
32597         expect.
32598         [XPG3 || XPG4] (O_RSYNC): Likewise.
32599         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
32600         Likewise.
32601         [XPG3 || XPG4] (pthread_sigmask): Likewise.
32602         [XPG3 || XPG4] (sigqueue): Likewise.
32603         [XPG3 || XPG4] (sigtimedwait): Likewise.
32604         [XPG3 || XPG4] (sigwaitinfo): Likewise.
32605         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
32606         [XPG3 || XPG4] (vsnprintf): Likewise.
32607         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
32608         Likewise.
32609         [XPG3 || XPG4] (blksize_t): Likewise.
32610         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
32611         Likewise.
32612         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
32613         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
32614         [XPG3 || XPG4] (struct itimerspec): Likewise.
32615         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
32616         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
32617         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
32618         [XPG3 || XPG4] (clockid_t): Likewise.
32619         [XPG3 || XPG4] (timer_t): Likewise.
32620         [XPG3 || XPG4] (clock_getres): Likewise.
32621         [XPG3 || XPG4] (clock_gettime): Likewise.
32622         [XPG3 || XPG4] (clock_settime): Likewise.
32623         [XPG3 || XPG4] (nanosleep): Likewise.
32624         [XPG3 || XPG4] (timer_create): Likewise.
32625         [XPG3 || XPG4] (timer_delete): Likewise.
32626         [XPG3 || XPG4] (timer_gettime): Likewise.
32627         [XPG3 || XPG4] (timer_getoverrun): Likewise.
32628         [XPG3 || XPG4] (timer_settime): Likewise.
32629         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
32630         [XPG3 || XPG4] (getlogin_r): Likewise.
32631         [XPG3 || XPG4] (pread): Likewise.
32632         [XPG3 || XPG4] (pthread_atfork): Likewise.
32633         [XPG3 || XPG4] (pwrite): Likewise.
32634
32635         [BZ #14835]
32636         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
32637         <bits/siginfo.h>.
32638
32639 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
32640
32641         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
32642         finalizing MALLSTREAM.
32643
32644         * sysdeps/mach/hurd/syncfs.c: New file.
32645
32646 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
32647
32648         [BZ #14719]
32649         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
32650         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
32651         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
32652         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
32653         (_nss_dns_gethostbyname4_r): Likewise.
32654         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
32655         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
32656
32657 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
32658
32659         [BZ #13763]
32660         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
32661
32662 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
32663
32664         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
32665         * elf/cache.c (print_entry): Print ",AArch64" for
32666         FLAG_AARCH64_LIB64
32667
32668         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
32669         * elf/cache.c (print_entry): Print ",hard-float" for
32670         FLAG_ARM_LIBHF.
32671
32672 2012-11-18  David S. Miller  <davem@davemloft.net>
32673
32674         With help from Joseph Myers.
32675         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
32676         cutoff to 2**-13.
32677         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
32678         cutoff to 2**-25.
32679         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
32680         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
32681         small.
32682         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
32683         * math/libm-test.inc (y0_test): New tests.
32684         (y1_test): New tests.
32685         * sysdeps/i386/fpu/libm-test-ulps: Update.
32686         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32687         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32688
32689 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
32690
32691         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
32692         64-bit targets.
32693         * configure: Regenerated.
32694
32695 2012-11-17  David S. Miller  <davem@davemloft.net>
32696
32697         [BZ #14811]
32698         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
32699         nonzero exponents with absolute value below 0x1p-128 to +/-
32700         0x1p-128.
32701
32702 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
32703
32704         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
32705
32706         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
32707
32708         * posix/getconf-speclist.c: New file.
32709         * posix/posix-envs.def: Likewise.
32710         * posix/confstr.c (START_ENV_GROUP): New macro.
32711         (END_ENV_GROUP): Likewise.
32712         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
32713         (KNOWN_PRESENT_ENV_STRING): Likewise.
32714         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
32715         (UNKNOWN_ENVIRONMENT): Likewise.
32716         (confstr): Include posix-envs.def instead of handling
32717         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
32718         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
32719         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
32720         (END_ENV_GROUP): Likewise.
32721         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
32722         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
32723         (UNKNOWN_ENVIRONMENT): Likewise.
32724         (__sysconf): Include posix-envs.def instead of handling associated
32725         cases directly here.
32726         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
32727         preprocessing getconf-speclist.c rather than running getconf or
32728         generating empty file.
32729
32730 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
32731
32732         * scripts/check-local-headers.sh: Ignore 'mach' headers.
32733
32734 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
32735
32736         [BZ #14672]
32737         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
32738
32739 2012-11-16  David S. Miller  <davem@davemloft.net>
32740
32741         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
32742         smaller than LDBL_EPSILON/2.0L, just return xm1.
32743
32744 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
32745
32746         * elf/tst-array1.c (init): Set constructor priority to 1000.
32747         (fini): Set destructor priority to 1000.
32748         * elf/tst-array2dep.c: Likewise.
32749
32750 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
32751
32752         [BZ #11741]
32753         * libio/fileops.c (_IO_new_file_write): Correctly return error.
32754         (_IO_new_file_xsputn): Also return EOF if none of the input
32755         data was written when overflow failed.
32756         * libio/iopadn.c (_IO_padn): Likewise.
32757         * libio/iowpadn.c (_IO_wpadn): Likewise.
32758         * stdio-common/tst-put-error.c: Add copyright notice.
32759         (do_test): Add case for printing padded string.
32760         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
32761         _IO_padn returned error.
32762         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
32763         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
32764         return EOF.
32765
32766 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
32767
32768         * libio/libioP.h: Add comment note that the references to C++
32769         bits are now obsolete.
32770
32771 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
32772
32773         * math/libm-test.inc (check_complex): Use asprintf.
32774
32775 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
32776
32777         * debug/pcprofiledump.c (print_version): Update copyright year.
32778         * malloc/memusagestat.c (print_version): Likewise.
32779
32780 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
32781
32782         [BZ #14831]
32783         * elf/Makefile (tests): Add tst-audit8.
32784         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
32785         ($(objpfx)tst-audit8.out): New target.
32786         (tst-audit8-ENV): New variable.
32787         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
32788         audit if l_reloc_result is NULL.
32789         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
32790         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
32791         * elf/tst-audit8.c: New file.
32792
32793 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
32794
32795         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
32796         * misc/Makefile (CFLAGS-select.c): Define.
32797         * posix/Makefile (CFLAGS-pause.c): Define.
32798
32799 2012-11-13  David S. Miller  <davem@davemloft.net>
32800
32801         * crypt/Makefile: Move test targets after toplevel Rules
32802         inclusion.  Grab any necessary sysdep routines when linking.
32803         * crypt/md5.c (md5_process_block): Remove define, we will always
32804         name it __md5_process_block.
32805         (md5_finish_ctx): Update md5_process_block call.
32806         (md5_stream): Likewise.
32807         (md5_process_bytes): Likewise.
32808         (md5_process_block): Rename to __md5_process_block and move to ...
32809         * crypt/md5-block.c: ... here.
32810         * crypt/sha256.c (sha256_process_block): Move to ...
32811         * crypt/sha256-block.c: ... here.
32812         * crypt/sha512.c (sha512_process_block): Move to ...
32813         * crypt/sha512-block.c: ... here.
32814         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
32815         path.
32816         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
32817         * sysdeps/sparc/sparc64/multiarch/Makefile
32818         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
32819         crypt subdir.
32820         (localedef-aux): Add md5 crypto assembler when in locale subdir.
32821         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
32822         multiarch changes.
32823         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
32824         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
32825         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
32826         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
32827         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
32828         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
32829         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
32830         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
32831         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
32832         file.
32833         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
32834         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
32835         file.
32836         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
32837
32838 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
32839
32840         * timezone/tzselect.ksh: Update from tzcode git revision
32841         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
32842         * timezone/zdump.c: Likewise.
32843         * timezone/zic.c: Likewise.
32844         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
32845         in TZVERSION setting, not $(PKGVERSION).
32846         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
32847         REPORT_BUGS_TO settings.
32848
32849         [BZ #14838]
32850         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
32851         macro.
32852
32853 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
32854
32855         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
32856         detection to immediately after _FP_ROUND().
32857         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
32858         bits are 0.
32859
32860 2012-11-11  David S. Miller  <davem@davemloft.net>
32861
32862         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
32863         inttypes.h
32864         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
32865         __close rather than their public counterparts.
32866
32867 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
32868
32869         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
32870         file.
32871         [UNIX98] (sem_timedwait): Do not expect.
32872         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
32873         [XPG4 || UNIX98] (sockatmark): Do not expect.
32874         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
32875         (clock_getcpuclockid): Do not expect.
32876         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
32877         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
32878         Do not expect.
32879         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
32880         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
32881         [UNIX98] (vwscanf): Likewise.
32882         [UNIX98] (vswscanf): Likewise.
32883
32884 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
32885
32886         * timezone/version.h: Remove file.
32887         * timezone/README: Do not refer to version.h.
32888         * timezone/Makefile ($(objpfx)zic.o): New dependency on
32889         $(objpfx)version.h.
32890         ($(objpfx)zdump.o): Likewise.
32891         ($(objpfx)version.h): New target.
32892
32893         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
32894         2012i.
32895         * timezone/README: Don't mention modification to tzselect.ksh.
32896         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
32897         work on unmodified tzselect.ksh.  Substitute version numbers in
32898         tzselect.ksh.
32899
32900         * Makefile (format-me): Remove.
32901         (INSTALL): Adjust indentation.  Use commands directly instead of
32902         using $(format-me).
32903
32904         * aclocal.m4 (ACX_PKGVERSION): New macro.
32905         (ACX_BUGURL): Likewise.
32906         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
32907         (PKGVERSION): New AC_DEFINE_UNQUOTED.
32908         (REPORT_BUGS_TO): Likewise.
32909         * configure: Regenerated.
32910         * config.h.in (PKGVERSION): New macro.
32911         (REPORT_BUGS_TO): Likewise.
32912         * config.make.in (PKGVERSION): New variable.
32913         (PKGVERSION_TEXI): Likewise.
32914         (REPORT_BUGS_TO): Likewise.
32915         (REPORT_BUGS_TEXI): Likewise.
32916         * Makefile (format-me): Use -I$(common-objpfx)manual.
32917         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
32918         ($(common-objpfx)manual/%): New target.
32919         (manual/%): Remove target.
32920         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
32921         (print_version): Use PKGVERSION.
32922         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
32923         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
32924         and REPORT_BUGS_TO.
32925         ($(objpfx)xtrace): Likewise.
32926         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
32927         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
32928         (print_version): Use PKGVERSION.
32929         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
32930         (do_version): Use PKGVERSION.
32931         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
32932         REPORT_BUGS_TO.
32933         (common-ldd-rewrite): Likewise.
32934         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
32935         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
32936         (print_version): Use PKGVERSION.
32937         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
32938         * elf/pldd.c (argp_program_bug_address): Remove variable.
32939         (more_help): New function.
32940         (argp): Use more_help.
32941         (print_version): Use PKGVERSION.
32942         * elf/sln.c (main): Use PKGVERSION.
32943         (usage): Use REPORT_BUGS_TO.
32944         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
32945         (top level): Use PKGVERSION.
32946         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
32947         (print_version): Use PKGVERSION.
32948         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
32949         (print_version): Use PKGVERSION.
32950         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
32951         (print_version): Use PKGVERSION.
32952         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
32953         (print_version): Use PKGVERSION.
32954         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
32955         (print_version): Use PKGVERSION.
32956         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
32957         (print_version): Use PKGVERSION.
32958         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
32959         and BUGURL.
32960         ($(objpfx)memusage): Likewise.
32961         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
32962         (do_version): Use PKGVERSION.
32963         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
32964         (print_version): Use PKGVERSION.
32965         * malloc/mtrace.pl ($PACKAGE): Remove variable.
32966         ($PKGVERSION): New variable.
32967         ($REPORT_BUGS_TO): Likewise.
32968         (usage): Use $REPORT_BUGS_TO.
32969         (top level): Use $PKGVERSION.
32970         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
32971         ($(objpfx)pkgvers.texi): New rule.
32972         ($(objpfx)stamp-pkgvers): Likewise.
32973         * manual/install.texi: Include pkgvers.texi.
32974         (--with-pkgversion): Document new configure option.
32975         (--with-bugurl): Likewise.
32976         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
32977         than necessarily for this particular distribution.  Use
32978         REPORT_BUGS_TO for where to report bugs.
32979         * INSTALL: Regenerated.
32980         * manual/libc.texinfo: Include pkgvers.texi.
32981         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
32982         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
32983         (print_version): Use PKGVERSION.
32984         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
32985         (print_version): Use PKGVERSION.
32986         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
32987         (print_version): Use PKGVERSION.
32988         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
32989         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
32990         macro.
32991         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
32992         (print_version): Use PKGVERSION.
32993         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
32994         (print_version): Use PKGVERSION.
32995         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
32996         and PKGVERSION.
32997
32998         * timezone/checktab.awk: Update from tzcode 2012i.
32999         * timezone/ialloc.c: Likewise.
33000         * timezone/private.h: Likewise.
33001         * timezone/scheck.c: Likewise.
33002         * timezone/tzfile.h: Likewise.
33003         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
33004         (TZVERSION): Hardcode tzcode version number.
33005         * timezone/zdump.c: Update from tzcode 2012i.
33006         * timezone/zic.c: Likewise.
33007         * timezone/version.h: New file.
33008         * timezone/README: Describe version.h.  Update upstream location.
33009
33010         [BZ #14824]
33011         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
33012         (mktemp): Enable declaration.
33013         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
33014         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
33015         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
33016         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
33017         Likewise.
33018         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
33019         Likewise.
33020         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
33021         Likewise.
33022         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
33023         Likewise.
33024         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
33025         Likewise.
33026         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
33027         Likewise.
33028
33029         [BZ #14821]
33030         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
33031         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
33032         for copies of such integer values.
33033         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
33034         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
33035
33036 2012-11-09  Andreas Jaeger  <aj@suse.de>
33037
33038         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
33039         definitions and declarations that are provided by
33040         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
33041
33042 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33043
33044         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
33045         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
33046         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
33047         definition.
33048
33049 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
33050
33051         * elf/elf.h: Update comment before AArch64 relocations.
33052
33053 2012-11-07  David S. Miller  <davem@davemloft.net>
33054
33055         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
33056         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
33057         (__start_context): Declare.
33058         (__makecontext_ret): Delete.
33059         (__makecontext): Hook up __start_context instead of
33060         __makecontext_ret.
33061         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
33062         (sysdep_routines): Add __start_context when in stdlib.
33063
33064 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
33065
33066         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
33067         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
33068         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
33069         hardcoded "nm".
33070         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
33071         (READELF): New variable.  Use it instead of hardcoded "readelf".
33072
33073 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
33074
33075         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
33076         * sysdeps/x86/Makefile: Here.
33077         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
33078         * sysdeps/x86/tst-xmmymm.sh: This.
33079
33080 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
33081
33082         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
33083         expectations.
33084         [UNIX98] (pthread_barrier_t): Do not expect.
33085         [UNIX98] (pthread_barrierattr_t): Likewise.
33086         [UNIX98] (pthread_spinlock_t): Likewise.
33087         [UNIX98] (pthread_barrier_destroy): Likewise.
33088         [UNIX98] (pthread_barrier_init): Likewise.
33089         [UNIX98] (pthread_barrier_wait): Likewise.
33090         [UNIX98] (pthread_barrierattr_destroy): Likewise.
33091         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
33092         [UNIX98] (pthread_barrierattr_init): Likewise.
33093         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
33094         [UNIX98] (pthread_getcpuclockid): Likewise.
33095         [UNIX98] (pthread_mutex_timedlock): Likewise.
33096         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
33097         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
33098         [UNIX98] (pthread_sigmask): Likewise.
33099         [UNIX98] (pthread_spin_destroy): Likewise.
33100         [UNIX98] (pthread_spin_init): Likewise.
33101         [UNIX98] (pthread_spin_lock): Likewise.
33102         [UNIX98] (pthread_spin_trylock): Likewise.
33103         [UNIX98] (pthread_spin_unlock): Likewise.
33104         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
33105         Do not expect.
33106         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
33107         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
33108         [XPG3 || XPG4] (pthread_cond_t): Likewise.
33109         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
33110         [XPG3 || XPG4] (pthread_key_t): Likewise.
33111         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
33112         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
33113         [XPG3 || XPG4] (pthread_once_t): Likewise.
33114         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
33115         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
33116         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
33117         [XPG3 || XPG4] (pthread_t): Likewise.
33118
33119         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
33120         not expect.
33121         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
33122
33123         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
33124         Change function return type to int.
33125
33126         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
33127         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
33128         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
33129         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
33130         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
33131         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
33132         [!POSIX] (posix_madvise): Likewise.
33133         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
33134         && !UNIX98].
33135         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
33136         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
33137         (mode_t): Likewise.
33138         (posix_mem_offset): Likewise.
33139         (posix_typed_mem_get_info): Likewise.
33140         (posix_typed_mem_open): Likewise.
33141
33142         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
33143         Change condition to [XOPEN2K8].
33144
33145         * conform/conformtest.pl: Preprocess allow-header data with -x c
33146         instead of from stdin.
33147         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
33148         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
33149         [C99-based standards] (cerfc): Likewise.
33150         [C99-based standards] (cexp2): Likewise.
33151         [C99-based standards] (cexpm1): Likewise.
33152         [C99-based standards] (clog10): Likewise.
33153         [C99-based standards] (clog1p): Likewise.
33154         [C99-based standards] (clog2): Likewise.
33155         [C99-based standards] (clgamma): Likewise.
33156         [C99-based standards] (ctgamma): Likewise.
33157         [C99-based standards] (cerff): Likewise.
33158         [C99-based standards] (cerfcf): Likewise.
33159         [C99-based standards] (cexp2f): Likewise.
33160         [C99-based standards] (cexpm1f): Likewise.
33161         [C99-based standards] (clog10f): Likewise.
33162         [C99-based standards] (clog1pf): Likewise.
33163         [C99-based standards] (clog2f): Likewise.
33164         [C99-based standards] (clgammaf): Likewise.
33165         [C99-based standards] (ctgammaf): Likewise.
33166         [C99-based standards] (cerfl): Likewise.
33167         [C99-based standards] (cerfcl): Likewise.
33168         [C99-based standards] (cexp2l): Likewise.
33169         [C99-based standards] (cexpm1l): Likewise.
33170         [C99-based standards] (clog10l): Likewise.
33171         [C99-based standards] (clog1pl): Likewise.
33172         [C99-based standards] (clog2l): Likewise.
33173         [C99-based standards] (clgammal): Likewise.
33174         [C99-based standards] (ctgammal): Likewise.
33175         * conform/data/inttypes.h-data [C99-based standards]: Include
33176         stdint.h-data.  Remove all expectations for stdint.h contents.
33177         [C99-based standards] (PRI*): Do not allow.
33178         [C99-based standards] (SCN*): Likewise.
33179         [C99-based standards] (*_t): Likewise.
33180         [C99-based-standards] (PRId8): Expect macro.
33181         [C99-based-standards] (PRIi8): Likewise.
33182         [C99-based-standards] (PRIo8): Likewise.
33183         [C99-based-standards] (PRIu8): Likewise.
33184         [C99-based-standards] (PRIx8): Likewise.
33185         [C99-based-standards] (PRIX8): Likewise.
33186         [C99-based-standards] (SCNd8): Likewise.
33187         [C99-based-standards] (SCNi8): Likewise.
33188         [C99-based-standards] (SCNo8): Likewise.
33189         [C99-based-standards] (SCNu8): Likewise.
33190         [C99-based-standards] (SCNx8): Likewise.
33191         [C99-based-standards] (PRIdLEAST8): Likewise.
33192         [C99-based-standards] (PRIiLEAST8): Likewise.
33193         [C99-based-standards] (PRIoLEAST8): Likewise.
33194         [C99-based-standards] (PRIuLEAST8): Likewise.
33195         [C99-based-standards] (PRIxLEAST8): Likewise.
33196         [C99-based-standards] (PRIXLEAST8): Likewise.
33197         [C99-based-standards] (SCNdLEAST8): Likewise.
33198         [C99-based-standards] (SCNiLEAST8): Likewise.
33199         [C99-based-standards] (SCNoLEAST8): Likewise.
33200         [C99-based-standards] (SCNuLEAST8): Likewise.
33201         [C99-based-standards] (SCNxLEAST8): Likewise.
33202         [C99-based-standards] (PRIdFAST8): Likewise.
33203         [C99-based-standards] (PRIiFAST8): Likewise.
33204         [C99-based-standards] (PRIoFAST8): Likewise.
33205         [C99-based-standards] (PRIuFAST8): Likewise.
33206         [C99-based-standards] (PRIxFAST8): Likewise.
33207         [C99-based-standards] (PRIXFAST8): Likewise.
33208         [C99-based-standards] (SCNdFAST8): Likewise.
33209         [C99-based-standards] (SCNiFAST8): Likewise.
33210         [C99-based-standards] (SCNoFAST8): Likewise.
33211         [C99-based-standards] (SCNuFAST8): Likewise.
33212         [C99-based-standards] (SCNxFAST8): Likewise.
33213         [C99-based-standards] (PRId16): Likewise.
33214         [C99-based-standards] (PRIi16): Likewise.
33215         [C99-based-standards] (PRIo16): Likewise.
33216         [C99-based-standards] (PRIu16): Likewise.
33217         [C99-based-standards] (PRIx16): Likewise.
33218         [C99-based-standards] (PRIX16): Likewise.
33219         [C99-based-standards] (SCNd16): Likewise.
33220         [C99-based-standards] (SCNi16): Likewise.
33221         [C99-based-standards] (SCNo16): Likewise.
33222         [C99-based-standards] (SCNu16): Likewise.
33223         [C99-based-standards] (SCNx16): Likewise.
33224         [C99-based-standards] (PRIdLEAST16): Likewise.
33225         [C99-based-standards] (PRIiLEAST16): Likewise.
33226         [C99-based-standards] (PRIoLEAST16): Likewise.
33227         [C99-based-standards] (PRIuLEAST16): Likewise.
33228         [C99-based-standards] (PRIxLEAST16): Likewise.
33229         [C99-based-standards] (PRIXLEAST16): Likewise.
33230         [C99-based-standards] (SCNdLEAST16): Likewise.
33231         [C99-based-standards] (SCNiLEAST16): Likewise.
33232         [C99-based-standards] (SCNoLEAST16): Likewise.
33233         [C99-based-standards] (SCNuLEAST16): Likewise.
33234         [C99-based-standards] (SCNxLEAST16): Likewise.
33235         [C99-based-standards] (PRIdFAST16): Likewise.
33236         [C99-based-standards] (PRIiFAST16): Likewise.
33237         [C99-based-standards] (PRIoFAST16): Likewise.
33238         [C99-based-standards] (PRIuFAST16): Likewise.
33239         [C99-based-standards] (PRIxFAST16): Likewise.
33240         [C99-based-standards] (PRIXFAST16): Likewise.
33241         [C99-based-standards] (SCNdFAST16): Likewise.
33242         [C99-based-standards] (SCNiFAST16): Likewise.
33243         [C99-based-standards] (SCNoFAST16): Likewise.
33244         [C99-based-standards] (SCNuFAST16): Likewise.
33245         [C99-based-standards] (SCNxFAST16): Likewise.
33246         [C99-based-standards] (PRId32): Likewise.
33247         [C99-based-standards] (PRIi32): Likewise.
33248         [C99-based-standards] (PRIo32): Likewise.
33249         [C99-based-standards] (PRIu32): Likewise.
33250         [C99-based-standards] (PRIx32): Likewise.
33251         [C99-based-standards] (PRIX32): Likewise.
33252         [C99-based-standards] (SCNd32): Likewise.
33253         [C99-based-standards] (SCNi32): Likewise.
33254         [C99-based-standards] (SCNo32): Likewise.
33255         [C99-based-standards] (SCNu32): Likewise.
33256         [C99-based-standards] (SCNx32): Likewise.
33257         [C99-based-standards] (PRIdLEAST32): Likewise.
33258         [C99-based-standards] (PRIiLEAST32): Likewise.
33259         [C99-based-standards] (PRIoLEAST32): Likewise.
33260         [C99-based-standards] (PRIuLEAST32): Likewise.
33261         [C99-based-standards] (PRIxLEAST32): Likewise.
33262         [C99-based-standards] (PRIXLEAST32): Likewise.
33263         [C99-based-standards] (SCNdLEAST32): Likewise.
33264         [C99-based-standards] (SCNiLEAST32): Likewise.
33265         [C99-based-standards] (SCNoLEAST32): Likewise.
33266         [C99-based-standards] (SCNuLEAST32): Likewise.
33267         [C99-based-standards] (SCNxLEAST32): Likewise.
33268         [C99-based-standards] (PRIdFAST32): Likewise.
33269         [C99-based-standards] (PRIiFAST32): Likewise.
33270         [C99-based-standards] (PRIoFAST32): Likewise.
33271         [C99-based-standards] (PRIuFAST32): Likewise.
33272         [C99-based-standards] (PRIxFAST32): Likewise.
33273         [C99-based-standards] (PRIXFAST32): Likewise.
33274         [C99-based-standards] (SCNdFAST32): Likewise.
33275         [C99-based-standards] (SCNiFAST32): Likewise.
33276         [C99-based-standards] (SCNoFAST32): Likewise.
33277         [C99-based-standards] (SCNuFAST32): Likewise.
33278         [C99-based-standards] (SCNxFAST32): Likewise.
33279         [C99-based-standards] (PRId64): Likewise.
33280         [C99-based-standards] (PRIi64): Likewise.
33281         [C99-based-standards] (PRIo64): Likewise.
33282         [C99-based-standards] (PRIu64): Likewise.
33283         [C99-based-standards] (PRIx64): Likewise.
33284         [C99-based-standards] (PRIX64): Likewise.
33285         [C99-based-standards] (SCNd64): Likewise.
33286         [C99-based-standards] (SCNi64): Likewise.
33287         [C99-based-standards] (SCNo64): Likewise.
33288         [C99-based-standards] (SCNu64): Likewise.
33289         [C99-based-standards] (SCNx64): Likewise.
33290         [C99-based-standards] (PRIdLEAST64): Likewise.
33291         [C99-based-standards] (PRIiLEAST64): Likewise.
33292         [C99-based-standards] (PRIoLEAST64): Likewise.
33293         [C99-based-standards] (PRIuLEAST64): Likewise.
33294         [C99-based-standards] (PRIxLEAST64): Likewise.
33295         [C99-based-standards] (PRIXLEAST64): Likewise.
33296         [C99-based-standards] (SCNdLEAST64): Likewise.
33297         [C99-based-standards] (SCNiLEAST64): Likewise.
33298         [C99-based-standards] (SCNoLEAST64): Likewise.
33299         [C99-based-standards] (SCNuLEAST64): Likewise.
33300         [C99-based-standards] (SCNxLEAST64): Likewise.
33301         [C99-based-standards] (PRIdFAST64): Likewise.
33302         [C99-based-standards] (PRIiFAST64): Likewise.
33303         [C99-based-standards] (PRIoFAST64): Likewise.
33304         [C99-based-standards] (PRIuFAST64): Likewise.
33305         [C99-based-standards] (PRIxFAST64): Likewise.
33306         [C99-based-standards] (PRIXFAST64): Likewise.
33307         [C99-based-standards] (SCNdFAST64): Likewise.
33308         [C99-based-standards] (SCNiFAST64): Likewise.
33309         [C99-based-standards] (SCNoFAST64): Likewise.
33310         [C99-based-standards] (SCNuFAST64): Likewise.
33311         [C99-based-standards] (SCNxFAST64): Likewise.
33312         [C99-based-standards] (PRIdMAX): Likewise.
33313         [C99-based-standards] (PRIiMAX): Likewise.
33314         [C99-based-standards] (PRIoMAX): Likewise.
33315         [C99-based-standards] (PRIuMAX): Likewise.
33316         [C99-based-standards] (PRIxMAX): Likewise.
33317         [C99-based-standards] (PRIXMAX): Likewise.
33318         [C99-based-standards] (SCNdMAX): Likewise.
33319         [C99-based-standards] (SCNiMAX): Likewise.
33320         [C99-based-standards] (SCNoMAX): Likewise.
33321         [C99-based-standards] (SCNuMAX): Likewise.
33322         [C99-based-standards] (SCNxMAX): Likewise.
33323         [C99-based-standards] (PRIdPTR): Likewise.
33324         [C99-based-standards] (PRIiPTR): Likewise.
33325         [C99-based-standards] (PRIoPTR): Likewise.
33326         [C99-based-standards] (PRIuPTR): Likewise.
33327         [C99-based-standards] (PRIxPTR): Likewise.
33328         [C99-based-standards] (PRIXPTR): Likewise.
33329         [C99-based-standards] (SCNdPTR): Likewise.
33330         [C99-based-standards] (SCNiPTR): Likewise.
33331         [C99-based-standards] (SCNoPTR): Likewise.
33332         [C99-based-standards] (SCNuPTR): Likewise.
33333         [C99-based-standards] (SCNxPTR): Likewise.
33334         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
33335         allow.
33336         * conform/data/stdint.h-data: Update comments to clarify
33337         requirements.
33338         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
33339         type.
33340         [C99-based standards] (INT8_MAX): Likewise.
33341         [C99-based standards] (INT16_MIN): Likewise.
33342         [C99-based standards] (INT16_MAX): Likewise.
33343         [C99-based standards] (INT32_MIN): Likewise.
33344         [C99-based standards] (INT32_MAX): Likewise.
33345         [C99-based standards] (INT64_MIN): Likewise.
33346         [C99-based standards] (INT64_MAX): Likewise.
33347         [C99-based standards] (UINT8_MAX): Likewise.
33348         [C99-based standards] (UINT16_MAX): Likewise.
33349         [C99-based standards] (UINT32_MAX): Likewise.
33350         [C99-based standards] (UINT64_MAX): Likewise.
33351         [C99-based standards] (INT_LEAST8_MIN): Likewise.
33352         [C99-based standards] (INT_LEAST8_MAX): Likewise.
33353         [C99-based standards] (INT_LEAST16_MIN): Likewise.
33354         [C99-based standards] (INT_LEAST16_MAX): Likewise.
33355         [C99-based standards] (INT_LEAST32_MIN): Likewise.
33356         [C99-based standards] (INT_LEAST32_MAX): Likewise.
33357         [C99-based standards] (INT_LEAST64_MIN): Likewise.
33358         [C99-based standards] (INT_LEAST64_MAX): Likewise.
33359         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
33360         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
33361         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
33362         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
33363         [C99-based standards] (INT_FAST8_MIN): Likewise.
33364         [C99-based standards] (INT_FAST8_MAX): Likewise.
33365         [C99-based standards] (INT_FAST16_MIN): Likewise.
33366         [C99-based standards] (INT_FAST16_MAX): Likewise.
33367         [C99-based standards] (INT_FAST32_MIN): Likewise.
33368         [C99-based standards] (INT_FAST32_MAX): Likewise.
33369         [C99-based standards] (INT_FAST64_MIN): Likewise.
33370         [C99-based standards] (INT_FAST64_MAX): Likewise.
33371         [C99-based standards] (UINT_FAST8_MAX): Likewise.
33372         [C99-based standards] (UINT_FAST16_MAX): Likewise.
33373         [C99-based standards] (UINT_FAST32_MAX): Likewise.
33374         [C99-based standards] (UINT_FAST64_MAX): Likewise.
33375         [C99-based standards] (INTPTR_MIN): Likewise.
33376         [C99-based standards] (INTPTR_MAX): Likewise.
33377         [C99-based standards] (UINTPTR_MAX): Likewise.
33378         [C99-based standards] (INTMAX_MIN): Likewise.
33379         [C99-based standards] (INTMAX_MAX): Likewise.
33380         [C99-based standards] (UINTMAX_MAX): Likewise.
33381         [C99-based standards] (PTRDIFF_MIN): Likewise.
33382         [C99-based standards] (PTRDIFF_MAX): Likewise.
33383         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
33384         [C99-based standards] (SIZE_MAX): Likewise.
33385         [C99-based standards] (WCHAR_MAX): Likewise.
33386         [C99-based standards] (WINT_MAX): Likewise.
33387         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
33388         constraint on value.
33389         [C99-based standards] (WCHAR_MIN): Likewise.
33390         [C99-based standards] (WINT_MIN): Likewise.
33391         [C99-based standards] (*_t): Allow.
33392         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
33393         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
33394         Include math.h-data and complex.h-data.  Remove all expectations
33395         of math.h and complex.h contents.
33396         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
33397         at end of line.
33398         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
33399         (struct tm): Expect tag.
33400         [C99-based-standards] (wcstof): Expect function.
33401         [C99-based-standards] (wcstold): Likewise.
33402         [C99-based-standards] (wcstoll): Likewise.
33403         [C99-based-standards] (wcstoull): Likewise.
33404         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
33405         macro-int-constant.  Specify type.
33406         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
33407         constraint on value.
33408         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
33409         Specify type.
33410         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
33411         Specify value.
33412         [ISO C standards]: Do not allow headers.
33413         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
33414         wcs[abcdefghijklmnopqrstuvwxyz]*.
33415         [ISO C standards] (*_t): Do not allow.
33416         * conform/data/wctype.h-data [C99-based standards] (iswblank):
33417         Expect function.
33418         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
33419         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
33420         Specify type.
33421         [ISO C standards]: Do not allow headers.
33422         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
33423         is[abcdefghijklmnopqrstuvwxyz]*.
33424         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
33425         to[abcdefghijklmnopqrstuvwxyz]*.
33426         [ISO C standards] (*_t): Do not allow.
33427         * conform/data/stdalign.h-data: New file.
33428         * conform/data/stdbool.h-data: Likewise.
33429         * conform/data/stdnoreturn.h-data: Likewise.
33430
33431 2012-11-07  Roland McGrath  <roland@hack.frob.com>
33432
33433         [BZ #14815]
33434         * manual/filesys.texi (Directory Entries): Typo fix.
33435         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
33436
33437 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
33438
33439         * elf/elf.h (EM_AARCH64): New macro.
33440         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
33441         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
33442         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
33443         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
33444         (R_AARCH64_TLSDESC): Likewise.
33445         (NT_ARM_TLS): Likewise.
33446         (NT_ARM_HW_BREAK): Likewise.
33447         (NT_ARM_HW_WATCH): Likewise.
33448
33449 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
33450
33451         [BZ #14811]
33452         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
33453         (__ieee754_powl): Saturate nonzero exponents with absolute value
33454         below 0x1p-79 to +/- 0x1p-79.
33455         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
33456         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
33457         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
33458         nonzero exponents with absolute value below 0x1p-32 to +/-
33459         0x1p-32.
33460         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
33461         (__ieee754_powl): Saturate nonzero exponents with absolute value
33462         below 0x1p-79 to +/- 0x1p-79.
33463         * math/libm-test.inc (pow_test): Add more tests.
33464
33465 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33466
33467         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
33468         _dl_s390_cap_flags with kernel. Increase string length.
33469         (_dl_s390_platforms): Add z196 and zEC12.
33470
33471 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
33472
33473         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
33474         Change XOPEN21K to XOPEN2K.
33475
33476 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
33477
33478         * string/memmove.c: Use memcpy when possible.
33479
33480 2012-11-06  Andreas Jaeger  <aj@suse.de>
33481
33482         * po/eo.po: Update from translation team.
33483
33484 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
33485
33486         [BZ #14793]
33487         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
33488         exponent and small x and y exponents, scale x or y up.  Increase
33489         by 2 the exponent used in scaling up.
33490         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33491         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33492         * math/libm-test.inc (fma_test): Add more tests.
33493         (fma_test_towardzero): Likewise.
33494         (fma_test_downward): Likewise.
33495         (fma_test_upward): Likewise.
33496
33497 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
33498
33499         [BZ #14805]
33500         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
33501         fenv_t *.
33502
33503         [BZ #14801]
33504         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
33505         namespace for names of struct fields.
33506         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
33507         fenv_t fields.
33508         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
33509         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
33510
33511 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33512
33513         [BZ #3665]
33514         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
33515
33516 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
33517
33518         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
33519         PTR_DEMANGLE.
33520
33521         [BZ #5246]
33522         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
33523         PTR_DEMANGLE.
33524
33525 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
33526
33527         [BZ #14797]
33528         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
33529         definitely overflow as x * y not x * y + z.
33530         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33531         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33532         * math/libm-test.inc (fma_test): Add more tests.
33533         (fma_test_towardzero): Likewise.
33534         (fma_test_downward): Likewise.
33535         (fma_test_upward): Likewise.
33536
33537 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
33538
33539         [BZ #157]
33540
33541         * include/stub-tag.h: Remove file.
33542         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
33543         '#include' of it.
33544         * manual/maint.texi (Porting): Don't reference it.
33545         * Makerules ($(objpfx)stubs): Likewise.
33546         * dirent/closedir.c: Don't include <stub-tag.h>.
33547         * dirent/dirfd.c: Likewise.
33548         * dirent/fdopendir.c: Likewise.
33549         * dirent/getdents.c: Likewise.
33550         * dirent/getdents64.c: Likewise.
33551         * dirent/opendir.c: Likewise.
33552         * dirent/readdir.c: Likewise.
33553         * dirent/readdir64.c: Likewise.
33554         * dirent/readdir64_r.c: Likewise.
33555         * dirent/readdir_r.c: Likewise.
33556         * dirent/rewinddir.c: Likewise.
33557         * dirent/seekdir.c: Likewise.
33558         * dirent/telldir.c: Likewise.
33559         * gmon/profil.c: Likewise.
33560         * grp/setgroups.c: Likewise.
33561         * inet/if_index.c: Likewise.
33562         * io/access.c: Likewise.
33563         * io/chdir.c: Likewise.
33564         * io/chmod.c: Likewise.
33565         * io/chown.c: Likewise.
33566         * io/close.c: Likewise.
33567         * io/dup.c: Likewise.
33568         * io/dup2.c: Likewise.
33569         * io/dup3.c: Likewise.
33570         * io/euidaccess.c: Likewise.
33571         * io/faccessat.c: Likewise.
33572         * io/fchdir.c: Likewise.
33573         * io/fchmod.c: Likewise.
33574         * io/fchmodat.c: Likewise.
33575         * io/fchown.c: Likewise.
33576         * io/fchownat.c: Likewise.
33577         * io/fcntl.c: Likewise.
33578         * io/flock.c: Likewise.
33579         * io/fstatfs.c: Likewise.
33580         * io/fstatfs64.c: Likewise.
33581         * io/fstatvfs.c: Likewise.
33582         * io/fstatvfs64.c: Likewise.
33583         * io/futimens.c: Likewise.
33584         * io/fxstat.c: Likewise.
33585         * io/fxstat64.c: Likewise.
33586         * io/fxstatat.c: Likewise.
33587         * io/fxstatat64.c: Likewise.
33588         * io/getcwd.c: Likewise.
33589         * io/isatty.c: Likewise.
33590         * io/lchmod.c: Likewise.
33591         * io/lchown.c: Likewise.
33592         * io/link.c: Likewise.
33593         * io/linkat.c: Likewise.
33594         * io/lseek.c: Likewise.
33595         * io/lseek64.c: Likewise.
33596         * io/lxstat64.c: Likewise.
33597         * io/mkdir.c: Likewise.
33598         * io/mkdirat.c: Likewise.
33599         * io/mkfifo.c: Likewise.
33600         * io/mkfifoat.c: Likewise.
33601         * io/open.c: Likewise.
33602         * io/open64.c: Likewise.
33603         * io/openat.c: Likewise.
33604         * io/openat64.c: Likewise.
33605         * io/pipe.c: Likewise.
33606         * io/pipe2.c: Likewise.
33607         * io/poll.c: Likewise.
33608         * io/posix_fadvise.c: Likewise.
33609         * io/posix_fadvise64.c: Likewise.
33610         * io/posix_fallocate.c: Likewise.
33611         * io/posix_fallocate64.c: Likewise.
33612         * io/read.c: Likewise.
33613         * io/readlink.c: Likewise.
33614         * io/readlinkat.c: Likewise.
33615         * io/rmdir.c: Likewise.
33616         * io/sendfile.c: Likewise.
33617         * io/sendfile64.c: Likewise.
33618         * io/statfs.c: Likewise.
33619         * io/statfs64.c: Likewise.
33620         * io/statvfs.c: Likewise.
33621         * io/statvfs64.c: Likewise.
33622         * io/symlink.c: Likewise.
33623         * io/symlinkat.c: Likewise.
33624         * io/ttyname.c: Likewise.
33625         * io/ttyname_r.c: Likewise.
33626         * io/umask.c: Likewise.
33627         * io/unlink.c: Likewise.
33628         * io/unlinkat.c: Likewise.
33629         * io/utime.c: Likewise.
33630         * io/utimensat.c: Likewise.
33631         * io/write.c: Likewise.
33632         * io/xmknod.c: Likewise.
33633         * io/xmknodat.c: Likewise.
33634         * io/xstat.c: Likewise.
33635         * io/xstat64.c: Likewise.
33636         * login/getpt.c: Likewise.
33637         * login/grantpt.c: Likewise.
33638         * login/unlockpt.c: Likewise.
33639         * math/e_acoshl.c: Likewise.
33640         * math/e_acosl.c: Likewise.
33641         * math/e_asinl.c: Likewise.
33642         * math/e_atan2l.c: Likewise.
33643         * math/e_atanhl.c: Likewise.
33644         * math/e_coshl.c: Likewise.
33645         * math/e_expl.c: Likewise.
33646         * math/e_fmodl.c: Likewise.
33647         * math/e_gammal_r.c: Likewise.
33648         * math/e_hypotl.c: Likewise.
33649         * math/e_j0l.c: Likewise.
33650         * math/e_j1l.c: Likewise.
33651         * math/e_jnl.c: Likewise.
33652         * math/e_lgammal_r.c: Likewise.
33653         * math/e_log10l.c: Likewise.
33654         * math/e_log2l.c: Likewise.
33655         * math/e_logl.c: Likewise.
33656         * math/e_powl.c: Likewise.
33657         * math/e_rem_pio2l.c: Likewise.
33658         * math/e_sinhl.c: Likewise.
33659         * math/e_sqrtl.c: Likewise.
33660         * math/fclrexcpt.c: Likewise.
33661         * math/fedisblxcpt.c: Likewise.
33662         * math/feenablxcpt.c: Likewise.
33663         * math/fegetenv.c: Likewise.
33664         * math/fegetexcept.c: Likewise.
33665         * math/fegetround.c: Likewise.
33666         * math/feholdexcpt.c: Likewise.
33667         * math/fesetenv.c: Likewise.
33668         * math/fesetround.c: Likewise.
33669         * math/feupdateenv.c: Likewise.
33670         * math/fgetexcptflg.c: Likewise.
33671         * math/fraiseexcpt.c: Likewise.
33672         * math/fsetexcptflg.c: Likewise.
33673         * math/ftestexcept.c: Likewise.
33674         * math/k_cosl.c: Likewise.
33675         * math/k_rem_pio2l.c: Likewise.
33676         * math/k_sinl.c: Likewise.
33677         * math/k_tanl.c: Likewise.
33678         * math/s_asinhl.c: Likewise.
33679         * math/s_atanl.c: Likewise.
33680         * math/s_cbrtl.c: Likewise.
33681         * math/s_erfl.c: Likewise.
33682         * math/s_expm1l.c: Likewise.
33683         * math/s_log1pl.c: Likewise.
33684         * math/s_tanhl.c: Likewise.
33685         * misc/acct.c: Likewise.
33686         * misc/brk.c: Likewise.
33687         * misc/chflags.c: Likewise.
33688         * misc/chroot.c: Likewise.
33689         * misc/fchflags.c: Likewise.
33690         * misc/fgetxattr.c: Likewise.
33691         * misc/flistxattr.c: Likewise.
33692         * misc/fremovexattr.c: Likewise.
33693         * misc/fsetxattr.c: Likewise.
33694         * misc/fsync.c: Likewise.
33695         * misc/ftruncate.c: Likewise.
33696         * misc/futimes.c: Likewise.
33697         * misc/futimesat.c: Likewise.
33698         * misc/getdomain.c: Likewise.
33699         * misc/getdtsz.c: Likewise.
33700         * misc/gethostid.c: Likewise.
33701         * misc/gethostname.c: Likewise.
33702         * misc/getloadavg.c: Likewise.
33703         * misc/getpagesize.c: Likewise.
33704         * misc/getsysstats.c: Likewise.
33705         * misc/getxattr.c: Likewise.
33706         * misc/gtty.c: Likewise.
33707         * misc/ioctl.c: Likewise.
33708         * misc/lgetxattr.c: Likewise.
33709         * misc/listxattr.c: Likewise.
33710         * misc/llistxattr.c: Likewise.
33711         * misc/lremovexattr.c: Likewise.
33712         * misc/lsetxattr.c: Likewise.
33713         * misc/lutimes.c: Likewise.
33714         * misc/madvise.c: Likewise.
33715         * misc/mincore.c: Likewise.
33716         * misc/mlock.c: Likewise.
33717         * misc/mlockall.c: Likewise.
33718         * misc/mmap.c: Likewise.
33719         * misc/mprotect.c: Likewise.
33720         * misc/msync.c: Likewise.
33721         * misc/munlock.c: Likewise.
33722         * misc/munlockall.c: Likewise.
33723         * misc/munmap.c: Likewise.
33724         * misc/preadv.c: Likewise.
33725         * misc/preadv64.c: Likewise.
33726         * misc/ptrace.c: Likewise.
33727         * misc/pwritev.c: Likewise.
33728         * misc/pwritev64.c: Likewise.
33729         * misc/readv.c: Likewise.
33730         * misc/reboot.c: Likewise.
33731         * misc/remap_file_pages.c: Likewise.
33732         * misc/removexattr.c: Likewise.
33733         * misc/revoke.c: Likewise.
33734         * misc/select.c: Likewise.
33735         * misc/setdomain.c: Likewise.
33736         * misc/setegid.c: Likewise.
33737         * misc/seteuid.c: Likewise.
33738         * misc/sethostid.c: Likewise.
33739         * misc/sethostname.c: Likewise.
33740         * misc/setregid.c: Likewise.
33741         * misc/setreuid.c: Likewise.
33742         * misc/setxattr.c: Likewise.
33743         * misc/sstk.c: Likewise.
33744         * misc/stty.c: Likewise.
33745         * misc/swapoff.c: Likewise.
33746         * misc/swapon.c: Likewise.
33747         * misc/sync.c: Likewise.
33748         * misc/syncfs.c: Likewise.
33749         * misc/syscall.c: Likewise.
33750         * misc/truncate.c: Likewise.
33751         * misc/ualarm.c: Likewise.
33752         * misc/usleep.c: Likewise.
33753         * misc/ustat.c: Likewise.
33754         * misc/utimes.c: Likewise.
33755         * misc/vhangup.c: Likewise.
33756         * misc/writev.c: Likewise.
33757         * posix/_exit.c: Likewise.
33758         * posix/alarm.c: Likewise.
33759         * posix/execve.c: Likewise.
33760         * posix/fexecve.c: Likewise.
33761         * posix/fork.c: Likewise.
33762         * posix/fpathconf.c: Likewise.
33763         * posix/getaddrinfo.c: Likewise.
33764         * posix/getegid.c: Likewise.
33765         * posix/geteuid.c: Likewise.
33766         * posix/getgid.c: Likewise.
33767         * posix/getgroups.c: Likewise.
33768         * posix/getlogin.c: Likewise.
33769         * posix/getlogin_r.c: Likewise.
33770         * posix/getpgid.c: Likewise.
33771         * posix/getpid.c: Likewise.
33772         * posix/getppid.c: Likewise.
33773         * posix/getresgid.c: Likewise.
33774         * posix/getresuid.c: Likewise.
33775         * posix/getsid.c: Likewise.
33776         * posix/getuid.c: Likewise.
33777         * posix/glob64.c: Likewise.
33778         * posix/nanosleep.c: Likewise.
33779         * posix/pathconf.c: Likewise.
33780         * posix/pause.c: Likewise.
33781         * posix/posix_madvise.c: Likewise.
33782         * posix/pread.c: Likewise.
33783         * posix/pread64.c: Likewise.
33784         * posix/pwrite.c: Likewise.
33785         * posix/pwrite64.c: Likewise.
33786         * posix/sched_getaffinity.c: Likewise.
33787         * posix/sched_getp.c: Likewise.
33788         * posix/sched_gets.c: Likewise.
33789         * posix/sched_primax.c: Likewise.
33790         * posix/sched_primin.c: Likewise.
33791         * posix/sched_rr_gi.c: Likewise.
33792         * posix/sched_setaffinity.c: Likewise.
33793         * posix/sched_setp.c: Likewise.
33794         * posix/sched_sets.c: Likewise.
33795         * posix/sched_yield.c: Likewise.
33796         * posix/setgid.c: Likewise.
33797         * posix/setlogin.c: Likewise.
33798         * posix/setpgid.c: Likewise.
33799         * posix/setresgid.c: Likewise.
33800         * posix/setresuid.c: Likewise.
33801         * posix/setsid.c: Likewise.
33802         * posix/setuid.c: Likewise.
33803         * posix/sleep.c: Likewise.
33804         * posix/spawni.c: Likewise.
33805         * posix/sysconf.c: Likewise.
33806         * posix/times.c: Likewise.
33807         * posix/wait.c: Likewise.
33808         * posix/wait3.c: Likewise.
33809         * posix/wait4.c: Likewise.
33810         * posix/waitpid.c: Likewise.
33811         * resolv/gai_sigqueue.c: Likewise.
33812         * resource/getpriority.c: Likewise.
33813         * resource/getrlimit.c: Likewise.
33814         * resource/getrusage.c: Likewise.
33815         * resource/nice.c: Likewise.
33816         * resource/setpriority.c: Likewise.
33817         * resource/setrlimit.c: Likewise.
33818         * resource/ulimit.c: Likewise.
33819         * rt/aio_cancel.c: Likewise.
33820         * rt/aio_fsync.c: Likewise.
33821         * rt/aio_read.c: Likewise.
33822         * rt/aio_sigqueue.c: Likewise.
33823         * rt/aio_suspend.c: Likewise.
33824         * rt/aio_write.c: Likewise.
33825         * rt/clock_getres.c: Likewise.
33826         * rt/clock_gettime.c: Likewise.
33827         * rt/clock_nanosleep.c: Likewise.
33828         * rt/clock_settime.c: Likewise.
33829         * rt/lio_listio.c: Likewise.
33830         * rt/mq_close.c: Likewise.
33831         * rt/mq_getattr.c: Likewise.
33832         * rt/mq_notify.c: Likewise.
33833         * rt/mq_open.c: Likewise.
33834         * rt/mq_receive.c: Likewise.
33835         * rt/mq_send.c: Likewise.
33836         * rt/mq_setattr.c: Likewise.
33837         * rt/mq_timedreceive.c: Likewise.
33838         * rt/mq_timedsend.c: Likewise.
33839         * rt/mq_unlink.c: Likewise.
33840         * rt/shm_open.c: Likewise.
33841         * rt/shm_unlink.c: Likewise.
33842         * rt/timer_create.c: Likewise.
33843         * rt/timer_delete.c: Likewise.
33844         * rt/timer_getoverr.c: Likewise.
33845         * rt/timer_gettime.c: Likewise.
33846         * rt/timer_settime.c: Likewise.
33847         * setjmp/__longjmp.c: Likewise.
33848         * setjmp/setjmp.c: Likewise.
33849         * signal/kill.c: Likewise.
33850         * signal/killpg.c: Likewise.
33851         * signal/raise.c: Likewise.
33852         * signal/sigaction.c: Likewise.
33853         * signal/sigaltstack.c: Likewise.
33854         * signal/sigblock.c: Likewise.
33855         * signal/sigignore.c: Likewise.
33856         * signal/sigintr.c: Likewise.
33857         * signal/signal.c: Likewise.
33858         * signal/sigpause.c: Likewise.
33859         * signal/sigpending.c: Likewise.
33860         * signal/sigqueue.c: Likewise.
33861         * signal/sigreturn.c: Likewise.
33862         * signal/sigset.c: Likewise.
33863         * signal/sigsetmask.c: Likewise.
33864         * signal/sigstack.c: Likewise.
33865         * signal/sigsuspend.c: Likewise.
33866         * signal/sigtimedwait.c: Likewise.
33867         * signal/sigvec.c: Likewise.
33868         * signal/sigwait.c: Likewise.
33869         * signal/sigwaitinfo.c: Likewise.
33870         * signal/sysv_signal.c: Likewise.
33871         * socket/accept.c: Likewise.
33872         * socket/accept4.c: Likewise.
33873         * socket/bind.c: Likewise.
33874         * socket/connect.c: Likewise.
33875         * socket/getpeername.c: Likewise.
33876         * socket/getsockname.c: Likewise.
33877         * socket/getsockopt.c: Likewise.
33878         * socket/isfdtype.c: Likewise.
33879         * socket/listen.c: Likewise.
33880         * socket/recv.c: Likewise.
33881         * socket/recvfrom.c: Likewise.
33882         * socket/recvmsg.c: Likewise.
33883         * socket/send.c: Likewise.
33884         * socket/sendmsg.c: Likewise.
33885         * socket/sendto.c: Likewise.
33886         * socket/setsockopt.c: Likewise.
33887         * socket/shutdown.c: Likewise.
33888         * socket/sockatmark.c: Likewise.
33889         * socket/socket.c: Likewise.
33890         * socket/socketpair.c: Likewise.
33891         * stdio-common/ctermid.c: Likewise.
33892         * stdio-common/cuserid.c: Likewise.
33893         * stdio-common/remove.c: Likewise.
33894         * stdio-common/rename.c: Likewise.
33895         * stdio-common/renameat.c: Likewise.
33896         * stdio-common/tempname.c: Likewise.
33897         * stdlib/getcontext.c: Likewise.
33898         * stdlib/makecontext.c: Likewise.
33899         * stdlib/setcontext.c: Likewise.
33900         * stdlib/swapcontext.c: Likewise.
33901         * stdlib/system.c: Likewise.
33902         * streams/fattach.c: Likewise.
33903         * streams/fdetach.c: Likewise.
33904         * streams/getmsg.c: Likewise.
33905         * streams/getpmsg.c: Likewise.
33906         * streams/putmsg.c: Likewise.
33907         * streams/putpmsg.c: Likewise.
33908         * sysdeps/unix/bsd/getpt.c: Likewise.
33909         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
33910         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
33911         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
33912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
33913         Likewise.
33914         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
33915         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
33916         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
33917         * sysvipc/msgctl.c: Likewise.
33918         * sysvipc/msgget.c: Likewise.
33919         * sysvipc/msgrcv.c: Likewise.
33920         * sysvipc/msgsnd.c: Likewise.
33921         * sysvipc/semctl.c: Likewise.
33922         * sysvipc/semget.c: Likewise.
33923         * sysvipc/semop.c: Likewise.
33924         * sysvipc/semtimedop.c: Likewise.
33925         * sysvipc/shmat.c: Likewise.
33926         * sysvipc/shmctl.c: Likewise.
33927         * sysvipc/shmdt.c: Likewise.
33928         * sysvipc/shmget.c: Likewise.
33929         * termios/tcdrain.c: Likewise.
33930         * termios/tcflow.c: Likewise.
33931         * termios/tcflush.c: Likewise.
33932         * termios/tcgetattr.c: Likewise.
33933         * termios/tcgetpgrp.c: Likewise.
33934         * termios/tcsendbrk.c: Likewise.
33935         * termios/tcsetattr.c: Likewise.
33936         * termios/tcsetpgrp.c: Likewise.
33937         * time/adjtime.c: Likewise.
33938         * time/clock.c: Likewise.
33939         * time/getitimer.c: Likewise.
33940         * time/gettimeofday.c: Likewise.
33941         * time/setitimer.c: Likewise.
33942         * time/settimeofday.c: Likewise.
33943         * time/stime.c: Likewise.
33944         * time/time.c: Likewise.
33945
33946 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
33947
33948         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
33949         /usr/old/bin.
33950
33951         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
33952         instead of spaces.
33953         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
33954
33955 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
33956
33957         [BZ #14796]
33958         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
33959         FE_TONEAREST before applying Dekker multiplication and Knuth
33960         addition.  Clear inexact exceptions and check for exact zero
33961         results afterwards.
33962         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33963         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
33964         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33965         * math/libm-test.inc (fma_test): Add more tests.
33966         (fma_test_towardzero): Likewise.
33967         (fma_test_downward): Likewise.
33968         (fma_test_upward): Likewise.
33969         * sysdeps/generic/math_private.h (default_libc_fesetround): New
33970         function.
33971         (libc_fesetround): New macro.
33972         (libc_fesetroundf): Likewise.
33973         (libc_fesetroundl): Likewise.
33974         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
33975         function.
33976         (libc_fesetround_387): Likewise.
33977         (libc_fesetroundf): New macro.
33978         (libc_fesetround): Likewise.
33979         (libc_fesetroundl): Likewise.
33980         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
33981         function.
33982         (libc_fesetroundf): New macro.
33983         (libc_fesetround): Likewise.
33984         (libc_fesetroundl): Likewise.
33985         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
33986         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
33987         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
33988         libm_hidden_ver.
33989         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
33990         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
33991         libm_hidden_def.
33992         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
33993         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
33994         libm_hidden_ver.
33995         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
33996         libm_hidden_def.
33997
33998         [BZ #3439]
33999         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
34000         integer constant usable in #if and use that to give value to enum
34001         constant.
34002         (FE_DIVBYZERO): Likewise.
34003         (FE_UNDERFLOW): Likewise.
34004         (FE_OVERFLOW): Likewise.
34005         (FE_INVALID): Likewise.
34006         (FE_INVALID_SNAN): Likewise.
34007         (FE_INVALID_ISI): Likewise.
34008         (FE_INVALID_IDI): Likewise.
34009         (FE_INVALID_ZDZ): Likewise.
34010         (FE_INVALID_IMZ): Likewise.
34011         (FE_INVALID_COMPARE): Likewise.
34012         (FE_INVALID_SOFTWARE): Likewise.
34013         (FE_INVALID_SQRT): Likewise.
34014         (FE_INVALID_INTEGER_CONVERSION): Likewise.
34015         (FE_TONEAREST): Likewise.
34016         (FE_TOWARDZERO): Likewise.
34017         (FE_UPWARD): Likewise.
34018         (FE_DOWNWARD): Likewise.
34019         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
34020         (FE_DIVBYZERO): Likewise.
34021         (FE_OVERFLOW): Likewise.
34022         (FE_UNDERFLOW): Likewise.
34023         (FE_INEXACT): Likewise.
34024         (FE_TONEAREST): Likewise.
34025         (FE_DOWNWARD): Likewise.
34026         (FE_UPWARD): Likewise.
34027         (FE_TOWARDZERO): Likewise.
34028         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
34029         (FE_UNDERFLOW): Likewise.
34030         (FE_OVERFLOW): Likewise.
34031         (FE_DIVBYZERO): Likewise.
34032         (FE_INVALID): Likewise.
34033         (FE_TONEAREST): Likewise.
34034         (FE_TOWARDZERO): Likewise.
34035         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
34036         (FE_OVERFLOW): Likewise.
34037         (FE_UNDERFLOW): Likewise.
34038         (FE_DIVBYZERO): Likewise.
34039         (FE_INEXACT): Likewise.
34040         (FE_TONEAREST): Likewise.
34041         (FE_TOWARDZERO): Likewise.
34042         (FE_UPWARD): Likewise.
34043         (FE_DOWNWARD): Likewise.
34044         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
34045         (FE_DIVBYZERO): Likewise.
34046         (FE_OVERFLOW): Likewise.
34047         (FE_UNDERFLOW): Likewise.
34048         (FE_INEXACT): Likewise.
34049         (FE_TONEAREST): Likewise.
34050         (FE_DOWNWARD): Likewise.
34051         (FE_UPWARD): Likewise.
34052         (FE_TOWARDZERO): Likewise.
34053
34054 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
34055
34056         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
34057
34058 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
34059
34060         * scripts/cross-test-ssh.sh (command): Use newlines to separate
34061         commands.  Quote $PWD.
34062         (blacklist_exports): Don't use remove_newlines.  Replace "declare
34063         -x" by "export".
34064         (remove_newlines): Remove.
34065
34066 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
34067
34068         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
34069         * stdlib/stdlib.h (atof): Moved to ...
34070         * include/bits/stdlib-float.h: Here.  New file.
34071         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
34072         * stdlib/bits/stdlib-float.h: New file.
34073         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
34074         -mno-sse -mno-mmx.
34075         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
34076         <xmmintrin.h>.
34077
34078 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
34079
34080         * conform/conformtest.pl (@headers): Add fenv.h.
34081         * conform/data/fenv.h-data: New file.
34082         * include/fenv.h [_ISOMAC]: Disable all contents of file except
34083         include of <math/fenv.h>.
34084
34085         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
34086         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
34087         && !UNIX98].  Enables tests for XOPEN2K8.
34088         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
34089         POSIX2008]: Likewise.
34090
34091         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
34092         (struct rusage): Do not expect type or its members.
34093
34094         [BZ #3439]
34095         * math/math.h (FP_NAN): Define macro to integer constant usable in
34096         #if and use that to give value to enum constant.
34097         (FP_INFINITE): Likewise.
34098         (FP_ZERO): Likewise.
34099         (FP_SUBNORMAL): Likewise.
34100         (FP_NORMAL): Likewise.
34101
34102 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
34103
34104         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
34105         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
34106         arguments.
34107
34108 2012-11-02  Roland McGrath  <roland@hack.frob.com>
34109
34110         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
34111         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
34112         autoconf-time if not.
34113         * configure.in: Remove AC_PREREQ.
34114
34115 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
34116
34117         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
34118         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
34119         of the internal implementation.
34120
34121 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
34122
34123         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
34124         except include of <misc/sys/syslog.h>.
34125
34126 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
34127
34128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
34129         function returns with a NULL context exit with zero.
34130
34131 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
34132
34133         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
34134
34135 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
34136
34137         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
34138         (run_program_cmd): This.
34139         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
34140         (tst_langinfo): New variable.  Use it.
34141
34142 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
34143
34144         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
34145         floating point opcodes.
34146
34147 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
34148
34149         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
34150         variable.
34151
34152         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
34153
34154         * sysdeps/mach/hurd/powerpc: Remove directory.
34155         * sysdeps/mach/powerpc: Likewise.
34156
34157 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
34158
34159         * scripts/check-local-headers.sh: Ignore c++ headers.
34160
34161 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
34162
34163         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
34164         __libc_cleanup_region_start argument.
34165
34166 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
34167
34168         [BZ #14784]
34169         [BZ #14785]
34170         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
34171         x * y using scaling, not as x * y + z.
34172         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34173         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34174         * math/libm-test.inc (fma_test): Add more tests.
34175         (fma_test_towardzero): Likewise.
34176         (fma_test_downward): Likewise.
34177         (fma_test_upward): Likewise.
34178
34179 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
34180
34181         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
34182
34183 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
34184
34185         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
34186         New variable.
34187
34188 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
34189
34190         * rt/tst-shm.c (worker): Correct checking for mmap failure.
34191
34192 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
34193
34194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34195         Fix sort order.
34196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34197         Likewise.
34198
34199 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
34200
34201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34202         Fix the order of the list for glibc 2.17.
34203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34204         Likewise.
34205
34206 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
34207
34208         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34209
34210 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
34211
34212         [BZ #14610]
34213         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
34214         for low part of x being zero before using __atanl (y).
34215         * math/libm-test.inc (atan2_test): Add another test.
34216
34217         * manual/install.texi (Configuring and compiling): Document
34218         general use of test-wrapper and test-wrapper-env.
34219         * INSTALL: Regenerated.
34220
34221         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
34222         (__fma): Do not extract and scale down low bits on after-rounding
34223         systems when result rounded to normal precision would have normal
34224         exponent.
34225         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
34226         (__fmal): Do not extract and scale down low bits on after-rounding
34227         systems when result rounded to normal precision would have normal
34228         exponent.
34229         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
34230         (__fmal): Do not extract and scale down low bits on after-rounding
34231         systems when result rounded to normal precision would have normal
34232         exponent.
34233         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
34234         macro.
34235         (fma_test): Add more tests.
34236         (fma_test_towardzero): Likewise.
34237         (fma_test_downward): Likewise.
34238         (fma_test_upward): Likewise.
34239
34240 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
34241
34242         * sysdeps/i386/tininess.h: Renamed to ...
34243         * sysdeps/x86/tininess.h: This.
34244         * sysdeps/x86_64/tininess.h: Removed.
34245
34246 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
34247
34248         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
34249         input.  Use $(build-program-cmd).
34250         ($(objpfx)tst-array1-static.out): Likewise.
34251         ($(objpfx)tst-array2.out): Likewise.
34252         ($(objpfx)tst-array3.out): Likewise.
34253         ($(objpfx)tst-array4.out): Likewise.
34254         ($(objpfx)tst-array5.out): Likewise.
34255         ($(objpfx)tst-array5-static.out): Likewise.
34256
34257 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
34258
34259         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
34260         if defined.
34261
34262         * nss/nsswitch.h (nss_interface_function): Provide new
34263         macro for use with NSS functions.
34264         * grp/initgroups.c: Use new macro.
34265         * nss/getXXbyYY.c: Likewise.
34266         * nss/getXXbyYY_r.c: Likewise.
34267         * nss/getXXent.c: Likewise.
34268         * nss/getXXent_r.c: Likewise.
34269         * sysdeps/posix/getaddrinfo.c: Likewise.
34270
34271 2012-10-30  Andreas Jaeger  <aj@suse.de>
34272
34273         * po/ru.po: Update Russion translation from translation project.
34274
34275 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
34276
34277         [BZ #14152]
34278         [BZ #14783]
34279         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
34280         result and shift together with sticky bit instead of replicating
34281         round-to-nearest rounding.
34282         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34283         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34284         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
34285         missing underflow exceptions.
34286         (fma_test_towardzero): Add more tests.
34287         (fma_test_downward): Likewise.
34288         (fma_test_upward): Likewise.
34289
34290         [BZ #14047]
34291         * sysdeps/generic/tininess.h: New file.
34292         * sysdeps/i386/tininess.h: Likewise.
34293         * sysdeps/sh/tininess.h: Likewise.
34294         * sysdeps/x86_64/tininess.h: Likewise.
34295         * stdlib/tst-strtod-underflow.c: Likewise.
34296         * stdlib/tst-tininess.c: Likewise.
34297         * stdlib/strtod_l.c: Include <tininess.h>.
34298         (round_and_return): Do not set errno for exact underflow cases.
34299         Force an underflow exception when setting errno for underflow.
34300         Determine underflow based on rounding to normal precision if
34301         TININESS_AFTER_ROUNDING.
34302         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
34303         ERANGE for exact underflow cases.
34304         * stdlib/Makefile (tests): Add tst-tininess and
34305         tst-strtod-underflow.
34306         ($(objpfx)tst-tininess): Use $(link-libm).
34307         ($(objpfx)tst-strtod-underflow): Likewise.
34308
34309 2012-10-30  Andreas Jaeger  <aj@suse.de>
34310
34311         [BZ#14767]
34312         * elf/Makefile (tests): Remove conditional for have-initfini-array
34313         since this is now always required and the variable does not exist
34314         anymore.
34315         (tests-static): Likewise.
34316         (modules-names): Likewise.
34317
34318         * po/eo.po: Add Esperanto translation from translation project.
34319
34320         * elf/tst-array1.c (fini_array): Make writeable so that it can be
34321         merged with constructor/destructor.
34322         (init_array): Likewise.
34323         * elf/tst-array2dep.c (fini_array): Likewise.
34324         (init_array): Likewise.
34325
34326 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
34327
34328         * manual/message.texi: Delete @cartouche tags.
34329
34330 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
34331
34332         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
34333         EOPNOTSUPP.
34334         * sysdeps/mach/hurd/fsync.c: Likewise.
34335
34336         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
34337         [_POSIX_REALTIME_SIGNALS]: Change condition to
34338         [_POSIX_REALTIME_SIGNALS > 0].
34339
34340 2012-10-27  Andreas Jaeger  <aj@suse.de>
34341
34342         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
34343         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
34344         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
34345         [__WORDSIZE != 64]: Likewise.
34346
34347 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
34348
34349         *  iconvdata/tst-table.sh: Remove ${SHELL}.
34350         *  iconvdata/tst-tables.sh: Likewise.
34351
34352 2012-10-25  David S. Miller  <davem@davemloft.net>
34353
34354         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34355         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
34356         of strtoull.
34357
34358         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
34359         ifunc-impl-list.c
34360         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34361         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
34362         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
34363         file.
34364
34365 2012-10-25  Roland McGrath  <roland@hack.frob.com>
34366
34367         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34368         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
34369         __getdirentries.
34370
34371 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
34372             Jim Blandy  <jimb@codesourcery.com>
34373
34374         * scripts/cross-test-ssh.sh: New file.
34375         * manual/install.texi (Configuring and compiling): Document use of
34376         cross-test-ssh.sh.
34377         * INSTALL: Regenerated.
34378
34379 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
34380
34381         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
34382         EOPNOTSUPP.
34383
34384 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
34385
34386         * Makeconfig (run-program-prefix): Fix comment.
34387
34388 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
34389             Jim Blandy  <jimb@codesourcery.com>
34390
34391         * Makeconfig (test-wrapper): New variable,
34392         (test-wrapper-env): Likewise.
34393         [$(cross-compiling) = yes && $(test-wrapper) != ""]
34394         (run-built-tests): Define to yes.
34395         (run-program-prefix): Use $(test-wrapper).
34396         (built-program-cmd): Likewise.
34397         * Rules (make-test-out): Use $(test-wrapper-env) and
34398         $(host-built-program-cmd).
34399         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
34400         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
34401         tst-pathopt.sh.
34402         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
34403         $(test-wrapper-env) to tst-rtld-load-self.sh.
34404         ($(objpfx)order2.out): Use $(test-wrapper).
34405         ($(objpfx)tst-initorder.out): Likewise.
34406         ($(objpfx)tst-initorder2.out): Likewise.
34407         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
34408         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
34409         (test_wrapper_env): New variable.  Use it to run ld.so.
34410         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
34411         Use it to run ld.so.
34412         (test_wrapper_env): Likewise.
34413         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
34414         $(test-wrapper) to run-iconv-test.sh.
34415         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
34416         (ICONV): Use $test_wrapper.
34417         * posix/Makefile ($(objpfx)globtest.out): Pass
34418         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
34419         globtest.sh, not $(run-program-prefix).
34420         * posix/globtest.sh (run_via_rtld_prefix): New variable.
34421         (test_wrapper): Likewise.
34422         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
34423         set together with run_via_rtld_prefix.
34424         (run_program_prefix): Define in terms of test_wrapper and
34425         run_via_rtld_prefix.
34426
34427 2012-10-24  Roland McGrath  <roland@hack.frob.com>
34428
34429         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
34430         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
34431         Targets removed.
34432
34433         [BZ #14743]
34434         * include/time.h: Remove librt_hidden_proto (clock_gettime).
34435         Declare __clock_getres, __clock_gettime, __clock_settime,
34436         __clock_nanosleep, and __clock_getcpuclockid.
34437         * rt/clock_gettime.c: Define __clock_gettime as an alias.
34438         Remove librt_hidden_def (clock_gettime).
34439         * sysdeps/unix/clock_gettime.c: Likewise.
34440         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
34441         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
34442         * rt/clock_getres.c: Define __clock_getres as an alias.
34443         * sysdeps/posix/clock_getres.c: Likewise.
34444         * rt/clock_settime.c: Define __clock_settime as an alias.
34445         * sysdeps/unix/clock_settime.c: Likewise.
34446         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
34447         * sysdeps/unix/clock_nanosleep.c: Likewise.
34448         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
34449         * rt/clock-compat.c: New file.
34450         * rt/Makefile (librt-routines): Add clock-compat and move
34451         $(clock-routines) to ...
34452         (routines): ... here, new variable.
34453         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
34454         Don't add get_clockfreq here.
34455         * rt/Versions (libc: GLIBC_2.17): New version set.
34456         Add clock_* symbols here.
34457         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
34458         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
34459         (GLIBC_2.17): Add clock_* symbols.
34460         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
34461         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
34462         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
34463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34464         Likewise.
34465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34466         Likewise.
34467         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
34468         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
34469         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
34470         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
34471         * NEWS: Mention the move.
34472
34473         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
34474         Use __open, __read, __close rather than their public counterparts.
34475         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34476         (__get_clockfreq_via_cpuinfo): Likewise.
34477         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
34478         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
34479
34480         * config.h.in (HAVE_IFUNC): New #undef.
34481         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
34482         was successful.
34483         * configure: Regenerated.
34484
34485 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
34486
34487         * configure.in: Move READELF check to start of file.
34488         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
34489         libc_cv_asm_gnu_indirect_function in the process.
34490         * configure: Regenerated.
34491
34492 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
34493
34494         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
34495         send the output to /dev/null.
34496         (libc_cv_cc_with_libunwind): Likewise.
34497         (libc_cv_as_noexecstack): Likewise.
34498         * configure: Regenerate.
34499
34500 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
34501
34502         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
34503
34504         * posix/globtest.sh (TMPDIR): Do not set.
34505         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
34506         (testout): Likewise.
34507
34508 2012-10-24  Andreas Jaeger  <aj@suse.de>
34509
34510         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
34511         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
34512         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
34513         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
34514         posix_fadvise64, posix_fallocate64.
34515
34516         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
34517         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
34518         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
34519         Likewise.
34520         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
34521         Likewise.
34522         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
34523
34524         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
34525         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
34526         <bits/fcntl-linux.h>.
34527         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
34528
34529         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
34530         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
34531         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
34532         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
34533         [__WORDSIZE != 64]: Likewise.
34534
34535 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
34536
34537         * Makeconfig (run-built-tests): New variable.
34538         * Rules [$(cross-compiling) = yes]: Change condition to
34539         [$(run-built-tests) = no].
34540         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
34541         to [$(run-built-tests) = yes].
34542         * elf/Makefile [$(cross-compiling) = no]: Likewise
34543         * grp/Makefile [$(cross-compiling) = no]: Likewise.
34544         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
34545         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
34546         * intl/Makefile [$(cross-compiling) = no]: Likewise.
34547         * io/Makefile [$(cross-compiling) = no]: Likewise.
34548         * libio/Makefile [$(cross-compiling) = no]: Likewise.
34549         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
34550         * misc/Makefile [$(cross-compiling) = no]: Likewise.
34551         * posix/Makefile [$(cross-compiling) = no]: Likewise.
34552         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
34553         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
34554         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
34555         * string/Makefile [$(cross-compiling) = no]: Likewise.
34556
34557         * posix/Makefile ($(objpfx)globtest.out): Pass
34558         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
34559         $(rtld-installed-name).
34560         * posix/globtest.sh (elf_objpfx): Remove variable.
34561         (rtld_installed_name): Likewise.
34562         (library_path): Likewise.
34563         (run_program_prefix): New variable.  Use for running globtest
34564         binary.
34565
34566 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
34567             Joseph Myers  <joseph@codesourcery.com>
34568
34569         * Makeconfig (host-built-program-cmd): New variable.
34570         * elf/Makefile (tst-stackguard1-ARGS): Use
34571         $(host-built-program-cmd).
34572         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
34573         (tst-spawn-ARGS): Likewise.
34574         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
34575
34576 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
34577             Jim Blandy  <jimb@codesourcery.com>
34578
34579         * Makeconfig (run-via-rtld-prefix): New variable.
34580         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
34581         (built-program-cmd): Likewise.
34582
34583 2012-10-22  Andreas Jaeger  <aj@suse.de>
34584
34585         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
34586         __O_RSYNC if it exists, otherwise to O_SYNC.
34587
34588 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
34589             Joseph Myers  <joseph@codesourcery.com>
34590
34591         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
34592         /dev/null.
34593         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
34594         from /dev/null
34595         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
34596         /dev/null.
34597
34598 2012-10-22  Andreas Jaeger  <aj@suse.de>
34599
34600         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
34601         Define always.
34602         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
34603
34604         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34605         bits/fcntl-linux.h.
34606
34607         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
34608         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
34609
34610         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
34611         to __O_LARGEFILE.
34612         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
34613         to __O_LARGEFILE.
34614
34615 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
34616             Joseph Myers  <joseph@codesourcery.com>
34617
34618         * config.make.in (NM): New variable.
34619
34620 2012-10-21  Andreas Jaeger  <aj@suse.de>
34621
34622         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
34623         definitions and declarations that are provided by
34624         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
34625
34626 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
34627
34628         [BZ #14683]
34629         * elf/Makefile (tests-static): Add tst-leaks1-static.
34630         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
34631         ($(objpfx)tst-leaks1-static): New rule.
34632         ($(objpfx)tst-leaks1-static-mem): Likewise.
34633         (tst-leaks1-static-ENV): New macro.
34634         * elf/dl-open.c (dl_open_worker): Check the main application
34635         only if SHARED is defined.
34636         * elf/tst-leaks1-static.c: New file.
34637
34638 2012-10-20  Andreas Jaeger  <aj@suse.de>
34639
34640         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
34641         generic values for Linux.
34642         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
34643         and declarations that are provided by <bits/fcntl-linux.h> and
34644         include <bits/fcntl-linux.h>.
34645         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34646         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34647
34648 2012-10-20  Roland McGrath  <roland@hack.frob.com>
34649
34650         * io/fcntl.h: Move include of <bits/types.h> to the top and
34651         include it unconditionally.
34652
34653 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
34654
34655         * wcsmbs/Makefile (tests-ifunc): New variable.
34656         (tests): Add $(tests-ifunc).
34657         * wcsmbs/test-wcschr-ifunc.c: New file.
34658         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
34659         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
34660         * wcsmbs/test-wcslen-ifunc.c: Likewise.
34661         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
34662         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
34663
34664         * string/Makefile (tests-ifunc): New variable.
34665         (tests): Add $(tests-ifunc).
34666         * string/test-memccpy.c (TEST_NAME): New macro.
34667         * string/test-memchr.c (TEST_NAME): Likewise.
34668         * string/test-memcmp.c (TEST_NAME): Likewise.
34669         * string/test-memcpy.c (TEST_NAME): Likewise.
34670         * string/test-memmem.c (TEST_NAME): Likewise.
34671         * string/test-memmove.c (TEST_NAME): Likewise.
34672         * string/test-memset.c (TEST_NAME): Likewise.
34673         * string/test-rawmemchr.c (TEST_NAME): Likewise.
34674         * string/test-stpcpy.c (TEST_NAME): Likewise.
34675         * string/test-stpncpy.c (TEST_NAME): Likewise.
34676         * string/test-strcasecmp.c (TEST_NAME): Likewise.
34677         * string/test-strcasestr.c (TEST_NAME): Likewise.
34678         * string/test-strcat.c (TEST_NAME): Likewise.
34679         * string/test-strchr.c (TEST_NAME): Likewise.
34680         * string/test-strcmp.c(TEST_NAME): Likewise.
34681         * string/test-strcpy.c (TEST_NAME): Likewise.
34682         * string/test-strcspn.c (TEST_NAME): Likewise.
34683         * string/test-strlen.c (TEST_NAME): Likewise.
34684         * string/test-strncasecmp.c (TEST_NAME): Likewise.
34685         * string/test-strncmp.c (TEST_NAME): Likewise.
34686         * string/test-strncpy.c (TEST_NAME): Likewise.
34687         * string/test-strnlen.c (TEST_NAME): Likewise.
34688         * string/test-strpbrk.c (TEST_NAME): Likewise.
34689         * string/test-strrchr.c (TEST_NAME): Likewise.
34690         * string/test-strspn.c (TEST_NAME): Likewise.
34691         * string/test-strstr.c (TEST_NAME): Likewise.
34692         * string/test-bcopy-ifunc.c: New file.
34693         * string/test-bzero-ifunc.c: Likewise.
34694         * string/test-memccpy-ifunc.c: Likewise.
34695         * string/test-memchr-ifunc.c: Likewise.
34696         * string/test-memcmp-ifunc.c: Likewise.
34697         * string/test-memcpy-ifunc.c: Likewise.
34698         * string/test-memmem-ifunc.c: Likewise.
34699         * string/test-memmove-ifunc.c: Likewise.
34700         * string/test-mempcpy-ifunc.c: Likewise.
34701         * string/test-memset-ifunc.c: Likewise.
34702         * string/test-rawmemchr-ifunc.c: Likewise.
34703         * string/test-stpcpy-ifunc.c: Likewise.
34704         * string/test-stpncpy-ifunc.c: Likewise.
34705         * string/test-strcasecmp-ifunc.c: Likewise.
34706         * string/test-strcasestr-ifunc.c: Likewise.
34707         * string/test-strcat-ifunc.c: Likewise.
34708         * string/test-strchr-ifunc.c: Likewise.
34709         * string/test-strchrnul-ifunc.c: Likewise.
34710         * string/test-strcmp-ifunc.c: Likewise.
34711         * string/test-strcpy-ifunc.c: Likewise.
34712         * string/test-strcspn-ifunc.c: Likewise.
34713         * string/test-strlen-ifunc.c: Likewise.
34714         * string/test-strncasecmp-ifunc.c: Likewise.
34715         * string/test-strncat-ifunc.c: Likewise.
34716         * string/test-strncmp-ifunc.c: Likewise.
34717         * string/test-strncpy-ifunc.c: Likewise.
34718         * string/test-strnlen-ifunc.c: Likewise.
34719         * string/test-strpbrk-ifunc.c: Likewise.
34720         * string/test-strrchr-ifunc.c: Likewise.
34721         * string/test-strspn-ifunc.c: Likewise.
34722         * string/test-strstr-ifunc.c: Likewise.
34723
34724         * debug/Makefile (tests-ifunc): New variable.
34725         (tests): Add $(tests-ifunc).
34726         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
34727         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
34728         * debug/test-stpcpy_chk-ifunc.c: New file.
34729         * debug/test-strcpy_chk-ifunc.c: Likewise.
34730
34731 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
34732
34733         [BZ #13601]
34734         * elf/dl-load.c (open_verify): Retry read if the entire ELF
34735         header is not read in.
34736
34737 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
34738
34739         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
34740         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
34741         directly.  Pass built executable to script as
34742         $(built-program-cmd).
34743         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
34744         $testprogram without using LD_LIBRARY_PATH and $ldso.
34745
34746         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
34747         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
34748         $(rtld-installed-name).
34749         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
34750         (rtld_installed_name): Likewise.
34751         (library_path): Likewise.
34752         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
34753         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
34754         $(run-program-prefix) to tst-tables.sh.
34755         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
34756         it to run tst-table-from and tst-table-to.
34757         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
34758         Pass it to tst-table.sh.
34759         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
34760         $(run-program-prefix) to tst-gettext.sh.
34761         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
34762         tst-translit.sh.
34763         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
34764         tst-gettext2.sh.
34765         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
34766         to run tst-gettext.
34767         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
34768         to run tst-gettext2.
34769         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
34770         to run tst-translit.
34771         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
34772         $(run-program-prefix) to tst-mtrace.sh.
34773         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
34774         to run tst-mtrace.
34775         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
34776         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
34777         $(rtld-installed-name).
34778         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
34779         (rtld_installed_name): Likewise.
34780         (run_program_prefix): New variable.  Use it to run wordexp-test.
34781
34782         * Makeconfig (ARCH): Remove all definitions.
34783         (machine): Likewise.
34784         [ARCH]: Remove conditional code.
34785         [!objdir]: Give error.
34786         [!objdir] (objpfx): Remove.
34787         [!objdir] (common-objpfx): Likewise.
34788         [!objdir] (common-objdir): Likewise.
34789         * configure.in (config_makefile): Remove.  Hardcode Makefile in
34790         AC_CONFIG_FILES call.
34791         * configure: Regenerated.
34792
34793         [BZ #13888]
34794         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
34795         or TMPDIR.
34796         (testout): Likewise.
34797
34798         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
34799         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
34800         $(rtld-installed-name).
34801         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
34802         (rtld_installed_name): Likwise.
34803         (runit): Remove function.
34804         (run_getconf): New variable,  Use it for running getconf binary.
34805
34806 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
34807
34808         [BZ #14716]
34809         * string/test-memmem.c (check_result): New function.
34810         (do_one_test): Use it.
34811         (check1): New function.
34812         (test_main): Use it.
34813
34814 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
34815
34816         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
34817
34818 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
34819
34820         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
34821         (_G_LSEEK64): Likewise.
34822         (_G_MMAP64): Likewise.
34823         (_G_FSTAT64): Likewise.
34824         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
34825         (_G_LSEEK64): Likewise.
34826         (_G_MMAP64): Likewise.
34827         (_G_FSTAT64): Likewise.
34828         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
34829         unconditional.  Call __mmap64 directly.
34830         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
34831         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
34832         __lseek64 directly.
34833         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
34834         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
34835         __mmap64 directly.
34836         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
34837         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
34838         __lseek64 directly.
34839         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
34840         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
34841         __lseek64 directly.
34842         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
34843         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
34844         __lseek64 directly.
34845         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
34846         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
34847         __fxstat64 directly.
34848         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
34849         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
34850         unconditional.
34851         (freopen64) [!_G_OPEN64]: Remove conditional code.
34852         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
34853         unconditional.
34854         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
34855         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
34856         unconditional.
34857         (ftello64) [!_G_LSEEK64]: Remove conditional code.
34858         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
34859         unconditional.
34860         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
34861         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
34862         unconditional.
34863         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
34864         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
34865         unconditional.
34866         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
34867         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
34868         unconditional.
34869         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
34870         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
34871         unconditional.
34872         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
34873
34874 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
34875
34876         [BZ #12140]
34877         * manual/memory.texi (Malloc Tunable Parameters): Add note
34878         about free list pointers overwriting some perturb bytes.
34879         Wording suggested by Roland McGrath.
34880
34881 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
34882
34883         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
34884         (lgamma_test): Likewise.
34885         (tgamma_test): Likewise.
34886
34887 2012-10-16  Florian Weimer  <fweimer@redhat.com>
34888
34889         [BZ #14700]
34890         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
34891         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
34892
34893 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
34894
34895         * NEWS: Mention BZ #14716.
34896         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
34897         when removing AVAILABLE1_USES_J macro.
34898
34899 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
34900
34901         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
34902         (__bswap_64): __uint64_t for unsigned 64-bit int.
34903
34904 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
34905
34906         * include/string.h (memmem): Declare libc hidden alias.
34907         * string/memmem.c (memmem): Define libc hidden alias.
34908         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
34909         __read, __close instead of open, read, close.
34910
34911 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
34912
34913         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
34914         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
34915         global and hidden.
34916         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
34917         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
34918         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
34919         Likewise.
34920         (__rawmemchr_sse2): Likewise.
34921         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
34922         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
34923         (__strchr_sse2): Likewise.
34924         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
34925         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
34926         (__strcasecmp_sse2): Likewise.
34927         (__strncasecmp_sse2): Likewise.
34928         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
34929         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
34930         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
34931         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
34932         (__strrchr_sse2): Likewise.
34933         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
34934         ifunc-impl-list.c.
34935         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
34936         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
34937         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
34938         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
34939         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
34940         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
34941         * sysdeps/x86_64/multiarch/memset.S: Likewise.
34942         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
34943         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
34944         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
34945         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
34946         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
34947         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
34948         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
34949         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
34950         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
34951         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
34952         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
34953         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
34954         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
34955         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
34956         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
34957         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
34958         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
34959         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
34960         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34961         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
34962         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
34963         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
34964         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
34965
34966         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
34967         global and hidden.
34968         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
34969         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
34970         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
34971         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
34972         Likewise.
34973         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
34974         Likewise.
34975         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
34976         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
34977         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
34978         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
34979         ifunc-impl-list.c.
34980         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
34981         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
34982         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
34983         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
34984         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
34985         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
34986         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
34987         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
34988         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
34989         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
34990         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
34991         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
34992         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
34993         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
34994         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
34995         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
34996         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
34997         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
34998         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
34999         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
35000         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35001         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35002         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35003         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35004         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35005         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
35006         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
35007         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
35008         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
35009         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35010         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
35011         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35012         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35013         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
35014         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35015         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35016         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35017         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35018         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35019         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35020         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
35021
35022         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
35023         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
35024         * include/ifunc-impl-list.h: New file.
35025         * misc/ifunc-impl-list.c: Likewise.
35026         * misc/Makefile (routines): Add ifunc-impl-list.
35027         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
35028         * string/test-string.h: Include <ifunc-impl-list.h>.
35029         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
35030         TEST_NAME]: New variables.
35031         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
35032         are defined.
35033         (test_init): Call __libc_ifunc_impl_list to initialize
35034         func_list if TEST_IFUNC and TEST_NAME are defined.
35035
35036         * string/Makefile (strop-tests): Add bcopy and bzero.
35037         * string/test-bcopy.c: New file.
35038         * string/test-bzero.c: Likewise.
35039         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
35040         defined.
35041         * string/test-memset.c: Support bzero test if TEST_BZERO is
35042         defined.
35043         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
35044         __libc_memmove.
35045         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
35046         __libc_memset.
35047         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
35048         of memset.
35049
35050 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
35051
35052         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
35053         * configure: Regenerated.
35054
35055         * Makeconfig (+link-static-before-libc): Don't include
35056         $(link-static-libc).
35057
35058         * libio/libio.h (_IO_pos_t): Remove.
35059
35060 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
35061
35062         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
35063         McGrath.
35064
35065 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
35066
35067         * crypt/crypt-entry.c: Include fips-private.h.
35068         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
35069         * crypt/md5c-test.c (main): Tolerate disabled MD5.
35070         * sysdeps/unix/sysv/linux/fips-private.h: New file.
35071         * sysdeps/generic/fips-private.h: New file, dummy fallback.
35072
35073 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
35074
35075         * crypt/crypt-private.h: Include stdbool.h.
35076         (_ufc_setup_salt_r): Return bool.
35077         * crypt/crypt-entry.c: Include errno.h.
35078         (__crypt_r): Return NULL with EINVAL for bad salt.
35079         * crypt/crypt_util.c (bad_for_salt): New.
35080         (_ufc_setup_salt_r): Check that salt is long enough and within
35081         the specified alphabet.
35082         * crypt/badsalttest.c: New file.
35083         * crypt/Makefile (tests): Add it.
35084         ($(objpfx)badsalttest): New.
35085
35086 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
35087
35088         * NEWS: Add entry for BZ #14602.
35089
35090 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
35091
35092         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
35093         type-generic.
35094         * math/libm-test.inc: Update comment listing what functions and
35095         macros are tested.
35096         (isgreater_test): New function.
35097         (isgreaterequal_test): Likewise.
35098         (isless_test): Likewise.
35099         (islessequal_test): Likewise.
35100         (islessgreater_test): Likewise.
35101         (isunordered_test): Likewise.
35102         (main): Call the new functions.
35103
35104 2012-10-09  Roland McGrath  <roland@hack.frob.com>
35105
35106         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
35107         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
35108         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
35109         * sysdeps/i386/configure: Regenerated.
35110         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
35111         * sysdeps/mach/configure: Regenerated.
35112         * sysdeps/mach/hurd/configure: Regenerated.
35113         * sysdeps/powerpc/configure: Regenerated.
35114         * sysdeps/powerpc/powerpc32/configure: Regenerated.
35115         * sysdeps/powerpc/powerpc64/configure: Regenerated.
35116         * sysdeps/s390/s390-32/configure: Regenerated.
35117         * sysdeps/s390/s390-64/configure: Regenerated.
35118         * sysdeps/sh/configure: Regenerated.
35119         * sysdeps/sparc/configure: Regenerated.
35120         * sysdeps/unix/sysv/linux/configure: Regenerated.
35121         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
35122         * sysdeps/x86_64/configure: Regenerated.
35123
35124         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
35125         defined.  Don't check if MAP is NULL.
35126
35127 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
35128
35129         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
35130         (_G_stat64): Likewise.
35131         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
35132         (_G_stat64): Likewise.
35133         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
35134         instead of struct _G_stat64.
35135         * libio/fileops.c (mmap_remap_check): Likewise.
35136         (decide_maybe_mmap): Likewise.
35137         (_IO_new_file_seekoff): Likewise.
35138         (_IO_file_stat): Likewise.
35139         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
35140         _G_off64_t.
35141         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
35142         instead of struct _G_stat64.
35143         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
35144
35145 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
35146
35147         [BZ #14602]
35148         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
35149         Replace with ...
35150         (CHECK_EOL): New macro.
35151         (two_way_short_needle): Check beginning of haystack for EOL.  Use
35152         CHECK_EOL.
35153         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
35154         Replace with CHECK_EOL.
35155         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
35156         Replace with CHECK_EOL.
35157
35158 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
35159
35160         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
35161         type-generic.
35162         * math/libm-test.inc: Update comment listing what functions and
35163         macros are tested.
35164         (finite_test): New function.
35165         (isinf_test): Likewise.
35166         (isnan_test): Likewise.
35167         (fpclassify_test): Test subnormal input.
35168         (isfinite_test): Likewise.
35169         (isnormal_test): Likewise.
35170         (main): Call the new functions.
35171
35172 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
35173
35174         [BZ #14660]
35175         * Makerules (%.dynsym): Force C locale when running
35176         $(OBJDUMP) --dynamic-syms.
35177
35178 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
35179
35180         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
35181         <stdint.h>.
35182
35183 2012-10-06  David S. Miller  <davem@davemloft.net>
35184
35185         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
35186         upper 32-bits of the length value in %o2 since we use branch-on-register
35187         tests which consider the entire 64-bit register.
35188
35189 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
35190
35191         * string/test-strstr.c (check2): Add a test for page boundary.
35192
35193 2012-10-05  David S. Miller  <davem@davemloft.net>
35194
35195         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
35196         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
35197         file.
35198         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
35199         sysdep_routines.
35200         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
35201         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
35202         and bzero when HWCAP_SPARC_CRYPTO is present.
35203
35204 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
35205
35206         [BZ #14602]
35207         * string/test-strstr.c (check2): New function.
35208         (test_main): Call check2.
35209
35210         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
35211         and bug-strchr1.
35212         * string/bug-strcasestr1.c (do_test): Moved to ...
35213         * string/test-strcasestr.c (check1): Here.  New function.
35214         (do_one_test): Break out result checking code into ...
35215         (check_result): This.  New function.
35216         (do_one_test): Call check_result.
35217         (test_main): Call check1.
35218         * string/bug-strchr1.c (do_test): Moved to ...
35219         * string/test-strchr.c (check1): Here.  New function.
35220         (do_one_test): Break out result checking code into ...
35221         (check_result): This.  New function.
35222         (do_one_test): Call check_result.
35223         (test_main): Call check1.
35224         * string/bug-strstr1.c (main): Moved to ...
35225         * string/test-strstr.c (check1): Here.  New function.
35226         (do_one_test): Break out result checking code into ...
35227         (check_result): This.  New function.
35228         (do_one_test): Call check_result.
35229         (test_main): Call check1.
35230         * string/bug-strcasestr1.c: Removed.
35231         * string/bug-strchr1.c: Likewise.
35232         * string/bug-strstr1.c: Likewise.
35233
35234         * elf/Makefile (dl-routines): Add hwcaps.
35235         * elf/dl-support.c (_dl_important_hwcaps): Removed.
35236         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
35237         (_dl_important_hwcaps): Moved to ...
35238         * elf/dl-hwcaps.c: Here.  New file.
35239         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
35240
35241         [BZ #14557]
35242         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
35243         if IS_IN_rtld isn't defined.
35244
35245         * elf/dl-support.c (_dl_sysinfo_map): New.
35246         Include "get-dynamic-info.h" and "setup-vdso.h".
35247         (_dl_non_dynamic_init): Call setup_vdso.
35248         * elf/dynamic-link.h: Don't include <assert.h>.
35249         (elf_get_dynamic_info): Moved to ...
35250         * elf/get-dynamic-info.h: Here.  New file.
35251         * elf/dynamic-link.h: Include "get-dynamic-info.h".
35252         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
35253         * elf/setup-vdso.h: Here.  New file.
35254         * elf/rtld.c: Include "setup-vdso.h".
35255         (dl_main): Call setup_vdso.
35256
35257 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
35258
35259         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
35260         creal in comment listing functions tested.  List finite, isinf,
35261         isnan, isless, islessequal, isgreater, isgreaterequal,
35262         islessgreater, isunordered, lgamma_r and pow10 as functions and
35263         macros not tested.  Mention which functions not tested are aliases
35264         for other functions.  Fix typo.  Note that signs of NaNs are not
35265         tested.
35266
35267         * scripts/config.guess: Update from config.git.
35268         * scripts/config.sub: Likewise.
35269
35270 2012-10-04  Roland McGrath  <roland@hack.frob.com>
35271
35272         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
35273         * misc/madvise.c (madvise): Renamed to __madvise.
35274         Make madvise a weak alias.
35275         * include/sys/mman.h: Declare __madvise.
35276         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
35277         * sysdeps/unix/syscalls.list
35278         (madvise): Make __madvise the strong name, and madvise a weak alias.
35279         * sysdeps/unix/sysv/linux/syscalls.list
35280         (madvise, mmap): Remove redundant entries.
35281         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
35282         * malloc/malloc.c (mtrim): Likewise.
35283         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
35284
35285 2012-10-03  Roland McGrath  <roland@hack.frob.com>
35286
35287         * sysdeps/mach/hurd/dl-cache.c: File removed.
35288         * config.h.in (USE_LDCONFIG): New #undef.
35289         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
35290         * configure: Regenerated.
35291         * elf/Makefile (dl-routines): Add dl-cache only under
35292         [$(use-ldconfig) = yes].
35293         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
35294         cache on [USE_LDCONFIG].
35295         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
35296         [USE_LDCONFIG].
35297         * elf/rtld.c (dl_main): Likewise.
35298
35299 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
35300
35301         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
35302         _SC_LEVEL4_CACHE_LINESIZE.
35303
35304 2012-10-03  Roland McGrath  <roland@hack.frob.com>
35305
35306         * sysdeps/unix/bsd/confstr.h: File removed.
35307
35308 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
35309
35310         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
35311         sys/sdt-config.h.
35312
35313 2012-10-02  Roland McGrath  <roland@hack.frob.com>
35314
35315         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
35316         Make 'mapoff' field ElfW(Off) rather than off_t.
35317
35318 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
35319
35320         * nscd/Makefile: Remove nscd-cflags and all its users.
35321         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
35322         (CFLAGS-nonlib): Add compiler flags for nscd modules.
35323
35324         [BZ #10631]
35325         * malloc.c (malloc_printerr): Clarify error message.
35326
35327 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
35328
35329         [BZ #14648]
35330         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35331         Set bit_FMA_Usable if FMA is supported.
35332         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
35333         macro.
35334         (bit_FMA4_Usable): Updated.
35335         (index_FMA_Usable): New macro.
35336         (CPUID_FMA): Likewise
35337         (HAS_FMA): Defined with bit_FMA_Usable.
35338
35339 2012-10-01  Roland McGrath  <roland@hack.frob.com>
35340
35341         * bits/types.h (__swblk_t): Type removed.
35342         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
35343         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
35344         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35345         (__SWBLK_T_TYPE): Likewise.
35346         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
35347         (__SWBLK_T_TYPE): Likewise.
35348         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35349         (__SWBLK_T_TYPE): Likewise.
35350         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35351         (__SWBLK_T_TYPE): Likewise.
35352
35353 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
35354             Honza Horak <hhorak@redhat.com>
35355
35356         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
35357         (xdr_mapname): Use YPMAXMAP as maxsize.
35358         (xdr_peername): Use YPMAXPEER as maxsize.
35359         (xdr_keydat): Use YPAXRECORD as maxsize.
35360         (xdr_valdat): Use YPMAXRECORD as maxsize.
35361
35362 2012-10-01  Roland McGrath  <roland@hack.frob.com>
35363
35364         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
35365
35366         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
35367         * csu/init-first.c: ... here.
35368         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
35369         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
35370         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
35371         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
35372         * sysdeps/i386/init-first.c: File removed.
35373         * sysdeps/sh/init-first.c: File removed.
35374
35375 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
35376
35377         [BZ #14645]
35378         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
35379         if x * y might underflow to zero and z is zero.
35380         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35381         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35382         * math/libm-test.inc (min_subnorm_value): New variable.
35383         (fma_test): Add more tests.
35384         (fma_test_towardzero): Likewise.
35385         (fma_test_downward): Likewise
35386         (fma_test_upward): Likewise.
35387         (initialize): Set min_subnorm_value.
35388
35389 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
35390
35391         [BZ #14638]
35392         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
35393         0 + 0.
35394         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
35395         mode for addition resulting in exact zero.
35396         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
35397         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
35398         exact 0 + 0.
35399         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
35400         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35401         * math/libm-test.inc (fma_test): Add more tests.
35402         (fma_test_towardzero): New function.
35403         (fma_test_downward): Likewise.
35404         (fma_test_upward): Likewise.
35405         (main): Call the new functions.
35406
35407 2012-09-28  David S. Miller  <davem@davemloft.net>
35408
35409         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
35410
35411 2012-09-28  Roland McGrath  <roland@hack.frob.com>
35412
35413         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
35414         instead of SIGALRM.
35415
35416         * sysdeps/gnu/_G_config.h: Moved to ...
35417         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
35418         * sysdeps/mach/hurd/_G_config.h: Moved to ...
35419         * sysdeps/generic/_G_config.h: ... here.
35420
35421         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
35422
35423         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
35424
35425         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
35426         Conditionalize target on [libnss_test1.so-version].
35427
35428         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
35429
35430         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
35431         (elfobjdir): Move out of conditionals.
35432
35433         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
35434         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
35435         (__nss_lookup_function): Conditionalize label remove_from_tree on
35436         [!DO_STATIC_NSS || SHARED], matching its only use.
35437
35438 2012-09-28  David S. Miller  <davem@davemloft.net>
35439
35440         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
35441         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
35442         file.
35443         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
35444         sysdep_routines.
35445         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
35446         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
35447         when HWCAP_SPARC_CRYPTO is present.
35448
35449 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
35450
35451         * io/tst-mknodat.c: Create a FIFO instead of a socket.
35452
35453 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
35454
35455         [BZ #6530]
35456         * stdio-common/vfprintf.c (process_string_arg): Revert
35457         2000-07-22 change.
35458
35459 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
35460
35461         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
35462         for testcase.
35463         * stdio-common/tst-sprintf.c: Include <locale.h>
35464         (main): Test sprintf's handling of incomplete multibyte
35465         characters.
35466
35467 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
35468
35469         * elf/dl-runtime.c (VERSYMIDX): Removed.
35470         * elf/dl-version.c (VERSYMIDX): Likewise.
35471         * elf/do-rel.h (VERSYMIDX): Likewise.
35472         (VALIDX): Likewise.
35473         * elf/dynamic-link.h (VERSYMIDX): Likewise.
35474         * elf/rtld.c (VALIDX): Likewise.
35475         (ADDRIDX): Likewise.
35476         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
35477         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
35478         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
35479         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
35480         (VALIDX): Likewise.
35481         (ADDRIDX): Likewise.
35482
35483 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
35484
35485         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
35486
35487 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
35488
35489         [BZ #11438]
35490         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
35491         to global scope.
35492         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
35493         addresses are in the same scope as 192.0.2/24.
35494         * posix/gai.conf: Document new scope table defaults.
35495
35496 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
35497
35498         [BZ #5298]
35499         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
35500         for ftell.  Compute offsets from write pointers instead.
35501         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
35502
35503 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
35504
35505         [BZ #14543]
35506         * libio/Makefile (tests): New test case tst-fseek.
35507         * libio/tst-fseek.c: New test case to verify that fseek/ftell
35508         combination works in wide mode.
35509         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
35510         state when the external buffer state changes.
35511
35512 2012-09-27  David S. Miller  <davem@davemloft.net>
35513
35514         [BZ #14376]
35515         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
35516         pass reloc->r_addend in as the 'high' argument to
35517         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
35518
35519         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35520
35521 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
35522
35523         * rt/tst-aio2.c: Include <pthread.h>.
35524         * rt/tst-aio3.c: Likewise.
35525
35526 2012-09-27  Steve Ellcey  <sellcey@mips.com>
35527
35528         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
35529
35530 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
35531
35532         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
35533         contents on [SHARED].
35534
35535 2012-09-26  Marek Polacek  <polacek@redhat.com>
35536
35537         [BZ #14530]
35538         [BZ #13741]
35539         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
35540         for C++ and GCC <4.3 as well as for non GCC compilers.
35541
35542 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
35543
35544         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35545
35546 2012-09-25  Roland McGrath  <roland@hack.frob.com>
35547
35548         * Makefile.in (all, install): Declare with .PHONY.
35549         Reported by Michael Hope <michael.hope@linaro.org>.
35550
35551 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35552
35553         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
35554         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
35555         system header.
35556         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
35557         Likewise.
35558         (sydep_routines): Add the new and the internal functions.
35559         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
35560         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
35561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
35562         (GLIBC_2.17): Add the new function.
35563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
35564         (GLIBC_2.17): Likewise.
35565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
35566         (GLIBC_2.17): Likewise.
35567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
35568         (GLIBC_2.17): Likewise.
35569         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
35570
35571 2012-09-25  Alan Modra  <amodra@gmail.com>
35572
35573         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
35574         Add release barrier before setting once_control to say
35575         initialisation is done.  Add hints on lwarx.  Use macro in
35576         place of isync.
35577         (clear_once_control): Add release barrier.
35578
35579 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
35580
35581         [BZ #13629]
35582         * math/s_clog.c (__clog): Handle more values close to |z| = 1
35583         specially.
35584         * math/s_clog10.c (__clog10): Likewise.
35585         * math/s_clog10f.c (__clog10f): Likewise.
35586         * math/s_clog10l.c (__clog10l): Likewise.
35587         * math/s_clogf.c (__clogf): Likewise.
35588         * math/s_clogl.c (__clogl): Likewise.
35589         * math/Makefile (libm-calls): Add x2y2m1.
35590         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
35591         (__x2y2m1): Likewise.
35592         (__x2y2m1l): Likewise.
35593         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
35594         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
35595         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
35596         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
35597         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
35598         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
35599         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
35600         * sysdeps/i386/fpu/libm-test-ulps: Update.
35601         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35602
35603         [BZ #14621]
35604         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
35605         int as type of variable DEPTH.
35606         (glob): Use size_t instead of int as type of variables NEWCOUNT
35607         and OLD_PATHC.
35608
35609 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35610
35611         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
35612         Add s_sincosf-sse2.
35613         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
35614         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
35615         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
35616         macros for using routine as __sincosf_ia32.
35617         Use macro for function declaration and weak_alias.
35618         * sysdeps/i386/fpu/libm-test-ulps: Update.
35619
35620         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
35621         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35622
35623         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
35624         subnormal argument.
35625         * math/s_cexpf.c (__cexpf): Likewise.
35626         * math/s_csinf.c (__csinf): Likewise.
35627         * math/s_csinhf.c (__csinhf): Likewise.
35628         * math/s_ctanf.c (__ctanf): Likewise.
35629         * math/s_ctanhf.c (__ctanhf): Likewise.
35630         * math/s_ccosh.c (__ccoshf): Likewise.
35631         * math/s_cexp.c (__cexpl): Likewise.
35632         * math/s_csin.c (__csin): Likewise.
35633         * math/s_csinh.c (__csinh): Likewise.
35634         * math/s_ctan.c (__ctan): Likewise.
35635         * math/s_ctanh.c (ctanh): Likewise.
35636         * math/s_ccoshl.c (__ccoshl): Likewise.
35637         * math/s_cexpl.c (__cexpl): Likewise.
35638         * math/s_csinl.c (__csinl): Likewise.
35639         * math/s_csinhl.c (__csinhl): Likewise.
35640         * math/s_ctanl.c (__ctanl): Likewise.
35641         * math/s_ctanhl.c (__ctanhl): Likewise.
35642
35643 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
35644
35645         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
35646         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
35647         (_IO_off_t): Define to __off_t, not _G_off_t.
35648         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
35649         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
35650         (_IO_wint_t): Define to wint_t, not _G_wint_t.
35651         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
35652         type of __dummy and __dummy2 fields.
35653         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
35654         (_G_ssize_t): Likewise.
35655         (_G_off_t): Likewise.
35656         (_G_pid_t): Likewise.
35657         (_G_uid_t): Likewise.
35658         (_G_wchar_t): Likewise.
35659         (_G_wint_t): Likewise.
35660         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
35661         (_G_ssize_t): Likewise.
35662         (_G_off_t): Likewise.
35663         (_G_pid_t): Likewise.
35664         (_G_uid_t): Likewise.
35665         (_G_wchar_t): Likewise.
35666         (_G_wint_t): Likewise.
35667         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
35668         (_G_ssize_t): Likewise.
35669         (_G_off_t): Likewise.
35670         (_G_pid_t): Likewise.
35671         (_G_uid_t): Likewise.
35672         (_G_wchar_t): Likewise.
35673         (_G_wint_t): Likewise.
35674
35675 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
35676
35677         * malloc/arena.c: Include malloc-sysdep.h.
35678         (shrink_heap): Use check_may_shrink_heap to decide if madvise
35679         is sufficient to shrink the heap or an unmap is needed.
35680         * sysdeps/generic/malloc-sysdep.h: New file.  Define
35681         new function check_may_shrink_heap.
35682         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
35683         new function check_may_shrink_heap.
35684
35685 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
35686
35687         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
35688         comments.
35689
35690 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
35691
35692         * catgets/test-gencat.sh: Add "set -e".
35693         * elf/tst-pathopt.sh: Likewise.
35694         * grp/tst_fgetgrent.sh: Likewise.
35695         * iconvdata/run-iconv-test.sh: Likewise.
35696         * intl/tst-gettext.sh: Likewise.
35697         * intl/tst-gettext2.sh: Likewise.
35698         * intl/tst-gettext4.sh: Likewise.
35699         * intl/tst-gettext6.sh: Likewise.
35700         * intl/tst-translit.sh: Likewise.
35701         * io/ftwtest-sh: Likewise.
35702         * libio/test-freopen.sh: Likewise.
35703         * malloc/tst-mtrace.sh: Likewise.
35704         * posix/globtest.sh: Likewise.
35705         * posix/tst-getconf.sh: Likewise.
35706         * posix/wordexp-tst.sh: Likewise.
35707         * stdio-common/tst-printf.sh: Likewise.
35708         * stdio-common/tst-unbputc.sh: Likewise.
35709         * stdlib/tst-fmtmsg.sh: Likewise.
35710         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
35711         * catgets/Makefile: Do not specify -e option when running
35712         testsuite shell scripts.
35713         * elf/Makefile: Likewise.
35714         * grp/Makefile: Likewise.
35715         * iconvdata/Makefile: Likewise.
35716         * intl/Makefile: Likewise.
35717         * io/Makefile: Likewise.
35718         * libio/Makefile: Likewise.
35719         * malloc/Makefile: Likewise.
35720         * posix/Makefile: Likewise.
35721         * stdio-common/Makefile: Likewise.
35722         * stdlib/Makefile: Likewise.
35723         * sysdeps/x86_64/Makefile: Likewise.
35724
35725         * io/ftwtest-sh: Add copyright header.
35726         * posix/globtest.sh: Likewise.
35727         * posix/tst-getconf.sh: Likewise.
35728         * posix/wordexp-tst.sh: Likewise.
35729         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
35730
35731 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
35732
35733         [BZ #13679]
35734         * Makeconfig (+link): Defined as $(+link-static) if
35735         $(build-shared) isn't yes.
35736         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
35737         isn't yes.
35738         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
35739
35740         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
35741
35742         [BZ #14562]
35743         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
35744         new chunk size with MALLOC_ALIGN_MASK.
35745
35746 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
35747
35748         [BZ #5044]
35749         * stdio-common/printf_fphex.c: Include <stdbool.h> and
35750         <rounding-mode.h>.
35751         (__printf_fphex): Determine rounding using get_rounding_mode and
35752         round_away.
35753         * stdio-common/tst-printf-round.c (struct hex_test): New
35754         structure.
35755         (hex_tests): New variable.
35756         (test_hex_in_one_mode): New function.
35757         (do_test): Also run tests for hex float output.
35758
35759 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
35760
35761         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
35762         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
35763         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
35764         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
35765         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
35766         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
35767         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
35768         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
35769
35770 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
35771
35772         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
35773         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
35774         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
35775         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
35776
35777 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
35778
35779         [BZ #14579]
35780         * elf/rtld.c (dl_main): Limit the check for self loading to normal
35781         mode only.
35782         * elf/tst-rtld-load-self.sh: New test.
35783         * elf/Makefile: Run it.
35784
35785 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
35786
35787         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
35788         (tst-writev-ENV): Remove.
35789         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
35790
35791 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
35792
35793         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
35794
35795 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
35796
35797         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
35798         unconditional.
35799         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
35800         Likewise.
35801         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
35802         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
35803         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
35804         Likewise.
35805
35806 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
35807
35808         [BZ #14587]
35809         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
35810         * config.make.in (have-cpp-asm-debuginfo): Removed.
35811         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
35812         * configure: Regenerated.
35813
35814 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
35815
35816         [BZ #5044]
35817         * stdio-common/printf_fp.c: Include <stdbool.h> and
35818         <rounding-mode.h>.
35819         (___printf_fp): Determine rounding using get_rounding_mode and
35820         round_away.
35821         * stdio-common/tst-printf-round.c: New file.
35822         * stdio-common/Makefile (tests): Add tst-printf-round.
35823         (link-libm): New variable.
35824         ($(objpfx)tst-printf-round): Depend in $(link-libm).
35825
35826 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
35827
35828         [BZ #14576]
35829         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
35830         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
35831         Likewise.
35832         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
35833         Likewise.
35834
35835 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
35836
35837         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
35838         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
35839         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
35840         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
35841
35842 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
35843
35844         [BZ #14518]
35845         * include/rounding-mode.h: New file.
35846         * sysdeps/generic/get-rounding-mode.h: Likewise.
35847         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
35848         * stdlib/strtod_l.c: Include <rounding-mode.h>.
35849         (MAX_VALUE): New macro.
35850         (MIN_VALUE): Likewise.
35851         (overflow_value): New function.
35852         (underflow_value): Likewise.
35853         (round_and_return): Use overflow_value and underflow_value to
35854         determine return values in overflow and underflow cases.  Use
35855         round_away to determine rounding depending on rounding mode.
35856         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
35857         determine return values in overflow and underflow cases.
35858         * stdlib/tst-strtod-round.c: Include <fenv.h>.
35859         (struct test_results): New structure.
35860         (struct test): Use struct test_results to store expected results
35861         for all rounding modes.
35862         (TEST): Include expected results for all rounding modes.
35863         (test_in_one_mode): New function.
35864         (do_test): Use test_in_one_mode to compute and check results.
35865         Check results for all rounding modes.
35866         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
35867         $(link-libm).
35868
35869 2012-12-09  Allan McRae  <allan@archlinux.org>
35870
35871         * sysdeps/i386/fpu/libm-test-ulps: Update
35872
35873 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
35874
35875         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
35876         (_G_int32_t): Likewise.
35877         (_G_uint16_t): Likewise.
35878         (_G_uint32_t): Likewise.
35879         (_G_HAVE_BOOL): Likewise.
35880         (_G_HAVE_ATEXIT): Likewise.
35881         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
35882         (_G_HAVE_IO_FILE_OPEN): Likewise.
35883         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
35884         (_G_int32_t): Likewise.
35885         (_G_uint16_t): Likewise.
35886         (_G_uint32_t): Likewise.
35887         (_G_HAVE_BOOL): Likewise.
35888         (_G_HAVE_ATEXIT): Likewise.
35889         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
35890         (_G_HAVE_IO_FILE_OPEN): Likewise.
35891         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
35892         (_G_int32_t): Likewise.
35893         (_G_uint16_t): Likewise.
35894         (_G_uint32_t): Likewise.
35895         (_G_HAVE_BOOL): Likewise.
35896         (_G_HAVE_ATEXIT): Likewise.
35897         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
35898         (_G_HAVE_IO_FILE_OPEN): Likewise.
35899
35900 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
35901
35902         * csu/libc-tls.c: Update copyright years.
35903
35904 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
35905
35906         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
35907         [!_G_USING_THUNKS]: Remove conditional code.
35908         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
35909         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
35910
35911         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
35912         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
35913         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
35914         (_G_VTABLE_LABEL_PREFIX): Likewise.
35915         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
35916         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
35917         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
35918         (_G_VTABLE_LABEL_PREFIX): Likewise.
35919         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
35920         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
35921         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
35922         (_G_VTABLE_LABEL_PREFIX): Likewise.
35923         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
35924
35925 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
35926
35927         * libio/Makefile: Include ../Makeconfig before tests.
35928         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
35929         only if $(build-shared) is yes.
35930
35931         * iconv/gconv_db.c: Update copyright years.
35932
35933 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35934
35935         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
35936         unwind info if defined PIC. Fix special cases description.
35937         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
35938
35939         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
35940         DP_HI_MASK entry.
35941         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
35942
35943 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
35944
35945         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
35946
35947         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
35948         is NULL.
35949
35950         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
35951         (LDLIBS-tst-chk4): This.
35952         (LDFLAGS-tst-chk5): Renamed to ...
35953         (LDLIBS-tst-chk5): This.
35954         (LDFLAGS-tst-chk6): Renamed to ...
35955         (LDLIBS-tst-chk6): This.
35956         (LDFLAGS-tst-lfschk4): Renamed to ...
35957         (LDLIBS-tst-lfschk4): This.
35958         (LDFLAGS-tst-lfschk5): Renamed to ...
35959         (LDLIBS-tst-lfschk5): This.
35960         (LDFLAGS-tst-lfschk6): Renamed to ...
35961         (LDLIBS-tst-lfschk6): This.
35962
35963         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
35964         on $(common-objpfx)soversions.mk.
35965
35966 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
35967
35968         [BZ #10014]
35969         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
35970         example host name.
35971
35972 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
35973
35974         * malloc/arena.c (arena_get_retry): New function that gets
35975         another arena for the caller to try its request on.
35976         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
35977         current arena cannot fulfill the request.
35978         (__libc_memalign): Likewise.
35979         (__libc_memalign): Likewise.
35980         (__libc_pvalloc): Likewise.
35981         (__libc_calloc): Likewise.
35982
35983 2012-09-05  John Tobey  <john.tobey@gmail.com>
35984
35985         [BZ #13542]
35986         * manual/arith.texi (Operations on Complex): Fix description
35987         of carg branch cut.
35988
35989 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
35990
35991         [BZ #10014]
35992         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
35993         host name.
35994
35995         [BZ #10038]
35996         * manual/memory.texi (Memory): Make order of menu items match
35997         order of sections.
35998
35999 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
36000
36001         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
36002         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
36003         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
36004
36005 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
36006
36007         * csu/libc-tls.c (static_dtv): Renamed to ...
36008         (_dl_static_dtv): This.  Make it global.
36009         (_dl_initial_dtv): Removed.
36010         (__libc_setup_tls): Updated.
36011         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
36012         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
36013         DL_INITIAL_DTV.
36014
36015 2012-09-06  Petr Machata  <pmachata@redhat.com>
36016
36017         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
36018         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
36019         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
36020         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
36021
36022 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
36023
36024         [BZ #14545]
36025         * csu/libc-tls.c (_dl_initial_dtv): New variable.
36026         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
36027         freeing dtv[-1].
36028
36029 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
36030
36031         [BZ #14544]
36032         * Makeconfig (link-static-before-libc): Replace $(+prector)
36033         with $(+prectorT).
36034         (link-static-after-libc): Replace $(+postctor) with
36035         $(+postctorT).
36036         (link-bounded): Replace $(+prector)/$(+postctor) with
36037         $(+prectorT)/$(+postctorT).
36038         (+prectorT): New macro.
36039         (+postctorT): Likewise.
36040
36041 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
36042
36043         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
36044         (round_str): Handle values above the maximum for IBM long double
36045         as inexact.
36046         * stdlib/tst-strtod-round.c (tests): Regenerated.
36047
36048 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36049
36050         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
36051         assembler flag.
36052         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
36053         zarch_nohighgprs around the zarch optimized routines.
36054         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
36055         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
36056         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
36057         for zarch.
36058
36059 2012-09-05  David S. Miller  <davem@davemloft.net>
36060
36061         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36062
36063         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
36064         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
36065         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
36066         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
36067         entries.
36068
36069 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
36070
36071         * malloc/arena.c: Fold copyright years.
36072         * malloc/mcheck.c, malloc/memusage.c: Likewise.
36073
36074 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
36075
36076         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
36077
36078 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
36079
36080         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
36081
36082 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
36083
36084         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
36085         change internal state upon failure.
36086
36087 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
36088
36089         * malloc/mcheck.c (mcheck_check_all): Fix typo.
36090         * malloc/memusage.c (mmap): Likewise.
36091         (mmap64, mremap): Likewise.  Adjust name in comment.
36092
36093 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
36094
36095         * libio/fileops.c: Fix typos in comments.
36096         * libio/oldfileops.c: Likewise.
36097         * libio/wfileops.c: Likewise.
36098
36099 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
36100
36101         [BZ #1349]
36102         * malloc/Makefile (tests): Add tst-malloc-usable test case.
36103         (tst-malloc-usable-ENV): Set environment for test case.
36104         * malloc/hooks.c (malloc_check_get_size): New function to get
36105         requested size.
36106         * malloc/malloc.c (musable): Use malloc_check_get_size.
36107         * malloc/tst-malloc-usable.c: New test case.
36108
36109 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
36110
36111         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
36112
36113 2012-09-05  Allan McRae  <allan@archlinux.org>
36114
36115         [BZ #13966]
36116         * configure.in (CXX_SYSINCLUDES): Use compiler output to
36117         determine header location.
36118         * configure: Regenerated.
36119
36120 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
36121
36122         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
36123         float format.
36124         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
36125         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
36126         format.
36127         (test): Regenerate.
36128
36129 2012-09-04  David S. Miller  <davem@davemloft.net>
36130
36131         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
36132         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
36133         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
36134
36135 2012-09-04  Florian Weimer  <fweimer@redhat.com>
36136
36137         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
36138         failures.
36139
36140         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
36141
36142 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
36143
36144         [BZ #9914]
36145         * libio/iogetdelim.c: Include <limits.h>.
36146         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
36147         + len + 1 would overflow.
36148
36149 2012-09-03  Andreas Jaeger  <aj@suse.de>
36150
36151         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36152         * sysdeps/i386/fpu/libm-test-ulps: Update.
36153
36154 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36155
36156         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
36157         Add s_sinf-sse2, s_conf-sse2.
36158
36159         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
36160         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
36161         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
36162         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
36163
36164         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
36165         for using routine as __sinf_ia32.
36166         Use macro for function declaration and weak_alias.
36167         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
36168         for using routine as __cosf_ia32.
36169         Use macro for function declaration and weak_alias.
36170
36171         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
36172         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
36173
36174         * sysdeps/x86_64/fpu/s_sinf.S: New file.
36175         * sysdeps/x86_64/fpu/s_cosf.S: New file.
36176         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36177
36178         * math/libm-test.inc (cos_test): Add more test cases.
36179         (sin_test): Likewise.
36180         (sincos_test): Likewise.
36181
36182 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36183
36184         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
36185         (IFUNC_RESOLVE): Make pointers to the specialized implementations
36186         hidden.
36187         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
36188
36189 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
36190
36191         [BZ #14538]
36192         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
36193         first element of the GOT.
36194         (elf_machine_load_address): Return the difference between
36195         the runtime address of _DYNAMIC and elf_machine_dynamic ().
36196
36197 2012-09-01  Allan McRae  <allan@archlinux.org>
36198
36199         [BZ #13412]
36200         * configure.in (AWK): Require gawk version 3.0 or later.
36201         * configure: Regenerated.
36202
36203 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
36204
36205         * sysdeps/unix/sysv/linux/kernel-features.h
36206         (__ASSUME_POSIX_CPU_TIMERS): Remove.
36207         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
36208         [__NR_clock_getres]: Make code unconditional.
36209         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
36210         (clock_getcpuclockid): Remove code left unreachable by removal of
36211         conditionals.
36212         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
36213         code unconditional.
36214         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
36215         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
36216         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
36217         Make code unconditional.
36218         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
36219         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
36220         * sysdeps/unix/sysv/linux/clock_settime.c
36221         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
36222         conditional code.
36223         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
36224         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
36225
36226 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
36227
36228         [BZ #14476]
36229         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
36230         scripts/test-installation.pl.
36231
36232         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
36233         and $ld_so_version if it is set.
36234
36235 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
36236
36237         [BZ #14516]
36238         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
36239         failure if reading from procfs failed.
36240         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
36241
36242 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
36243
36244         * sysdeps/unix/sysv/linux/kernel-features.h
36245         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
36246         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
36247         Remove conditional code.
36248         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36249         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
36250         Remove conditional code.
36251         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36252         * sysdeps/unix/sysv/linux/i386/fxstat.c
36253         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
36254         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36255         * sysdeps/unix/sysv/linux/i386/fxstatat.c
36256         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
36257         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36258         * sysdeps/unix/sysv/linux/i386/lxstat.c
36259         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
36260         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36261         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
36262         Remove conditional code.
36263         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36264         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
36265         Remove conditional code.
36266         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36267         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
36268         <kernel-features.h>.
36269         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
36270         Remove.
36271         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
36272         Remove conditional code.
36273         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36274         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
36275         Remove conditional.
36276
36277 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
36278
36279         [BZ #5400]
36280         * NEWS: Add fixed bug number.
36281
36282 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
36283
36284         [BZ #14519]
36285         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
36286         underflowing exponent in case of negative sign.
36287         * stdlib/tst-strtod-round-data: Add more tests.
36288         * stdlib/tst-strtod-round.c (tests): Regenerated.
36289
36290         [BZ #3479]
36291         * stdlib/strtod_l.c (NDIG): Remove.
36292         (HEXNDIG): Likewise.
36293         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
36294         smallest representable value.
36295         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
36296         lie within an exact representation of 1/2 ulp of the result.
36297         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
36298         unconditionally.
36299         (TENS_P9_IDX): Define unconditionally.
36300         (TENS_P9_SIZE): Likewise.
36301         (TENS_P10_IDX): Likewise.
36302         (TENS_P10_SIZE): Likewise.
36303         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
36304         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
36305         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
36306         entries for 10^2^13 and 10^2^14.
36307         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
36308         (TENS_P13_IDX): Define.
36309         (TENS_P13_SIZE): Likewise.
36310         (TENS_P14_IDX): Likewise.
36311         (TENS_P14_SIZE): Likewise.
36312         (_fpioconst_pow10): Change array size to
36313         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
36314         unconditional.
36315         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
36316         1024]: Add entries for 10^2^13 and 10^2^14.
36317         [LAST_POW10 > _LAST_POW10]: Remove #error.
36318         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
36319         (_fpioconst_pow10): Change array size to
36320         FPIOCONST_POW10_ARRAY_SIZE.
36321         * stdlib/gen-fpioconst.c: New file.
36322         * stdlib/gen-tst-strtod-round.c: Likewise.
36323         * stdlib/tst-strtod-round-data: Likewise.
36324         * stdlib/tst-strtod-round.c: Likewise.
36325         * stdlib/Makefile (tests): Add tst-strtod-round.
36326
36327         [BZ #14459]
36328         * stdlib/strtod_l.c: Include <stdint.h>.
36329         (NDEBUG): Do not define.
36330         (round_and_return): Change EXPONENT parameter to type intmax_t.
36331         Rearrange calculations to avoid internal overflow possibilities.
36332         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
36333         Rearrange calculations to avoid internal overflow possibilities.
36334         Assert that number fits inside MPNSIZE limbs.
36335         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
36336         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
36337         calculations and add assertions to avoid internal overflow
36338         possibilities.  Add casts to avoid signed/unsigned operations.
36339         * stdlib/tst-strtod-overflow.c: New file.
36340         * stdlib/Makefile (tests): Add tst-strtod-overflow.
36341
36342 2012-08-25  Marek Polacek  <polacek@redhat.com>
36343
36344         * time/time.h: Fix some typos in comments.
36345
36346 2012-08-23  Roland McGrath  <roland@hack.frob.com>
36347
36348         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
36349         * posix/tst-rfc3484-2.c: Likewise.
36350         * posix/tst-rfc3484-3.c: Likewise.
36351
36352 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
36353
36354         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
36355         (EF_ARM_ABI_FLOAT_HARD): Likewise.
36356
36357 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
36358
36359         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
36360         #include of fxstatat64.c.
36361
36362 2012-08-22  Roland McGrath  <roland@hack.frob.com>
36363
36364         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
36365         * shadow/getspent_r.c: Likewise.
36366         * shadow/getspnam.c: Likewise.
36367         * shadow/getspnam_r.c: Likewise.
36368         * gshadow/getsgent.c: Likewise.
36369         * gshadow/getsgent_r.c: Likewise.
36370         * gshadow/getsgnam.c: Likewise.
36371         * gshadow/getsgnam_r.c: Likewise.
36372         * inet/getnetbyad.c: Likewise.
36373         * inet/getnetbyad_r.c: Likewise.
36374         * inet/getnetbynm.c: Likewise.
36375         * inet/getnetbynm_r.c: Likewise.
36376         * inet/getnetent.c: Likewise.
36377         * inet/getnetent_r.c: Likewise.
36378         * inet/getproto.c: Likewise.
36379         * inet/getproto_r.c: Likewise.
36380         * inet/getprtent.c: Likewise.
36381         * inet/getprtent_r.c: Likewise.
36382         * inet/getprtname.c: Likewise.
36383         * inet/getprtname_r.c: Likewise.
36384         * inet/getrpcbyname.c: Likewise.
36385         * inet/getrpcbyname_r.c: Likewise.
36386         * inet/getrpcbynumber.c: Likewise.
36387         * inet/getrpcbynumber_r.c: Likewise.
36388         * inet/getrpcent.c: Likewise.
36389         * inet/getrpcent_r.c: Likewise.
36390         * inet/getaliasent.c: Likewise.
36391         * inet/getaliasent_r.c: Likewise.
36392         * inet/getaliasname.c: Likewise.
36393         * inet/getaliasname_r.c: Likewise.
36394         * nscd/getgrgid_r.c: Likewise.
36395         * nscd/getgrnam_r.c: Likewise.
36396         * nscd/gethstbyad_r.c: Likewise.
36397         * nscd/gethstbynm3_r.c: Likewise.
36398         * nscd/getpwnam_r.c: Likewise.
36399         * nscd/getpwuid_r.c: Likewise.
36400         * nscd/getsrvbynm_r.c: Likewise.
36401         * nscd/getsrvbypt_r.c: Likewise.
36402         * nscd/gai.c: Likewise.
36403
36404         * configure.in (build_nscd): New substituted variable, set
36405         by --disable-build-nscd and defaults to $use_nscd.
36406         * configure: Regenerated.
36407         * config.make.in (build-nscd): New substituted variable.
36408         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
36409         Change conditional to require [$(build-nscd) = yes] as well.
36410         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
36411
36412         [BZ# 13696]
36413         * configure.in (use_nscd): New substituted variable, set by
36414         --disable-nscd.  If enabled, define USE_NSCD.
36415         * configure: Regenerated.
36416         * config.h.in: Add USE_NSCD.
36417         * config.make.in (use-nscd): New substituted variable.
36418         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
36419         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
36420         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
36421         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
36422         (CFLAGS-getgrnam_r.c): Likewise.
36423         (CFLAGS-initgroups.c): Likewise.
36424         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
36425         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
36426         Variables removed.
36427         * inet/getnetgrent_r.c
36428         (nscd_setnetgrent): New function, broken out of ...
36429         (setnetgrent): ... here.  Call it.
36430         (innetgr): Conditionalize nscd bits on [USE_NSCD].
36431         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
36432         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
36433         * nscd/Makefile (routines, aux): Move definitions after include of
36434         Makeconfig.  Conditionalize on [$(use-nscd) != no].
36435         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
36436         Conditionalize on [USE_NSCD].
36437         (is_nscd, nscd_init_cb): Likewise.
36438         (nss_load_library): Conditionalize init callback on [USE_NSCD].
36439         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
36440         * nss/nss_db/db-init.c: Likewise.
36441         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
36442         [USE_NSCD].
36443         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
36444         (make_request): Use it.
36445         (cache_valid_p): New function.
36446         (__check_pf): Use it.
36447         * NEWS: Add item for --disable-nscd.
36448
36449 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
36450
36451         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
36452         to support sed >= 4.2.1-20-ga9bf076.
36453         * configure: Regenerated.
36454
36455 2012-08-22  Roland McGrath  <roland@hack.frob.com>
36456
36457         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
36458         Conditionalize whole body on [IREL].
36459
36460 2012-08-22  Jeff Law <law@redhat.com>
36461
36462         [BZ #14505]
36463         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
36464         if the family is PF_UNSPEC.
36465
36466 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
36467
36468         * Makerules (lib-version): Rename from V.
36469         (install-lib-nosubdir): Change V to lib-version.
36470
36471 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
36472
36473         [BZ #14252]
36474         * powerpc32/power6/wcschr.c: New file.
36475         * powerpc32/power6/wcscpy.c: New file.
36476         * powerpc32/power6/wcsrchr.c: New file.
36477         * powerpc64/power6/wcschr.c: New file.
36478         * powerpc64/power6/wcscpy.c: New file.
36479         * powerpc64/power6/wcsrchr.c: New file.
36480
36481 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
36482
36483         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
36484         (two_way_short_needle): Use it.
36485         * string/strstr.c (AVAILABLE1_USES_J): Define.
36486         * string/strcasestr.c: Likewise.
36487
36488         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
36489         array references.
36490         * string/strcasestr.c (TOLOWER): Make side-effect safe.
36491
36492         [BZ #11607]
36493         * NEWS: Add an entry.
36494         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
36495         define their defaults.
36496         (two_way_short_needle): Detect end-of-string on-the-fly.
36497         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
36498         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
36499         * string/bug-strcasestr1.c: New test.
36500         * string/Makefile: Run it.
36501
36502 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
36503
36504         [BZ #11607]
36505         * string/str-two-way.h (two_way_short_needle): Optimize matching of
36506         the first character.
36507
36508 2012-08-21  Roland McGrath  <roland@hack.frob.com>
36509
36510         * csu/elf-init.c (__libc_csu_irel): Function removed.
36511         * csu/libc-start.c (apply_irel): New function.
36512         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
36513
36514 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
36515
36516         * sysdeps/unix/sysv/linux/kernel-features.h
36517         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
36518         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
36519         <kernel-features.h>.
36520         [__NR_fadvise64_64]: Make code unconditional.
36521         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
36522         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
36523         !__NR_fadvise64_64)]: Likewise.
36524         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
36525         !__NR_fadvise64_64))]: Likewise.
36526         [__NR_fadvise64]: Make code unconditional.
36527         [!__NR_fadvise64]: Remove conditional code.
36528         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
36529         <kernel-features.h>.
36530         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
36531         unconditional.
36532         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
36533         conditional code.
36534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
36535         not include <kernel-features.h>.
36536         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
36537         unconditional.
36538         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
36539         conditional code.
36540         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
36541         include <kernel-features.h>.
36542         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
36543         unconditional.
36544         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
36545         conditional code.
36546
36547 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
36548
36549         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
36550         slight instruction rearrangements per scrollpipe analysis.
36551         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
36552
36553 2012-08-20  Roland McGrath  <roland@hack.frob.com>
36554
36555         * manual/syslog.texi (syslog; vsyslog, closelog):
36556         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
36557         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
36558
36559         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
36560         DSOCAPS to match condition on defining it.
36561
36562 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
36563
36564         * sysdeps/unix/sysv/linux/kernel-features.h
36565         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
36566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
36567         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
36568         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
36569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
36570         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
36571         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
36572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
36573         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
36574         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
36575
36576         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
36577         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
36578
36579         * sysdeps/unix/sysv/linux/kernel-features.h
36580         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
36581         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
36582         unconditional.
36583         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36584         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
36585         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
36586         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36587         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
36588         Make code unconditional.
36589         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36590         (__mmap64) [!__NR_mmap2]: Likewise.
36591         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
36592         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
36593         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36594         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
36595         [__NR_mmap2]: Make code unconditional.
36596         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36597         (__mmap64) [!__NR_mmap2]: Likewise.
36598
36599 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36600
36601         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
36602
36603 2012-08-18  Andreas Jaeger  <aj@suse.de>
36604
36605         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
36606
36607 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
36608
36609         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
36610         * include/unistd.h (__have_sock_cloexec): Likewise.
36611         (__have_pipe2): Likewise.
36612         (__have_dup3): Likewise.
36613
36614 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
36615
36616         [BZ #9685]
36617         * include/unistd.h (__have_pipe2): Change define into an extern int.
36618         (__have_dup3): Likewise.
36619         * socket/have_sock_cloexec.c: Include fcntl.h.
36620         (__have_pipe2): New variable.
36621         (__have_dup3): Likewise.
36622
36623 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
36624
36625         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
36626
36627 2012-08-17  Marek Polacek  <polacek@redhat.com>
36628
36629         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
36630         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
36631
36632 2012-08-17  Roland McGrath  <roland@hack.frob.com>
36633
36634         * configure.in: Add AC_SUBST for sysheaders.
36635         * configure: Regenerated.
36636         * config.make.in (sysheaders): New substituted variable.
36637
36638         * sysdeps/unix/mkfifo.c: Moved ...
36639         * sysdeps/posix/mkfifo.c: ... here.
36640         * sysdeps/unix/mkfifoat.c: Moved ...
36641         * sysdeps/posix/mkfifoat.c: ... here.
36642
36643         * sysdeps/unix/utime.c: Moved ...
36644         * sysdeps/posix/utime.c: ... here.
36645
36646         * sysdeps/unix/time.c: Moved ...
36647         * sysdeps/posix/time.c: ... here.
36648         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
36649         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
36650
36651         * sysdeps/unix/nice.c: Moved ...
36652         * sysdeps/posix/nice.c: ... here.
36653
36654         * sysdeps/unix/alarm.c: Moved ...
36655         * sysdeps/posix/alarm.c: ... here.
36656
36657         * intl/Makefile ($(codeset_mo)): Depend on the input file.
36658
36659 2012-08-17  Jeff Law <law@redhat.com>
36660
36661         * intl/Makefile (codeset_mo): New variable.
36662         ($(codeset_mo)): New target.
36663         (tst-codeset.out): Depend on that.  Remove explicit rule.
36664         (tst-gettext3.out, tst-gettext5.out): Likewise.
36665         (LOCPATH-ENV, tst-codeset-ENV): New variables.
36666         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
36667         * intl/tst-codeset.sh: Remove.
36668         * intl/tst-gettext3.sh: Likewise.
36669         * intl/tst-gettext5.sh: Likewise.
36670
36671 2012-08-17  Roland McGrath  <roland@hack.frob.com>
36672
36673         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
36674         * sysdeps/unix/syscalls.list: ... here.
36675
36676         * sysdeps/posix/getaddrinfo.c
36677         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
36678         (gaiconf_init, gaiconf_reload): Use them.
36679         [!_STATBUF_ST_NSEC]
36680         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
36681         Define using time_t rather than struct timespec.
36682
36683         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
36684         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
36685         Macros removed.
36686         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
36687         [!NO_THREADS].
36688         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
36689         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
36690         Likewise.
36691
36692         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
36693         __libc_cleanup_push argument.
36694
36695         * bits/param.h: New file.
36696         * misc/sys/param.h: New file.
36697         * include/sys/param.h: New file.
36698         * misc/Makefile (headers): Add bits/param.h.
36699         * sysdeps/generic/sys/param.h: File removed.
36700         * sysdeps/unix/sysv/linux/bits/param.h: New file.
36701         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
36702         * sysdeps/mach/hurd/bits/param.h: New file.
36703         * sysdeps/mach/hurd/sys/param.h: File removed.
36704
36705         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
36706         last change.
36707
36708         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
36709         [_IO_MTSAFE_IO].
36710         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
36711         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
36712         New macros.
36713
36714         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
36715         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
36716         rather than -D_IO_MTSAFE_IO conditionally.
36717         * stdio-common/Makefile (CPPFLAGS): Likewise.
36718         * wcsmbs/Makefile (CPPFLAGS): Likewise.
36719         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
36720         Use $(libio-mtsafe).
36721         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
36722         of -D_IO_MTSAFE_IO.
36723         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
36724         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
36725         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
36726         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
36727         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
36728         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
36729         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
36730         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
36731         (CFLAGS-fread_u_chk.c): Likewise.
36732         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
36733         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
36734         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
36735         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
36736         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
36737         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
36738         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
36739         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
36740         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
36741
36742         * libio/Makefile: Test [$(libc-reentrant) = yes]
36743         instead of [$(filter %REENTRANT, $(defines)) nonempty].
36744
36745         * Makeconfig
36746         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
36747         * sysdeps/pthread/configure: File removed.
36748         * sysdeps/pthread/Makeconfig: New file.
36749         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
36750         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
36751
36752 2012-08-16  Gary Benson  <gbenson@redhat.com>
36753
36754         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
36755         unmapping the first object in a namespace.
36756
36757 2012-08-16  Roland McGrath  <roland@hack.frob.com>
36758
36759         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
36760         (__internal_setnetgrent): ... this.  Add internal_function to
36761         definition.  Add libc_hidden_def.
36762         (setnetgrent): Update caller.
36763         (internal_endnetgrent): Renamed to ...
36764         (__internal_endnetgrent): ... this.  Add internal_function to
36765         definition.  Add libc_hidden_def.
36766         (endnetgrent): Update caller.
36767         (internal_getnetgrent_r): Renamed to ...
36768         (__internal_getnetgrent_r): ... this.  Add internal_function to
36769         definition.  Add libc_hidden_def.
36770         (__getnetgrent_r): Update caller.
36771         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
36772
36773 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
36774
36775         * stdlib/longlong.h: Update from GCC.
36776
36777 2012-08-16  Roland McGrath  <roland@hack.frob.com>
36778
36779         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
36780         on _QL, which is set by umul_ppmm but never used.
36781         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
36782         variables, which are set by GMP macros but never used.
36783         * stdio-common/_itowa.c (_itowa): Likewise.
36784         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
36785         * stdlib/mod_1.c (mpn_mod_1): Likewise.
36786
36787 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
36788
36789         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
36790         struct La_sh_regs is not constant.
36791         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
36792         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
36793         and struct La_sparc64_regs are not constant.
36794
36795 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
36796
36797         * sysdeps/unix/sysv/linux/kernel-features.h
36798         (__ASSUME_POSIX_TIMERS): Remove.
36799         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
36800         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36801         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
36802         Make code unconditional.
36803         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36804         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
36805         Make code unconditional.
36806         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36807         * sysdeps/unix/sysv/linux/clock_nanosleep.c
36808         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
36809         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36810         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
36811         Make code unconditional.
36812         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36813         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
36814         (__libc_missing_posix_timers): Remove.
36815
36816 2012-08-15  Roland McGrath  <roland@hack.frob.com>
36817
36818         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
36819         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
36820
36821         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
36822
36823         * elf/dl-sym.c: Include <stdlib.h>.
36824
36825         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
36826         constants, which avoids warnings in 32-bit builds.
36827
36828         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
36829         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
36830
36831         * misc/lseek.c: File moved to ...
36832         * io/lseek.c: ... here.
36833
36834         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
36835
36836         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
36837         shifting LEN more than 31 bits at once.
36838
36839 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36840
36841         [BZ #14195]
36842         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
36843         segmentation fault for a case of two empty input strings.
36844         * string/test-strncasecmp.c (check1): Renamed to...
36845         (bz12205): ...this.
36846         (bz14195): Add new testcase for two empty input strings and N > 0.
36847         (test_main): Call new testcase, adapt for renamed function.
36848
36849 2012-08-15  Andreas Jaeger  <aj@suse.de>
36850
36851         [BZ #14090]
36852         * crypt/md5test2.c: New test, based on test supplied by Serge
36853         Belyshev <belyshev@depni.sinp.msu.ru>.
36854         * crypt/Makefile (xtests): Add md5test-giant..
36855         * crypt/Makefile ($(objpfx)md5test-giant): Add.
36856
36857 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
36858
36859         [BZ #14090]
36860         * crypt/md5.c (md5_process_block): Don't assume the buffer
36861         length is less than 2**32.
36862         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
36863         length is less than 2**64.
36864
36865 2012-08-15  Roland McGrath  <roland@hack.frob.com>
36866
36867         * string/str-two-way.h: Include <sys/param.h>.
36868         (MAX): Macro removed.
36869
36870         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
36871         Move #define and #undef of memmove to just before and after
36872         including <string.h>.
36873
36874         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
36875         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
36876         and after including <string.h>.  Move declarations of
36877         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
36878         to before #include "string/memmove.c".
36879
36880         * include/dirent.h: Declare __getdirentries.
36881
36882         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
36883         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
36884
36885 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
36886
36887         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
36888         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
36889         * sysdeps/i386/configure: Regenerated.
36890         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
36891         STABS_CURRENT_FILE, and STABS_FUN.
36892         (END): Remove call to STABS_FUN_END.
36893         (STABS_CURRENT_FILE1): Delete.
36894         (STABS_CURRENT_FILE): Likewise.
36895         (STABS_FUN): Likewise.
36896         (STABS_FUN_END): Likewise.
36897         (STABS_FUN2): Likewise.
36898         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
36899         * sysdeps/x86_64/configure: Regenerated.
36900
36901 2012-08-14  Roland McGrath  <roland@hack.frob.com>
36902
36903         * elf/dl-open.c: Include <atomic.h>.
36904         * elf/dl-lookup.c: Likewise.
36905
36906 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
36907
36908         * sysdeps/unix/sysv/linux/kernel-features.h
36909         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
36910         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
36911         unconditionally.
36912         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
36913         unconditionally.
36914         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
36915         condition on __ASSUME_CLONE_THREAD_FLAGS.
36916
36917 2012-08-14  Andreas Jaeger  <aj@suse.de>
36918
36919         * sysdeps/i386/fpu/libm-test-ulps: Update.
36920
36921 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
36922
36923         * include/atomic.h (atomic_exchange_and_add): Split into ...
36924         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
36925         New atomic macros.
36926
36927 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
36928
36929         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36930
36931 2012-08-13  Jeff Law <law@redhat.com>
36932
36933         * manual/stdio.texi (snprintf): Clarify handling of the trailing
36934         null byte in the output string.
36935
36936 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
36937
36938         * sysdeps/unix/sysv/linux/kernel-features.h
36939         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
36940         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
36941         (__ASSUME_ARG_MAX_STACK_BASED): Define.
36942         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
36943         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
36944         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
36945         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
36946
36947 2012-08-09  Jeff Law <law@redhat.com>
36948
36949         [BZ #13939]
36950         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
36951         When avoid_arena is set, don't retry in the that arena.  Pick the
36952         next one, whatever it might be.
36953         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
36954         (arena_lock): Pass in new parameter to arena_get2.
36955         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
36956         arena_get2.
36957         (__libc_malloc): Unify retrying after main arena failure with
36958         __libc_memalign version.
36959         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
36960
36961 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
36962
36963         [BZ #14166]
36964         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
36965         to __redirect_strstr.
36966         (__strstr_sse42): Use typeof __redirect_strstr.
36967         (__strstr_ia32): Likewise.
36968         (__libc_strstr): New prototype.
36969         (strstr): Renamed to ...
36970         (__libc_strstr): This.
36971         (strstr): New strong alias of __libc_strstr.
36972         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
36973         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
36974         __redirect_time.
36975         Include <time.h>.
36976         (__libc_time): New prototype.
36977         (time_ifunc): Replace time with __libc_time.
36978         (time): New strong alias and hidden definition of __libc_time.
36979         (__GI_time): Remove strong alias.
36980         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
36981         Include <stddef.h>.
36982         (memmove): Redefined to __redirect_memmove.
36983         (__memmove_sse2): Use typeof __redirect_memmove.
36984         (__memmove_ssse3): Likewise.
36985         (__memmove_ssse3_back): Likewise.
36986         (__libc_memmove): New prototype.
36987         (memmove): Renamed to ...
36988         (__libc_memmove): This.
36989         (memmove): New strong alias of __libc_memmove.
36990
36991 2012-08-08  Mark Salter  <msalter@redhat.com>
36992
36993         * elf/elf.h
36994         (R_MN10300_TLS_GD): Define.
36995         (R_MN10300_TLS_LD): Likewise.
36996         (R_MN10300_TLS_LDO): Likewise.
36997         (R_MN10300_TLS_GOTIE): Likewise.
36998         (R_MN10300_TLS_IE): Likewise.
36999         (R_MN10300_TLS_LE): Likewise.
37000         (R_MN10300_TLS_DTPMOD): Likewise.
37001         (R_MN10300_TLS_DTPOFF): Likewise.
37002         (R_MN10300_TLS_TPOFF): Likewise.
37003         (R_MN10300_SYM_DIFF): Likewise.
37004         (R_MN10300_ALIGN): Likewise.
37005         (R_MN10300_NUM): Update.
37006
37007 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
37008
37009         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
37010         Remove.
37011
37012 2012-08-08  Roland McGrath  <roland@hack.frob.com>
37013
37014         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
37015
37016         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
37017         sysdeps/unix -> sysdeps/posix move.
37018         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
37019
37020 2012-08-07      Allan McRae     <allan@archlinux.org>
37021
37022         [BZ #14303]
37023         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
37024         (SUNOS_CPP): Likewise.
37025         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
37026         not found.
37027         (open_input): Call CPP using execvp.
37028
37029 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
37030
37031         * sysdeps/unix/sysv/linux/kernel-features.h
37032         (__ASSUME_PROT_GROWSUPDOWN): Remove.
37033         (__ASSUME_NO_CLONE_DETACHED): Likewise.
37034         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
37035         (__ASSUME_WAITID_SYSCALL): Likewise.
37036         * sysdeps/unix/sysv/linux/dl-execstack.c
37037         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
37038         code unconditional.
37039         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
37040         conditional code.
37041         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
37042         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
37043         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
37044         code.
37045         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
37046         unconditional.
37047         [__ASSUME_WAITID_SYSCALL]: Likewise.
37048         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
37049
37050 2012-08-07  Roland McGrath  <roland@hack.frob.com>
37051
37052         * sysdeps/unix/closedir.c: Renamed to ...
37053         * sysdeps/posix/closedir.c: ... here.
37054         * sysdeps/unix/dirfd.c: Renamed to ...
37055         * sysdeps/posix/dirfd.c: ... here.
37056         * sysdeps/unix/dirstream.h: Renamed to ...
37057         * sysdeps/posix/dirstream.h: ... here.
37058         * sysdeps/unix/fdopendir.c: Renamed to ...
37059         * sysdeps/posix/fdopendir.c: ... here.
37060         * sysdeps/unix/opendir.c: Renamed to ...
37061         * sysdeps/posix/opendir.c: ... here.
37062         * sysdeps/unix/readdir.c: Renamed to ...
37063         * sysdeps/posix/readdir.c: ... here.
37064         * sysdeps/unix/readdir_r.c: Renamed to ...
37065         * sysdeps/posix/readdir_r.c: ... here.
37066         * sysdeps/unix/rewinddir.c: Renamed to ...
37067         * sysdeps/posix/rewinddir.c: ... here.
37068         * sysdeps/unix/seekdir.c: Renamed to ...
37069         * sysdeps/posix/seekdir.c: ... here.
37070         * sysdeps/unix/telldir.c: Renamed to ...
37071         * sysdeps/posix/telldir.c: ... here.
37072         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
37073         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
37074         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
37075         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
37076
37077         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
37078         * bits/fcntl.h: ... here.
37079
37080         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
37081         not 0.
37082         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
37083         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
37084         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
37085         (struct flock): Move l_start, l_len to the beginning.
37086         Use __pid_t for l_pid.
37087         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
37088         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
37089         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
37090         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
37091         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
37092         [__USE_LARGEFILE64] (struct flock64): New type.
37093         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
37094
37095         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
37096         * bits/dirent.h: ... here.
37097
37098         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
37099         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
37100
37101 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
37102
37103         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37104         Change from 2.6.0 to 2.6.16.
37105         * sysdeps/unix/sysv/linux/configure: Regenerated.
37106         * sysdeps/unix/sysv/linux/kernel-features.h
37107         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
37108         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
37109         version.
37110         (__ASSUME_UTIMES): Likewise.
37111         (__ASSUME_CLONE_STOPPED): Remove.
37112         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
37113         architectures, not kernel version.
37114         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
37115         (__ASSUME_NO_CLONE_DETACHED): Likewise.
37116         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
37117         (__ASSUME_WAITID_SYSCALL): Likewise.
37118         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
37119         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
37120         * README: State 2.6.16 as minimum Linux kernel version.  Do not
37121         refer to older versions.
37122
37123 2012-08-06  Roland McGrath  <roland@hack.frob.com>
37124
37125         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
37126         Define alphasort64 as an alias.
37127         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
37128         Define versionsort64 as an alias.
37129         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
37130         Define scandir64 as an alias.
37131         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
37132         Define scandirat64 as an alias.
37133         * dirent/alphasort64.c (alphasort64):
37134         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
37135         * dirent/versionsort64.c: Likewise.
37136         * dirent/scandir64.c: Likewise.
37137         * dirent/scandirat64.c: Likewise.
37138         * sysdeps/wordsize-64/alphasort.c: File removed.
37139         * sysdeps/wordsize-64/alphasort64.c: File removed.
37140         * sysdeps/wordsize-64/scandir.c: File removed.
37141         * sysdeps/wordsize-64/scandir64.c: File removed.
37142         * sysdeps/wordsize-64/scandirat.c: File removed.
37143         * sysdeps/wordsize-64/scandirat64.c: File removed.
37144         * sysdeps/wordsize-64/versionsort.c: File removed.
37145         * sysdeps/wordsize-64/versionsort64.c: File removed.
37146         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
37147         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
37148         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
37149         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
37150         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
37151         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
37152         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
37153         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
37154
37155         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
37156         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
37157         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
37158         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37159         [defined __arch64__ || defined __sparcv9]
37160         (__INO_T_MATCHES_INO64_T): New macro.
37161         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
37162         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
37163         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
37164         * sysdeps/unix/sysv/linux/bits/dirent.h
37165         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
37166         (_DIRENT_MATCHES_DIRENT64): New macro.
37167
37168         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
37169         Define lockf64 as an alias.
37170         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
37171         Define fseeko64 as an alias.
37172         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
37173         Define ftello64 as an alias.
37174         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
37175         Define _IO_fgetpos64 and fgetpos64 as aliases.
37176         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
37177         Define _IO_fsetpos64 and fsetpos64 as aliases.
37178         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
37179         Conditionalize body on this.
37180         * libio/fseeko64.c: Likewise.
37181         * libio/ftello64.c: Likewise.
37182         * libio/iofgetpos64.c: Likewise.
37183         * libio/iofsetpos64.c: Likewise.
37184         * sysdeps/wordsize-64/lockf.c: File removed.
37185         * sysdeps/wordsize-64/lockf64.c: File removed.
37186         * sysdeps/wordsize-64/fseeko.c: File removed.
37187         * sysdeps/wordsize-64/fseeko64.c: File removed.
37188         * sysdeps/wordsize-64/ftello.c: File removed.
37189         * sysdeps/wordsize-64/ftello64.c: File removed.
37190         * sysdeps/wordsize-64/iofgetpos.c: File removed.
37191         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
37192         * sysdeps/wordsize-64/iofsetpos.c: File removed.
37193         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
37194         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
37195         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
37196         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
37197         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
37198         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
37199         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
37200         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
37201         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
37202         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
37203         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
37204
37205         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
37206         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
37207         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
37208         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37209         [defined __arch64__ || defined __sparcv9]
37210         (__OFF_T_MATCHES_OFF64_T): New macro.
37211         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
37212         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
37213         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37214         (__OFF_T_MATCHES_OFF64_T): New macro.
37215
37216 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
37217
37218         * stdlib/secure-getenv.c (__secure_getenv): Replace
37219         GLIBC_2_16 with GLIBC_2_17.
37220
37221 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
37222
37223         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
37224         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
37225
37226 2012-08-03  David S. Miller  <davem@davemloft.net>
37227
37228         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37229
37230 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
37231
37232         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
37233         Remove.
37234         (__ASSUME_CORRECT_SI_PID): Likewise.
37235         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
37236         (__ASSUME_TMPFS_NAME): Likewise.
37237         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
37238         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
37239         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
37240         (HAVE_AUX_SECURE): Make definition unconditional.
37241         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
37242         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
37243
37244 2012-08-03  Roland McGrath  <roland@hack.frob.com>
37245
37246         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
37247         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
37248         * sysdeps/mach/hurd/eloop-threshold.h: New file.
37249         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
37250         __eloop_threshold instead of SYMLOOP_MAX.
37251
37252         * sysdeps/generic/eloop-threshold.h: New file.
37253         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
37254         of MAXSYMLINKS.
37255         * elf/chroot_canon.c (chroot_canon): Likewise.
37256
37257 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
37258
37259         [BZ #13717]
37260         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37261         Change to 2.6.0 everywhere.
37262         * sysdeps/unix/sysv/linux/configure: Regenerated.
37263         * sysdeps/unix/sysv/linux/kernel-features.h
37264         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
37265         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
37266         kernel versions.
37267         (__ASSUME_POSIX_TIMERS): Define unconditionally.
37268         (__ASSUME_FUTEX_REQUEUE): Remove.
37269         (__ASSUME_STATFS64): Define unconditionally.
37270         (__ASSUME_AT_SECURE): Likewise.
37271         (__ASSUME_CORRECT_SI_PID): Likewise.
37272         (__ASSUME_TGKILL): Define without depending on kernel version for
37273         i386.
37274         (__ASSUME_UTIMES): Likewise.
37275         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
37276         kernel version.
37277         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
37278         (__ASSUME_TMPFS_NAME): Likewise.
37279         * README: Update reference to Linux kernel versions.
37280
37281 2012-08-02  Marek Polacek  <polacek@redhat.com>
37282
37283         [BZ# 14150]
37284         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
37285         libc_cv_asm_type_prefix with %.
37286         * configure: Regenerated.
37287         * include/libc-symbols.h: Remove comment about
37288         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
37289         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
37290         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
37291         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
37292         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
37293         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
37294         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
37295         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
37296         * elf/tst-unique2mod1.c: Likewise.
37297         * elf/tst-unique1mod2.c: Likewise.
37298         * elf/tst-unique1mod1.c: Likewise.
37299         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
37300         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
37301         Replace ASM_TYPE_DIRECTIVE with .type.
37302         * sysdeps/s390/s390-64/sysdep.h: Likewise.
37303         * sysdeps/i386/sysdep.h: Likewise.
37304         * sysdeps/x86_64/sysdep.h: Likewise.
37305         * sysdeps/sh/sysdep.h: Likewise.
37306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
37307         Do not define ASM_TYPE_DIRECTIVE.
37308         * sysdeps/powerpc/sysdep.h: Likewise.
37309         * sysdeps/powerpc/powerpc32/sysdep.h:
37310         Replace ASM_TYPE_DIRECTIVE with .type.
37311         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
37312         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
37313         * sysdeps/i386/fpu/e_powf.S: Likewise.
37314         * sysdeps/i386/fpu/e_expl.S: Likewise.
37315         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
37316         * sysdeps/i386/fpu/e_acosh.S: Likewise.
37317         * sysdeps/i386/fpu/e_pow.S: Likewise.
37318         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
37319         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
37320         * sysdeps/i386/fpu/s_expm1.S: Likewise.
37321         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
37322         * sysdeps/i386/fpu/e_log2.S: Likewise.
37323         * sysdeps/i386/fpu/e_log2l.S: Likewise.
37324         * sysdeps/i386/fpu/e_scalb.S: Likewise.
37325         * sysdeps/i386/fpu/e_powl.S: Likewise.
37326         * sysdeps/i386/fpu/e_log10f.S: Likewise.
37327         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
37328         * sysdeps/i386/fpu/e_logl.S: Likewise.
37329         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
37330         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
37331         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
37332         * sysdeps/i386/fpu/e_log2f.S: Likewise.
37333         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
37334         * sysdeps/i386/fpu/e_log.S: Likewise.
37335         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
37336         * sysdeps/i386/fpu/e_logf.S: Likewise.
37337         * sysdeps/i386/fpu/e_log10l.S: Likewise.
37338         * sysdeps/i386/fpu/e_atanh.S: Likewise.
37339         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
37340         * sysdeps/i386/fpu/e_log10.S: Likewise.
37341         * sysdeps/i386/fpu/s_frexp.S: Likewise.
37342         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
37343         * sysdeps/i386/fpu/s_asinh.S: Likewise.
37344         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
37345         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
37346         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
37347         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
37348         * sysdeps/i386/i686/strtok.S: Likewise.
37349         * sysdeps/i386/i386-mcount.S: Likewise.
37350         * sysdeps/i386/strtok.S: Likewise.
37351         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
37352         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
37353         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37354         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
37355         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
37356         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
37357         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
37358         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
37359         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
37360         * sysdeps/x86_64/_mcount.S: Likewise.
37361         * sysdeps/x86_64/strtok.S: Likewise.
37362         * sysdeps/sh/_mcount.S: Likewise.
37363
37364 2012-08-01  Roland McGrath  <roland@hack.frob.com>
37365
37366         * libio/iofopen.c: Include <fcntl.h>.
37367         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
37368         (_IO_fopen64, fopen64): Define as aliases.
37369         * libio/iofopen64.c: Include <fcntl.h>.
37370         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
37371         Conditionalize body on this.
37372         * sysdeps/wordsize-64/iofopen.c: File removed.
37373         * sysdeps/wordsize-64/iofopen64.c: File removed.
37374
37375 2012-08-01  Marek Polacek  <polacek@redhat.com>
37376
37377         * libc/Makeconfig: Use elf in place of binfmt-subdir.
37378         Use dlfcn directly instead of a variable.
37379         (binfmt-subdir): Do not define.
37380         (dlfcn): Likewise.
37381
37382 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
37383
37384         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
37385         Remove all definitions.
37386         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
37387         <kernel-features.h>.
37388         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
37389         (miss_F_GETOWN_EX): Remove all definitions.
37390         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
37391         macro definition.
37392         [!__ASSUME_FCNTL64]: Remove conditional code.
37393         [__ASSUME_FCNTL64]: Make code unconditional.
37394         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
37395         <kernel-features.h>.
37396         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
37397         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
37398         (lockf64) [__NR_fcntl64]: Make code unconditional.
37399         (lockf64) [__ASSUME_FCNTL64]: Likewise.
37400
37401         * sysdeps/unix/sysv/linux/kernel-features.h
37402         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
37403         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
37404         Make code unconditional.
37405         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
37406         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
37407         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
37408         [__NR_vfork]: Make code unconditional.
37409         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
37410         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
37411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
37412         [__NR_vfork]: Make code unconditional.
37413         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
37414         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
37415
37416 2012-08-01  Roland McGrath  <roland@hack.frob.com>
37417
37418         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
37419         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
37420
37421         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37422         Define mkstemp64 as an alias.
37423         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37424         Define mkstemps64 as an alias.
37425         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37426         Define mkostemp64 as an alias.
37427         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37428         Define mkostemps64 as an alias.
37429         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
37430         Conditionalize body on this.
37431         * misc/mkostemp64.c: Likewise.
37432         * misc/mkostemps64.c: Likewise.
37433         * misc/mkstemps64.c: Likewise.
37434         * sysdeps/wordsize-64/mkstemp64.c: File removed.
37435         * sysdeps/wordsize-64/mkostemp64.c: File removed.
37436         * sysdeps/wordsize-64/mkostemp.c: File removed.
37437         * sysdeps/wordsize-64/mkstemp.c: File removed.
37438         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
37439         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
37440         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
37441         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
37442
37443         [BZ #14138]
37444         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
37445         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
37446         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
37447         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
37448
37449         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
37450         compat_symbol macros from <shlib-compat.h> rather than the underlying
37451         default_symbol_version and symbol_version macros, so that DEFAULT
37452         lines in shlib-versions are respected.
37453         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
37454
37455 2012-08-01  Florian Weimer  <fweimer@redhat.com>
37456
37457         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
37458         Declare with warn_unused_result.
37459         (setgid, setregid, setegid, setresgid): Likewise.
37460         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
37461         Likewise.
37462         * WUR-REPORT: Remove set*id functions.
37463
37464 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
37465
37466         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
37467
37468 2012-07-31  Roland McGrath  <roland@hack.frob.com>
37469
37470         [BZ #10191]
37471         * include/sys/socket.h (__libc_accept, __libc_accept4):
37472         Add attribute_hidden.
37473         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
37474
37475         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
37476         use of PTR_MANGLE.
37477         * inet/getnetgrent_r.c (setup): Likewise.
37478
37479         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
37480
37481 2012-07-31  David S. Miller  <davem@davemloft.net>
37482
37483         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37484
37485 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
37486
37487         [BZ #13629]
37488         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
37489         value between 1.0 and 2.0 and smaller part has absolute value less
37490         than 1.0.
37491         * math/s_clog10.c (__clog10): Likewise.
37492         * math/s_clog10f.c (__clog10f): Likewise.
37493         * math/s_clog10l.c (__clog10l): Likewise.
37494         * math/s_clogf.c (__clogf): Likewise.
37495         * math/s_clogl.c (__clogl): Likewise.
37496         * math/libm-test.inc (clog_test): Add more tests.
37497         (clog10_test): Likewise.
37498         * sysdeps/i386/fpu/libm-test-ulps: Update.
37499         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37500
37501 2012-07-31  Florian Weimer  <fweimer@redhat.com>
37502
37503         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
37504         Exit with zero in case no suitable GID is found, and write a
37505         message to standard error.
37506
37507 2012-07-30  Roland McGrath  <roland@hack.frob.com>
37508
37509         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
37510         rather than to 1.
37511         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
37512         (MAXPATHLEN): Removed.
37513         (NOGROUP, NODEV): New macros.
37514         (setbit, clrbit, isset, isclr): New macros.
37515         (howmany, roundup, powerof2): New macros.
37516         (DEV_BSIZE): New macro.
37517
37518         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
37519         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
37520
37521         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
37522         definition on [!__NO_LONG_DOUBLE_MATH].
37523
37524         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
37525         PTR_MANGLE and PTR_DEMANGLE.
37526
37527         * socket/accept4.c (accept4): Rename to __libc_accept4.
37528         Define accept4 as a weak alias.
37529
37530         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
37531         on [_DIRENT_HAVE_D_TYPE].
37532         * io/ftw.c (ftw_dir): Likewise.
37533
37534         * io/xmknod.c (__xmknod): Don't check PATH for being null.
37535
37536         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
37537
37538         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
37539         Use the BSD numbers rather than the arbitrary ones we had.
37540         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
37541         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
37542         (SIGXCPU, SIGXFSZ): New macros.
37543         (_NSIG): Now 32.
37544
37545         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
37546         initializer on [_LIBC_REENTRANT].
37547
37548         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
37549         definitions inside [_POSIX_MAPPED_FILES].
37550
37551         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
37552
37553         * dirent/opendir.c: Include <fcntl.h>.
37554
37555         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
37556         (__libc_getspecific): Likewise.
37557         (__libc_key_create): Likewise.
37558
37559         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
37560         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
37561         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
37562         (tmpfile64): Define as alias.
37563         * sysdeps/wordsize-64/tmpfile.c: File removed.
37564         * sysdeps/wordsize-64/tmpfile64.c: File removed.
37565         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
37566         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
37567
37568         * stdio-common/vfscanf.c: Include <stdbool.h>.
37569         * nss/makedb.c: Likewise.
37570         * stdio-common/_i18n_number.h: Likewise.
37571         * argp/argp-help.c: Likewise.
37572         * posix/wordexp.c: Likewise.
37573         * sysdeps/posix/spawni.c: Likewise.
37574         * nss/nss_files/files-initgroups.c: Likewise.
37575         * stdio-common/reg-modifier.c: Include <stdlib.h>.
37576         * nss/nss_files/files-initgroups.c: Likewise.
37577         * nss/nss_db/db-netgrp.c: Likewise.
37578         * nss/nss_db/db-initgroups.c: Likewise.
37579         * io/fchmodat.c: Include <sys/stat.h>.
37580
37581         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
37582         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
37583
37584         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
37585         [HAVE_MMAP].
37586
37587         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
37588         Add multiple inclusion protection.
37589
37590 2012-07-27  David S. Miller  <davem@davemloft.net>
37591
37592         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37593
37594 2012-07-27  Gary Benson  <gbenson@redhat.com>
37595
37596         [BZ #14298]
37597         * elf/rtld.c: Include <stap-probe.h>.
37598         (dl_main): Added static probes "init_start" and "init_complete".
37599         * elf/dl-load.c: Include <stap-probe.h>.
37600         (lose): Take new parameter "nsid".
37601         Added static probe "map_failed".
37602         (_dl_map_object_from_fd): Pass namespace id to lose.
37603         Added static probe "map_start".
37604         (open_verify): Pass namespace id to lose.
37605         * elf/dl-open.c: Include <stap-probe.h>.
37606         (dl_open_worker) Added static probes "map_complete", "reloc_start"
37607         and "reloc_complete".
37608         * elf/dl-close.c: Include <stap-probe.h>.
37609         (_dl_close_worker): Added static probes "unmap_start" and
37610         "unmap_complete".
37611         * elf/rtld-debugger-interface.txt: New file documenting the above.
37612
37613 2012-07-26  Roland McGrath  <roland@hack.frob.com>
37614
37615         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
37616         rather than a string variable.
37617         * sunrpc/rpc_main.c (h_output): Likewise.
37618         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
37619
37620 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
37621
37622         * inet/check_native.c: New file.
37623
37624 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
37625
37626         [BZ #13629]
37627         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
37628         if larger part has absolute value 1.0.
37629         * math/s_clog10.c (__clog10): Likewise.
37630         * math/s_clog10f.c (__clog10f): Likewise.
37631         * math/s_clog10l.c (__clog10l): Likewise.
37632         * math/s_clogf.c (__clogf): Likewise.
37633         * math/s_clogl.c (__clogl): Likewise.
37634         * math/libm-test.inc (clog_test): Add more tests.
37635         (clog10_test): Likewise.
37636         * sysdeps/i386/fpu/libm-test-ulps: Update.
37637         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37638
37639         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
37640         (pltexit): Likewise.
37641         (La_regs): Likewise.
37642         (La_retval): Likewise.
37643         (int_retval): Likewise.
37644         Update #error for removed macros to refer only to definitions in
37645         tst-audit.h.
37646         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
37647         macro.
37648         (pltexit): Likewise.
37649         (La_regs): Likewise.
37650         (La_retval): Likewise.
37651         (int_retval): Likewise.
37652         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
37653         macro.
37654         (pltexit): Likewise.
37655         (La_regs): Likewise.
37656         (La_retval): Likewise.
37657         (int_retval): Likewise.
37658         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
37659         macro.
37660         (pltexit): Likewise.
37661         (La_regs): Likewise.
37662         (La_retval): Likewise.
37663         (int_retval): Likewise.
37664         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
37665         macro.
37666         (pltexit): Likewise.
37667         (La_regs): Likewise.
37668         (La_retval): Likewise.
37669         (int_retval): Likewise.
37670         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
37671         macro.
37672         (pltexit): Likewise.
37673         (La_regs): Likewise.
37674         (La_retval): Likewise.
37675         (int_retval): Likewise.
37676         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
37677         macro.
37678         (pltexit): Likewise.
37679         (La_regs): Likewise.
37680         (La_retval): Likewise.
37681         (int_retval): Likewise.
37682         * sysdeps/generic/tst-audit.h: Update comment to refer only to
37683         macro definitions in tst-audit.h.
37684         * sysdeps/i386/tst-audit.h: New file.
37685         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
37686         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
37687         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
37688         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
37689         * sysdeps/sh/tst-audit.h: Likewise.
37690         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
37691         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
37692         * sysdeps/x86_64/tst-audit.h: Likewise.
37693
37694 2012-07-26  Andreas Jaeger  <aj@suse.de>
37695
37696         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
37697         ptrace.
37698
37699         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
37700         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
37701         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
37702         PTRACE_O_MASK.
37703         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
37704         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
37705         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
37706
37707         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
37708         value.
37709
37710         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
37711         _sigsys.
37712         (si_call_addr, si_syscall, si_arch): Define new macro.
37713         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
37714         _sigsys.
37715         (si_call_addr, si_syscall, si_arch): Define new marcro.
37716         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
37717         _sigsys.
37718         (si_call_addr, si_syscall, si_arch): Define new macro.
37719         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
37720         _sigsys.
37721         (si_call_addr, si_syscall, si_arch): Define new macro.
37722
37723 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
37724
37725         [BZ #13717]
37726         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37727         Change to 2.4.21 where previously 2.4.1.
37728         * sysdeps/unix/sysv/linux/configure: Regenerated.
37729         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
37730         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
37731         Linux kernel version.
37732         (__ASSUME_STD_AUXV): Remove.
37733         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
37734         kernel version.
37735         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
37736         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
37737         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
37738         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
37739         (__ASSUME_NETLINK_SUPPORT): Likewise.
37740         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
37741         (__no_netlink_support): Remove conditional definition.
37742         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
37743         Remove.
37744         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
37745         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
37746         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
37747         (if_nameindex_ioctl): Remove.
37748         (if_nameindex_netlink): Do not handle __no_netlink_support.
37749         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
37750         code.
37751         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
37752         Remove conditional code.
37753         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
37754         code.
37755         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
37756         unconditional.
37757         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
37758         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
37759         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
37760         Remove.
37761         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
37762         [!__ASSUME_STD_AUXV]: Remove conditional code.
37763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
37764         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
37765         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
37766         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
37767         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
37768         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
37769         code.
37770         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
37771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
37772         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
37773         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
37774         conditional code.
37775         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
37776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
37777         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
37778         code.
37779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
37780         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
37781         conditional code.
37782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
37783         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
37784         code unconditional.
37785         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37786         conditional code.
37787         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
37788         unconditional.
37789         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37790         conditional code.
37791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
37792         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
37793         unconditional.
37794         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37795         conditional code.
37796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
37797         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
37798         code unconditional.
37799         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37800         conditional code.
37801         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
37802         unconditional.
37803         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37804         conditional code.
37805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
37806         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
37807         code unconditional.
37808         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37809         conditional code.
37810         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
37811         unconditional.
37812         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37813         conditional code.
37814
37815 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
37816
37817         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
37818         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
37819         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
37820         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
37821         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
37822         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
37823         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
37824         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
37825         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
37826         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
37827         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
37828         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
37829         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
37830         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
37831         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
37832         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
37833         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
37834         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
37835         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
37836         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
37837         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
37838         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
37839         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
37840
37841 2012-07-25  Florian Weimer  <fweimer@redhat.com>
37842
37843         * Versions.def: Add GLIBC_2.17.
37844         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
37845         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
37846         Introduce __libc_secure_getenv.
37847         * stdlib/Versions (2.17): Add secure_getenv
37848         (GLIBC_PRIVATE): Add __libc_secure_getenv.
37849         * stdlib/secure-getenv.c: Rename __secure_getenv to
37850         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
37851         symbol __secure_getenv for GLIBC_2.0.
37852         * stdlib/tst-secure-getenv.c: New.
37853         * stdlib/Makefile (tests): Add testcase.
37854         * manual/startup.texi (Environment Access): Document
37855         secure_getenv.
37856         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
37857         __libc_secure_getenv.
37858         * inet/ruserpass.c (ruserpass): Likewise.
37859         * malloc/mtrace.c (mtrace): Likewise.
37860         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
37861         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
37862         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
37863         * sysdeps/posix/tempname.c: Likewise.  Evaluate
37864         HAVE_SECURE_GETENV.
37865         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
37866         __secure_getenv to __libc_secure_getenv.
37867         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
37868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37869         Likewise.
37870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37871         Likewise.
37872         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
37873         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
37874         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
37875         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
37876         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
37877         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
37878         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
37879
37880 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
37881
37882         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
37883         (struct La_i86_retval): Likewise.
37884         (struct La_x86_64_regs): Likewise.
37885         (struct La_x86_64_retval): Likewise.
37886         (struct La_x32_regs): Likewise.
37887         (struct La_x32_retval): Likewise.
37888         (struct La_ppc32_regs): Likewise.
37889         (struct La_ppc32_retval): Likewise.
37890         (struct La_ppc64_regs): Likewise.
37891         (struct La_ppc64_retval): Likewise.
37892         (struct La_sh_regs): Likewise.
37893         (struct La_sh_retval): Likewise.
37894         (struct La_s390_32_regs): Likewise.
37895         (struct La_s390_32_retval): Likewise.
37896         (struct La_s390_64_regs): Likewise.
37897         (struct La_s390_64_retval): Likewise.
37898         (struct La_sparc32_regs): Likewise.
37899         (struct La_sparc32_retval): Likewise.
37900         (struct La_sparc64_regs): Likewise.
37901         (struct La_sparc64_retval): Likewise.
37902         (struct audit_ifaces): Remove architecture-specific pltenter and
37903         pltexit members.
37904         * sysdeps/i386/ldsodefs.h: New file.
37905         * sysdeps/powerpc/ldsodefs.h: Likewise.
37906         * sysdeps/s390/ldsodefs.h: Likewise.
37907         * sysdeps/sh/ldsodefs.h: Likewise.
37908         * sysdeps/sparc/ldsodefs.h: Likewise.
37909         * sysdeps/x86_64/ldsodefs.h: Likewise.
37910
37911 2012-07-25  Marek Polacek  <polacek@redhat.com>
37912
37913         [BZ #6808]
37914         * math/libm-test.inc (yn_test): Add another test.
37915         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
37916         to ERANGE when the result is +-Inf.
37917         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
37918         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
37919         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
37920         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
37921
37922 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
37923
37924         * conform/data/time.h-data (NULL): Use macro-constant.  Require
37925         equal to 0.
37926         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
37927         clock_t.
37928         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
37929
37930 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
37931
37932         * configure.in <sysdeps resolving>: Correct printing
37933         Implies_before.
37934         * configure: Regenerate.
37935
37936 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
37937
37938         * math/w_ilogb.c: Include <limits.h>.
37939         * math/w_ilogbl.c: Likewise.
37940
37941 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
37942
37943         * manual/lang.texi (__va_copy): Document primarily as ISO C99
37944         va_copy.  Document allowing for unavailable va_copy only as
37945         pre-C99 compatibility.
37946         * manual/string.texi (Copying and Concatenation): Use va_copy
37947         instead of __va_copy in concat example.
37948
37949 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
37950
37951         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
37952         (__sendto): Use create_address_port.  Initialize APORT and deallocate
37953         it if not null.
37954
37955         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
37956         with O_NOLINK passed to __file_name_lookup.
37957
37958         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
37959         with O_NOLINK passed to __file_name_lookup.
37960
37961         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
37962         negative N or less than NGIDS.
37963
37964         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
37965         type to string_t.  Set ERANGE as errno and return it if NAME is not big
37966         enough.  Use memcpy instead of strncpy.
37967
37968 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
37969
37970         * elf/Makefile (check-data): Remove.
37971         (localplt.data): New vpath directive.
37972         ($(objpfx)check-localplt.out): Use localplt.data from vpath
37973         instead of $(check-data).
37974         * scripts/data/localplt-generic.data: Move to ...
37975         * sysdeps/generic/localplt.data: ... here.
37976         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
37977         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
37978         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
37979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
37980         ... here.
37981         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
37982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
37983         ... here.
37984         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
37985         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
37986         ... here.
37987         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
37988         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
37989         ... here.
37990         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
37991         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
37992         ... here.
37993         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
37994         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
37995         ... here.
37996
37997 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37998
37999         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
38000         PPC32 and PPC64 files.
38001         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
38002         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
38003
38004 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38005
38006         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
38007         __makecontext_ret to ...
38008         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
38009         ... here and call exit if uc_link is NULL.  New file.
38010         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
38011         __makecontext_ret.S.
38012         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
38013         __makecontext_ret to ...
38014         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
38015         ... here and call exit if uc_link is NULL.  New file.
38016         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
38017         __makecontext_ret.S.
38018
38019 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38020
38021         * elf/elf.h (R_390_IRELATIVE): New definition.
38022         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
38023         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
38024         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
38025         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
38026         (elf_machine_lazy_rel): Likewise.
38027         * sysdeps/s390/dl-irel.h: New file.
38028         * sysdeps/s390/s390-64/memcpy.S: New asm code.
38029         * sysdeps/s390/s390-64/memset.S: New asm code.
38030         * sysdeps/s390/s390-64/memcmp.S: New asm code.
38031         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
38032         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
38033         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
38034         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
38035         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
38036         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
38037         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
38038         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
38039         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
38040         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
38041         * sysdeps/s390/s390-32/memcpy.S: New asm code.
38042         * sysdeps/s390/s390-32/memset.S: New asm code.
38043         * sysdeps/s390/s390-32/memcmp.S: New asm code.
38044
38045 2012-07-17  Marek Polacek  <polacek@redhat.com>
38046
38047         [BZ #14349]
38048         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
38049         * sysdeps/s390/s390-64/configure.in: Likewise.
38050         * sysdeps/sparc/configure.in: Likewise.
38051         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
38052         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
38053         * sysdeps/i386/configure.in: Likewise.
38054         * sysdeps/x86_64/configure.in: Likewise.
38055         * sysdeps/sh/configure.in: Likewise.
38056         * sysdeps/s390/s390-32/configure: Regenerated.
38057         * sysdeps/s390/s390-64/configure: Likewise.
38058         * sysdeps/x86_64/configure: Likewise.
38059         * sysdeps/sh/configure: Likewise.
38060         * sysdeps/powerpc/powerpc64/configure: Likewise.
38061         * sysdeps/powerpc/powerpc32/configure: Likewise.
38062         * sysdeps/sparc/configure: Likwise.
38063         * sysdeps/i386/configure: Likewise.
38064
38065         * elf/dl-open.c: Comment fixes.
38066
38067 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
38068
38069         * Makefile [CXX] (check-data): Remove.
38070         [CXX] (c++-types.data): New vpath directive.
38071         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
38072         vpath.  Do not allow for C++ type data being missing.
38073         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
38074         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
38075         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
38076         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
38077         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
38078         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
38079         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
38080         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
38081         ... here.
38082         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
38083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
38084         ... here.
38085         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
38086         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
38087         ... here.
38088         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
38089         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
38090         ... here.
38091         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
38092         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
38093         ... here.
38094         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
38095         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
38096         ... here.
38097         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
38098         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
38099         ... here.
38100         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
38101         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
38102
38103         * elf/tls-macros.h (TLS_LE): Move architecture-specific
38104         definitions to architecture-specific files.
38105         (TLS_IE): Likewise.
38106         (TLS_LD): Likewise.
38107         (TLS_GD): Likewise.
38108         * sysdeps/i386/tls-macros.h: New file.
38109         * sysdeps/powerpc/tls-macros.h: Likewise.
38110         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
38111         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
38112         * sysdeps/sh/tls-macros.h: Likewise.
38113         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
38114         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
38115         * sysdeps/x86_64/tls-macros.h: Likewise.
38116
38117 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
38118
38119         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
38120         zero value for regular exit case.
38121
38122         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
38123         (__start_context): Preserve zero value for regular exit case.
38124
38125 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
38126             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38127
38128         * manual/setjmp.texi (setcontext): Clarify normal process
38129         termination when uc_link is the null pointer.
38130         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
38131         exit call.
38132
38133 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
38134
38135         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
38136         preprocessor.  Test for each exception mask separately.
38137
38138 2012-07-16  Andreas Jaeger  <aj@suse.de>
38139
38140         * po/ru.po: Update from translation team.
38141
38142 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
38143
38144         * conform/data/string.h-data (NULL): Use macro-constant.  Require
38145         equal to 0.
38146         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
38147         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
38148         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
38149         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
38150         [ISO || ISO99 || ISO11] (*_t): Do not allow.
38151
38152 2012-07-13  Andreas Jaeger  <aj@suse.de>
38153
38154         * po/fr.po: Update from translation team.
38155
38156 2012-07-12  Marek Polacek  <polacek@redhat.com>
38157
38158         [BZ #14173]
38159         * math/libm-test.inc (yn_test): Add test for BZ #14173.
38160         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
38161         loop condition.
38162
38163 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
38164
38165         [BZ #13717]
38166         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38167         Change to 2.4.1 where previously 2.4.0.
38168         * sysdeps/unix/sysv/linux/configure: Regenerated.
38169         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
38170         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
38171         version.
38172         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
38173         (__ASSUME_AT_CLKTCK): Remove.
38174         (__ASSUME_AT_PAGESIZE): Likewise.
38175         (__ASSUME_AT_XID): Likewise.
38176         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
38177         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
38178         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
38179         unconditionally.
38180         (HAVE_AUX_PAGESIZE): Likewise.
38181         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
38182         [__ASSUME_AT_CLKTCK]: Make code unconditional.
38183         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
38184
38185 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
38186
38187         [BZ #14307]
38188         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
38189         the temporary buffer used to invoke __gethostbyname2_r,
38190         __gethostbyaddr_r and gethostbyname4_r to make room for struct
38191         host_data / struct gaih_addrtuple.
38192         * resolv/nss_dns/dns-host.c (global scope): Move definition of
38193         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
38194         header file nss/nsswitch.h.
38195         * nss/nsswitch.h (global scope): Add definition of implementation
38196         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
38197         resolv/nss_dns/dns-host.c).
38198
38199 2012-07-11  Andreas Jaeger  <aj@suse.de>
38200
38201         * po/fr.po: Update from translation team.
38202
38203         * po/sv.po: Update from translation team
38204         * po/fr.po: Another update from translation team.
38205
38206 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38207
38208         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
38209         for subnormals or multiply small sinh result by itself.
38210         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
38211         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38212
38213 2012-07-11  David S. Miller  <davem@davemloft.net>
38214
38215         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38216
38217 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
38218
38219         [BZ #14347]
38220         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
38221         (INTERNAL_MARK): Shift it here.
38222
38223 2012-07-10  Marek Polacek  <polacek@redhat.com>
38224
38225         [BZ #14151]
38226         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
38227         libc_cv_asm_global_directive with .globl.
38228         * configure: Regenerated.
38229         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
38230         with .globl.
38231         * sysdeps/i386/configure: Regenerated.
38232         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
38233         with .globl.
38234         * sysdeps/x86_64/configure: Regenerated.
38235         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
38236         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
38237         * elf/tst-unique2mod2.c: Likewise.
38238         * elf/tst-unique2mod1.c: Likewise.
38239         * elf/tst-unique1mod2.c: Likewise.
38240         * elf/tst-unique1mod1.c: Likewise.
38241         * sysdeps/s390/s390-32/sysdep.h: Likewise.
38242         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
38243         * sysdeps/s390/s390-64/sysdep.h: Likewise.
38244         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
38245         * sysdeps/mach/sysdep.h: Likewise.
38246         * sysdeps/i386/sysdep.h: Likewise.
38247         * sysdeps/i386/i386-mcount.S: Likewise.
38248         * sysdeps/x86_64/_mcount.S: Likewise.
38249         * sysdeps/x86_64/sysdep.h: Likewise.
38250         * sysdeps/sh/_mcount.S: Likewise.
38251         * sysdeps/sh/sysdep.h: Likewise.
38252         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
38253         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
38254         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
38255         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
38256         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
38257         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
38258         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
38259         * locale/localeinfo.h: Likewise.
38260         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
38261         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
38262
38263 2012-07-09  Roland McGrath  <roland@hack.frob.com>
38264
38265         [BZ #14336]
38266         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
38267         system".
38268         * manual/message.texi (The Uniforum approach): Likewise.
38269         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
38270         (glibc iconv Implementation): Likewise.
38271
38272 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
38273
38274         [BZ #14337]
38275         * math/s_clog.c (__clog): Avoid scaling a value down where that
38276         could result in underflow.
38277         * math/s_clog10.c (__clog10): Likewise.
38278         * math/s_clog10f.c (__clog10f): Likewise.
38279         * math/s_clog10l.c (__clog10l): Likewise.
38280         * math/s_clogf.c (__clogf): Likewise.
38281         * math/s_clogl.c (__clogl): Likewise.
38282         * math/libm-test.inc (clog_test): Add more tests.
38283         (clog10_test): Likewise.
38284         * sysdeps/i386/fpu/libm-test-ulps: Update.
38285         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38286
38287 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
38288
38289         [BZ #14283]
38290         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
38291         by 7 not 8 to examine high bit of fractional part.
38292
38293         [BZ #14042]
38294         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
38295         for call to __mcount_internal.
38296         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
38297         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
38298         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
38299
38300 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
38301
38302         [BZ #14154]
38303         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
38304         approximation for values within 0x1p-13f of an odd multiple of
38305         pi/4.
38306         * math/libm-test.inc (tan_test): Do not allow spurious underflow
38307         exception.  Add more tests.
38308         * sysdeps/i386/fpu/libm-test-ulps: Update.
38309
38310         [BZ #6778]
38311         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
38312         inputs and return -1 for them.  Do not check for +Inf in case not
38313         reachable for +Inf.
38314         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
38315         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
38316         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
38317         and return -1 for them.  Do not check for +Inf in case not
38318         reachable for +Inf.
38319         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
38320         define.
38321         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
38322         and return -1 for them.  Do not check for +Inf in case not
38323         reachable for +Inf.
38324         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
38325         spurious underflow.
38326         * sysdeps/i386/fpu/libm-test-ulps: Update.
38327         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38328
38329 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
38330
38331         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
38332
38333 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
38334
38335         [BZ #14157]
38336         [BZ #14331]
38337         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
38338         could result in spurious underflow.  Scale down values above
38339         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
38340         * math/s_csqrtf.c (__csqrtf): Likewise.
38341         * math/s_csqrtl.c (__csqrtl): Likewise.
38342         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
38343         spurious underflow.
38344         * sysdeps/i386/fpu/libm-test-ulps: Update.
38345         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38346
38347 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
38348
38349         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
38350         xopen-msg.sed.
38351         * catgets/xopen-msg.awk: New file.
38352         * catgets/xopen-msg.sed: Removed.
38353
38354         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
38355         po2text.sed.
38356         * intl/po2test.awk: New file.
38357         * intl/po2test.sed: Removed.
38358
38359 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
38360
38361         [BZ #14328]
38362         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
38363         or multiply small sinh result by itself.
38364         * math/s_ctanf.c (__ctanf): Likewise.
38365         * math/s_ctanh.c (__ctanh): Likewise.
38366         * math/s_ctanhf.c (__ctanhf): Likewise.
38367         * math/s_ctanhl.c (__ctanhl): Likewise.
38368         * math/s_ctanl.c (__ctanl): Likewise.
38369         * math/libm-test.inc (ctan_test_tonearest): New function.
38370         (ctan_test_towardzero): Likewise.
38371         (ctan_test_downward): Likewise.
38372         (ctan_test_upward): Likewise.
38373         (ctanh_test_tonearest): Likewise.
38374         (ctanh_test_towardzero): Likewise.
38375         (ctanh_test_downward): Likewise.
38376         (ctanh_test_upward): Likewise.
38377         (main): Call these new functions.
38378         * sysdeps/i386/fpu/libm-test-ulps: Update.
38379         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38380
38381 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
38382
38383         * .gitignore: Delete /ports entry.
38384
38385 2012-07-03  Andreas Jaeger  <aj@suse.de>
38386
38387         * po/bg.po: Update from translation team.
38388         * po/cs.po: Likewise.
38389         * po/de.po: Likewise.
38390         * po/hr.po: Likewise.
38391         * po/nl.pl: Likewise.
38392         * po/pl.po: Likewise.
38393         * po/vi.po: Likewise.
38394
38395 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
38396
38397         * Makeconfig [!+link] (+link-before-libc): New variable.
38398         [!+link] (+link-after-libc): Likewise.
38399         [!+link] (+link-tests): Likewise.
38400         [!+link] (+link): Define in terms of $(+link-before-libc) and
38401         $(+link-after-libc).
38402         [!+link-static] (+link-static-before-libc): New variable.
38403         [!+link-static] (+link-static-after-libc): Likewise.
38404         [!+link-static] (+link-static-tests): Likewise.
38405         [!+link-static] (+link-static): Define in terms of
38406         $(+link-static-before-libc) and $(+link-static-after-libc).
38407         [build-shared] (link-libc-before-gnulib): New variable.
38408         [build-shared] (link-libc-tests): Likewise.
38409         [build-shared] (link-libc): Define in terms of
38410         $(link-libc-before-gnulib).
38411         [!build-shared] (link-libc-tests): New variable.
38412         (link-libc-static-tests): New variable.
38413         [!gnulib] (gnulib-arch): New variable.
38414         [!gnulib] (gnulib-tests): Likewise.
38415         [!gnulib] (static-gnulib-arch): Likewise.
38416         [!gnulib] (static-gnulib-tests): Likewise.
38417         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
38418         Define with "=" instead of ":=".
38419         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
38420         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
38421         * Rules (binaries-all-notests): New variable.
38422         (binaries-all-tests): Likewise.
38423         (binaries-static-notests): Likewise.
38424         (binaries-static-tests): Likewise.
38425         (binaries-all): Define using $(binaries-all-notests) and
38426         $(binaries-all-tests).
38427         (binaries-static): Define using $(binaries-static-notests) and
38428         $(binaries-static-tests).
38429         (binaries-shared-tests): New variable.
38430         (binaries-shared-notests): Likewise.
38431         (binaries-shared): Remove variable.
38432         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
38433         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
38434         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
38435         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
38436         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
38437         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
38438         * elf/Makefile (sln-modules): New variable.
38439         (extra-objs): Add $(sln-modules:=.o).
38440         (ldconfig-modules): Add static-stubs.
38441         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
38442         * elf/static-stubs.c: New file.
38443
38444         [BZ #14283]
38445         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
38446         by 7 not 8 to examine high bit of fractional part.  Use volatile
38447         variables when splitting into final array of floats if
38448         __FLT_EVAL_METHOD__ != 0.
38449         * math/libm-test.inc (cos_test): Add another test.
38450         (sin_test): Likewise.
38451         * sysdeps/i386/fpu/libm-test-ulps: Update.
38452
38453         [BZ #14273]
38454         * math/libm-test.inc (cosh_test): Add more tests.
38455
38456         * version.h (RELEASE): Set to "development".
38457         (VERSION): Set to "2.16.90".
38458
38459 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
38460
38461         * NEWS: Update copyright. Remove last-updated date.
38462         Mention math library bug fixes and timezone data changes.
38463         * README: Mention GNU/Hurd, x32, and HPPA support status.
38464
38465 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
38466
38467         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
38468
38469 2012-06-27  Andreas Jaeger  <aj@suse.de>
38470
38471         * manual/contrib.texi (Contributors): Add Samuel Thibault.
38472
38473 2012-06-25  Andreas Jaeger  <aj@suse.de>
38474
38475         * sysdeps/s390/fpu/libm-test-ulps: Update.
38476
38477 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
38478             Thomas Schwinge  <thomas@codesourcery.com>
38479
38480         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
38481         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
38482         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
38483         fanotify_mark.
38484
38485 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
38486
38487         * sysdeps/mach/start.c: Remove file.
38488         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
38489         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
38490         * sysdeps/sh/init-first.c: Likewise.
38491
38492         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
38493         registers for frame unwinding purposes, add CFI directives.
38494         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
38495         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
38496         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
38497         Likewise.
38498
38499         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
38500         __fortify_fail returning.
38501         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
38502
38503         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
38504         sysdeps/sh/____longjmp_chk.S.
38505         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
38506         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
38507         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
38508         (gen-as-const-headers): Append sigaltstack-offsets.sym.
38509
38510         * sysdeps/sh/abort-instr.h: New file.
38511         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
38512         process in case exit returns.
38513
38514         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
38515         initialize the GOT register before use.
38516
38517         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
38518         calculation of ARGC > 4.
38519
38520         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
38521         meaningful names to some local labels.
38522
38523 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
38524             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38525
38526         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
38527         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
38528         (__arch_compare_and_exchange_val_16_acq): Likewise.
38529         (__arch_compare_and_exchange_val_32_acq): Likewise.
38530         (atomic_exchange_and_add): Fix gUSA sequence.
38531         (atomic_add): Likewise.
38532         (atomic_add_negative): Likewise.
38533         (atomic_add_zero): Likewise.
38534         (atomic_bit_test_set): Likewise.
38535
38536 2012-06-22  Andreas Schwab  <schwab@redhat.com>
38537
38538         [BZ #13579]
38539         * include/link.h (struct link_map): Add l_free_initfini.
38540         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
38541         l_initfini.
38542         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
38543         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
38544         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
38545         set.
38546
38547 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
38548
38549         * configure.in: Use AC_LANG_SOURCE.
38550         * configure: Regenerate.
38551
38552 2012-06-22  Roland McGrath  <roland@hack.frob.com>
38553
38554         * configure.in (libc_cv_localstatedir): New substituted variable.
38555         * configure: Regenerated.
38556         * config.make.in (localstatedir): New variable, substituted from
38557         libc_cv_localstatedir.
38558         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
38559         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
38560         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
38561         * sysdeps/gnu/configure: Regenerated.
38562
38563 2012-06-21  Jeff Law  <law@redhat.com>
38564
38565         [BZ #14277]
38566         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
38567         free.  Simplify list management for _LIBC case.
38568
38569 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
38570
38571         [BZ #14273]
38572         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
38573         Clear sign bit of 64-bit integer value before comparing against
38574         overflow value.
38575
38576         * sysdeps/mach/configure: Regenerated.
38577
38578 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
38579
38580         [BZ #14278]
38581         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
38582
38583 2012-06-21  Jeff Law  <law@redhat.com>
38584
38585         [BZ #13882]
38586         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
38587         uint16_t for elements in the "seen" array to avoid char overflows.
38588         * elf/dl-fini.c (_dl_sort_fini): Likewise.
38589         * elf/dl-open.c (dl_open_worker): Likewise.
38590
38591 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
38592
38593         * scripts/list-sources.sh: Scan PORTS for translations.
38594         * po/libc.pot: Regenerated.
38595
38596 2012-06-21  Andreas Jaeger  <aj@suse.de>
38597
38598         [BZ #12194]
38599         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
38600         warning.
38601         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
38602         * bits/byteswap-16.h (__bswap_16): Likewise.
38603         * bits/byteswap.h (__bswap_constant_16): Likewise.
38604
38605 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
38606
38607         [BZ #14117]
38608         * sysdeps/i386/fpu_control.h: Removed.
38609         * sysdeps/x86_64/fpu_control.h: Moved to ...
38610         * sysdeps/x86/fpu_control.h: Here.
38611
38612         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
38613         (_FPU_SETCW): Likewise.
38614
38615 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
38616
38617         [BZ #14117]
38618         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
38619         * sysdeps/x86/fpu/bits/mathinline.h: This.
38620         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
38621
38622         [BZ #14050]
38623         [BZ #14117]
38624         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
38625         functions if __x86_64__ is defined.
38626
38627 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
38628
38629         * string/endian.h: Add !__ASSEMBLER__ condition for including
38630         conversion interfaces.
38631
38632 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
38633
38634         [BZ #14241]
38635         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
38636         of ABS(x) in calculating zero to negative powers other than odd
38637         integers.
38638         * math/libm-test.inc (pow_test): Add more tests.
38639
38640 2012-06-15  Andreas Jaeger  <aj@suse.de>
38641
38642         * manual/contrib.texi (Contributors): Update entry of Liubov
38643         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
38644         Machado Filho.
38645
38646 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
38647
38648         * string/string.h: Add __wur to GNU version of strerror_r.
38649
38650 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
38651
38652         [BZ #14229]
38653         * string/Makefile (tests): Add tst-strtok_r.
38654         * string/tst-strtok_r.c: New file.
38655         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
38656         RAX_LP/RDX_LP on SAVE_PTR.
38657
38658 2012-06-14  Roland McGrath  <roland@hack.frob.com>
38659
38660         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
38661
38662 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
38663
38664         * libm_test.inc (csqrt_test): Allow more spurious underflow
38665         exceptions.
38666         (j0_test): Likewise.
38667         (j1_test): Likewise.
38668         (y0_test): Likewise.
38669         (y1_test): Likewise.
38670
38671 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
38672
38673         * po/Makefile (libc.pot): Use UTF-8 charset.
38674
38675 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
38676
38677         [BZ #14210]
38678         Suppress sign-conversion warning from FD_SET.
38679         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
38680         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
38681         not unsigned long int.
38682         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
38683
38684 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
38685
38686         [BZ #14050]
38687         [BZ #14117]
38688         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
38689         __extern_always_inline instead of __extern_inline.
38690         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
38691         (__signbit): Likewise.
38692         (__signbitl): Support C++ namespace.
38693         (lrintf): New inline function.
38694         (lrint): Likewise.
38695         (llrintf): Likewise.
38696         (llrint): Likewise.
38697         (fmaxf): Likewise.
38698         (fmax): Likewise.
38699         (fminf): Likewise.
38700         (fmin): Likewise.
38701         (rint): Likewise.
38702         (rintf): Likewise.
38703         (ceil): Likewise.
38704         (ceilf): Likewise.
38705         (floor): Likewise.
38706         (floorf): Likewise.
38707         (nearbyint): Likewise.
38708         (nearbyintf): Likewise.
38709
38710 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
38711
38712         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
38713         non-default versions.
38714
38715 2012-06-11  Roland McGrath  <roland@hack.frob.com>
38716
38717         [BZ #14218]
38718         * manual/argp.texi (Argp): Reword argp_parse description slightly.
38719
38720 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
38721
38722         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
38723         (FE_UPWARD, FE_DOWNWARD): Don't define.
38724         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
38725         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
38726
38727         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
38728         reading it.
38729         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
38730         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
38731
38732 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38733
38734         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
38735         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
38736         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
38737         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
38738
38739 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
38740
38741         [BZ #14117]
38742         * sysdeps/i386/fpu/bits/fenv.h: Removed.
38743         * sysdeps/i386/fpu/Implies: New file.
38744         * sysdeps/x86_64/fpu/Implies: Likewise.
38745         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
38746         * sysdeps/x86/fpu/bits/fenv.h: This.
38747
38748         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
38749         __SSE_MATH__.
38750
38751 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
38752
38753         [BZ #14134]
38754         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
38755         character 0xffff that matches the last element of the
38756         conversion table.
38757
38758 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38759
38760         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
38761         fmodl commit.
38762
38763 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38764
38765         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
38766         values higher than 25.6283.
38767
38768 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38769
38770         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
38771         subnormal exponent extraction and add some __builtin_expect.
38772         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
38773         Fix for subnormal mantissa calculation.
38774
38775 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
38776
38777         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
38778         cpu2 is -1 and errno is not ENOSYS.
38779
38780 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
38781
38782         [BZ #14117]
38783         * sysdeps/i386/i486/bits/string.h: Renamed to ...
38784         * sysdeps/x86/bits/string.h: This.
38785         * sysdeps/x86_64/bits/string.h: Removed.
38786
38787         * sysdeps/i386/i486/bits/string.h: Define inline functions only
38788         if not compiling for x86-64, but compiling for >= i486.
38789
38790         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
38791         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
38792
38793         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
38794         New macro from Linux kernel 3.4.0.
38795         (FP_XSTATE_MAGIC2): Likewise.
38796         (FP_XSTATE_MAGIC2_SIZE): Likewise.
38797         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
38798         (struct _fpx_sw_bytes): New struct.
38799         (struct _xsave_hdr): Likewise.
38800         (struct _ymmh_state): Likewise.
38801         (struct _xstate): Likewise.
38802
38803         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
38804         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
38805         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
38806         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
38807         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
38808         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
38809
38810         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
38811         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
38812         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
38813         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
38814         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
38815         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
38816
38817 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
38818
38819         [BZ #13743]
38820         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
38821         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
38822         (sysdep_headers): Include sys/platform/ppc.h.
38823         * sysdeps/powerpc/test-gettimebase.c: Test for
38824         __ppc_get_timebase() to catch future ISA opcode/insn changes.
38825         * manual/Makefile (appendices): Include platform.texi.
38826         * manual/contrib.texi (Contributors): Update @node pointers.
38827         * manual/maint.texi (Maintenance): Likewise.
38828         (Platform): New node.
38829         * manual/platform.texi: New file.  Document the new features.
38830
38831 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
38832             Jakub Jelinek  <jakub@redhat.com>
38833
38834         [BZ #14188]
38835         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
38836         where __builtin_expect is unavailable.
38837
38838 2012-06-03  David S. Miller  <davem@davemloft.net>
38839
38840         * stdlib/longlong.h: Updated from GCC.
38841
38842 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
38843
38844         [BZ #14042]
38845         * sysdeps/powerpc/powerpc32/mcount.c: New file.
38846         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
38847         __mcount_internal.
38848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
38849         (GLIBC_2.16): Likewise.
38850
38851 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
38852
38853         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
38854
38855 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
38856
38857         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
38858         (default-abi): New variable.
38859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
38860         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
38861         variable.
38862         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
38863         Likewise.
38864         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
38865         Likewise.
38866         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
38867         Likewise.
38868
38869         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
38870         definition.  Document in comment.
38871
38872 2012-06-01  David S. Miller  <davem@davemloft.net>
38873
38874         * stdlib/longlong.h: Updated from GCC.
38875
38876 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
38877
38878         [BZ #14117]
38879         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
38880         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
38881         sys/debugreg.h sys/io.h here.
38882         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
38883         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
38884         sys/io.h.
38885         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
38886         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
38887         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
38888         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
38889         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
38890         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
38891
38892         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
38893         Define only if __x86_64__ is defined.
38894
38895 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
38896
38897         [BZ #14048]
38898         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
38899         Use int64_t for variable i.
38900         * math/libm-test.inc (fmod_test): Add more tests.
38901
38902         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
38903         z computation is not scheduled after fetestexcept.
38904         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
38905         Use math_force_eval instead of asm to ensure calculation scheduled
38906         before exception test.
38907         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
38908         Ensure a1 + u.d computation is not scheduled after fetestexcept.
38909
38910 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
38911
38912         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
38913         computation is not scheduled after fetestexcept.
38914
38915 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
38916
38917         [BZ #14117]
38918         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
38919         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
38920
38921 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38922
38923         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
38924         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
38925
38926 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
38927
38928         [BZ #14117]
38929         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
38930         <bits/wordsize.h>.
38931         (__WCHAR_MIN): Support __WORDSIZE == 64.
38932         (__WCHAR_MAX): Likewise.
38933
38934         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
38935         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
38936
38937         [BZ #14183]
38938         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
38939         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
38940
38941         [BZ #14117]
38942         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
38943         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
38944
38945         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
38946         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
38947
38948         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
38949         Defined to 1 if __x86_64__ isn't defined.
38950         (_STAT_VER_LINUX_OLD): New.
38951         (st_atime): Remove duplicate.
38952         (st_mtime): Likewise.
38953         (st_ctime): Likewise.
38954
38955 2012-05-31  David S. Miller  <davem@davemloft.net>
38956
38957         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
38958         entries.
38959
38960 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
38961
38962         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
38963         gen-libm-test.pl.
38964
38965         [BZ #14132]
38966         * elf/dl-reloc.c: Include <_itoa.h>.
38967         (_dl_reloc_bad_type): Remove use of INTUSE.
38968         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
38969         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
38970         * stdio-common/psiginfo.c (psiginfo): Likewise.
38971         * stdio-common/psignal.c (psignal): Likewise.
38972         * string/strsignal.c (strsignal): Likewise.
38973         * include/signal.h (_sys_siglist): Declare hidden proto.
38974         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
38975         INTVARDEF with libc_hidden_data_def.
38976         * stdio-common/itoa-udigits.c: Likewise.
38977         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
38978         (_itoa_lower_digits_internal): Remove declaration.
38979         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
38980         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
38981         (_sys_sigabbrev_internal): Remove aliases.
38982         (_sys_siglist): Define hidden alias.
38983
38984 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
38985
38986         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38987         bits/sysctl.h.
38988
38989 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
38990
38991         [BZ #14117]
38992         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
38993         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
38994
38995         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
38996         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
38997         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
38998         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
38999         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
39000         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
39001
39002         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
39003         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
39004         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
39005
39006         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
39007         with __addr.
39008         (insw): Likewise.
39009         (insl): Likewise.
39010         (outsb): Likewise.
39011         (outsw): Likewise.
39012         (outsl): Likewise.
39013
39014         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
39015         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
39016         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
39017
39018         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
39019         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
39020         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
39021         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
39022         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
39023         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
39024
39025         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
39026         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
39027
39028         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
39029         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
39030
39031         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
39032         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
39033         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
39034
39035         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
39036         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
39037         to ...
39038         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
39039
39040         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
39041         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
39042         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
39043
39044         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
39045         for x86-64.
39046         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
39047
39048 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
39049
39050         * math/math.h (M_El): Use two more decimal places.
39051         (M_LOG2El): Likewise.
39052         (M_LOG10El): Likewise.
39053         (M_LN2l): Likewise.
39054         (M_LN10l): Likewise.
39055         (M_PIl): Likewise.
39056         (M_PI_2l): Likewise.
39057         (M_PI_4l): Likewise.
39058         (M_1_PIl): Likewise.
39059         (M_2_PIl): Likewise.
39060         (M_2_SQRTPIl): Likewise.
39061         (M_SQRT2l): Likewise.
39062         (M_SQRT1_2l): Likewise.
39063
39064 2012-05-31  David S. Miller  <davem@davemloft.net>
39065
39066         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
39067         values between float registers.
39068         * sysdeps/sparc/sparc64/memset.S: Likewise.
39069         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
39070
39071 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
39072
39073         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
39074         -D_FORTIFY_SOURCE=1.
39075         (CPPFLAGS-tst-longjmp_chk.c): Define.
39076         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
39077         (CPPFLAGS-tst-longjmp_chk2.c): Define.
39078         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
39079         CFLAGS-tst-wchar-h.c.
39080
39081 2012-05-31  Marek Polacek  <polacek@redhat.com>
39082
39083         [BZ #14132]
39084         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
39085         __endmntent_internal): Remove declaration.
39086         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
39087         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
39088         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
39089
39090 2012-05-30  David S. Miller  <davem@davemloft.net>
39091
39092         * sysdeps/sparc/sparc32/soft-fp/q_util.c
39093         (___Q_simulate_exceptions): Use real FP ops rather than writing
39094         into the %fsr.
39095         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
39096         Likewise.
39097
39098 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
39099
39100         [BZ #14117]
39101         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
39102         * sysdeps/x86/bits/xtitypes.h: This.
39103
39104         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
39105         * sysdeps/x86/bits/wordsize.h: This.
39106
39107         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
39108         * sysdeps/x86/bits/huge_vall.h: This.
39109
39110         * sysdeps/i386/bits/select.h: Removed.
39111         * sysdeps/x86_64/bits/select.h: Renamed to ...
39112         * sysdeps/x86/bits/select.h: This.
39113
39114         * sysdeps/i386/bits/setjmp.h: Removed.
39115         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
39116         * sysdeps/x86/bits/setjmp.h: This.
39117
39118         * sysdeps/i386/bits/mathdef.h: Removed.
39119         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
39120         * sysdeps/x86/bits/mathdef.h: This.
39121
39122 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
39123
39124         [BZ #14132]
39125         * include/sys/socket.h (__connect_internal)
39126         (__libc_sa_len_internal): Remove declaration.
39127         (__connect, __libc_sa_len): Declare hidden_proto.
39128         (SA_LEN): Remove use of INTUSE.
39129         * socket/connect.c: Add libc_hidden_def.
39130         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
39131         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
39132         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
39133         alias.
39134         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
39135         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
39136         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
39137         of adding _internal alias.
39138
39139 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
39140
39141         [BZ #14117]
39142         * sysdeps/i386/bits/link.h: Removed.
39143         * sysdeps/i386/bits/linkmap.h: Likewise.
39144         * sysdeps/x86_64/bits/link.h: Renamed to ...
39145         * sysdeps/x86/bits/link.h: This.
39146         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
39147         * sysdeps/x86/bits/linkmap.h: This.
39148
39149         * sysdeps/i386/bits/endian.h: Removed.
39150         * sysdeps/x86_64/bits/endian.h: Renamed to ...
39151         * sysdeps/x86/bits/endian.h: This.
39152
39153         * sysdeps/i386/bits/byteswap.h: Removed.
39154         * sysdeps/i386/bits/byteswap-16.h: Likewise.
39155         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
39156         * sysdeps/x86/bits/byteswap.h: This.
39157         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
39158         * sysdeps/x86/bits/byteswap-16.h: This.
39159         * sysdeps/i386/Implies: Add x86.
39160         * sysdeps/x86_64/Implies: Likewise.
39161
39162 2012-05-30  David S. Miller  <davem@davemloft.net>
39163
39164         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
39165         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
39166         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
39167         (FP_TRAPPING_EXCEPTIONS): Define.
39168         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
39169         (FP_TRAPPING_EXCEPTIONS): Define.
39170         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
39171         subnormals only when inexact has been signalled or underflow
39172         exceptions are enabled.
39173         (_FP_PACK_CANONICAL): Likewise.
39174
39175 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
39176
39177         [BZ #14183]
39178         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
39179         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
39180
39181 2012-05-30  Richard Henderson  <rth@twiddle.net>
39182
39183         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
39184         with #ifndef NOT_IN_libc.
39185
39186         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
39187         marked to avoid plt entry.
39188
39189 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
39190
39191         [BZ #14112]
39192         * Makeconfig (default-abi): New macro.
39193         (abi-includes): Likewise.
39194         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
39195         $(abi-$(default-abi)-lib-soname) for soname if defined.
39196         ($(common-objpfx)gnu/lib-names.stmp): Generate from
39197         abi-variants.
39198         * Makefile (installed-stubs): Likewise.
39199         * include/stubs-biarch.h: Removed.
39200         * scripts/lib-names.awk: Only handle one library at a time.
39201         * scripts/soversions.awk: Remove WORDSIZE support.
39202         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
39203         entries.
39204         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
39205         Removed.
39206         (syscall-list-default-condition): Likewise.
39207         (syscall-list-default-condition): Likewise.
39208         (syscall-list-includes): Likewise.
39209         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
39210         syscall-list-* with abi-*.  Handle undefined abi-variants.
39211         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
39212         * sysdeps/unix/sysv/linux/i386/Implies: New file.
39213         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
39214         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
39215         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
39216         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
39217         Removed.
39218         (syscall-list-32-options): Likewise.
39219         (syscall-list-32-condition): Likewise.
39220         (syscall-list-64-options): Likewise.
39221         (syscall-list-64-condition): Likewise.
39222         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
39223         macro.
39224         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
39225         Renamed to ...
39226         (abi-*): This.
39227         (abi-64-ld-soname): New macro.
39228         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
39229         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
39230         Renamed to ...
39231         (abi-*): This.
39232         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
39233         * sysdeps/x86_64/x32/shlib-versions: Likewise.
39234
39235 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
39236
39237         * sysdeps/unix/sysv/linux/kernel-features.h
39238         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
39239         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
39240         include <kernel-features.h>.
39241         [!__NR_ftruncate64]: Remove conditional code.
39242         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39243         [__NR_ftruncate64]: Make code unconditional.
39244         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39245         * sysdeps/unix/sysv/linux/truncate64.c: Do not
39246         include <kernel-features.h>.
39247         [!__NR_ftruncate64]: Remove conditional code.
39248         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39249         [__NR_ftruncate64]: Make code unconditional.
39250         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39251         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
39252         include <kernel-features.h>.
39253         [!__NR_ftruncate64]: Remove conditional code.
39254         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39255         [__NR_ftruncate64]: Make code unconditional.
39256         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39257         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
39258         include <kernel-features.h>.
39259         [!__NR_ftruncate64]: Remove conditional code.
39260         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39261         [__NR_ftruncate64]: Make code unconditional.
39262         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39263
39264         * configure.in (libc_cv_fpie): Weaken to a compile test using
39265         LIBC_TRY_CC_OPTION.
39266         * configure: Regenerated.
39267
39268 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39269
39270         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
39271         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
39272         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
39273         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
39274         Refreshed.
39275         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
39276         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
39277         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
39278         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
39279         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
39280         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
39281         Refreshed.
39282
39283 2012-05-27  David S. Miller  <davem@davemloft.net>
39284
39285         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
39286         (___Q_zero): New.
39287         (__Q_simulate_exceptions): Return void.  Change to simulate
39288         exceptions by writing into the %fsr.
39289         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
39290         (__Qp_handle_exceptions): Likewise.
39291         (numbers): Delete.
39292         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
39293         __Qp_handle_exceptions.
39294         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
39295         __Qp_handle_exceptions.
39296         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
39297         as unused and give dummy FP_RND_NEAREST initializer.
39298         (FP_INHIBIT_RESULTS): Define.
39299         (___Q_simulate_exceptions): Update declaration.
39300         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
39301         formatting.
39302         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
39303         as unused and give dummy FP_RND_NEAREST initializer.
39304         (__Qp_handle_exceptions): Update declaration.
39305         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
39306         formatting.
39307
39308 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
39309
39310         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
39311         the temporary FPU control word.
39312         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
39313         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
39314         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
39315         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
39316         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
39317         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
39318         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
39319         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
39320         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
39321         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
39322         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
39323
39324 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39325
39326         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
39327         fields.
39328
39329 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
39330
39331         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
39332         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
39333         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
39334         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
39335         Likewise.
39336         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
39337         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
39338         Likewise.
39339
39340 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
39341
39342         * po/h.po: Update from translation team.
39343
39344 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
39345
39346         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
39347
39348         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
39349         handling of denormals.
39350         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
39351         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
39352         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
39353         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
39354         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
39355         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
39356         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
39357         Likewise.
39358
39359 2012-05-26  Marek Polacek  <polacek@redhat.com>
39360
39361         [BZ #14152]
39362         * math/libm-test.inc (fma_test): Don't always expect underflow
39363         exception.
39364
39365 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
39366
39367         [BZ #12416]
39368         * elf/tst-execstack.c: Include stackinfo.h.
39369         (do_test): Adjust test case to ensure that pthread_getattr_np
39370         behaviour remains the same after marking stack executable.
39371
39372 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
39373
39374         * sysdeps/unix/sysv/linux/kernel-features.h
39375         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
39376         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
39377         kernel-features.h.
39378         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
39379         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
39380         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
39381         kernel-features.h.
39382         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
39383         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
39384
39385 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
39386
39387         * configure.in: Define the default includes to being none.
39388         * configure: Regenerated.
39389
39390 2012-05-25  Roland McGrath  <roland@hack.frob.com>
39391
39392         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
39393         * sysdeps/x86_64/setjmp.S: Likewise.
39394         * sysdeps/i386/bsd-setjmp.S: Likewise.
39395         * sysdeps/i386/bsd-_setjmp.S: Likewise.
39396         * sysdeps/i386/setjmp.S: Likewise.
39397         * sysdeps/i386/__longjmp.S: Likewise.
39398         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
39399         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
39400
39401         * include/stap-probe.h: New file.
39402         * configure.in: Handle --enable-systemtap.
39403         * configure: Regenerated.
39404         * config.h.in (USE_STAP_PROBE): New #undef.
39405         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
39406         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
39407         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
39408
39409 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
39410
39411         [BZ #13717]
39412         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
39413         to 2.4.0 where earlier.
39414         * sysdeps/unix/sysv/linux/configure: Regenerated.
39415         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
39416         <kernel-features.h>.
39417         [__ASSUME_32BITUIDS]: Make code unconditional.
39418         [!__ASSUME_32BITUIDS]: Remove conditional code.
39419         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
39420         <kernel-features.h>.
39421         [__ASSUME_32BITUIDS]: Make code unconditional.
39422         [!__ASSUME_32BITUIDS]: Remove conditional code.
39423         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
39424         [__ASSUME_32BITUIDS]: Make code unconditional.
39425         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
39426         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
39427         <kernel-features.h>.
39428         [__ASSUME_32BITUIDS]: Make code unconditional.
39429         [!__ASSUME_32BITUIDS]: Remove conditional code.
39430         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
39431         <kernel-features.h>.
39432         [__ASSUME_32BITUIDS]: Make code unconditional.
39433         [!__ASSUME_32BITUIDS]: Remove conditional code.
39434         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
39435         <kernel-features.h>.
39436         [__ASSUME_32BITUIDS]: Make code unconditional.
39437         [!__ASSUME_32BITUIDS]: Remove conditional code.
39438         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
39439         <kernel-features.h>.
39440         [__ASSUME_32BITUIDS]: Make code unconditional.
39441         [!__ASSUME_32BITUIDS]: Remove conditional code.
39442         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
39443         <kernel-features.h>.
39444         [__ASSUME_32BITUIDS]: Make code unconditional.
39445         [!__ASSUME_32BITUIDS]: Remove conditional code.
39446         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
39447         <kernel-features.h>.
39448         [__ASSUME_32BITUIDS]: Make code unconditional.
39449         [!__ASSUME_32BITUIDS]: Remove conditional code.
39450         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
39451         <kernel-features.h>.
39452         [__ASSUME_32BITUIDS]: Make code unconditional.
39453         [!__ASSUME_32BITUIDS]: Remove conditional code.
39454         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
39455         <kernel-features.h>.
39456         [__ASSUME_32BITUIDS]: Make code unconditional.
39457         [!__ASSUME_32BITUIDS]: Remove conditional code.
39458         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
39459         <kernel-features.h>.
39460         [__ASSUME_32BITUIDS]: Make code unconditional.
39461         [!__ASSUME_32BITUIDS]: Remove conditional code.
39462         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
39463         <kernel-features.h>.
39464         [__ASSUME_32BITUIDS]: Make code unconditional.
39465         [!__ASSUME_32BITUIDS]: Remove conditional code.
39466         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
39467         <kernel-features.h>.
39468         [__NR_setresgid] (__setresgid): Do not declare.
39469         [__ASSUME_32BITUIDS]: Make code unconditional.
39470         [!__ASSUME_32BITUIDS]: Remove conditional code.
39471         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
39472         <kernel-features.h>.
39473         [__NR_setresuid] (__setresuid): Do not declare.
39474         [__ASSUME_32BITUIDS]: Make code unconditional.
39475         [!__ASSUME_32BITUIDS]: Remove conditional code.
39476         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
39477         <kernel-features.h>.
39478         [__ASSUME_32BITUIDS]: Make code unconditional.
39479         [!__ASSUME_32BITUIDS]: Remove conditional code.
39480         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
39481         <kernel-features.h>.
39482         [__ASSUME_32BITUIDS]: Make code unconditional.
39483         [!__ASSUME_32BITUIDS]: Remove conditional code.
39484         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
39485         <kernel-features.h>.
39486         [__ASSUME_32BITUIDS]: Make code unconditional.
39487         [!__ASSUME_32BITUIDS]: Remove conditional code.
39488         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
39489         <kernel-features.h>.
39490         [__ASSUME_32BITUIDS]: Make code unconditional.
39491         [!__ASSUME_32BITUIDS]: Remove conditional code.
39492         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
39493         <kernel-features.h>.
39494         [__ASSUME_32BITUIDS]: Make code unconditional.
39495         [!__ASSUME_32BITUIDS]: Remove conditional code.
39496         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
39497         <kernel-features.h>.
39498         [__ASSUME_32BITUIDS]: Make code unconditional.
39499         [!__ASSUME_32BITUIDS]: Remove conditional code.
39500         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
39501         <kernel-features.h>.
39502         [__ASSUME_32BITUIDS]: Make code unconditional.
39503         [!__ASSUME_32BITUIDS]: Remove conditional code.
39504         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
39505         <kernel-features.h>.
39506         [__ASSUME_32BITUIDS]: Make code unconditional.
39507         [!__ASSUME_32BITUIDS]: Remove conditional code.
39508         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
39509         <kernel-features.h>.
39510         [__ASSUME_32BITUIDS]: Make code unconditional.
39511         [!__ASSUME_32BITUIDS]: Remove conditional code.
39512         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
39513         <kernel-features.h>.
39514         [__ASSUME_32BITUIDS]: Make code unconditional.
39515         [!__ASSUME_32BITUIDS]: Remove conditional code.
39516         * sysdeps/unix/sysv/linux/kernel-features.h
39517         (__ASSUME_SETRESUID_SYSCALL): Remove.
39518         (__ASSUME_SETRESGID_SYSCALL): Likewise.
39519         (__ASSUME_32BITUIDS): Likewise.
39520         (__ASSUME_LDT_WORKS): Likewise.
39521         (__ASSUME_O_DIRECTORY): Likewise.
39522         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
39523         architecture but not kernel version.
39524         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
39525         (__ASSUME_MMAP2_SYSCALL): Likewise.
39526         (__ASSUME_STAT64_SYSCALL): Likewise.
39527         (__ASSUME_IPC64): Likewise.
39528         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
39529         <kernel-features.h>.
39530         [__ASSUME_32BITUIDS]: Make code unconditional.
39531         [!__ASSUME_32BITUIDS]: Remove conditional code.
39532         * sysdeps/unix/sysv/linux/opendir.c: Do not include
39533         <kernel-features.h>.
39534         [__ASSUME_O_DIRECTORY]: Make code unconditional.
39535         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
39536         132096]: Remove conditional code.
39537         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
39538         * sysdeps/unix/sysv/linux/s390/s390-32/chown.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/s390/s390-32/lchown.c: Do not include
39543         <kernel-features.h>.
39544         [__ASSUME_32BITUIDS]: Make code unconditional.
39545         [!__ASSUME_32BITUIDS]: Remove conditional code.
39546         * sysdeps/unix/sysv/linux/setegid.c: Do not include
39547         <kernel-features.h>.
39548         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
39549         unconditional.
39550         (__setresgid): Do not declare.
39551         [__ASSUME_32BITUIDS]: Make code unconditional.
39552         [!__ASSUME_32BITUIDS]: Remove conditional code.
39553         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
39554         <kernel-features.h>.
39555         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
39556         unconditional.
39557         (__setresuid): Do not declare.
39558         [__ASSUME_32BITUIDS]: Make code unconditional.
39559         [!__ASSUME_32BITUIDS]: Remove conditional code.
39560         * sysdeps/unix/sysv/linux/sh/chown.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/sparc/sparc32/semctl.c: Do not include
39565         <kernel-features.h>.
39566         [__ASSUME_32BITUIDS]: Make code unconditional.
39567         [!__ASSUME_32BITUIDS]: Remove conditional code.
39568
39569 2012-05-25  Richard Henderson  <rth@twiddle.net>
39570
39571         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
39572         dl_hwcap to ifunc resolver.
39573         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
39574         elf_ifunc_invoke.
39575         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
39576         dl_hwcap to ifunc resolver.
39577         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
39578
39579 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
39580
39581         [BZ #14153]
39582         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
39583         for |x| <= 2**-26, not 2**-57.
39584         * math/libm-test.inc (acos_test): Do not allow spurious underflow
39585         exception.
39586
39587 2012-05-24  Jeff Law  <law@redhat.com>
39588
39589         * stdio-common/Makefile (tests): Add bug25.
39590         * stdio-common/bug25.c: New test.
39591
39592 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
39593
39594         [BZ #13576]
39595         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
39596         multiple of MALLOC_ALIGNMENT in size.
39597         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
39598
39599 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
39600
39601         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
39602         Require >= 256.
39603         (FILENAME_MAX): Use macro-int-constant.
39604         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
39605         (_IOFBF): Use macro-int-constant.
39606         (_IOLBF): Likewise.
39607         (_IONBF): Likewise.
39608         (SEEK_CUR): Likewise.
39609         (SEEK_END): Likewise.
39610         (SEEK_SET): Likewise.
39611         (TMP_MAX): Likewise.
39612         (EOF): Use macro-int-constant.  Require < 0.
39613         (NULL): Use macro-constant.  Require == 0.
39614         (stdin): Require type to be FILE *.
39615         (stdout): Likewise.
39616         (stderr): Likewise.
39617         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
39618         macro-int-constant.
39619         (EXIT_SUCCESS): Likewise.
39620         (NULL): Use macro-constant.  Require == 0.
39621         (RAND_MAX): Use macro-int-constant.
39622         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
39623         [C99-based standards] (strtof): Require function.
39624         [C99-based standards] (strtold): Likewise.
39625         [C99-based standards] (strtoll): Likewise.
39626         [C99-based standards] (strtoull): Likewise.
39627         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
39628         [ISO || ISO99 || ISO11] (limits.h): Likewise.
39629         [ISO || ISO99 || ISO11] (math.h): Likewise.
39630         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
39631         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
39632         [ISO || ISO99 || ISO11] (*_t): Do not allow.
39633
39634 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
39635
39636         [BZ #14132]
39637         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
39638         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
39639         * intl/dgettext.c (DCGETTEXT): Likewise.
39640         * intl/gettext.c (DCGETTEXT): Likewise.
39641         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
39642         * posix/regex_internal.h (gettext): Likewise.
39643         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
39644         Remove declaration.
39645         * include/argz.h (__argz_count_internal)
39646         (__argz_stringify_internal): Remove declaration.
39647         (__argz_count, __argz_stringify): Declare hidden proto.
39648         * intl/dcgettext.c: Remove use of INTDEF.
39649         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
39650         * string/argz-stringify.c: Likewise.
39651         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
39652         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
39653         Declare hidden proto.
39654         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
39655         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
39656         Declare hidden proto.
39657         * include/stdio.h (__asprintf_internal): Don't declare.
39658         (__asprintf): Don't define as macro.  Declare hidden proto.
39659         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
39660         (__fsetlocking): Declare hidden proto.
39661         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
39662         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
39663         hidden proto.
39664         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
39665         (_IO_setlinebuf): Remove use of INTUSE.
39666         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
39667         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
39668         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
39669         Remove declaration.
39670         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
39671         (_IO_do_flush): Remove use of INTUSE.
39672         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
39673         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
39674         (_IO_adjust_column, _IO_least_wmarker)
39675         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
39676         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
39677         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
39678         (_IO_default_doallocate, _IO_wdefault_doallocate)
39679         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
39680         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
39681         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
39682         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
39683         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
39684         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
39685         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
39686         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
39687         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
39688         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
39689         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
39690         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
39691         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
39692         proto.
39693         (_IO_flush_all_internal, _IO_adjust_column_internal)
39694         (_IO_default_uflow_internal, _IO_default_finish_internal)
39695         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
39696         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
39697         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
39698         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
39699         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
39700         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
39701         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
39702         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
39703         (_IO_file_close_internal, _IO_file_close_it_internal)
39704         (_IO_file_underflow_internal, _IO_file_overflow_internal)
39705         (_IO_file_init_internal, _IO_file_attach_internal)
39706         (_IO_file_fopen_internal, _IO_file_read_internal)
39707         (_IO_file_sync_internal, _IO_file_seek_internal)
39708         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
39709         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
39710         (_IO_str_underflow_internal, _IO_str_overflow_internal)
39711         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
39712         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
39713         (_IO_list_all_internal, _IO_link_in_internal)
39714         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
39715         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
39716         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
39717         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
39718         (_IO_do_write_internal, _IO_padn_internal)
39719         (_IO_getline_info_internal, _IO_getline_internal)
39720         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
39721         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
39722         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
39723         (_IO_vfscanf_internal, _IO_vfprintf_internal)
39724         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
39725         (_IO_init_internal, _IO_un_link_internal): Don't declare.
39726         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
39727         with libc_hidden_ver, remove use of INTUSE.
39728         * libio/genops.c: Likewise.
39729         * libio/freopen.c: Likewise.
39730         * libio/freopen64.c: Likewise.
39731         * libio/iofclose.c: Likewise.
39732         * libio/iofdopen.c: Likewise.
39733         * libio/iofflush.c: Likewise.
39734         * libio/iofflush_u.c: Likewise.
39735         * libio/iofgets.c: Likewise.
39736         * libio/iofgets_u.c: Likewise.
39737         * libio/iofopen.c: Likewise.
39738         * libio/iofopncook.c: Likewise.
39739         * libio/iofread.c: Likewise.
39740         * libio/iofread_u.c: Likewise.
39741         * libio/ioftell.c: Likewise.
39742         * libio/iofwrite.c: Likewise.
39743         * libio/iogetline.c: Likewise.
39744         * libio/iogets.c: Likewise.
39745         * libio/iogetwline.c: Likewise.
39746         * libio/iopadn.c: Likewise.
39747         * libio/iopopen.c: Likewise.
39748         * libio/ioseekoff.c: Likewise.
39749         * libio/ioseekpos.c: Likewise.
39750         * libio/iosetbuffer.c: Likewise.
39751         * libio/iosetvbuf.c: Likewise.
39752         * libio/ioungetc.c: Likewise.
39753         * libio/ioungetwc.c: Likewise.
39754         * libio/iovdprintf.c: Likewise.
39755         * libio/iovsprintf.c: Likewise.
39756         * libio/iovsscanf.c: Likewise.
39757         * libio/memstream.c: Likewise.
39758         * libio/obprintf.c: Likewise.
39759         * libio/oldfileops.c: Likewise.
39760         * libio/oldiofclose.c: Likewise.
39761         * libio/oldiofdopen.c: Likewise.
39762         * libio/oldiofopen.c: Likewise.
39763         * libio/oldiopopen.c: Likewise.
39764         * libio/oldstdfiles.c: Likewise.
39765         * libio/putc.c: Likewise.
39766         * libio/setbuf.c: Likewise.
39767         * libio/setlinebuf.c: Likewise.
39768         * libio/stdfiles.c: Likewise.
39769         * libio/strops.c: Likewise.
39770         * libio/vasprintf.c: Likewise.
39771         * libio/vscanf.c: Likewise.
39772         * libio/vsnprintf.c: Likewise.
39773         * libio/vswprintf.c: Likewise.
39774         * libio/wfiledoalloc.c: Likewise.
39775         * libio/wfileops.c: Likewise.
39776         * libio/wgenops.c: Likewise.
39777         * libio/wmemstream.c: Likewise.
39778         * libio/wstrops.c: Likewise.
39779         * libio/__fpurge.c: Likewise.
39780         * libio/__fsetlocking.c: Likewise.
39781         * assert/assert.c: Likewise.
39782         * debug/fgets_chk.c: Likewise.
39783         * debug/fgets_u_chk.c: Likewise.
39784         * debug/fread_chk.c: Likewise.
39785         * debug/fread_u_chk.c: Likewise.
39786         * debug/gets_chk.c: Likewise.
39787         * debug/obprintf_chk.c: Likewise.
39788         * debug/vasprintf_chk.c: Likewise.
39789         * debug/vdprintf_chk.c: Likewise.
39790         * debug/vsnprintf_chk.c: Likewise.
39791         * debug/vsprintf_chk.c: Likewise.
39792         * malloc/mtrace.c: Likewise.
39793         * misc/error.c: Likewise.
39794         * misc/syslog.c: Likewise.
39795         * stdio-common/asprintf.c: Likewise.
39796         * stdio-common/fxprintf.c: Likewise.
39797         * stdio-common/getw.c: Likewise.
39798         * stdio-common/isoc99_fscanf.c: Likewise.
39799         * stdio-common/isoc99_scanf.c: Likewise.
39800         * stdio-common/isoc99_vfscanf.c: Likewise.
39801         * stdio-common/isoc99_vscanf.c: Likewise.
39802         * stdio-common/isoc99_vsscanf.c: Likewise.
39803         * stdio-common/printf-prs.c: Likewise.
39804         * stdio-common/printf_fp.c: Likewise.
39805         * stdio-common/printf_fphex.c: Likewise.
39806         * stdio-common/printf_size.c: Likewise.
39807         * stdio-common/putw.c: Likewise.
39808         * stdio-common/scanf.c: Likewise.
39809         * stdio-common/sprintf.c: Likewise.
39810         * stdio-common/tmpfile.c: Likewise.
39811         * stdio-common/vfprintf.c: Likewise.
39812         * stdio-common/vfscanf.c: Likewise.
39813         * stdlib/strfmon_l.c: Likewise.
39814         * sunrpc/openchild.c: Likewise.
39815         * sunrpc/xdr_stdio.c: Likewise.
39816         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
39817         * sysdeps/mach/hurd/tmpfile.c: Likewise.
39818
39819 2012-05-24  Roland McGrath  <roland@hack.frob.com>
39820
39821         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
39822
39823         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
39824         in the third column, to generate for the shared library an IFUNC
39825         that uses _dl_vdso_vsym.
39826         * Makerules (COMPILE.c, compile-stdin.c): New variables.
39827         * Makeconfig (object-suffixes-noshared): New variable.
39828
39829         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
39830         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
39831         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
39832         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
39833
39834         [BZ #14132]
39835         * include/sys/time.h (__gettimeofday): Remove macro.
39836         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
39837         * time/gettimeofday.c (__gettimeofday): Remove #undef.
39838         Remove INTDEF.
39839         (__gettimeofday): Add libc_hidden_def.
39840         (gettimeofday): Add libc_hidden_weak.
39841         * sysdeps/mach/gettimeofday.c: Likewise.
39842         * sysdeps/posix/gettimeofday.c: Likewise.
39843         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
39844         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
39845         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
39846         (__gettimeofday_internal): Remove strong_alias.
39847         (__gettimeofday): Add libc_hidden_def.
39848         (gettimeofday): Add libc_hidden_weak.
39849         * sysdeps/unix/syscalls.list (gettimeofday):
39850         Remove __gettimeofday_internal alias.
39851
39852 2012-05-24  Daniel Jacobowitz  <drow@false.org>
39853             H.J. Lu  <hongjiu.lu@intel.com>
39854
39855         [BZ #12495]
39856         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
39857         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
39858         (largebin_index_32_big): New.
39859         (largebin_index): Use it for 16-byte alignment.
39860         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
39861         correction with front_misalign.
39862
39863 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
39864
39865         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
39866         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
39867         Likewise.
39868         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
39869         Likewise.
39870         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
39871         Likewise.
39872         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
39873         Likewise.
39874         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
39875         Likewise.
39876         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
39877         Likewise.
39878         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
39879         Likewise.
39880         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
39881         Likewise.
39882         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
39883         Likewise.
39884         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
39885         Likewise.
39886         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
39887         Likewise.
39888         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
39889         Likewise.
39890
39891         * scripts/data/c++-types-x32-linux-gnu.data: New file.
39892         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
39893
39894 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
39895
39896         [BZ #10846]
39897         [BZ #14036]
39898         * math/libm-test.inc (exp_test): Add test from bug 14036.
39899         (pow_test): Add test from bug 10846.
39900
39901         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
39902         and other flags.
39903         (special_function): Do not include flags in test name.
39904         (parse_args): Likewise.
39905         * sysdeps/i386/fpu/libm-test-ulps: Update.
39906         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39907         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
39908         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
39909         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39910
39911         * math/gen-libm-test.pl (%beautify): Add entries for underflow
39912         exceptions.
39913         * math/libm-test.inc ("Philosophy"): Update comment about
39914         exception testing.
39915         (UNDERFLOW_EXCEPTION): New macro.
39916         (UNDERFLOW_EXCEPTION_OK): Likewise.
39917         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
39918         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
39919         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
39920         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
39921         (INVALID_EXCEPTION_OK): Update value.
39922         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
39923         (OVERFLOW_EXCEPTION_OK): Likewise.
39924         (IGNORE_ZERO_INF_SIGN): Likewise.
39925         (test_exceptions): Handle underflow exceptions.
39926         (acos_test): Update for underflow exception expectations.
39927         (cexp_test): Likewise.
39928         (clog_test): Likewise.
39929         (clog10_test): Likewise.
39930         (csqrt_test): Likewise.
39931         (ctan_test): Likewise.
39932         (ctanh_test): Likewise.
39933         (exp_test): Likewise.
39934         (exp10_test): Likewise.
39935         (exp2_test): Likewise.
39936         (expm1_test): Likewise.
39937         (fma_test): Likewise.
39938         (j0_test): Likewise.
39939         (jn_test): Likewise.
39940         (nexttoward_test): Likewise.
39941         (pow_test): Likewise.
39942         (scalbn_test): Likewise.
39943         (scalbln_test): Likewise.
39944         (tan_test): Likewise.
39945         (y1_test): Likewise.
39946         * sysdeps/i386/fpu/libm-test-ulps: Update.
39947         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39948
39949 2012-05-23  David S. Miller  <davem@davemloft.net>
39950
39951         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
39952         (__libc_sigaction): Remove unused local variables.
39953
39954 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
39955
39956         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
39957
39958 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
39959
39960         mktime: avoid signed integer overflow
39961         * time/mktime.c (__mktime_internal): Do not mishandle the case
39962         where diff == INT_MIN.
39963
39964         mktime: simplify computation of average
39965         * time/mktime.c (ranged_convert): Use new time_t_avg function
39966         instead of rolling our own (probably-slower) code.
39967
39968         mktime: do not assume signed right shift propagates sign bit
39969         * time/mktime.c (isdst_differ): New static function.
39970         (__mktime_internal): No need to normalize tm_isdst now.
39971         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
39972         tm_isdst values.
39973
39974         mktime: merge another wrapv change from gnulib
39975         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
39976         from some compilers.
39977
39978         mktime: remove incorrect attempt at unusual arithmetics
39979         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
39980         The code didn't really work on such machines anyway.
39981         (TYPE_MINIMUM): Assume two's complement.
39982         (twos_complement_arithmetic): Verify that long_int and time_t
39983         are two's complement (or unsigned, in the latter case).
39984
39985         mktime: check signed shifts on long_int and time_t, too
39986         * time/mktime.c (SHR): Check that shifts work as desired
39987         on the types long_int and time_t too, as SHR is used on
39988         such types.
39989
39990         mktime: do not assume 'long' is wide enough
39991         * time/mktime.c (verify): Move decl up.
39992         (long_int): New type.
39993         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
39994         to remove assumption in the code that 'long' is wide enough to
39995         store year values.  This assumption is not true on x32 and on
39996         some non-glibc platforms.
39997
39998         mktime: merge wrapv change from gnulib
39999         * time/mktime.c (WRAPV): New macro.
40000         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
40001         (guess_time_tm, __mktime_internal): Do not assume that signed
40002         integer overflow wraps around; modern compilers generate code
40003         where this assumption is no longer valid.
40004
40005 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
40006
40007         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
40008         Replace "jmp L(pseudo_end)" with "ret".
40009         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
40010         Likewise.
40011
40012 2012-05-23  Andreas Jaeger  <aj@suse.de>
40013
40014         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
40015         * sysdeps/unix/sysv/linux/poll.c: Remove file.
40016
40017 2012-05-23  Andreas Jaeger  <aj@suse.de>
40018             Maximilian Attems  <max@stro.at>
40019
40020         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
40021         New macros.
40022
40023 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
40024
40025         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
40026         code so that pseudo_end is just ret and the stack pointer is
40027         correct also for static library in error case.
40028
40029 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
40030
40031         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
40032         move to syscalls.list.
40033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
40034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
40035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
40036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
40037
40038         * manual/install.texi (Running make install): Do not mention Linux
40039         kernel version for which pt_chown is not needed.
40040         (Linux): Do not mention problems with nscd with 2.0 kernels.
40041         * INSTALL: Regenerated.
40042
40043 2012-05-23  Andreas Jaeger  <aj@suse.de>
40044
40045         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
40046         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
40047         macro.
40048         * sysdeps/unix/sysv/linux/s390/bits/mman.h
40049         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40050         * sysdeps/unix/sysv/linux/sh/bits/mman.h
40051         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40052         * sysdeps/unix/sysv/linux/i386/bits/mman.h
40053         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40054         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
40055         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40056         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
40057         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40058         * sysdeps/unix/sysv/linux/bits/in.h
40059         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
40060
40061 2012-05-22  Roland McGrath  <roland@hack.frob.com>
40062
40063         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
40064         (PREPARE_VERSION): Just use assert instead, it will be elided
40065         under [NDEBUG] anyway.
40066
40067 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
40068
40069         * sysdeps/unix/sysv/linux/Makefile: Include
40070         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
40071         (sysdep_routines): Remove sysctl.
40072         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
40073         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
40074         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
40075         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
40076         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
40077
40078 2012-05-22  Andreas Jaeger  <aj@suse.de>
40079
40080         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
40081         that pseudo_end is just ret and the stack pointer is correct also
40082         for static library in error case.
40083
40084 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
40085
40086         [BZ #14122]
40087         * nss/nsswitch.c (defconfig_entries): New variable.
40088         (__nss_database_lookup): Don't leak defconfig entries.
40089         (nss_parse_service_list): Don't leak on error paths.
40090         (free_database_entries): New function.
40091         (free_defconfig): New function.
40092         (free_mem): Move common code to free_database_entries.
40093
40094 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
40095
40096         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
40097         Add arch_prctl.
40098         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
40099
40100         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
40101         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
40102         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
40103         New macro.
40104         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
40105         (INTERNAL_SYSCALL_TYPES): Likewise.
40106         (LOAD_ARGS_TYPES_[1-6]): Likewise.
40107         (LOAD_REGS_TYPES_[1-6]): Likewise.
40108         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
40109         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
40110
40111 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40112
40113         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
40114         copysignl for GLIBC_2_0.
40115         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
40116         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
40117         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
40118         logbl for GLIBC_2_0.
40119         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
40120         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
40121
40122 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
40123
40124         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
40125         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
40126
40127         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
40128         Use "neg %eax".
40129
40130         * time/mktime.c: Update copyright years.
40131
40132 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
40133
40134         mktime: merge comment-quoting-style change from gnulib
40135         * time/mktime.c: Quote 'like this' in comments.
40136         The GNU coding standards suggest that we no longer quote `like this',
40137         as "`" and "'" are typically rendered asymmetrically nowadays.
40138         The typical gnulib style is to quote 'like this' when quoting
40139         code, and "like this" when quoting English.
40140
40141         * time/mktime.c (compile-command): Add "-I.".
40142
40143         mktime: merge mktime-internal.h change from gnulib
40144         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
40145
40146         mktime: merge time_r change from gnulib
40147         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
40148
40149         mktime: merge DEBUG change from gnulib
40150         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
40151         case system <time.h> has a #define.
40152
40153         mktime: merge <sys/types.h> change from gnulib
40154         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
40155         since <time.t> is now guaranteed to define time_t.
40156
40157         mktime: merge HAVE_CONFIG_H change from gnulib
40158         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
40159
40160 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
40161
40162         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
40163         Use "neg %eax".
40164
40165         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
40166         __rlim_t cast.
40167         (struct rusage): Use anonymous union to pad each field to
40168         __syscall_slong_t.
40169
40170 2012-05-21  David S. Miller  <davem@davemloft.net>
40171
40172         * Makefules (o-iterator): Remove .s cases.
40173         (compile-command.s): Delete.
40174         (COMPILE.s): Delete.
40175         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
40176
40177 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
40178
40179         * configure.in (libc_cv_predef_stack_protector): Only consider
40180         "foobar" and "__stack_chk_fail" lines in libc_undefs.
40181         * configure: Regenerated.
40182
40183 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
40184
40185         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
40186         New macro.  Use R*LP on int and pointer.
40187         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
40188         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
40189         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
40190         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
40191
40192         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
40193         [__WORDSIZE_TIME64_COMPAT32] instead of
40194         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
40195         (struct utmp): Likewise.
40196         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
40197         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
40198         Renamed to ...
40199         (__WORDSIZE_TIME64_COMPAT32): This.
40200         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
40201         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
40202         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
40203         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
40204         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
40205         (__WORDSIZE_TIME64_COMPAT32): New macro.
40206
40207 2012-05-21  Andreas Jaeger  <aj@suse.de>
40208
40209         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
40210         only if [SHARED]. Add prototype for __wcschr_ia32.
40211
40212 2012-05-21  Roland McGrath  <roland@hack.frob.com>
40213
40214         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
40215         of %rbp unmolested in the jmp_buf while mangling the low bits.
40216         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
40217         unmolested high bits of %rbp while demangling the low bits.
40218         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
40219
40220 2012-05-21  Andreas Jaeger  <aj@suse.de>
40221
40222         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
40223         * sunrpc/svc_simple.c: Use it for registerrpc.
40224         * sunrpc/xcrypt.c: Use it for passwd2des.
40225
40226         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
40227
40228 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
40229
40230         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
40231         Don't define if [__SYSCALL_WORDSIZE != 32].
40232         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
40233         New macro.
40234
40235 2012-05-21  Bruno Haible  <bruno@clisp.org>
40236             Andreas Jaeger  <aj@suse.de>
40237
40238         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
40239         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
40240         inptr and inend for must_buffer_ch.
40241         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
40242         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
40243         * stdio-common/Makefile (tests): Remove bug15.
40244         (bug15-ENV): Remove macro.
40245         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
40246         anymore.
40247
40248 2012-05-19  Andreas Jaeger  <aj@suse.de>
40249             Roland McGrath  <roland@hack.frob.com>
40250
40251         * manual/contrib.texi: Completely rewritten. It contains now an
40252         alphabetical list of contributors and their contributions.
40253
40254 2012-05-21  Richard Henderson  <rth@twiddle.net>
40255
40256         * misc/getauxval.c (__getauxval): Use unsigned long int.
40257         * misc/sys/auxv.h: Include <sys/cdefs.h>.
40258         (getauxval): Use unsigned long int.
40259
40260 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
40261
40262         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
40263
40264 2012-05-21  Roland McGrath  <roland@hack.frob.com>
40265
40266         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
40267         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
40268         __alignof__ (long double).
40269
40270 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40271
40272         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40273
40274 2012-05-20  Richard Henderson  <rth@twiddle.net>
40275
40276         * misc/getauxval.c: New file.
40277         * misc/sys/auxv.h: New file.
40278         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
40279         (routines): Add getauxval.
40280         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
40281         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
40282         * elf/dl-sysdep.c (_dl_auxv): Remove.
40283         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
40284         * elf/dl-support.c (_dl_auxv): New variable.
40285         (_dl_aux_init): Initialize it.
40286         * manual/startup.texi (Auxiliary Vector): New node.
40287         * sysdeps/generic/bits/hwcap.h: New file.
40288         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
40289         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
40290         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
40291         * sysdeps/sparc/sysdep.h: ... here.  Include it.
40292         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
40293         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
40294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40295         Update.
40296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
40297         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
40298         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
40299         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
40300         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
40301         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
40302         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
40303         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
40304
40305 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40306
40307         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40308
40309 2012-05-19  David S. Miller  <davem@davemloft.net>
40310
40311         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40312
40313 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
40314
40315         [BZ #14123]
40316         * math/s_ccosh.c: Include <float.h>
40317         (__ccosh): Avoid internal overflow calculating sinh and cosh
40318         values before multiplying by sin and cos values.
40319         * math/s_ccoshf.c: Likewise.
40320         * math/s_ccoshl.c: Likewise.
40321         * math/s_csin.c: Likewise.
40322         * math/s_csinf.c: Likewise.
40323         * math/s_csinl.c: Likewise.
40324         * math/s_csinh.c: Likewise.
40325         * math/s_csinhf.c: Likewise.
40326         * math/s_csinhl.c: Likewise.
40327         * math/libm-test.inc (ccos_test): Add more tests.
40328         (ccosh_test): Likewise.
40329         (csin_test): Likewise.
40330         (csinh_test): Likewise.
40331         * sysdeps/i386/fpu/libm-test-ulps: Update.
40332         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40333
40334 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
40335
40336         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
40337         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
40338
40339         * sysdeps/x86_64/x32/_itoa.h: Add comment.
40340
40341 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
40342
40343         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
40344         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
40345         * sysdeps/powerpc/soft-fp/Versions: Likewise.
40346         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
40347         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
40348         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
40349         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
40350         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
40351         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
40352         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
40353         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
40354         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
40355         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
40356         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
40357         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
40358         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
40359         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
40360         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
40361         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
40362         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
40363         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
40364         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
40365         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
40366         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
40367         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
40368         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
40369         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
40370         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
40371         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
40372         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
40373         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
40374
40375 2012-05-18  Andreas Jaeger  <aj@suse.de>
40376
40377         * csu/.gitignore: Delete.
40378
40379 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
40380
40381         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
40382         (timex): Use __syscall_slong_t.
40383
40384 2012-05-18  Andreas Jaeger  <aj@suse.de>
40385             Carlos O'Donell  <carlos_odonell@mentor.com>
40386
40387         * manual/install.texi (Configuring and compiling): Update
40388         description about files modified in the source directory.
40389         * INSTALL: Regenerated.
40390
40391 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
40392
40393         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
40394         value.  Use "or" to set return value to -1.
40395         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
40396         negate return value.
40397
40398 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
40399
40400         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
40401         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
40402         failure if the compiler has Graphite support disabled.
40403         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
40404         Likewise.
40405         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
40406         (CFLAGS-memmove.c): Likewise.
40407         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
40408         Likewise.
40409
40410 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
40411
40412         * sysdeps/x86_64/x32/_itoa.h: New file.
40413
40414         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
40415         getdents system call only if kernel and user dirents have the
40416         same d_ino and d_off.
40417
40418         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
40419         LLONG_MAX != LONG_MAX.
40420         (_itoa_word): Use _ITOA_WORD_TYPE on value.
40421         (_fitoa_word): Likewise.
40422
40423         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
40424         years.
40425         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
40426         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
40427         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
40428
40429         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
40430         include <bits/wordsize.h>.  Check __x86_64__ instead of
40431         __WORDSIZE.
40432         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
40433         if __x86_64__ is defined.  Use anonymous union on fpstate.
40434
40435         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
40436         anonymous union.
40437
40438 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
40439
40440         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
40441         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
40442         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
40443         Refer to _rtld_local_ro instead of _rtld_global_ro.
40444         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
40445         Likewise.
40446         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
40447         Likewise.
40448         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
40449         Likewise.
40450         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
40451         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
40452         of _rtld_global, and rtld_progname instead of _dl_argv[0].
40453
40454         * sysdeps/powerpc/powerpc32/dl-machine.c
40455         (__elf_machine_runtime_setup) [PROF]: Don't reference
40456         _dl_prof_resolve.
40457
40458 2012-05-18  Andreas Jaeger  <aj@suse.de>
40459
40460         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
40461         function only available for GCCs before 3.4 since GCC 3.4
40462         introduced a builtin.
40463         (lrint): Likewise.
40464         (llrintf): Likewise.
40465         (llrint): Likewise.
40466         (fmaxf): Likewise.
40467         (fmax): Likewise.
40468         (fminf): Likewise.
40469         (fmin): Likewise.
40470         (rint): Likewise.
40471         (rintf): Likewise.
40472         (nearbyint): Likewise.
40473         (nearbyintf): Likewise.
40474         (ceil): Likewise.
40475         (ceilf): Likewise.
40476         (floor): Likewise.
40477         (floorf): Likewise.
40478
40479 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
40480
40481         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
40482         on both fields and cast pointer to __syscall_ulong_t.
40483
40484         * bits/types.h (__fsword_t): New type.
40485         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
40486         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
40487         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40488         (__FSWORD_T_TYPE): Likewise.
40489         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40490         (__FSWORD_T_TYPE): Likewise.
40491         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40492         (__FSWORD_T_TYPE): Likewise.
40493         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
40494         (__FSWORD_T_TYPE): Likewise.
40495         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
40496         __SWORD_TYPE with __fsword_t.
40497         (statfs64): Likewise.
40498
40499 2012-05-17  David S. Miller  <davem@davemloft.net>
40500
40501         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
40502
40503 2012-05-17  Andreas Jaeger  <aj@suse.de>
40504
40505         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
40506         warning.
40507
40508 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
40509
40510         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
40511
40512 2012-05-17  Andreas Jaeger  <aj@suse.de>
40513
40514         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
40515         when it is used.
40516
40517 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
40518
40519         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
40520
40521 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
40522
40523         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
40524         * sysdeps/x86_64/tst-mallocalign1.c: New file.
40525
40526 2012-05-17  Andreas Jaeger  <aj@suse.de>
40527             Carlos O'Donell  <carlos_odonell@mentor.com>
40528
40529         [BZ #14059]
40530         * sysdeps/x86_64/multiarch/init-arch.h
40531         (bit_YMM_Usable): Rename to...
40532         (bit_AVX_Usable): ... this.
40533         (bit_FMA4_Usable): New macro.
40534         (bit_XMM_state): New macro.
40535         (bit_YMM_state): New macro.
40536         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
40537         [__ASSEMBLER__] (index_AVX_Usable): ... this.
40538         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
40539         (CPUID_OSXSAVE): New macro.
40540         (CPUID_AVX): New macro.
40541         (CPUID_FMA4): New macro.
40542         (index_YMM_Usable): Rename to...
40543         (index_AVX_Usable): ... this.
40544         (HAS_AVX): Use HAS_ARCH_FEATURE.
40545         (HAS_FMA4): Likewise.
40546         (HAS_YMM_USABLE): Remove.
40547         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40548         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
40549         are present.
40550         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
40551         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
40552         * sysdeps/x86_64/multiarch/Makefile: Likewise.
40553         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
40554         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
40555
40556 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
40557
40558         * math/libm-test.c: Support platforms without multiple rounding modes.
40559         * math/bug-nextafter.c: Support platforms without FP exceptions.
40560         * math/bug-nexttoward.c: Likewise.
40561         * math/test-fenv.c: Likewise.
40562         * math/test-misc.c: Likewise.
40563         * stdlib/bug-getcontext.c: Likewise.
40564
40565 2012-05-17  Andreas Jaeger  <aj@suse.de>
40566
40567         * manual/examples/search.c (critter_cmp): Change signature to
40568         avoid warnings.
40569         * manual/string.texi (Collation Functions): Likewise.
40570
40571 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
40572
40573         * bits/types.h: Fold copyright years.
40574         * bits/typesizes.h: Likewise.
40575         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
40576         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
40577         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
40578         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
40579         * time/time.h: Likewise.
40580
40581 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
40582
40583         [BZ #208]
40584         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
40585         in instead of returning them.  Return void.
40586         (__libc_mallinfo): Accumulate over all arenas.
40587         (__malloc_stats): Adjust for change in int_mallinfo interface.
40588
40589 2012-05-16  Roland McGrath  <roland@hack.frob.com>
40590
40591         [BZ #10375]
40592         * configure.in (NM): Add AC_CHECK_TOOL for it.
40593         (libc_extra_cflags): New substituted variable.
40594         Check for -fstack-protector being used implicitly.
40595         * configure: Regenerated.
40596         * config.make.in (config-extra-cflags): New variable,
40597         gets @libc_extra_cflags@.
40598         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
40599
40600         [BZ #10375]
40601         * configure.in: Check for _FORTIFY_SOURCE being predefined.
40602         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
40603         * configure: Regenerated.
40604         * config.make.in (CPPUNDEFS): New substituted variable.
40605         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
40606         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
40607         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
40608
40609 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
40610
40611         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
40612         (mq_attr): Use __syscall_slong_t.
40613
40614 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
40615
40616         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
40617         Check __x86_64__ instead of __WORDSIZE.
40618         (_STAT_VER_LINUX): Likewise.
40619         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
40620         __syscall_ulong_t and __syscall_slong_t.
40621         (stat64): Likewise.
40622
40623 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
40624
40625         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
40626
40627 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
40628
40629         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
40630
40631 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
40632
40633         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
40634         __syscall_ulong_t.
40635
40636         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
40637         include <bits/wordsize.h>.  Check __x86_64__ instead of
40638         __WORDSIZE.
40639         (greg_t): Use "__extension__ long long int" if __x86_64__ is
40640         defined.
40641         (mcontext_t): Replace "unsigned long" with "unsigned long long".
40642
40643         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
40644         include <bits/wordsize.h>.  Check __x86_64__ instead of
40645         __WORDSIZE.
40646         (user_regs_struct): Use "__extension__ unsigned long long"
40647         instead of "unsigned long" if __x86_64__ is defined.
40648         (user): Likewise.  Pad after pointer field if __ILP32__ is
40649         defined.
40650
40651 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
40652
40653         * configure.in (makeinfo): Require version 4.5 or later.  Allow
40654         versions 5 to 9.
40655         * configure: Regenerated.
40656         * manual/install.texi (texinfo): Increase version requirement to
40657         4.5 or later.
40658         * INSTALL: Regenerated.
40659
40660         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
40661
40662 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
40663
40664         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
40665
40666         * sysdeps/x86_64/x32/ffs.c: New file.
40667
40668         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
40669         __syscall_ulong_t.
40670         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
40671         defined.  Use __syscall_ulong_t.
40672         (shminfo): Use __syscall_ulong_t.
40673         (shm_info): Likewise.
40674
40675         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
40676         __syscall_ulong_t.
40677
40678         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
40679         <bits/wordsize.h>.
40680         (msgqnum_t): Use __syscall_ulong_t.
40681         (msglen_t): Likewise.
40682         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
40683         __syscall_ulong_t.
40684
40685         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
40686         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
40687
40688         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
40689
40690         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
40691         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
40692
40693         * sysvipc/sys/msg.h (msgbuf): Replace long int with
40694         __syscall_slong_t.
40695
40696         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
40697         include <bits/wordsize.h>.  Check __x86_64__ instead of
40698         __WORDSIZE.
40699
40700         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
40701         "unsigned long long int" if __x86_64__ is defined.
40702         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
40703
40704         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
40705         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
40706         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
40707
40708         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
40709         <stdint.h>.
40710         (GET_PC): Cast to uintptr_t first.
40711         (GET_FRAME): Likewise.
40712         (GET_STACK): Likewise.
40713
40714         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
40715         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
40716         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
40717         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
40718         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
40719         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
40720         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
40721         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
40722         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
40723         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
40724         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
40725         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
40726         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
40727         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
40728         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
40729         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
40730         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
40731         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
40732         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
40733         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
40734         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
40735         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
40736         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
40737         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
40738         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
40739         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
40740         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
40741         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
40742         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
40743
40744 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
40745
40746         * Makerules (+depfiles): Also collect depfiles from .oS in
40747         $(extra-objs).
40748         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
40749         .oS, $(libnldbl-routines)).
40750
40751         * Makerules (native-compile-mkdep-flags): Define.
40752         * sunrpc/Makefile (extra-objs): Add $(addprefix
40753         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
40754         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
40755         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
40756         calling $(make-target-directory).
40757
40758 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40759
40760         * bits/types.h (__snseconds_t): Removed.
40761         * time/time.h (struct timespec): Replace __snseconds_t with
40762         __syscall_slong_t.
40763         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
40764         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
40765         Likewise.
40766         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40767         (__SNSECONDS_T_TYPE): Likewise.
40768         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40769         (__SNSECONDS_T_TYPE): Likewise.
40770         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40771         (__SNSECONDS_T_TYPE): Likewise.
40772
40773 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40774
40775         * sysdeps/mach/hurd/bits/typesizes.h
40776         (__SYSCALL_SLONG_TYPE): New macro.
40777         (__SYSCALL_ULONG_TYPE): Likewise.
40778
40779 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40780
40781         * bits/types.h (__syscall_slong_t): New type.
40782         (__syscall_ulong_t): Likewise.
40783
40784         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
40785         (__SYSCALL_ULONG_TYPE): Likewise.
40786         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40787         (__SYSCALL_SLONG_TYPE): Likewise.
40788         (__SYSCALL_ULONG_TYPE): Likewise.
40789         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40790         (__SYSCALL_SLONG_TYPE): Likewise.
40791         (__SYSCALL_ULONG_TYPE): Likewise.
40792         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40793         (__SYSCALL_SLONG_TYPE): Likewise.
40794         (__SYSCALL_ULONG_TYPE): Likewise.
40795
40796 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40797
40798         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
40799         Add sigaltstack-offsets.sym.
40800         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
40801         <sigaltstack-offsets.h>.
40802         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
40803         longjmp_msg pointer.
40804         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
40805         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
40806         signal stack.
40807         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
40808
40809 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
40810
40811         * elf/stackguard-macros.h: Remove file.
40812         * sysdeps/generic/stackguard-macros.h: New file.
40813         * sysdeps/i386/stackguard-macros.h: Likewise.
40814         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
40815         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
40816         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
40817         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
40818         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
40819         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
40820         * sysdeps/x86_64/stackguard-macros.h: Likewise.
40821         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
40822         <elf/stackguard-macros.h>.
40823
40824         [BZ #14109]
40825         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
40826         __aligned__ in attribute.
40827         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
40828         (gregset_t): Likewise.
40829
40830 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40831
40832         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
40833         * sysdeps/x86_64/64/Implies-after: Here.  New file.
40834         * sysdeps/x86_64/x32/Implies-after: New file.
40835
40836 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40837
40838         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
40839         and access return value for _dl_profile_fixup.  Use R10_LP to
40840         load frame size.
40841
40842 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40843
40844         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
40845
40846 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40847
40848         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
40849         * sysdeps/x86_64/x32/sysdep.h: New file.
40850
40851 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40852
40853         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
40854         * sysdeps/x86_64/setjmp.S: Likewise.
40855
40856 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40857
40858         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
40859         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
40860         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
40861         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
40862         remove unused global constant.
40863
40864 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
40865
40866         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
40867         include of <not-cancel.h>.
40868
40869 2012-05-15  Roland McGrath  <roland@hack.frob.com>
40870
40871         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
40872
40873 2012-05-15  Jeff Law  <law@redhat.com>
40874             Andreas Jaeger  <aj@suse.de>
40875
40876         [BZ #13594]
40877         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
40878         out from...
40879         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
40880         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
40881         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
40882         code changing __hst_map_handle.map.
40883
40884 2012-05-15  Roland McGrath  <roland@hack.frob.com>
40885
40886         * configure.in (sysnames): Look for Implies-before and Implies-after
40887         files.
40888         * configure: Regenerated.
40889
40890 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40891
40892         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
40893         8-byte data alignment with LP_SIZE alignment.
40894
40895 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40896
40897         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
40898         into R10_LP.
40899
40900 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40901
40902         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
40903
40904 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40905
40906         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
40907         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
40908         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
40909         Likewise.
40910         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
40911
40912 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40913
40914         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
40915         (stackinfo_sub_sp): Likewise.
40916
40917 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40918
40919         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
40920         RAX_LP.
40921
40922 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40923
40924         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
40925         into R*_LP.
40926
40927 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40928
40929         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
40930         sizes into R*_LP.
40931
40932 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40933
40934         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
40935
40936 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40937
40938         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
40939         into R11_LP and load __x86_64_shared_cache_size_half into
40940         R8_LP.
40941
40942 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40943
40944         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
40945         R8_LP.
40946
40947 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40948
40949         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
40950         logb for POWER7.
40951         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
40952         logbf for POWER7.
40953         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
40954         logbl for POWER7.
40955         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
40956         powerpc32/power7/fpu/s_logb.c via #include.
40957         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
40958         powerpc32/power7/fpu/s_logbf.c via #include.
40959         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
40960         powerpc32/power7/fpu/s_logbl.c via #include.
40961
40962 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
40963
40964         * README.libm: Remove file.
40965
40966 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40967
40968         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
40969         count for x32.  Use R*_LP and omit operand-size suffix.
40970
40971 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40972
40973         * shlib-versions: Move x86_64-.*-linux.* entries to ...
40974         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
40975         * sysdeps/x86_64/x32/shlib-versions: New file.
40976
40977 2012-05-14  Roland McGrath  <roland@hack.frob.com>
40978
40979         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
40980         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
40981         Use _dl_fatal_printf instead.
40982
40983 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
40984
40985         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
40986         set if not set by the user.  Do not allow for being unset.
40987         * sysdeps/unix/sysv/linux/configure: Regenerated.
40988
40989 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40990
40991         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
40992         the `q' suffix from lea and replace .quad with ASM_ADDR.
40993
40994 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40995
40996         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
40997         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
40998         instead of $17.
40999         (PTR_DEMANGLE): Likewise.
41000
41001 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
41002
41003         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
41004         (LP_OP): Likewise.
41005         (ASM_ADDR): Likewise.
41006         (RAX_LP): Likewise.
41007         (RBP_LP): Likewise.
41008         (RBX_LP): Likewise.
41009         (RCX_LP): Likewise.
41010         (RDI_LP): Likewise.
41011         (RSI_LP): Likewise.
41012         (RSP_LP): Likewise.
41013         (R8_LP): Likewise.
41014         (R9_LP): Likewise.
41015         (R10_LP): Likewise.
41016         (R10_LP): Likewise.
41017         (R11_LP): Likewise.
41018         (R12_LP): Likewise.
41019         (R13_LP): Likewise.
41020         (R14_LP): Likewise.
41021         (R15_LP): Likewise.
41022
41023 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
41024
41025         * sysdeps/x86_64/x32/dl-machine.h: New file.
41026
41027 2012-05-14  Andreas Jaeger  <aj@suse.de>
41028
41029         * manual/Makefile (subdir): Remove export of subdir.
41030         (all): Remove target.
41031         (.PHONY): Remove all from list.
41032         (mkinstalldirs): Remove.
41033         (.PHONY): Remove installdirs from list.
41034         ($(inst_infodir)/libc.info): Use make-target-directory.
41035         (installdirs): Remove.
41036         (subdir_%): Remove.
41037         (glibc-targets): Remove.
41038         (lib): Remove.
41039         (stubs): Remove.
41040         ($(objpfx)stubs ../po/manual.pot): Remove.
41041         ($(objpfx)stamp%): Remove.
41042         (make-target-directory): Remove.
41043         (subdir_install): Remove.
41044         (routines): Remove.
41045         (aux): Remove.
41046         (sources): Remove.
41047         (objects): Remove.
41048         (headers): Remove.
41049
41050         [BZ #13750]
41051         * manual/.gitignore: Remove, it's not needed anymore.
41052         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
41053         all files in it.
41054         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
41055         directory.
41056         (texis): Renamed to $(objpfx)texis.
41057         (texis-path): New, contains path to generated files.
41058         (chapters.%): Use texis-path for complete path, add extra argument
41059         libc-texinfo.sh.
41060         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
41061         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
41062         (summary,texi, stamp-summary): Use complete path of
41063         files. Generate files in build dir.
41064         (dir-add.texi): Build in build dir.
41065         (libm-err.texi,stamp-libm-err): Likewise.
41066         (version.texi, stamp-version): Likewise.
41067         (.%c.texi): Likewise.
41068         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
41069         (mostlyclean): Remove target.
41070         (realclean): Remove target.
41071         (generated): Add new variable with contents from mostlyclean and
41072         realclean, remove entries duplicated in common-mostlyclean, add
41073         stamp-libm-err and stamp-version.
41074         (generated-dirs): Add libc directory.
41075         ($(inst_infodir)/libc.info): Install files from build dir.
41076
41077         * manual/install.texi (Configuring and compiling): Adjust since
41078         the info files are not part of the tar ball anymore.
41079
41080 2012-05-14  Andreas Jaeger  <aj@suse.de>
41081
41082         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
41083         variable.
41084
41085 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
41086
41087         [BZ #13717]
41088         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
41089         to 2.2.0 where earlier.
41090         * sysdeps/unix/sysv/linux/configure: Regenerated.
41091         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
41092         Remove conditional code.
41093         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
41094         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
41095         Remove conditional code.
41096         [!__NR_lchown]: Likewise.
41097         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
41098         [__NR_lchown]: Likewise.
41099         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
41100         comment referencing __ASSUME_LCHOWN_SYSCALL.
41101         * sysdeps/unix/sysv/linux/i386/sigaction.c
41102         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41103         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41104         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
41105         Remove conditional code.
41106         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
41107         (__protocol_available): Remove #if 0 code.
41108         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
41109         conditional code.
41110         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
41111         * sysdeps/unix/sysv/linux/kernel-features.h
41112         (__ASSUME_GETCWD_SYSCALL): Don't define.
41113         (__ASSUME_REALTIME_SIGNALS): Likewise.
41114         (__ASSUME_PREAD_SYSCALL): Likewise.
41115         (__ASSUME_PWRITE_SYSCALL): Likewise.
41116         (__ASSUME_POLL_SYSCALL): Likewise.
41117         (__ASSUME_LCHOWN_SYSCALL): Likewise.
41118         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
41119         non-SPARC.
41120         (__ASSUME_SIOCGIFNAME): Don't define.
41121         (__ASSUME_MSG_NOSIGNAL): Likewise.
41122         (__ASSUME_SENDFILE): Define unconditionally.
41123         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
41124         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
41125         conditional code.
41126         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
41127         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
41128         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
41129         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
41130         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
41131         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
41132         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
41133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
41134         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41135         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
41137         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41138         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
41140         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41141         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
41143         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41144         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
41146         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41147         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
41149         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41150         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
41152         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41153         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
41155         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41156         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41157         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
41158         Remove conditional code.
41159         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41160         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
41161         Remove conditional code.
41162         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41163         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
41164         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
41165         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
41166         Remove conditional code.
41167         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41168         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
41169         Remove conditional code.
41170         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41171         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
41172         Remove conditional code.
41173         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41174         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
41175         Remove conditional code.
41176         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41177         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
41178         Remove conditional code.
41179         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41180         * sysdeps/unix/sysv/linux/sh/pwrite64.c
41181         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41182         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41183         * sysdeps/unix/sysv/linux/sigaction.c
41184         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41185         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41186         * sysdeps/unix/sysv/linux/sigpending.c
41187         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41188         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41189         * sysdeps/unix/sysv/linux/sigprocmask.c
41190         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41191         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41192         * sysdeps/unix/sysv/linux/sigsuspend.c
41193         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41194         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41195         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
41196         (__libc_missing_rt_sigs): Remove.
41197         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
41198         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
41199         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
41200         Remove conditional code.
41201         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
41202         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
41203         return 1.
41204         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
41205         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
41206         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
41207         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
41208
41209 2012-05-14  Andreas Jaeger  <aj@suse.de>
41210
41211         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
41212         it's not used in glibc.
41213         (__coshm1): Likewise.
41214         (__acosh1p): Likewise.
41215         (__sgn): Likewise.
41216
41217         * manual/string.texi (Copying and Concatenation): Add missing
41218         variable in concat example.
41219         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
41220
41221 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
41222
41223         [BZ #14103]
41224         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
41225         __builtin_clzl with __builtin_clzll.
41226
41227 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
41228
41229         [BZ #14104]
41230         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
41231         libc_freeres_ptr.
41232
41233 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41234
41235         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
41236         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
41237         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
41238         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
41239
41240 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
41241
41242         * NEWS: Update ia64 info.
41243
41244 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
41245
41246         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
41247         used as bcopy.
41248
41249 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
41250
41251         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
41252         * sysdeps/unix/syscalls.list (dup3): Likewise.
41253         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
41254         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
41255
41256 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
41257
41258         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
41259         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
41260
41261 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
41262
41263         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
41264         thread pointer.
41265         (TLS_IE): Use mov/add instead of movq/addq to load thread
41266         pointer.
41267         (TLS_GD_PREFIX): New.
41268         (TLS_GD): Use it.
41269
41270 2012-05-11  David S. Miller  <davem@davemloft.net>
41271
41272         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
41273         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
41274         (_FPU_SETCW): Likewise.
41275
41276 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
41277
41278         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
41279         is 32-byte aligned.
41280
41281 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
41282
41283         [BZ #11837]
41284         * iconvdata/gb18030.c: Update tables.
41285         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
41286         characters specially.
41287         (BODY for TO_LOOP): Add encoding of missing ranges.
41288
41289 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
41290
41291         [BZ #13673]
41292         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
41293         * sysdeps/mach/hurd/dup3.c: Likewise.
41294         * sysdeps/mach/hurd/readlinkat.c: Likewise.
41295         * sysdeps/powerpc/memmove.c:: Likewise.
41296
41297 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
41298
41299         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
41300         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
41301
41302 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
41303
41304         * elf/elf.h (R_X86_64_RELATIVE64): New.
41305         (R_X86_64_NUM): Updated.
41306         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
41307         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
41308         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
41309         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
41310         tst-quad1pie tst-quad2pie
41311         (modules-names): Add tst-quadmod1 tst-quadmod2.
41312         ($(objpfx)tst-quad1): New dependency.
41313         ($(objpfx)tst-quad2): Likewise.
41314         ($(objpfx)tst-quad1pie): Likewise.
41315         ($(objpfx)tst-quad2pie): Likewise.
41316         * sysdeps/x86_64/tst-quad1.c: New file.
41317         * sysdeps/x86_64/tst-quad1pie.c: New file.
41318         * sysdeps/x86_64/tst-quad2.c: Likewise.
41319         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
41320         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
41321         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
41322         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
41323         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
41324
41325 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41326
41327         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
41328         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
41329         * streams/stropts.h (t_scalar_t): Define type.
41330
41331         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
41332         (_PATH_PRESERVE): Set to "/var/lib".
41333         (_PATH_RWHODIR): Set to "/var/spool/rwho".
41334
41335         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
41336         instead of int.
41337
41338         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
41339         if __dir_mkfile succeeded.
41340
41341         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
41342         checking for _hurd_dtablesize.  Unlock it right after having
41343         finished _hurd_dtable allocation.
41344
41345 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
41346
41347         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
41348         * sysdeps/mach/hurd/configure: Regenerated.
41349         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
41350         special-casing to...
41351         * sysdeps/gnu/configure.in: ... this new file.
41352         * sysdeps/unix/sysv/linux/configure: Regenerated.
41353         * sysdeps/gnu/configure: New generated file.
41354
41355         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
41356         for Linux: use nsec instead of usec, as well as:
41357         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
41358         members of type struct timespec.
41359         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
41360         New macros.
41361         (struct stat64): Likewise.
41362         (_STATBUF_ST_NSEC): New macro.
41363         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
41364
41365         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
41366         __strtoul_internal rather than strtoul.
41367
41368 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
41369
41370         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
41371         and reject them.
41372
41373 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41374
41375         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
41376         which preserves existing values.
41377         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
41378
41379 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
41380
41381         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
41382         TIMEOUT values.  Return EINVAL for NFDS values either negative or
41383         greater than FD_SETSIZE.
41384
41385 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41386
41387         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
41388         allocated, call __vm_protect to finish enabling the existing space, and
41389         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
41390         allocate the remainder.
41391
41392 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
41393
41394         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
41395         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
41396
41397 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41398
41399         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
41400         sysdeps/mach/hurd/readlink.c.
41401
41402         * posix/tst-sysconf.c (posix_options): Only use
41403         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
41404         _POSIX_SYNCHRONIZED_IO when they are defined
41405         * sysdeps/mach/hurd/bits/posix_opt.h:
41406         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
41407         (_XOPEN_REALTIME): Undefine macro.
41408         (_XOPEN_REALTIME_THREADS): Undefine macro.
41409         (_XOPEN_SHM): Undefine macro.
41410         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
41411         macro to -1.
41412         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
41413         macro to -1.
41414         (_POSIX_ASYNC_IO): Undefine macro.
41415         (_POSIX_PRIORITIZED_IO): Undefine macro.
41416         (_POSIX_SPIN_LOCKS): Define macro to -1.
41417
41418         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
41419         SA_NODEFER, SA_RESETHAND.
41420         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
41421         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
41422         F_DUPFD_CLOEXEC.
41423
41424 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
41425
41426         * elf/Makefile (pldd-modules): Define unconditionally.
41427
41428 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
41429
41430         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
41431
41432 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41433
41434         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
41435         Return ENOENT when name is empty.
41436         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
41437
41438 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
41439
41440         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
41441
41442         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
41443
41444 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41445
41446         Fix mlock in all cases except non-readable pages.
41447         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
41448         instead of VM_PROT_ALL as parameter to __vm_wire function.
41449
41450         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
41451         (__mkdir): When path is `/', just fail with EEXIST.
41452         * sysdeps/mach/hurd/mkdirat.c: Likewise.
41453
41454 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
41455
41456         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
41457         <sys/uio.h> (for writev).
41458         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
41459         and <sys/param.h> (for MIN).
41460
41461 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
41462
41463         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
41464         REQUESTED_TIME.  Properly set the remaining time and return EINTR
41465         if interrupted.
41466
41467 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
41468
41469         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
41470         Depend on against $(link-rpcuserlibs).
41471
41472 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41473
41474         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
41475         (__libc_stack_end): Do not use attribute_relro.
41476         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
41477         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
41478         to libthread-provided value.
41479         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
41480         attribute_relro.
41481
41482 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
41483
41484         [BZ #3748]
41485         * bits/libc-lock.h (__libc_once_get): New macro.
41486         * sysdeps/mach/bits/libc-lock.h: Likewise.
41487         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
41488         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
41489         instead of using implementation details.
41490
41491         * libio/fileops.c: Unconditionally include <kernel-features.h>.
41492         * libio/freopen.c: Likewise.
41493         * libio/freopen64.c: Likewise.
41494         * misc/syslog.c: Likewise.
41495         * nscd/connections.c: Likewise.
41496         * nscd/netgroupcache.c: Likewise.
41497         * sysdeps/posix/getcwd.c: Likewise.
41498
41499 2012-05-10  Roland McGrath  <roland@hack.frob.com>
41500
41501         * math/w_ilogbf.c: Add #include <limits.h>.
41502
41503 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41504
41505         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
41506         path instead of returning without unlocking.
41507
41508         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
41509         immediate-write ioctls.
41510         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
41511
41512 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
41513
41514         * sysdeps/mach/hurd/i386/init-first.c (init): Use
41515         __builtin_frame_address instead of making assumptions about the
41516         location of the return address relative to DATA.  Force early load of
41517         the return address.
41518         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
41519         __builtin_frame_address.
41520
41521         dup3 for GNU Hurd.
41522         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
41523         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
41524         implement dup3 and do some further code clean-ups.
41525         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
41526         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
41527
41528 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41529
41530         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
41531
41532         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
41533         HURD_CRITICAL_END around holding _hurd_dtable_lock.
41534         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
41535         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
41536         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
41537         d->port.lock.
41538
41539         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
41540         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
41541         when handler == SIG_ERR, not when handler != SIG_ERR.
41542
41543 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
41544
41545         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
41546         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
41547         definitions.
41548
41549         accept4 for GNU Hurd.
41550         * include/sys/socket.h (__libc_accept4): New prototype.
41551         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
41552         to implement __libc_accept4.
41553         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
41554         __libc_accept4.
41555         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
41556
41557         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
41558         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
41559         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
41560         signal-defines.sym.
41561
41562 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41563
41564         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
41565
41566 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
41567
41568         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
41569         assertion on O_CLOEXEC flag.
41570         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
41571         * hurd/intern-fd.c: Likewise.
41572         * hurd/port2fd.c: Likewise.
41573
41574 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41575
41576         [BZ #3906]
41577         * bits/in.h (IPV6_PKTINFO): Define new macro.
41578         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
41579
41580 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41581
41582         [BZ #13954]
41583         [BZ #13955]
41584         [BZ #13956]
41585         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
41586         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
41587         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
41588         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
41589         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
41590         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
41591         * math/libm-test.inc (logb_test) : Additional logb tests.
41592
41593 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
41594             Andreas Jaeger  <aj@suse.de>
41595
41596         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
41597         * configure: Regenerated.
41598         * config.h.in (LINK_OBSOLETE_RPC): New macro.
41599         * config.make.in (link-obsolete-rpc): New substituted variable.
41600         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
41601         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
41602         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
41603         (shared-only-routines): Don't set it under [link-obsolete-rpc],
41604         so that libc.a contains the symbols.
41605         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
41606         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
41607         * sunrpc/auth_none.c: Likewise.
41608         * sunrpc/auth_unix.c: Likewise.
41609         * sunrpc/authdes_prot.c: Likewise.
41610         * sunrpc/authuxprot.c: Likewise.
41611         * sunrpc/clnt_gen.c: Likewise.
41612         * sunrpc/clnt_perr.c: Likewise.
41613         * sunrpc/clnt_raw.c: Likewise.
41614         * sunrpc/clnt_simp.c: Likewise.
41615         * sunrpc/clnt_tcp.c: Likewise.
41616         * sunrpc/clnt_udp.c: Likewise.
41617         * sunrpc/clnt_unix.c: Likewise.
41618         * sunrpc/des_crypt.c: Likewise.
41619         * sunrpc/des_soft.c: Likewise.
41620         * sunrpc/get_myaddr.c: Likewise.
41621         * sunrpc/key_call.c: Likewise.
41622         * sunrpc/key_prot.c: Likewise.
41623         * sunrpc/netname.c: Likewise.
41624         * sunrpc/pm_getmaps.c: Likewise.
41625         * sunrpc/pm_getport.c: Likewise.
41626         * sunrpc/pmap_clnt.c: Likewise.
41627         * sunrpc/pmap_prot.c: Likewise.
41628         * sunrpc/pmap_prot2.c: Likewise.
41629         * sunrpc/pmap_rmt.c: Likewise.
41630         * sunrpc/publickey.c: Likewise.
41631         * sunrpc/rpc_cmsg.c: Likewise.
41632         * sunrpc/rpc_common.c: Likewise.
41633         * sunrpc/rpc_dtable.c: Likewise.
41634         * sunrpc/rpc_prot.c: Likewise.
41635         * sunrpc/rpc_thread.c: Likewise.
41636         * sunrpc/rtime.c: Likewise.
41637         * sunrpc/svc.c: Likewise.
41638         * sunrpc/svc_auth.c: Likewise.
41639         * sunrpc/svc_raw.c: Likewise.
41640         * sunrpc/svc_run.c: Likewise.
41641         * sunrpc/svc_tcp.c: Likewise.
41642         * sunrpc/svc_udp.c: Likewise.
41643         * sunrpc/svc_unix.c: Likewise.
41644         * sunrpc/svcauth_des.c: Likewise.
41645         * sunrpc/xcrypt.c: Likewise.
41646         * sunrpc/xdr.c: Likewise.
41647         * sunrpc/xdr_array.c: Likewise.
41648         * sunrpc/xdr_float.c: Likewise.
41649         * sunrpc/xdr_intXX_t.c: Likewise.
41650         * sunrpc/xdr_mem.c: Likewise.
41651         * sunrpc/xdr_rec.c: Likewise.
41652         * sunrpc/xdr_ref.c: Likewise.
41653         * sunrpc/xdr_sizeof.c: Likewise.
41654         * sunrpc/xdr_stdio.c: Likewise.
41655
41656 2012-05-10  Roland McGrath  <roland@hack.frob.com>
41657
41658         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
41659         change.  Update copyright years.
41660
41661 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
41662
41663         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
41664
41665 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
41666             Joseph Myers  <joseph@codesourcery.com>
41667             Paul Pluzhnikov  <ppluzhnikov@google.com>
41668
41669         [BZ #14012]
41670         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
41671         requiring rpcgen.
41672         [cross-compiling] (extra-libs): Likewise.
41673         [cross-compiling] (extra-libs-others): Likewise.
41674         [cross-compiling] (librpcsvc-routines): Likewise.
41675         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
41676         [cross-compiling] (omit-deps): Likewise.
41677         (sunrpc-CPPFLAGS): New variable.
41678         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
41679         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
41680         (cross-rpcgen-objs): New variable.
41681         (extra-objs): Append $(cross-rpcgen-objs).
41682         ($(cross-rpcgen-objs)): New rule.
41683         ($(objpfx)cross-rpcgen): Likewise.
41684         (rpcgen-cmd): Define to use $(built-program-file).  Expand
41685         comment.
41686         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
41687         ($(objpfx)x%.stmp): Likewise.
41688         * sunrpc/proto.h [IS_IN_build] (_): Define.
41689         [IS_IN_build] (_libc_intl_domainname): Likewise.
41690
41691 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
41692
41693         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
41694         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
41695         and R_X86_64_TPOFF64.
41696
41697 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
41698
41699         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
41700         sysdeps/unix/sysv/syscalls.list.
41701         (stime): Likewise.
41702         (utime): Likewise.
41703         * sysdeps/unix/sysv/syscalls.list: Remove file.
41704
41705 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
41706
41707         [BZ #3440]
41708         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
41709         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
41710         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
41711         (__LC_IDENTIFICATION): Make these macros useful in #if
41712         expressions, as required by C99.
41713
41714 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
41715
41716         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
41717         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
41718         after this.
41719
41720 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
41721
41722         * stdlib/longlong.h: Updated from GCC.
41723
41724 2012-05-09  Andreas Jaeger  <aj@suse.de>
41725
41726         * nscd/nscd.c (run_modes): Make named enum, reorder so that
41727         default is first entry.
41728         (run_mode): Set type.
41729         (main): Remove informal message about syslog.
41730         (options): Fix typo.
41731
41732         [BZ #14053]
41733         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
41734         to asm.
41735         (lrint): Likewise.
41736         (llrintf): Likewise.
41737         (llrint): Likewise.
41738         (rint): Likewise.
41739         (rintf): Likewise.
41740         (nearbyint): Likewise.
41741         (nearbyintf): Likewise.
41742
41743 2012-05-09  Andreas Jaeger  <aj@suse.de>
41744             Pedro Alves  <palves@redhat.com>
41745
41746         * nscd/nscd.c (run_mode): Use enum.
41747         (main): Cleanup coding style issue.
41748
41749 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
41750             Andreas Jaeger  <aj@suse.de>
41751
41752         * nscd/nscd.c (go_background): Replaced with...
41753         (run_mode): ... this.
41754         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
41755         (options): Add -F --foreground.
41756         (main): Implement it.
41757         (parse_opt): Parse it.
41758
41759 2012-05-09  Andreas Jaeger  <aj@suse.de>
41760
41761         [BZ #14083]
41762         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
41763         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
41764         -Wconversion warning.
41765         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
41766         Likewise.
41767
41768 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
41769
41770         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
41771         == 0.
41772         (LC_ALL): Use macro-int-constant.
41773         (LC_COLLATE): Likewise.
41774         (LC_CTYPE): Likewise.
41775         (LC_MESSAGES): Likewise.
41776         (LC_MONETARY): Likewise.
41777         (LC_NUMERIC): Likewise.
41778         (LC_TIME): Likewise.
41779         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
41780         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
41781         [ISO || ISO99 || ISO11] (*_t): Do not allow.
41782         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
41783         Specify type.
41784         [C99-based standards] (float_t): Expect type.
41785         [C99-based standards] (double_t): Expect type.
41786         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
41787         type.
41788         [C99-based standards] (HUGE_VALL): Likewise.
41789         [C99-based standards] (INFINITY): Likewise.
41790         [C99-based standards] (NAN): Likewise.
41791         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
41792         [C99-based standards] (FP_NAN): Likewise.
41793         [C99-based standards] (FP_NORMAL): Likewise.
41794         [C99-based standards] (FP_SUBNORMAL): Likewise.
41795         [C99-based standards] (FP_ZERO): Likewise.
41796         [C99-based standards] (FP_FAST_FMA): Use
41797         optional-macro-int-constant.  Specify type.  Require == 1.
41798         [C99-based standards] (FP_FAST_FMAF): Likewise.
41799         [C99-based standards] (FP_FAST_FMAL): Likewise.
41800         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
41801         [C99-based standards] (FP_ILOGBNAN): Likewise.
41802         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
41803         Specify type.
41804         [C99-based standards] (MATH_ERREXCEPT): Likewise.
41805         [C99-based standards] (math_errhandling): Specify type.
41806         [ISO99 || ISO11] (signgam): Do not allow.
41807         [non-C99-based standards] (copysignf): Do not allow.
41808         [non-C99-based standards] (exp2f): Likewise.
41809         [non-C99-based standards] (log2f): Likewise.
41810         [non-C99-based standards] (modff): Allow.
41811         [non-C99-based standards] (erff): Do not allow.
41812         [non-C99-based standards] (erfcf): Likewise.
41813         [non-C99-based standards] (gammaf): Likewise.
41814         [non-C99-based standards] (hypotf): Likewise.
41815         [non-C99-based standards] (j0f): Likewise.
41816         [non-C99-based standards] (j1f): Likewise.
41817         [non-C99-based standards] (jnf): Likewise.
41818         [non-C99-based standards] (lgammaf): Likewise.
41819         [non-C99-based standards] (tgammaf): Likewise.
41820         [non-C99-based standards] (y0f): Likewise.
41821         [non-C99-based standards] (y1f): Likewise.
41822         [non-C99-based standards] (ynf): Likewise.
41823         [non-C99-based standards] (isnanf): Likewise.
41824         [non-C99-based standards] (acoshf): Likewise.
41825         [non-C99-based standards] (asinhf): Likewise.
41826         [non-C99-based standards] (atanhf): Likewise.
41827         [non-C99-based standards] (cbrtf): Likewise.
41828         [non-C99-based standards] (expm1f): Likewise.
41829         [non-C99-based standards] (ilogbf): Likewise.
41830         [non-C99-based standards] (log1pf): Likewise.
41831         [non-C99-based standards] (logbf): Likewise.
41832         [non-C99-based standards] (nextafterf): Likewise.
41833         [non-C99-based standards] (remainderf): Likewise.
41834         [non-C99-based standards] (rintf): Likewise.
41835         [non-C99-based standards] (scalbf): Likewise.
41836         [non-C99-based standards] (copysignl): Likewise.
41837         [non-C99-based standards] (exp2l): Likewise.
41838         [non-C99-based standards] (log2l): Likewise.
41839         [non-C99-based standards] (modfl): Allow.
41840         [non-C99-based standards] (erfl): Do not allow.
41841         [non-C99-based standards] (erfcl): Likewise.
41842         [non-C99-based standards] (gammal): Likewise.
41843         [non-C99-based standards] (hypotl): Likewise.
41844         [non-C99-based standards] (j0l): Likewise.
41845         [non-C99-based standards] (j1l): Likewise.
41846         [non-C99-based standards] (jnl): Likewise.
41847         [non-C99-based standards] (lgammal): Likewise.
41848         [non-C99-based standards] (tgammal): Likewise.
41849         [non-C99-based standards] (y0l): Likewise.
41850         [non-C99-based standards] (y1l): Likewise.
41851         [non-C99-based standards] (ynl): Likewise.
41852         [non-C99-based standards] (isnanl): Likewise.
41853         [non-C99-based standards] (acoshl): Likewise.
41854         [non-C99-based standards] (asinhl): Likewise.
41855         [non-C99-based standards] (atanhl): Likewise.
41856         [non-C99-based standards] (cbrtl): Likewise.
41857         [non-C99-based standards] (expm1l): Likewise.
41858         [non-C99-based standards] (ilogbl): Likewise.
41859         [non-C99-based standards] (log1pl): Likewise.
41860         [non-C99-based standards] (logbl): Likewise.
41861         [non-C99-based standards] (nextafterl): Likewise.
41862         [non-C99-based standards] (remainderl): Likewise.
41863         [non-C99-based standards] (rintl): Likewise.
41864         [non-C99-based standards] (scalbl): Likewise.
41865         [ISO || ISO99 || ISO11] (*_t): Do not allow.
41866         [non-C99-based standards] (FP_*): Do not allow.
41867         [C99-based standards] (FP_*): Change to
41868         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
41869         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
41870         allow.
41871         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
41872         (SIG_ERR): Likewise.
41873         [X/Open-based standards] (SIG_HOLD): Likewise.
41874         (SIG_IGN): Likewise.
41875         (SIGABRT): Use macro-int-constant.  Specify type.  Require
41876         positive value.
41877         (SIGFPE): Likewise.
41878         (SIGILL): Likewise.
41879         (SIGINT): Likewise.
41880         (SIGSEGV): Likewise.
41881         (SIGTER): Likewise.
41882         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
41883         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
41884         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
41885         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
41886         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
41887         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
41888         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
41889         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
41890         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
41891         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
41892         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
41893         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
41894         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
41895         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
41896         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
41897         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
41898         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
41899         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
41900         [X/Open-based standards] (SIGTRAP): Likewise.
41901         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
41902         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
41903         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
41904         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
41905         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
41906         allow.
41907
41908 2012-05-08  Ian Wienand  <ianw@vmware.com>
41909
41910         [BZ #14080]
41911         * time/tzset.c (__tzset_parse_tz): Update default rules for
41912         daylight time changes in the Energy Policy Act of 2005.
41913
41914 2012-05-09  Andreas Jaeger  <aj@suse.de>
41915
41916         [BZ #13983]
41917         * elf/ldconfig.c (parse_conf): Change string to make clear that
41918         ldconfig only issued a warning if ld.so.conf does not exist.
41919
41920 2012-05-08  David S. Miller  <davem@davemloft.net>
41921
41922         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
41923         movxtod instead of popping the value on the stack.
41924
41925         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41926
41927 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
41928
41929         * config.h.in: Add HAVE_ARM_PCS_VFP.
41930
41931 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
41932
41933         [BZ #13979]
41934         * include/features.h: Warn if user requests __FORTIFY_SOURCE
41935         checking but the checks are disabled for any reason.
41936
41937 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
41938
41939         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
41940         and ELF64_R_TYPE with ELFW(R_TYPE).
41941
41942 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
41943
41944         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
41945         (ulimit): Likewise.
41946
41947         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
41948         (settimeofday): Likewise.
41949
41950 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
41951
41952         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
41953         a struct th_u2 inside the union, and move tu_block/tu_code into
41954         a new th_u3 union of tu_block/tu_code inside of that.  Move
41955         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
41956         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
41957         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
41958         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
41959         (th_stuff): Change to th_u1.tu_stuff.
41960         (th_data): Define.
41961         (th_msg): Change to th_u1.th_u2.tu_data.
41962
41963 2012-05-07  David S. Miller  <davem@davemloft.net>
41964
41965         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41966
41967         [BZ #14074]
41968         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
41969         (SETUP_PIC_REG): Use it.
41970         (SETUP_PIC_REG_LEAF): Use it.
41971
41972 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
41973
41974         [BZ #13885]
41975         [BZ #13923]
41976         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41977         USE_AS_EXPM1L.
41978         (EXPL_FINITE): Likewise.
41979         (FLDLOG): Likewise.
41980         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
41981         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
41982         e_expl.S.
41983         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41984         USE_AS_EXPM1L.
41985         (EXPL_FINITE): Likewise.
41986         (FLDLOG): Likewise.
41987         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
41988         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
41989         e_expl.S.
41990         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
41991         test of -max_value argument for long double.
41992         * sysdeps/i386/fpu/libm-test-ulps: Update.
41993         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41994
41995 2012-05-06  David S. Miller  <davem@davemloft.net>
41996
41997         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
41998         quad soft-float symbols whose references which are compiler
41999         generated.
42000         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
42001
42002 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
42003
42004         [BZ #13884]
42005         [BZ #13914]
42006         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42007         USE_AS_EXP10L.
42008         (EXPL_FINITE): Likewise.
42009         (FLDLOG): Likewise.
42010         (c0): Likewise.
42011         (c1): Likewise.
42012         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
42013         Adjust comments for base varying.
42014         (__expl_finite): Change alias to EXPL_FINITE.
42015         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
42016         e_expl.S.
42017         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
42018         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
42019         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
42020         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
42021         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42022         USE_AS_EXP10L.
42023         (EXPL_FINITE): Likewise.
42024         (FLDLOG): Likewise.
42025         (c0): Likewise.
42026         (c1): Likewise.
42027         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
42028         Adjust comments for base varying.
42029         (__expl_finite): Change alias to EXPL_FINITE.
42030         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
42031         tests for bugs.
42032         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42033
42034         [BZ #14064]
42035         * math/libm-test.inc (check_float_internal): Correct ulp
42036         calculation for subnormal expected results.
42037
42038 2012-05-06  Andreas Jaeger  <aj@suse.de>
42039
42040         * Makeconfig (+math-flags): New, set to -frounding-math.
42041         (+cflags): Add +math-flags so that all of glibc gets compiled with
42042         it.
42043
42044         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
42045
42046 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
42047
42048         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
42049         Disable one test.
42050
42051         [BZ #13787]
42052         [BZ #13922]
42053         [BZ #14036]
42054         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
42055         (__ieee754_expl): Allow for and saturate large arguments.
42056         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
42057         (u_threshold): Likewise.
42058         (__exp): Call __ieee754_exp before checking for overflow and
42059         underflow.
42060         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
42061         (u_threshold): Likewise.
42062         (__expf): Call __ieee754_expf before checking for overflow and
42063         underflow.
42064         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
42065         (u_threshold): Likewise.
42066         (__expl): Call __ieee754_expl before checking for overflow and
42067         underflow.
42068         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
42069         (__ieee754_expl): Allow for and saturate large arguments.
42070         * math/libm-test.inc (exp_test): Add another test.  Do not allow
42071         missing overflow exception on overflow.
42072         (expm1_test): Do not allow missing overflow exception on overflow.
42073
42074         * sysdeps/i386/fpu/e_expl.c: Move to ...
42075         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
42076         rather than using inline asm.
42077         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
42078         * sysdeps/x86_64/fpu/e_expl.S: Copy from
42079         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
42080
42081         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
42082         (nice): Likewise.
42083         (poll): Likewise.
42084         (signal): Likewise.
42085         (time): Likewise.
42086         (times): Likewise.
42087
42088 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
42089
42090         * sysdeps/unix/syscalls.list (adjtime): Add entry from
42091         sysdeps/unix/common/syscalls.list.
42092         (fchmod): Likewise.
42093         (fchown): Likewise.
42094         (ftruncate): Likewise.
42095         (getrusage): Likewise.
42096         (gettimeofday): Likewise.
42097         (setpgid): Likewise.
42098         (setregid): Likewise.
42099         (setreuid): Likewise.
42100         (sigaction): Likewise.
42101         (truncate): Likewise.
42102         (vhangup): Likewise.
42103         * sysdeps/unix/common/syscalls.list: Remove file.
42104         * sysdeps/unix/bsd/Implies: Don't include unix/common.
42105         * sysdeps/unix/sysv/linux/Implies: Likewise.
42106
42107 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
42108
42109         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
42110         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
42111         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
42112         Moved to ...
42113         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
42114         Here.
42115         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
42116         to ...
42117         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
42118         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
42119         to ...
42120         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
42121         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
42122         to ...
42123         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
42124         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
42125         to ...
42126         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
42127         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
42128         to ...
42129         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
42130         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
42131         to ...
42132         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
42133         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
42134         to ...
42135         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
42136         Here.
42137         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
42138         to ...
42139         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
42140         Here.
42141         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
42142         to ...
42143         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
42144         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
42145         Moved to ...
42146         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
42147         Here.
42148         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
42149         to ...
42150         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
42151
42152 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
42153
42154         * sysdeps/unix/common/bits/dirent.h: Remove file.
42155         * sysdeps/unix/common/bits/fcntl.h: Likewise.
42156
42157         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
42158         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
42159         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
42160         * sysdeps/unix/bsd/isatty.c: Likewise.
42161         * sysdeps/unix/bsd/tcdrain.c: Likewise.
42162         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
42163         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
42164
42165 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42166
42167         [BZ #13563]
42168         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
42169         long double comparison inaccuracies.
42170         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
42171         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42172
42173 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
42174
42175         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
42176         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
42177
42178 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
42179
42180         [BZ #14049]
42181         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
42182         nonzero digits before rounding a hex value.
42183         * stdlib/tst-strtod.c (tests): Add another test.
42184
42185 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42186
42187         * sysdeps/s390/fpu/libm-test-ulps: Update.
42188
42189 2012-05-03  Andreas Jaeger  <aj@suse.de>
42190
42191         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
42192         does not get optimized out.
42193         (malloc_opt_barrier): New.
42194
42195 2012-05-03  Andreas Jaeger  <aj@suse.de>
42196             Roland McGrath  <roland@hack.frob.com>
42197
42198         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
42199         intermediate file deletion.
42200         (generated): Add .symlist files.
42201
42202 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
42203
42204         [BZ #13775]
42205         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
42206         Redirect under this condition.
42207         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
42208         [__USE_GNU] (__dprintf_chk): Not under this condition.
42209         [__USE_GNU] (__vdprintf_chk): Likewise.
42210         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
42211         under this condition.
42212         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
42213         [__USE_XOPEN2K8] (dprintf): Define under this condition.
42214         [__USE_XOPEN2K8] (vdprintf): Likewise.
42215         [__USE_GNU] (__dprintf_chk): Not under this condition.
42216         [__USE_GNU] (__vdprintf_chk): Likewise.
42217         [__USE_GNU] (dprintf): Likewise.
42218         [__USE_GNU] (vdprintf): Likewise.
42219
42220 2012-05-03  Roland McGrath  <roland@hack.frob.com>
42221
42222         * elf/Makefile (common-generated): Set this instead of generated for
42223         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
42224         $(all-built-dso)-derived lists.
42225
42226 2012-05-03  Andreas Jaeger  <aj@suse.de>
42227
42228         * sysdeps/i386/fpu/libm-test-ulps: Update.
42229
42230         * FAQ: Removed.
42231         * FAQ.in: Likewise.
42232         * scripts/gen-FAQ.pl: Likewise.
42233         * manual/install.texi (Installation): Point to online location of
42234         FAQ.
42235         * Makefile (files-for-dist): Remove FAQ.
42236         (FAQ): Remove.
42237
42238 2012-05-02  Allan McRae  <allan@archlinux.org>
42239
42240         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
42241         (LDFLAGS-reldepmod5.so): Likewise.
42242         (LDFLAGS-reldep6mod1.so): Likewise.
42243         (LDFLAGS-reldep6mod4.so): Likewise.
42244         (LDFLAGS-reldep8mod3.so): Likewise.
42245         (LDFLAGS-unload4mod1.so): Likewise.
42246         (LDFLAGS-unload4mod2.so): Likewise.
42247         (LDFLAGS-tst-initorder): Likewise.
42248         (LDFLAGS-tst-initordera2.so): Likewise.
42249         (LDFLAGS-tst-initordera3.so): Likewise.
42250         (LDFLAGS-tst-initordera4.so): Likewise.
42251         (LDFLAGS-tst-initorderb2.so): Likewise.
42252         (LDFLAGS-noload): Likewise.
42253         (LDFLAGS-next): Likewise.
42254         (LDFLAGS-order2mod1.so): Likewise.
42255         (LDFLAGS-order2mod2.so): Likewise.
42256         (LDFLAGS-tst-initorder2): Likewise.
42257         (LDFLAGS-tst-initorder2a.so): Likewise.
42258         (LDFLAGS-tst-initorder2b.so): Likewise.
42259         (LDFLAGS-tst-initorder2c.so): Likewise.
42260         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
42261
42262 2012-05-02  David S. Miller  <davem@davemloft.net>
42263
42264         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42265
42266 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
42267
42268         [BZ #14055]
42269         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
42270
42271 2012-05-02  Andreas Jaeger  <aj@suse.de>
42272
42273         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
42274         since we manipulate rounding mode.
42275         (CPPFLAGS-test-idouble.c): Likewise.
42276         (CPPFLAGS-test-ifloat.c): Likewise.
42277         (CFLAGS-test-ldouble.c): Likewise.
42278         (CFLAGS-test-double.c): Likewise.
42279         (CFLAGS-test-float.c): Likewise.
42280         (CFLAGS-test-misc.c): Likewise.
42281         (CFLAGS-test-test-fenv.c): Likewise.
42282
42283 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42284
42285         [BZ #2550]
42286         [BZ #2570]
42287         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
42288         comparisons to determine direction to adjust input.
42289
42290 2012-05-01  Roland McGrath  <roland@hack.frob.com>
42291
42292         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
42293         output to the target.
42294
42295         * scripts/localplt.awk: New file.
42296         * elf/Makefile ($(objpfx)check-localplt): Target removed.
42297         (check-localplt-CFLAGS): Variable removed.
42298         ($(all-built-dso:=.jmprel)): New static pattern rule.
42299         (generated): Add those targets.
42300         (localplt-built-dso): New variable.
42301         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
42302
42303         * elf/check-localplt.c: File removed.
42304
42305         * scripts/check-execstack.awk: New file.
42306         * elf/Makefile ($(objpfx)check-execstack): Target removed.
42307         (check-execstack-CFLAGS): Variable removed.
42308         ($(objpfx)check-execstack.h): Target removed.
42309         ($(objpfx)execstack-default): New target.
42310         (generated): Add that instead of check-execstack.h.
42311         ($(all-built-dso:=.phdr)): New static pattern rule.
42312         (generated): Add those targets.
42313         * elf/check-execstack.c: File removed.
42314
42315         * scripts/check-textrel.awk: New file.
42316         * elf/Makefile ($(objpfx)check-textrel): Target removed.
42317         (check-textrel-CFLAGS): Variable removed.
42318         (all-built-dso): Use := to define.o
42319         ($(all-built-dso:=.dyn)): New static pattern rule.
42320         (generated): Add those targets.
42321         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
42322         * config.make.in (READELF): New substituted variable.
42323         * elf/check-textrel.c: File removed.
42324
42325 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
42326
42327         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
42328         allow.
42329         * conform/data/ctype.h-data [C99-based standards] (isblank):
42330         Expect function.
42331         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
42332         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
42333         [ISO || ISO99 || ISO11] (*_t): Do not allow.
42334         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
42335         Specify type.  Require positive value.
42336         (EILSEQ): Likewise.
42337         (ERANGE): Likewise.
42338         [ISO || POSIX] (EILSEQ): Do not expect.
42339         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
42340         Specify type.  Require positive value.
42341         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
42342         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
42343         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
42344         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
42345         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
42346         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
42347         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
42348         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
42349         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
42350         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
42351         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
42352         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
42353         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
42354         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
42355         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
42356         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
42357         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
42358         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
42359         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
42360         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
42361         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
42362         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
42363         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
42364         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
42365         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
42366         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
42367         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
42368         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
42369         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
42370         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
42371         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
42372         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
42373         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
42374         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
42375         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
42376         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
42377         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
42378         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
42379         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
42380         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
42381         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
42382         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
42383         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
42384         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
42385         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
42386         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
42387         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
42388         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
42389         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
42390         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
42391         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
42392         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
42393         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
42394         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
42395         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
42396         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
42397         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
42398         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
42399         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
42400         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
42401         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
42402         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
42403         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
42404         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
42405         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
42406         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
42407         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
42408         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
42409         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
42410         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
42411         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
42412         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
42413         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
42414         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
42415         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
42416         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
42417         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
42418         Require >= 2.
42419         (FLT_ROUNDS): Expect as macro, not constant.
42420         (FLT_MANT_DIG): Use macro-int-constant.
42421         (DBL_MANT_DIG): Likewise.
42422         (LDBL_MANT_DIG): Likewise.
42423         (FLT_DIG): Likewise.
42424         (DBL_DIG): Likewise.
42425         (LDBL_DIG): Likewise.
42426         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
42427         (DBL_MIN_EXP): Likewise.
42428         (LDBL_MIN_EXP): Likewise.
42429         (FLT_MAX_EXP): Use macro-int-constant.
42430         (DBL_MAX_EXP): Likewise.
42431         (LDBL_MAX_EXP): Likewise.
42432         (FLT_MAX_10_EXP): Likewise.
42433         (DBL_MAX_10_EXP): Likewise.
42434         (LDBL_MAX_10_EXP): Likewise.
42435         (FLT_MAX): Use macro-constant.
42436         (DBL_MAX): Likewise.
42437         (LDBL_MAX): Likewise.
42438         (FLT_EPSILON): Use macro-constant.  Give upper bound.
42439         (DBL_EPSILON): Likewise.
42440         (LDBL_EPSILON): Likewise.
42441         (FLT_MIN): Likewise.
42442         (DBL_MIN): Likewise.
42443         (LDBL_MIN): Likewise.
42444         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
42445         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
42446         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
42447         [ISO11] (FLT_HAS_SUBNORM): Likewise.
42448         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
42449         [ISO11] (DBL_DECIMAL_DIG): Likewise.
42450         [ISO11] (FLT_DECIMAL_DIG): Likewise.
42451         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
42452         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
42453         [ISO11] (FLT_TRUE_MIN): Likewise.
42454         [ISO11] (LDBL_TRUE_MIN): Likewise.
42455         [ISO || ISO99 || ISO11] (*_t): Do not allow.
42456         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
42457         (SCHAR_MIN): Use macro-int-constant.  Specify type.
42458         (SCHAR_MAX): Likewise.
42459         (UCHAR_MAX): Likewise.
42460         (CHAR_MIN): Likewise.
42461         (CHAR_MAX): Likewise.
42462         (MB_LEN_MAX): Use macro-int-constant.
42463         (SHRT_MIN): Use macro-int-constant.  Specify type.
42464         (SHRT_MAX): Likewise.
42465         (USHRT_MAX): Likewise.
42466         (INT_MAX): Likewise.
42467         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
42468         bound negative.
42469         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
42470         bound with "U".
42471         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
42472         bound with "L".
42473         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
42474         bound negative.  Suffix upper bound with "L".
42475         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
42476         bound with "UL".
42477         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
42478         Specify type.
42479         [C99-based standards] (LLONG_MAX): Likewise.
42480         [C99-based standards] (ULLONG_MAX): Likewise.
42481         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
42482         == 0.
42483         [ISO11] (max_align_t): Require type.
42484         [ISO || ISO99 || ISO11] (*_t): Do not allow.
42485
42486         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
42487         from $CFLAGS, without defining away __attribute__ calls.
42488         (checknamespace): Use $CFLAGS_namespace.
42489
42490         * conform/conformtest.pl (@keywords): Only include C99 keywords
42491         for standards based on C99 or C11.
42492
42493         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
42494         Disable tests.
42495         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
42496         UNIX98]: Likewise.
42497
42498         * conform/conformtest.pl: Handle "macro-int-constant" and test for
42499         usability of symbols in #if.
42500
42501         * conform/conformtest.pl: If macro or constant types start
42502         "promoted:", expect the symbol to be of the following type
42503         promoted by the integer promotions.
42504
42505         * conform/conformtest.pl: Parse all "constant" and "macro" lines
42506         in one place.  Also handle "macro-constant".
42507
42508         * conform/conformtest.pl: Only accept expected macro values with
42509         "==".  Parse all "macro" lines in one place.
42510         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
42511
42512         * conform/conformtest.pl: Handle braced types on "constant" lines
42513         instead of handling "typed-constant".
42514         * conform/data/signal.h-data: Use "constant" instead of
42515         "typed-constant".
42516
42517         * conform/conformtest.pl: Handle "optional-" at start of lines in
42518         one place rather than duplicating several cases.  Handle each
42519         format of "macro" line with initial "optional-".
42520
42521         * conform/conformtest.pl: Only accept expected constant or
42522         optional-constant values with "==".  Parse all "constant" lines in
42523         one place.  Parse all "optional-constant" lines in one place.
42524         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
42525         * conform/data/fmtmsg.h-data: Likewise.
42526         * conform/data/netinet/in.h-data: Likewise.
42527         * conform/data/tar.h-data: Likewise.
42528         * conform/data/limits.h-data: Use "==" form on "constant" and
42529         "optional-constant" lines.
42530
42531         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
42532         Use -std=c99 for XOPEN2K.
42533         (@knownproblems): Remove.
42534         (newtoken): Don't check %isknown.
42535
42536         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
42537         Do not expect macro.
42538         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
42539         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
42540         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
42541         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
42542         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
42543         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
42544         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
42545         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
42546         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
42547         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
42548         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
42549         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
42550         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
42551         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
42552         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
42553         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
42554         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
42555         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
42556         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
42557         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
42558         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
42559         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
42560         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
42561         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
42562         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
42563         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
42564         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
42565         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
42566         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
42567         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
42568         [XPG3] (acosh): Likewise.
42569         [XPG3] (asinh): Likewise.
42570         [XPG3] (atanh): Likewise.
42571         [XPG3] (cbrt): Likewise.
42572         [XPG3] (expm1): Likewise.
42573         [XPG3] (ilogb): Likewise.
42574         [XPG3] (log1p): Likewise.
42575         [XPG3] (logb): Likewise.
42576         [XPG3] (nextafter): Likewise.
42577         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
42578         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
42579         [XPG3] (remainder): Likewise.
42580         [XPG3] (rint): Likewise.
42581         [XPG3 || XPG4 || UNIX98] (round): Likewise.
42582         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
42583         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
42584         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
42585         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
42586         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
42587         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
42588         [UNIX98 || XOPEN2K] (scalb): Expect.
42589         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
42590         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
42591         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
42592         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
42593         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
42594         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
42595         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
42596         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
42597         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
42598         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
42599         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
42600         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
42601         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
42602         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
42603         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
42604         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
42605         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
42606         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
42607         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
42608         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
42609         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
42610         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
42611         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
42612         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
42613         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
42614         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
42615         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
42616         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
42617         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
42618         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
42619         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
42620         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
42621         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
42622         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
42623         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
42624         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
42625         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
42626         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
42627         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
42628         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
42629         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
42630         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
42631         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
42632         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
42633         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
42634         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
42635         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
42636         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
42637         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
42638         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
42639         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
42640         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
42641         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
42642         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
42643         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
42644         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
42645         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
42646         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
42647         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
42648         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
42649         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
42650         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
42651         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
42652         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
42653         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
42654         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
42655         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
42656         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
42657         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
42658         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
42659         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
42660         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
42661         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
42662         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
42663         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
42664         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
42665         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
42666         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
42667         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
42668         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
42669         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
42670         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
42671         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
42672         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
42673         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
42674         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
42675         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
42676         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
42677         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
42678         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
42679         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
42680         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
42681         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
42682         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
42683         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
42684         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
42685         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
42686         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
42687         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
42688         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
42689         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
42690         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
42691         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
42692         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
42693         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
42694         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
42695         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
42696         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
42697         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
42698         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
42699         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
42700         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
42701         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
42702         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
42703         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
42704         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
42705         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
42706         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
42707         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
42708         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
42709         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
42710         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
42711         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
42712         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
42713         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
42714         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
42715         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
42716         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
42717         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
42718         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
42719         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
42720         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
42721         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
42722         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
42723         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
42724         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
42725         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
42726
42727         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
42728         _XOPEN_SOURCE_EXTENDED for XPG4.
42729
42730         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
42731
42732         * Makeconfig (localtime): Remove variable.
42733         (inst_localtime-file): Likewise.
42734
42735 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
42736
42737         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
42738         Update.
42739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42740         Update.
42741         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
42742         Update.
42743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
42744         Update.
42745         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
42746         Update.
42747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
42748         Update.
42749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42750         Update.
42751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
42752         Update.
42753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
42754         Update.
42755
42756 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
42757
42758         [BZ #2550]
42759         [BZ #2570]
42760         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
42761         comparisons to determine direction to adjust input.
42762         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
42763         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
42764         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
42765         Likewise.
42766         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
42767         Likewise.
42768         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
42769         Likewise.
42770         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
42771         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
42772         Likewise.
42773         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
42774         Likewise.
42775         * math/libm-test.inc (nexttoward_test): Add more tests.
42776
42777 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
42778
42779         [BZ #14040]
42780         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
42781         in version GLIBC_2.1, not GLIBC_2.0.
42782         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
42783         Likewise.
42784
42785 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
42786
42787         [BZ #13942]
42788         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
42789         (1 - x) * (1 + x).
42790         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
42791         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
42792         * math/libm-test.inc (acos_test): Add more tests.
42793         (asin_test): Likewise.
42794         * sysdeps/i386/fpu/libm-test-ulps: Update.
42795         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42796
42797         [BZ #14034]
42798         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
42799         of square root.
42800         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
42801         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
42802         * math/libm-test.inc (acos_test_tonearest): New function.
42803         (acos_test_towardzero): Likewise.
42804         (acos_test_downward): Likewise.
42805         (acos_test_upward): Likewise.
42806         (asin_test_tonearest): Likewise.
42807         (asin_test_towardzero): Likewise.
42808         (asin_test_downward): Likewise.
42809         (asin_test_upward): Likewise.
42810         (main): Call the new functions.
42811         * sysdeps/i386/fpu/libm-test-ulps: Update.
42812         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42813
42814         [BZ #13884]
42815         [BZ #13924]
42816         * math/e_exp10.c: Include <float.h>.
42817         (__ieee754_exp10): Handle underflow here rather than multiplying
42818         large negative argument by M_LN10.
42819         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
42820         of __ieee754_expf.
42821         * math/e_exp10l.c: Include <float.h>.
42822         (__ieee754_exp10l): Handle underflow here rather than multiplying
42823         large negative argument by M_LN10l.
42824         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
42825         spurious overflow exception on underflow.
42826
42827 2012-04-29  Marek Polacek  <polacek@redhat.com>
42828
42829         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
42830         (__fortify_function): New macro.
42831         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
42832         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
42833         __extern_always_inline.
42834         * libio/bits/stdio2.h: Likewise.
42835         * libio/bits/stdio.h: Likewise.
42836         * string/string.h: Likewise.
42837         * string/bits/string3.h: Likewise.
42838         * include/stdio.h: Likewise.
42839         * stdlib/bits/stdlib.h: Likewise.
42840         * stdlib/stdlib.h: Likewise.
42841         * rt/bits/mqueue2.h: Likewise.
42842         * rt/mqueue.h: Likewise.
42843         * posix/bits/unistd.h: Likewise.
42844         * posix/unistd.h: Likewise.
42845         * io/bits/poll2.h: Likewise.
42846         * io/bits/fcntl2.h: Likewise.
42847         * io/fcntl.h: Likewise.
42848         * io/sys/poll.h: Likewise.
42849         * misc/bits/syslog.h: Likewise.
42850         * misc/bits/syslog-ldbl.h: Likewise.
42851         * misc/sys/syslog.h: Likewise.
42852         * socket/bits/socket2.h: Likewise.
42853         * socket/sys/socket.h: Likewise.
42854         * debug/tst-chk1.c: Likewise.
42855         * wcsmbs/bits/wchar2.h: Likewise.
42856         * wcsmbs/bits/wchar-ldbl.h: Likewise.
42857         * wcsmbs/wchar.h: Likewise.
42858
42859 2012-04-29  Andreas Jaeger  <aj@suse.de>
42860
42861         * Makerules (tests): Remove enable-check-abi protection.
42862         (check-abi-warn): Remove.
42863         (check-abi-%): Remove check-abi-warn usage.
42864
42865         * configure.in: Remove check-abi configure option.
42866         * configure: Regenerated.
42867         * config.make.in (enable-check-abi): Remove.
42868
42869 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
42870
42871         [BZ #14033]
42872         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
42873         double functions to double *_finite functions.
42874
42875         [BZ #13941]
42876         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
42877         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
42878         LDBL_MIN_EXP.
42879         * stdio-common/Makefile (tests): Add tst-sprintf3.
42880         * stdio-common/tst-sprintf3.c: New file.
42881
42882         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
42883         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
42884
42885 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
42886
42887         * conform/conformtest.pl: Remove duplicate typed-constant
42888         handling.
42889
42890 2012-04-28  David S. Miller  <davem@davemloft.net>
42891
42892         * Makerules (%.abilist): Add vpath on sysdep_dirs.
42893         (check-abi-%): Remove AWK script prerequisite and explicit
42894         abilist directory.
42895         (check-abi): Rewrite to just diff the symlist with the abilist.
42896         (config-tls, config-abi-config): Delete, no longer used.
42897         (update-abi-%): Remove AWK script and explicit abilist directory.
42898         (update-abi): Rewrite to simply compare and conditionally copy the
42899         symlist and the sysdep abilist file.  Remove update-abi-config
42900         checks.
42901         * abilist/ld.abilist: Remove.
42902         * abilist/libBrokenLocale.abilist: Remove.
42903         * abilist/libanl.abilist: Remove.
42904         * abilist/libcrypt.abilist: Remove.
42905         * abilist/libdl.abilist: Remove.
42906         * abilist/librt.abilist: Remove.
42907         * abilist/libthread_db.abilist: Remove.
42908         * abilist/libutil.abilist: Remove.
42909         * scripts/extract-abilist.awk: Remove.
42910         * scripts/merge-abilist.awk: Remove.
42911         * sysdeps/generic/libcidn.abilist: New file.
42912         * sysdeps/generic/libnss_compat.abilist: New file.
42913         * sysdeps/generic/libnss_db.abilist: New file.
42914         * sysdeps/generic/libnss_dns.abilist: New file.
42915         * sysdeps/generic/libnss_files.abilist: New file.
42916         * sysdeps/generic/libnss_hesiod.abilist: New file.
42917         * sysdeps/generic/libnss_nis.abilist: New file.
42918         * sysdeps/generic/libnss_nisplus.abilist: New file.
42919         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
42920         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
42921         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
42922         file.
42923         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
42924         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
42925         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
42926         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
42927         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
42928         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
42929         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
42930         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
42931         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
42932         file.
42933         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
42934         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
42935         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
42936         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
42937         file.
42938         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
42939         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
42940         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
42941         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
42942         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
42943         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
42944         file.
42945         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
42946         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
42947         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
42948         file.
42949         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
42950         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
42951         New file.
42952         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
42953         New file.
42954         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
42955         New file.
42956         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
42957         New file.
42958         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
42959         New file.
42960         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
42961         New file.
42962         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
42963         New file.
42964         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
42965         New file.
42966         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
42967         New file.
42968         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
42969         New file.
42970         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
42971         New file.
42972         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
42973         New file.
42974         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
42975         New file.
42976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
42977         file.
42978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
42979         New file.
42980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
42981         New file.
42982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
42983         file.
42984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
42985         New file.
42986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
42987         New file.
42988         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
42989         file.
42990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
42991         New file.
42992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
42993         New file.
42994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
42995         New file.
42996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
42997         New file.
42998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
42999         New file.
43000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
43001         New file.
43002         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
43003         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
43004         file.
43005         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
43006         New file.
43007         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
43008         file.
43009         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
43010         file.
43011         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
43012         file.
43013         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
43014         file.
43015         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
43016         file.
43017         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
43018         New file.
43019         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
43020         file.
43021         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
43022         file.
43023         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
43024         New file.
43025         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
43026         file.
43027         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
43028         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
43029         file.
43030         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
43031         New file.
43032         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
43033         file.
43034         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
43035         file.
43036         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
43037         file.
43038         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
43039         file.
43040         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
43041         file.
43042         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
43043         New file.
43044         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
43045         file.
43046         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
43047         file.
43048         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
43049         New file.
43050         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
43051         file.
43052         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
43053         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
43054         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
43055         file.
43056         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
43057         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
43058         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
43059         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
43060         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
43061         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
43062         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
43063         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
43064         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
43065         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
43066         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
43067         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
43068         file.
43069         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
43070         New file.
43071         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
43072         file.
43073         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
43074         file.
43075         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
43076         file.
43077         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
43078         file.
43079         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
43080         file.
43081         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
43082         New file.
43083         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
43084         New file.
43085         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
43086         file.
43087         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
43088         New file.
43089         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
43090         file.
43091         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
43092         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
43093         file.
43094         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
43095         New file.
43096         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
43097         file.
43098         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
43099         file.
43100         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
43101         file.
43102         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
43103         file.
43104         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
43105         file.
43106         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
43107         New file.
43108         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
43109         New file.
43110         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
43111         file.
43112         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
43113         New file.
43114         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
43115         file.
43116
43117 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
43118
43119         * conform/conformtest.pl: Fix typo in handling typed-constant from
43120         allow-header.
43121
43122 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
43123
43124         * README: Cut down references to pre-2.6 Linux kernels and
43125         Linuxthreads.  Update lists of configurations in libc and ports
43126         and sort alphabetically.  Say "or newer" with Linux kernel version
43127         requirements.
43128
43129         * config.h.in [IS_IN_build]: Allow compiling without optimization.
43130
43131 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
43132
43133         [BZ #887]
43134         * math/libm-test.inc (logb_test_downward): New test to expose
43135         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
43136         rounding mode.
43137
43138 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
43139
43140         [BZ #14027]
43141         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
43142         to be done.
43143         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
43144         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
43145
43146 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
43147
43148         * sysdeps/unix/i386/brk.S: Remove file.
43149         * sysdeps/unix/i386/dl-brk.S: Likewise.
43150         * sysdeps/unix/i386/pipe.S: Likewise.
43151         * sysdeps/unix/i386/sigreturn.S: Likewise.
43152         * sysdeps/unix/i386/syscall.S: Likewise.
43153         * sysdeps/unix/i386/vfork.S: Likewise.
43154         * sysdeps/unix/i386/wait.S: Likewise.
43155
43156         * sysdeps/unix/common/tcsendbrk.c: Move to ...
43157         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
43158
43159         * configure.in (arm*-none*): Do not allow without
43160         --enable-hacker-mode.
43161         (netbsd*): Remove case setting base_os.
43162         (386bsd*): Likewise.
43163         (freebsd*): Likewise.
43164         (bsdi*): Likewise.
43165         (osf*): Likewise.
43166         (sunos*): Likewise.
43167         (ultrix*): Likewise.
43168         (newsos*): Likewise.
43169         (dynix*): Likewise.
43170         (*bsd*): Likewise.
43171         (sysv*): Likewise.
43172         (isc*): Likewise.
43173         (esix*): Likewise.
43174         (sco*): Likewise.
43175         (minix*): Likewise.
43176         (irix4*): Likewise.
43177         (irix6*): Likewise.
43178         (solaris[2-9]*): Likewise.
43179         (none): Likewise.
43180         * configure: Regenerated.
43181
43182 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43183
43184         [BZ #11521]
43185         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
43186         overflow or cancellation in calculating denominator.
43187         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
43188         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
43189         down expression to avoid unexpected rounding in newer GCCs.
43190         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
43191
43192 2012-04-26  David S. Miller  <davem@davemloft.net>
43193
43194         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
43195         long-double compat symbols.
43196         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
43197         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
43198         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
43199         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
43200         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
43201         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
43202         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
43203         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
43204         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
43205         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
43206         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
43207         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
43208         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
43209
43210 2012-04-25  David S. Miller  <davem@davemloft.net>
43211
43212         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
43213         HWCAP_* values only after the memory barriers have been defined.
43214         (atomic_full_barrier): Define.
43215         (atomic_read_barrier): Define.
43216         (atomic_write_barrier): Define.
43217
43218 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
43219
43220         * shlib-versions: Add libgcc_s version information.
43221         * sysdeps/generic/libgcc_s.h: Remove.
43222         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
43223         libgcc_s.h.
43224         * sysdeps/gnu/unwind-resume.c: Likewise.
43225         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
43226
43227 2012-04-25  David S. Miller  <davem@davemloft.net>
43228
43229         * sysdeps/unix/sparc/brk.S: Delete.
43230         * sysdeps/unix/sparc/dl-brk.S: Delete.
43231         * sysdeps/unix/sparc/pipe.S: Delete.
43232         * sysdeps/unix/sparc/sysdep.S: Delete.
43233         * sysdeps/unix/sparc/sysdep.h: Delete.
43234         * sysdeps/unix/sparc/vfork.S: Delete.
43235         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
43236         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
43237         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
43238         (ret_ERRVAL, r0, r1, MOVE): Define.
43239         (JUMPTARGET): Remove.
43240         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
43241         sysdeps/unix/sparc/sysdep.h
43242         (ENTRY, END): Remove.
43243         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43244
43245 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
43246
43247         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
43248         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
43249         -DIS_IN_build.
43250
43251         * timezone/README: Update upstream location and email address for
43252         tzcode and tzdata.
43253         * timezone/zdump.c: Update from tzcode 2012b.
43254         * timezone/zic.c: Likewise.
43255
43256         * configure.in (libc_cv_as_needed): Remove test.
43257         * configure: Regenerated.
43258         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
43259         conditional definition.
43260         [$(have-as-needed) != yes] (no-as-needed): Likewise.
43261         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
43262         * config.make.in (have-as-needed): Remove variable.
43263
43264 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
43265             Paul Pluzhnikov  <ppluzhnikov@google.com>
43266
43267         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
43268         strings correctly.
43269
43270 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
43271
43272         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
43273         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
43274         * sysdeps/sh/strlen.S: Likewise.
43275
43276 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
43277
43278         * sysdeps/unix/fork.S: Remove file.
43279         * sysdeps/unix/i386/fork.S: Likewise.
43280         * sysdeps/unix/sparc/fork.S: Likewise.
43281
43282         * sysdeps/unix/system.c: Remove file.
43283         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
43284
43285         * sysdeps/unix/getegid.S: Remove file.
43286         * sysdeps/unix/geteuid.S: Likewise.
43287
43288 2012-04-24  Roland McGrath  <roland@hack.frob.com>
43289
43290         * scripts/check-localplt.awk: New file.
43291         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
43292         of diff.
43293         * scripts/data/localplt-generic.data: Add a comment.
43294
43295         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
43296         NODE when __dir_mkfile failed.
43297         * sysdeps/mach/hurd/symlinkat.c: Likewise.
43298         Reported by Ludovic Courtès <ludo@gnu.org>.
43299
43300 2012-04-24  Andreas Jaeger  <aj@suse.de>
43301
43302         * Makerules (common-clean): Also remove gen-as-const-headers
43303         files.
43304
43305 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
43306
43307         * Makerules (native-compile): Do not change working directory for
43308         build.  Use $(OUTPUT_OPTION) in command.
43309         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
43310
43311 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43312
43313         [BZ #13886]
43314         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
43315         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
43316         * math/libm-test.inc (floor_test): Add more tests.
43317         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
43318
43319 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
43320
43321         * sysdeps/unix/getdents.c: Remove file.
43322         * sysdeps/unix/sysv/getdents.c: Likewise.
43323         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
43324
43325         * sysdeps/unix/syscalls.list (madvise): Add syscall from
43326         sysdeps/unix/mman/syscalls.list.
43327         (mmap): Likewise.
43328         (mprotect): Likewise.
43329         (msync): Likewise.
43330         (munmap): Likewise.
43331         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
43332         * sysdeps/unix/mman/syscalls.list: Remove.
43333         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
43334
43335         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
43336         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
43337         * configure: Regenerated.
43338         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
43339         $(libgcc_s_suffix).
43340         * config.make.in (libgcc_s_suffix): Remove variable.
43341
43342 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
43343
43344         * sysdeps/unix/sysv/gethostname.c: Move to ...
43345         * sysdeps/posix/gethostname.c: ... here.
43346
43347         * sysdeps/unix/execve.S: Remove file.
43348
43349         * sysdeps/unix/_exit.S: Remove file.
43350
43351 2012-04-23  Andreas Jaeger  <aj@suse.de>
43352
43353         [BZ #13739]
43354         * manual/Makefile: Remove make dist support, there's no
43355         need for a stand-alone documentation tar ball.
43356         (TEXI2DVI): Define always, it's not in Makeconfig.
43357         (dist): Removed.
43358         (tar-it): Removed.
43359         (edition): Removed.
43360         (glibc-doc-$(edition).tar): Removed
43361         (%.Z): Removed.
43362         (%.gz): Removed.
43363         (%.uu): Removed.
43364         (ETAGS): Remove, it's in Makeconfig.
43365         (move-if-change): Remove, it's in Makeconfig.
43366
43367 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
43368
43369         [BZ #13970]
43370         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
43371         (strtod, strtof, strtold, strtol, strtoul, strtoq)
43372         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
43373         (strtod_l, strtof_l, strtold_l): Remove __wur.
43374         It is not necessarily an error to ignore strtol's return value.
43375         One can reliably look at the stored endptr to decide whether
43376         the number had valid syntax.
43377
43378 2012-04-21  Andreas Jaeger  <aj@suse.de>
43379
43380         [BZ #13739]
43381         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
43382
43383 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
43384
43385         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
43386         * sysdeps/unix/sysv/Versions: Remove file.
43387
43388 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
43389
43390         [BZ #13927]
43391         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43392
43393 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
43394
43395         [BZ #7064]
43396         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
43397         version from __vm86.
43398
43399 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
43400
43401         * sysdeps/unix/common/lxstat.c: Remove file.
43402         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
43403
43404         * sysdeps/unix/sysv/Makefile: Remove file.
43405
43406         * sysdeps/unix/sysv/direct.h: Remove file.
43407
43408         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
43409         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
43410         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
43411         * sysdeps/unix/sysv/bits/signum.h: Likewise.
43412         * sysdeps/unix/sysv/bits/stat.h: Likewise.
43413         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
43414         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
43415
43416         * sysdeps/unix/sysv/setrlimit.c: Remove file.
43417
43418         * sysdeps/unix/xmknod.c: Remove file.
43419         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
43420
43421         * sysdeps/unix/sysv/settimeofday.c: Remove file.
43422
43423         * sysdeps/unix/sysv/i386/time.S: Remove file.
43424
43425         * sysdeps/unix/fxstat.c: Remove file.
43426         * sysdeps/unix/xstat.c: Likewise.
43427         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
43428
43429         * sysdeps/unix/sysv/sigaction.c: Remove file.
43430
43431         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
43432         (sysdep_headers): Remove variable.
43433         [termio.h not in sysdep_headers] (generated): Likewise.
43434         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
43435         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
43436         * sysdeps/unix/sysv/tcdrain.c: Likewise.
43437         * sysdeps/unix/sysv/tcflow.c: Likewise.
43438         * sysdeps/unix/sysv/tcflush.c: Likewise.
43439         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
43440         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
43441         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
43442         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
43443         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
43444
43445         * sysdeps/unix/siglist.c: Remove file.
43446
43447         * sysdeps/unix/getppid.S: Remove file.
43448
43449         * sysdeps/unix/mkdir.c: Remove file.
43450         * sysdeps/unix/rmdir.c: Likewise.
43451
43452 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
43453
43454         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
43455         ERR_MAX value.
43456         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
43457         errlist-compat value.
43458
43459 2012-04-18  David S. Miller  <davem@davemloft.net>
43460
43461         * sysdeps/generic/memcopy.h (reg_char): Delete.
43462         * debug/strcat_chk.c: Use char, not reg_char.
43463         * debug/strcpy_chk.c: Likewise.
43464         * debug/strncat_chk.c: Likewise.
43465         * debug/strncpy_chk.c: Likewise.
43466         * string/memchr.c: Likewise.
43467         * string/memrchr.c: Likewise.
43468         * string/rawmemchr.c: Likewise.
43469         * string/strcat.c: Likewise.
43470         * string/strchr.c: Likewise.
43471         * string/strchrnul.c: Likewise.
43472         * string/strcmp.c: Likewise.
43473         * string/strcpy.c: Likewise.
43474         * string/strncat.c: Likewise.
43475         * string/strncmp.c: Likewise.
43476         * string/strncpy.c: Likewise.
43477
43478 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
43479
43480         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
43481         __builtin_memcopy is called when src and dest ranges are known to not
43482         overlap.
43483
43484 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
43485
43486         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
43487         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
43488         fwd_align_merge macro call.
43489         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
43490         bwd_align_merge macro call.
43491         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
43492
43493 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
43494
43495         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
43496         bwd_align_merge macros.
43497         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
43498         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
43499         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
43500
43501 2012-04-18  David S. Miller  <davem@davemloft.net>
43502
43503         * sysdeps/sparc/sparc64/memcopy.h: Delete.
43504
43505 2012-04-18  Andreas Jaeger  <aj@suse.de>
43506
43507         [BZ# 6794]
43508         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
43509         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
43510         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
43511
43512         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
43513         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
43514         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
43515
43516         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
43517         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
43518         Adjust for changed ldbl-128 files.
43519
43520         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
43521         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
43522         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
43523
43524 2012-04-17  David S. Miller  <davem@davemloft.net>
43525
43526         * sysdeps/sparc/sparc32/memcopy.h: Delete.
43527
43528 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
43529
43530         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
43531         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
43532         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
43533         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
43534         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
43535         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
43536
43537 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43538
43539         [BZ #6794]
43540         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
43541         * math/libm-test.inc: Add ilogb errno and exception tests.
43542         * math/w_ilogb.c: New file: ilogb wrapper.
43543         * math/w_ilogbf.c: New file: ilogbf wrapper.
43544         * math/w_ilogbl.c: New file: ilogbl wrapper.
43545         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
43546         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
43547         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
43548         exception being thrown with 0.0 as argument.
43549         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
43550         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
43551         exception being thrown with 0.0 as argument.
43552         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
43553         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
43554         exception being thrown with 0.0 as argument.
43555         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
43556         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
43557         exception being thrown with 0.0 as argument.
43558         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
43559         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
43560         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
43561         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
43562         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
43563         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
43564         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
43565         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
43566         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
43567
43568 2012-04-17  Petr Baudis  <pasky@ucw.cz>
43569
43570         * include/sys/uio.h: Change __vector to __iovec to avoid clash
43571         with altivec.
43572
43573 2012-04-16  Marek Polacek  <polacek@redhat.com>
43574
43575         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
43576
43577 2012-04-16  Marek Polacek  <polacek@redhat.com>
43578
43579         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
43580         operands of fdivp instruction.
43581
43582 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
43583
43584         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
43585         * elf/tst-auditmod3b.c: Likewise.
43586         * elf/tst-auditmod4b.c: Likewise.
43587         * elf/tst-auditmod5b.c: Likewise.
43588         * elf/tst-auditmod6b.c: Likewise.
43589         * elf/tst-auditmod6c.c: Likewise.
43590         * elf/tst-auditmod7b.c: Likewise.
43591         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
43592         * sysdeps/x86_64/preconfigure.in: Likewise.
43593         * sysdeps/x86_64/preconfigure: Regenerated.
43594
43595 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
43596
43597         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
43598         __ILP32__.
43599
43600 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
43601
43602         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43603         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
43604
43605 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
43606
43607         [BZ #13973]
43608         * locale/iso-639.def: Fix gl language name. Spotted by
43609         Yaron Shahrabani.
43610
43611 2012-04-12  Roland McGrath  <roland@hack.frob.com>
43612
43613         [BZ #2074]
43614         * libio/libio.h (__io_write_fn): Update comment.
43615
43616 2012-04-12  Petr Baudis  <pasky@ucw.cz>
43617
43618         [BZ #2074]
43619         * stdio.texi (Hook Functions): The user provided writer function
43620         is not allowed to return -1.
43621
43622 2012-04-11  David S. Miller  <davem@davemloft.net>
43623
43624         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43625
43626 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
43627
43628         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
43629         Add a leading slash to rtkaio.
43630
43631 2012-04-11  Jim Meyering  <meyering@redhat.com>
43632
43633         [BZ #11959]
43634         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
43635         It is not necessarily an error to ignore fwrite's return
43636         value.  One can reliably use ferror to test for errors after
43637         the fact.
43638
43639 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
43640
43641         * bits/types.h (__snseconds_t): New type.
43642         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
43643
43644         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
43645         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43646         (__SNSECONDS_T_TYPE): Likewise.
43647         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43648         (__SNSECONDS_T_TYPE): Likewise.
43649         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43650         (__SNSECONDS_T_TYPE): Likewise.
43651
43652 2012-04-10  Andreas Jaeger  <aj@suse.de>
43653
43654         [BZ #2636]
43655         * manual/time.texi (Processor Time): Return type of times is
43656         elapsed real time since an arbitrary point in the past.
43657         (CPU Time): Move CLK_TCK from here...
43658         (Processor Time): ...to here.  Correct description.
43659         * manual/conf.texi (Constants for Sysconf): Correct description of
43660         _SC_CLK_TCK.
43661
43662 2012-04-10  David S. Miller  <davem@davemloft.net>
43663
43664         [BZ #13967]
43665         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
43666         where the is a gap between DT_REL(A) and DT_JMPREL.
43667
43668 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
43669
43670         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
43671         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
43672         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
43673
43674 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
43675
43676         * elf/dl-support.c (_dl_inhibit_cache): New variable.
43677         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
43678         (dl_main): Handle --inhibit-cache.
43679         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
43680         _dl_inhibit_cache.
43681         * elf/dl-load.c (_dl_map_object): Use it.
43682         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
43683
43684 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
43685
43686         [BZ #13872]
43687         * sysdeps/i386/fpu/e_powl.S (p78): New object.
43688         (__ieee754_powl): Saturate large exponents rather than testing for
43689         overflow of y*log2(x).
43690         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43691         * math/libm-test.inc (pow_test): Do not permit spurious overflow
43692         exceptions.
43693
43694         [BZ #11521]
43695         * math/s_ctan.c: Include <float.h>.
43696         (__ctan): Avoid internal overflow or cancellation in calculating
43697         denominator.
43698         * math/s_ctanf.c: Likewise.
43699         * math/s_ctanl.c: Likewise.
43700         * math/s_ctanh.c: Likewise.
43701         * math/s_ctanhf.c: Likewise.
43702         * math/s_ctanhl.c: Likewise.
43703         * math/libm-test.inc (ctan_test): Add more tests.
43704         (ctanh_test): Likewise.
43705         * sysdeps/i386/fpu/libm-test-ulps: Update.
43706         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43707
43708 2012-04-09  Andreas Jaeger  <aj@suse.de>
43709
43710         [BZ #6894]
43711         * manual/filesys.texi (Directory Entries): Mention that d_namlen
43712         is an optional BSD extension.
43713
43714         [BZ #10254]
43715         * manual/stdio.texi (Opening Streams): Document additional fopen
43716         parameters.
43717
43718 2012-04-09  Roland McGrath  <roland@hack.frob.com>
43719
43720         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
43721         %eax without telling the compiler.
43722
43723 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
43724
43725         [BZ # 13963]
43726         * manual/install.texi: Use sourceware.org.
43727
43728 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
43729
43730         [BZ #13873]
43731         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
43732         (__ieee754_pow): Generate overflow and underflow using huge*huge
43733         and tiny*tiny rather than just returning constant infinity or zero
43734         for large exponents.
43735         * math/libm-test.inc (pow_test): Require overflow exceptions for
43736         applicable cases of large exponents.
43737
43738         [BZ #706]
43739         * sysdeps/i386/fpu/e_pow.S (p10): New object.
43740         (__ieee754_pow): Use iterative multiplication algorithm only for
43741         integer exponents with absolute value below 1024.  Check for odd
43742         integer exponents when using algorithm for real exponents.
43743         * math/libm-test.inc (pow_test): Add more tests.
43744         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43745
43746 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
43747
43748         [BZ #13705]
43749         * math/libm-test.inc (exp_test): Do not allow overflow exception
43750         on underflow test.
43751
43752 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
43753
43754         [BZ #13705]
43755         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
43756         instead of __kernel_standard_f.
43757
43758 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
43759
43760         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
43761         * sysdeps/x86_64/memset_chk.S: Likewise.
43762
43763 2012-04-08  Andreas Jaeger  <aj@suse.de>
43764
43765         [BZ #10153]
43766         * manual/startup.texi (Environment Access): Describe return value
43767         for putenv and setenv.
43768
43769         [BZ #6895]
43770         * manual/filesys.texi (Directory Entries): Add description for
43771         DT_LNK.
43772
43773         [BZ #6890]
43774         * manual/filesys.texi (Directory Entries): Clarify that it's file
43775         system not operating system in the description of DT_UNKNOWN.
43776
43777         [BZ #6578]
43778         * manual/syslog.texi (closelog): Fix reference, it's openlog.
43779
43780 2012-04-08  Stephen Compall  <s11@member.fsf.org>
43781
43782         [BZ #6649]
43783         * manual/llio.texi (Opening and Closing Files): Add cross
43784         reference to explain mode argument.
43785
43786 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
43787
43788         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
43789         * sysdeps/x86_64/memset_chk.S: Likewise.
43790
43791 2012-04-07  David S. Miller  <davem@davemloft.net>
43792
43793         * elf/elf.h (R_SPARC_WDISP10): Define.
43794         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
43795         R_SPARC_SIZE32.
43796         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
43797         R_SPARC_SIZE64 and R_SPARC_H34.
43798
43799 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
43800
43801         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
43802         conditions and remove no longer applicable assertion.
43803
43804 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
43805
43806         * bits/byteswap.h: Include <features.h>.
43807         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
43808         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
43809
43810 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
43811
43812         * bits/byteswap.h (__bswap_16): Removed.
43813         Include <bits/byteswap-16.h> to get __bswap_16.
43814         * sysdeps/i386/bits/byteswap.h: Likewise.
43815         * sysdeps/s390/bits/byteswap.h: Likewise.
43816         * sysdeps/x86_64/bits/byteswap.h: Likewise.
43817         * bits/byteswap-16.h: New file.
43818         * sysdeps/i386/bits/byteswap-16.h: Likewise.
43819         * sysdeps/s390/bits/byteswap-16.h: Likewise.
43820         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
43821         * string/Makefile (headers): Add bits/byteswap-16.h.
43822
43823 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
43824
43825         [BZ #13895]
43826         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
43827         extra indirection.
43828         * nss/Makefile (tests-static, tests): Add tst-nss-static.
43829         * nss/tst-nss-static.c: New.
43830
43831 2012-04-06  Robert Millan  <rmh@gnu.org>
43832
43833         [BZ #6486]
43834         * manual/llio.texi (File Position Primitive): lseek
43835         refers to WHENCE when it really means OFFSET.
43836
43837 2012-04-06  Andreas Jaeger  <aj@suse.de>
43838
43839         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
43840         strncmp declarations.
43841
43842         * abilist/libc.abilist: Add __poll and __ppoll.
43843
43844 2012-04-05  David S. Miller  <davem@davemloft.net>
43845
43846         * scripts/check-local-headers.sh: Accept a host triplet in the
43847         path matched by the exclude regexp.
43848
43849         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
43850         definition.
43851         * sysdeps/powerpc/powerpc32/dl-machine.h
43852         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
43853         * sysdeps/s390/s390-32/dl-machine.h
43854         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
43855         * sysdeps/sparc/sparc32/dl-machine.h
43856         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
43857         * sysdeps/sparc/sparc64/dl-machine.h
43858         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
43859
43860         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
43861         lazy binding.
43862         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
43863         undefined symbol errors.
43864
43865         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
43866         DT_NEEDED entries.
43867
43868 2012-04-05  Michael Matz  <matz@suse.de>
43869
43870         [BZ #13592]
43871         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
43872
43873 2012-04-05  Andreas Jaeger  <aj@suse.de>
43874
43875         [BZ #13908]
43876         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
43877         comment.
43878
43879 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
43880
43881         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
43882         which ROUND is no valid rounding mode.
43883
43884 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
43885
43886         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
43887         read again.
43888         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
43889
43890 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
43891
43892         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
43893         an exception using FPU order intentionally.
43894
43895 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
43896
43897         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
43898         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
43899         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
43900         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
43901
43902 2012-04-05  Simon Josefsson  <simon@josefsson.org>
43903
43904         [BZ #12340]
43905         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
43906         EINVAL when BUFLEN is too smal.
43907
43908 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
43909
43910         [BZ #13553]
43911         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
43912         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
43913
43914 2012-04-03  Andreas Jaeger  <aj@suse.de>
43915
43916         [BZ #13938]
43917         * manual/setjmp.texi (System V contexts): Fix sentence.
43918
43919         [BZ #13926]
43920         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
43921         New macro for this case.
43922         [!__GNUC__] (__bswap_64): New inline function for this case.
43923         * sysdeps/x86_64/bits/byteswap.h: Likewise.
43924         * bits/byteswap.h: Likewise.
43925         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
43926         ull, guard with __GLIBC_HAVE_LONG_LONG.
43927
43928         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
43929         __GLIBC_HAVE_LONG_LONG.
43930
43931         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
43932         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
43933
43934 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
43935
43936         [BZ #13691]
43937         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
43938         inptr and inend, rather than using last_ch.
43939
43940 2012-04-02  David S. Miller  <davem@davemloft.net>
43941
43942         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
43943         * stdio-common/printf-parse.h (read_int): Change return type to
43944         'int', return -1 on INT_MAX overflow.
43945         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
43946         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
43947         overflows INT_MAX.  Check for overflow of in-format-string precision
43948         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
43949         SIZE_MAX not INT_MAX for integer overflow test.
43950         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
43951         skip the construct in the format string but do not record anything.
43952         * stdio-common/bug22.c: Adjust to test both width/prevision
43953         INT_MAX overflow as well as total length INT_MAX overflow.  Check
43954         explicitly for proper errno values.
43955
43956 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
43957
43958         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
43959         CHAR_MAX.
43960         * string/test-strcmp.c [! WIDE]: Likewise.
43961         * time/tst-mktime2.c: Likewise for INT_MAX.
43962         * string/test-string.h: #include <sys/param.h> for MIN.
43963
43964         * csu/init-first.c (__libc_init_first): Call __ctype_init.
43965         * sysdeps/i386/init-first.c (init): Likewise.
43966         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
43967         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
43968         * sysdeps/sh/init-first.c (init): Likewise.
43969
43970 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
43971
43972         * po/ru.po: Update from translation team.
43973         * po/vi.po: Likewise.
43974
43975 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
43976
43977         * resolv/nss_dns/dns-host.c: Merge copyright years.
43978
43979 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43980
43981         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
43982         Optimize memcpy with prefetch if
43983         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
43984         src, dst pointers have unequal 16 byte alignments.
43985
43986 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
43987
43988         [BZ #13928]
43989         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
43990         from a CNAME entry and return the minimum ttl for the query.
43991         (gaih_getanswer_slice): Likewise.
43992
43993 2012-03-30  Jeff Law  <law@redhat.com>
43994
43995         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
43996         due to long keys.
43997         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
43998         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
43999
44000         * resolv/nss_dns/dns-host.c: Update copyright year.
44001
44002 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
44003
44004         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
44005         requests to save a system call.  Fix check that all bytes are sent.
44006
44007         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
44008         comments for sendmmsg.
44009
44010 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
44011
44012         [BZ #13691]
44013         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
44014         with only 1 character between 0x0041 and 0x01b0.
44015         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
44016         * wcsmbs/tst-mbsnrtowcs.c: New file.
44017
44018 2012-03-29  David S. Miller  <davem@davemloft.net>
44019
44020         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
44021         small copies by hand.
44022
44023 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44024
44025         [BZ #13761]
44026         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
44027         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
44028         group memberships.
44029
44030 2012-03-28  David S. Miller  <davem@davemloft.net>
44031
44032         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
44033         that branches into memcpy.
44034         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
44035         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
44036         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
44037         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
44038         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
44039         bits.
44040         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
44041         implementation too.
44042         * sysdeps/sparc/mempcpy.S: New file.
44043
44044         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
44045         the IFUNC routine in the libc case.
44046         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
44047
44048         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
44049         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
44050         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
44051         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
44052         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
44053         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
44054         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
44055         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
44056
44057         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
44058         loop to 256 bytes instead of 64 bytes and fix test signedness.
44059
44060         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
44061         * sysdeps/sparc/sparc32/Makefile: rather than here...
44062         * sysdeps/sparc/sparc64/Makefile: and here.
44063
44064 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
44065
44066         * malloc/mallocbug.c: Avoid warnings about unused variables.
44067
44068 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
44069
44070         [BZ #13760]
44071         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
44072         in the right place. Discard and retry query if response is
44073         larger than input buffer size.
44074
44075 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
44076
44077         [BZ #369]
44078         [BZ #2678]
44079         [BZ #3866]
44080         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
44081         x for large integer exponent.
44082         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
44083         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
44084         sign of result as needed afterwards.
44085         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
44086         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
44087         result for underflowing pow the same as for overflow.
44088         (__kernel_standard_l): Handle powl overflow and underflow here
44089         rather than calling __kernel_standard.
44090         * math/libm-test.inc (pow_test): Add more tests.
44091
44092         [BZ #3868]
44093         [BZ #13879]
44094         [BZ #13910]
44095         [BZ #13911]
44096         [BZ #13912]
44097         [BZ #13913]
44098         [BZ #13915]
44099         [BZ #13916]
44100         [BZ #13917]
44101         [BZ #13918]
44102         [BZ #13919]
44103         [BZ #13920]
44104         [BZ #13921]
44105         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
44106         * sysdeps/ieee754/k_standard.c: Include <float.h>.
44107         (__kernel_standard_l): New function.
44108         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
44109         __kernel_standard.
44110         * math/w_acosl.c (__acosl): Likewise.
44111         * math/w_asinl.c (__asinl): Likewise.
44112         * math/w_atan2l.c (__atan2l): Likewise.
44113         * math/w_atanhl.c (__atanhl): Likewise.
44114         * math/w_coshl.c (__coshl): Likewise.
44115         * math/w_exp10l.c (__exp10l): Likewise.
44116         * math/w_exp2l.c (__exp2l): Likewise.
44117         * math/w_fmodl.c (__fmodl): Likewise.
44118         * math/w_hypotl.c (__hypotl): Likewise.
44119         * math/w_j0l.c (__j0l, __y0l): Likewise.
44120         * math/w_j1l.c (__j1l, __y1l): Likewise.
44121         * math/w_jnl.c (__jnl, __ynl): Likewise.
44122         * math/w_lgammal.c (__lgammal): Likewise.
44123         * math/w_log10l.c (__log10l): Likewise.
44124         * math/w_log2l.c (__log2l): Likewise.
44125         * math/w_logl.c (__logl): Likewise.
44126         * math/w_powl.c (__powl): Likewise.
44127         * math/w_remainderl.c (__remainderl): Likewise.
44128         * math/w_scalbl.c (sysv_scalbl): Likewise.
44129         * math/w_sinhl.c (__sinhl): Likewise.
44130         * math/w_sqrtl.c (__sqrtl): Likewise.
44131         * math/w_tgammal.c (__tgammal): Likewise.
44132         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
44133         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
44134         * math/libm-test.inc (acos_test): Add more tests.
44135         (acosh_test): Likewise.
44136         (asin_test): Likewise.
44137         (atanh_test): Likewise.
44138         (exp_test): Likewise.
44139         (exp10_test): Likewise.
44140         (exp2_test): Likewise.
44141         (expm1_test): Likewise.
44142         (lgamma_test): Likewise.
44143         (log_test): Likewise.
44144         (log10_test): Likewise.
44145         (log1p_test): Likewise.
44146         (log2_test): Likewise.
44147         (pow_test): Do not allow some spurious overflow exceptions.
44148         (sqrt_test): Add more tests.
44149         (tgamma_test): Likewise.
44150         (y0_test): Likewise.
44151         (y1_test): Likewise.
44152         (yn_test): Likewise.
44153
44154 2012-03-27  Anton Blanchard  <anton@samba.org>
44155
44156         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
44157         MAP_HUGETLB.
44158         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
44159         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
44160         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
44161
44162 2012-03-27  David S. Miller  <davem@davemloft.net>
44163
44164         * conform/Makefile: Run run-conformtest.sh using $(BASH).
44165
44166         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
44167         have-as-vis3 check.
44168
44169 2012-03-27  Andreas Jaeger  <aj@suse.de>
44170
44171         * sysdeps/x86_64/elf/configure.in: Moved to ...
44172         * sysdeps/x86_64/configure.in: ... here.
44173         * sysdeps/x86_64/elf/start.S: Moved to ...
44174         * sysdeps/x86_64/start.S: ... here.
44175         * sysdeps/x86_64/elf/configure: Delete.
44176
44177         * sysdeps/x86_64/configure.in: Merge contents from
44178         sysdeps/i386/configure.in (without i686 check).
44179
44180         * sysdeps/i386/elf/Versions: Merge into ...
44181         * sysdeps/i386/Versions: ... this.
44182         * sysdeps/i386/elf/Versions: Delete file.
44183         * sysdeps/i386/elf/start.S: Moved to ...
44184         * sysdeps/i386/start.S: ...here.
44185         * sysdeps/i386/elf/configure.in: Merge into...
44186         * sysdeps/i386/configure.in: ...here.
44187         * sysdeps/i386/elf/configure.in: Delete file.
44188         * sysdeps/i386/elf/configure: Delete file.
44189
44190         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
44191         * debug/backtracesyms.c: ... here.
44192         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
44193         * debug/backtracesymsfd.c: ... here.
44194         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
44195         * sysdeps/generic/ifunc-sel.h: ... here.
44196
44197         * sysdeps/unix/i386/start.c: Delete file.
44198         * sysdeps/unix/sparc/start.c: Delete file.
44199         * sysdeps/unix/start.c: Delete file.
44200
44201         * sysdeps/sh/elf/configure.in: Moved to ...
44202         * sysdeps/sh/configure.in: ... here.
44203         * sysdeps/sh/elf/start.S: Moved to ...
44204         * sysdeps/sh/start.S: ... here.
44205         * sysdeps/sh/elf/configure: Delete file.
44206
44207         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
44208         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
44209         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
44210         * sysdeps/powerpc/powerpc64/entry.h: ... here.
44211         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
44212         * sysdeps/powerpc/powerpc64/start.S: here.
44213         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
44214         * sysdeps/powerpc/powerpc64/Makefile: ... this.
44215         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
44216         * sysdeps/powerpc/powerpc64/configure.in: ... this.
44217         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
44218
44219         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
44220         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
44221         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
44222         * sysdeps/powerpc/powerpc32/start.S: ... here.
44223         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
44224         * sysdeps/powerpc/powerpc32/configure.in: ... this.
44225         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
44226
44227         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
44228         * sysdeps/powerpc/ifunc-sel.h: ... here.
44229         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
44230         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
44231
44232         * sysdeps/sparc/elf/configure.in: Moved to ...
44233         * sysdeps/sparc/configure.in: ... here.
44234         * sysdeps/sparc/elf/configure: Delete file.
44235         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
44236         * sysdeps/sparc/sparc32/start.S: ... here.
44237         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
44238         * sysdeps/sparc/sparc64/start.S: ... here.
44239         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
44240         * sysdeps/sparc/sparc32/Makefile: ... this.
44241         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
44242         * sysdeps/sparc/sparc64/Makefile: ... this.
44243
44244         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
44245         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
44246         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
44247         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
44248         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
44249         * sysdeps/s390/s390-32/setjmp.S: ... here.
44250         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
44251         * sysdeps/s390/s390-32/configure.in: ... here.
44252         * sysdeps/s390/s390-32/elf/configure: Delete file.
44253         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
44254         * sysdeps/s390/s390-32/start.S: ... here.
44255
44256         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
44257         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
44258         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
44259         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
44260         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
44261         * sysdeps/s390/s390-64/setjmp.S: ... here.
44262         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
44263         * sysdeps/s390/s390-64/configure.in: ... here
44264         * sysdeps/s390/s390-64/elf/configure: Delete file.
44265         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
44266         * sysdeps/s390/s390-64/start.S: ... here.
44267         * sysdeps/s390/s390-64/elf/configure: Delete.
44268
44269         * configure.in: Remove support for elf directories in sysdeps.
44270
44271         * configure: Regenerated.
44272         * sysdeps/i386/configure: Regenerated.
44273         * sysdeps/powerpc/powerpc32/configure: Regenerated.
44274         * sysdeps/powerpc/powerpc64/configure: Regenerated.
44275         * sysdeps/s390/s390-32/configure: Regenerated.
44276         * sysdeps/s390/s390-64/configure: Regenerated.
44277         * sysdeps/sh/configure: Regenerated.
44278         * sysdeps/sparc/configure: Regenerated.
44279         * sysdeps/x86_64/configure: Regenerated.
44280
44281 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
44282
44283         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44284
44285         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
44286         denormal result into account.
44287
44288 2012-03-25  Roland McGrath  <roland@hack.frob.com>
44289
44290         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
44291         Reported by Allan McRae <allan@archlinux.org>.
44292
44293 2012-03-23  Jeff Law  <law@redhat.com>
44294
44295         * nss/getnssent.c (__nss_getent): Fix typo.
44296
44297 2012-03-23  David S. Miller  <davem@davemloft.net>
44298
44299         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44300
44301 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
44302
44303         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
44304         to pad to uint64_t for each field.
44305         (dl_tls_index): Replace unsigned long with uint64_t.
44306
44307 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
44308         Paul Pluzhnikov  <ppluzhnikov@google.com>
44309
44310         [BZ #6528]
44311         * grp/Makefile (otherlibs): Don't set it.
44312         * inet/Makefile (otherlibs): Likewise.
44313         * login/Makefile (otherlibs): Likewise.
44314         * nscd/Makefile (otherlibs): Likewise.
44315         * posix/Makefile (otherlibs): Likewise.
44316         * pwd/Makefile (otherlibs): Likewise.
44317         * rt/Makefile (otherlibs): Likewise.
44318         * sunrpc/Makefile (otherlibs): Likewise.
44319         * nss/Makefile (otherlibs): Likewise.
44320         Add libnss_files to routines and static-only-routines.
44321         ($(objpfx)getent): Remove rule.
44322         * resolv/Makefile: Add libnss_dns and libresolv to routines and
44323         static-only-routines.
44324
44325 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
44326
44327         [BZ #13892]
44328         * math/s_cexp.c: Include <float.h>.
44329         (__cexp): Handle exp result overflowing not necessarily
44330         overflowing both real and imaginary parts of result.
44331         * math/s_cexpf.c: Likewise.
44332         * math/s_cexpl.c: Likewise.
44333         * math/libm-test.inc (cexp_test): Add more tests.
44334         * sysdeps/i386/fpu/libm-test-ulps: Update.
44335         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44336
44337 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
44338
44339         * include/link.h (ELFW): New macro.
44340         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
44341         Replace ELF64_R_TYPE with ELFW(R_TYPE).
44342
44343 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
44344
44345         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
44346         with uint64_t.
44347
44348 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
44349
44350         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
44351         declaration.
44352         (struct La_x32_retval): Likewise.
44353
44354 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
44355
44356         * sysdeps/x86_64/preconfigure.in: New file.
44357         * sysdeps/x86_64/preconfigure: New generated file.
44358
44359 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
44360
44361         [BZ #13824]
44362         * math/e_exp2l.c: Include <float.h>.
44363         (__ieee754_exp2l): Handle overflow and underflow cases
44364         separately.  Only pass fractional part of argument to
44365         __ieee754_expl.
44366         * math/libm-test.inc (exp2_test): Add more tests.
44367
44368         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
44369         negating x to take absolute value.
44370         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
44371         Likewise.
44372         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
44373         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
44374         Likewise.
44375         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
44376         computing low part if x was negated.
44377         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
44378
44379 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
44380
44381         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
44382         la_x32_gnu_pltexit.
44383         (pltexit): Cast int_retval to ptrdiff_t.
44384         * elf/tst-auditmod3b.c: Likewise.
44385         * elf/tst-auditmod4b.c: Likewise.
44386         * elf/tst-auditmod5b.c: Likewise.
44387         * elf/tst-auditmod6b.c: Likewise.
44388         * elf/tst-auditmod6c.c: Likewise.
44389         * elf/tst-auditmod7b.c: Likewise.
44390
44391         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
44392         and x32_gnu_pltexit.
44393
44394         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
44395         __ELF_NATIVE_CLASS.
44396         (La_x32_regs): New macro.
44397         (La_x32_retval): Likewise.
44398         (la_x32_gnu_pltenter): New function prototype.
44399         (la_x32_gnu_pltexit): Likewise.
44400
44401 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
44402
44403         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
44404         exponent.
44405
44406         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44407
44408         * configure.in (libc_cv_cc_nofma): Check for option to disable
44409         generation of FMA instructions.
44410         * configure: Regenerate.
44411         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
44412         * sysdeps/ieee754/dbl-64/Makefile: New file.
44413         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
44414         Remove brandred-fma4.
44415         (CFLAGS-brandred-fma4.c): Remove.
44416         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
44417         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
44418         define.
44419         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
44420         define.
44421
44422 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
44423
44424         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
44425         LLONG_MAX != LONG_MAX.
44426         (_itoa_word): Use _ITOA_WORD_TYPE on value.
44427         (_fitoa_word): Likewise.
44428         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
44429         LLONG_MAX != LONG_MAX.
44430         * stdio-common/_itowa.h: Include <_itoa.h>.
44431         (_itowa_word): Use _ITOA_WORD_TYPE on value.
44432         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
44433         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
44434         only if not defined.
44435         (_ITOA_WORD_TYPE): Likewise.
44436         (_itoa_word): Use _ITOA_WORD_TYPE on value.
44437         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
44438
44439 2012-03-21  David S. Miller  <davem@davemloft.net>
44440
44441         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44442
44443 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
44444
44445         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
44446         of x86_64 when setting libc_cv_slibdir, libdir and
44447         libc_cv_localedir.
44448         * sysdeps/unix/sysv/linux/configure: Regenerated.
44449
44450 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
44451
44452         * manual/lang.texi (Old Varargs): Remove section.
44453         (How Variadic): Update menu.
44454         (va_start): Do not mention varargs.h.
44455
44456 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
44457             Joseph Myers  <joseph@codesourcery.com>
44458
44459         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
44460         link test.
44461         * configure: Regenerated.
44462
44463 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
44464
44465         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
44466         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
44467         conformtest.pl
44468
44469 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
44470
44471         * NOTES: Remove.
44472         * Makefile (files-for-dist): Remove NOTES.
44473         (NOTES): Remove rule.
44474         * README: Don't refer to NOTES.
44475         * manual/creature.texi: Don't include macros.texi.
44476         * manual/intro.texi (creature.texi): Remove comment referring to
44477         NOTES.
44478
44479         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
44480         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
44481         * configure: Regenerated.
44482         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
44483         LIBC_TRY_CC_OPTION.
44484         (libc_cv_as_i686): Likewise.
44485         (libc_cv_cc_avx): Likewise.
44486         (libc_cv_cc_sse2avx): Likewise.
44487         (libc_cv_cc_fma4): Likewise.
44488         (libc_cv_cc_novzeroupper): Likewise.
44489         * sysdeps/i386/configure: Regenerated.
44490
44491         [BZ #13883]
44492         * sysdeps/i386/fpu/s_cexp.S: Remove.
44493         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
44494         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
44495         * math/libm-test.inc (cexp_test): Add more tests.
44496         * sysdeps/i386/fpu/libm-test-ulps: Update.
44497         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44498
44499 2012-03-21  Allan McRae  <allan@archlinux.org>
44500
44501         * timezone/Makefile: Do not install iso3166.tab and zone.tab
44502
44503 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
44504
44505         [BZ #13871]
44506         * math/w_exp2.c: Do not include <float.h>.
44507         (o_threshold, u_threshold): Remove.
44508         (__exp2): Calculate result before checking finiteness and calling
44509         __kernel_standard.
44510         * math/w_exp2f.c: Likewise.
44511         * math/w_exp2l.c: Likewise.
44512         * math/libm-test.inc (exp2_test): Require overflow exception for
44513         1e6 input.
44514
44515         [BZ #3866]
44516         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
44517         range of signed 64-bit integers before using fistpll.  Remove
44518         checks for whether integers fit in mantissa bits.
44519         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
44520         the range of signed 32-bit integers before using fistpl.  Remove
44521         checks for whether integers fit in mantissa bits.
44522         * sysdeps/i386/fpu/e_powl.S (p64): New object.
44523         (__ieee754_powl): Test for y outside the range of signed 64-bit
44524         integers before using fistpll.  Reduce 64-bit values to 63-bit
44525         ones as needed.
44526         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
44527         divide-by-zero is raised for zero to large negative powers.
44528         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
44529         (__ieee754_powl): Test for y outside the range of signed 64-bit
44530         integers before using fistpll.  Reduce 64-bit values to 63-bit
44531         ones as needed.
44532         * math/libm-test.inc (pow_test): Add more tests.
44533
44534 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
44535
44536         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
44537         <stdio-common/_itoa.h>.
44538         * debug/segfault.c: Likewise.
44539         * elf/dl-cache.c: Likewise.
44540         * elf/dl-minimal.c: Likewise.
44541         * elf/dl-misc.c: Likewise.
44542         * elf/dl-sysdep.c: Likewise.
44543         * elf/dl-version.c: Likewise.
44544         * elf/rtld.c: Likewise.
44545         * hurd/hurdsock.c: Likewise.
44546         * hurd/lookup-retry.c: Likewise.
44547         * malloc/malloc.c: Likewise.
44548         * malloc/mtrace.c: Likewise.
44549         * nscd/nscd_getgr_r.c: Likewise.
44550         * nscd/nscd_getpw_r.c: Likewise.
44551         * nscd/nscd_getserv_r.c: Likewise.
44552         * posix/getopt_init.c: Likewise.
44553         * posix/wordexp.c: Likewise.
44554         * stdio-common/_itoa.c: Likewise.
44555         * stdio-common/printf_fphex.c: Likewise.
44556         * stdio-common/vfprintf.c: Likewise.
44557         * string/_strerror.c: Likewise.
44558         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
44559         * sysdeps/i386/i686/hp-timing.h: Likewise.
44560         * sysdeps/mach/_strerror.c: Likewise.
44561         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
44562         * sysdeps/mach/hurd/sethostid.c: Likewise.
44563         * sysdeps/mach/hurd/xmknodat.c: Likewise.
44564         * sysdeps/mach/xpg-strerror.c: Likewise.
44565         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
44566         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
44567         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
44568         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
44569         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
44570         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
44571         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
44572         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
44573         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
44574         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
44575         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
44576         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
44577         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
44578         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
44579         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
44580         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
44581         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
44582         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
44583         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
44584         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
44585         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
44586
44587         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
44588
44589         * stdio-common/_itoa.h: Moved to ...
44590         * sysdeps/generic/_itoa.h: Here.
44591
44592         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
44593
44594         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
44595         instead of "_itoa.h" and "_itowa.h".
44596         * stdio-common/vfprintf.: Likewise.
44597
44598 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
44599
44600         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
44601         <bits/wordsize.h>.
44602         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
44603         (__signbit): Likwise.
44604         (llrintf): Likwise.
44605         (llrint): Likwise.
44606
44607 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
44608
44609         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
44610         __WORDSIZE != 64.
44611
44612 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
44613
44614         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
44615         OVERFLOW_EXCEPTION_OK.
44616         * math/libm-test.inc ("Philosophy"): Update comment about
44617         exception testing.
44618         (OVERFLOW_EXCEPTION): Define.
44619         (OVERFLOW_EXCEPTION_OK): Likewise.
44620         (INVALID_EXCEPTION_OK): Renumber.
44621         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
44622         (IGNORE_ZERO_INF_SIGN): Likewise.
44623         (test_exceptions): Handle FE_OVERFLOW.
44624         (exp10_test): Expect overflow exceptions.
44625         (exp2_test): Likewise.
44626         (expm1_test): Likewise.
44627         (nextafter_test): Likewise.
44628         (pow_test): Likewise.
44629         (scalbn_test): Likewise.
44630         (scalbln_test): Likewise.
44631
44632 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
44633
44634         * sysdeps/x86_64/bits/atomic.h
44635         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
44636         64bit integer.
44637         (atomic_exchange_acq): Likewise.
44638         (__arch_exchange_and_add_body): Likewise.
44639         (__arch_add_body): Likewise.
44640         (atomic_add_negative): Likewise.
44641         (atomic_add_zero): Likewise.
44642
44643 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
44644
44645         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
44646         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
44647
44648 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
44649
44650         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
44651         Check __x86_64__ instead of __WORDSIZE.
44652
44653 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
44654
44655         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
44656
44657 2012-03-19  David S. Miller  <davem@davemloft.net>
44658
44659         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44660
44661         * sysdeps/sparc/fpu/fenv_private.h: New file.
44662         * sysdeps/sparc/fpu/math_private.h: Use it.
44663         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
44664         Remove.
44665         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
44666         (libc_feholdexcept_setroundl): Remove.
44667         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
44668         Remove.
44669         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
44670         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
44671
44672 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
44673
44674         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
44675         int64_t instead of long int.
44676         (INSERT_WORDS64): Likwise.
44677
44678 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
44679
44680         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
44681         _Unwind_GetCFA return to _Unwind_Ptr first.
44682
44683 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
44684
44685         [BZ #13629]
44686         * math/s_clog.c: Include <float.h>.
44687         (__clog): Scale large or subnormal inputs.
44688         * math/s_clogf.c: Likewise.
44689         * math/s_clogl.c: Likewise.
44690         * math/s_clog10.c: Include <float.h>.
44691         (M_LOG10_2): Define.
44692         (__clog10): Scale large or subnormal inputs.
44693         * math/s_clog10f.c: Likewise.
44694         * math/s_clog10l.c: Likewise.
44695         * math/libm-test.inc (clog_test): Add more tests.
44696         (clog10_test): Likewise.
44697         * sysdeps/i386/fpu/libm-test-ulps: Update.
44698         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44699
44700         [BZ #11451]
44701         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
44702         x and y.
44703         * math/libm-test.inc (atan2_test): Add another test.
44704
44705         * Makerules (common-objdir-compile): Remove.
44706         * sysdeps/unix/Makefile (config-generated): Do not add
44707         $(unix-generated) to variable.
44708         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
44709         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
44710         Remove rule.
44711         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
44712         Likewise.
44713         [generic bits/local_lim.h] (before-compile): Do not append to
44714         variable.
44715         [generic bits/local_lim.h] (common-generated): Likewise.
44716         [generic sys/param.h] (before-compile): Do not append to variable.
44717         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
44718         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
44719         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
44720         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
44721         include.
44722         [generic sys/param.h] (sys/param.h-includes): Remove variable.
44723         [generic sys/param.h] (sys/param.h-includes): Remove rule.
44724         [generic sys/param.h] ($(addprefix
44725         $(common-objpfx),$(sys/param.h-includes))): Likewise.
44726         [generic sys/param.h] (common-generated): Do not append to
44727         variable.
44728         [generic sys/param.h] (sysdep_headers): Likewise.
44729         [generic bits/errno.h] (before-compile): Do not append to
44730         variable.
44731         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
44732         rule.
44733         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
44734         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
44735         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
44736         [generic bits/errno.h] (common-generated): Do not append to
44737         variable.
44738         [generic bits/ioctls.h] (before-compile): Do not append to
44739         variable.
44740         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
44741         rule.
44742         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
44743         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
44744         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
44745         rule.
44746         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
44747         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
44748         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
44749         [generic bits/ioctls.h] (common-generated): Do not append to
44750         variable.
44751         [generic sys/syscall.h] (syscall.h): Remove variable.
44752         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
44753         rule.
44754         [generic sys/syscall.h] (before-compile): Do not append to
44755         variable.
44756         [generic sys/syscall.h] (common-generated): Likewise.
44757         * sysdeps/unix/errnos-tmpl.c: Remove file.
44758         * sysdeps/unix/errnos.awk: Likewise.
44759         * sysdeps/unix/ioctls-tmpl.c: Likewise.
44760         * sysdeps/unix/ioctls.awk: Likewise.
44761         * sysdeps/unix/mk-local_lim.c: Likewise.
44762         * sysdeps/unix/snarf-ioctls: Likewise.
44763
44764 2012-03-19  Richard Henderson  <rth@twiddle.net>
44765
44766         * sysdeps/i386/fpu/fenv_private.h: New file.
44767         * sysdeps/i386/fpu/math_private.h: Use it.
44768         (math_opt_barrier, math_force_eval): Remove.
44769         (libc_feholdexcept_setround_53bit): Remove.
44770         (libc_feupdateenv_53bit): Remove.
44771         * sysdeps/x86_64/fpu/math_private.h: Likewise.
44772         (math_opt_barrier, math_force_eval): Remove.
44773         (libc_feholdexcept): Remove.
44774         (libc_feholdexcept_setround): Remove.
44775         (libc_fetestexcept, libc_fesetenv): Remove.
44776         (libc_feupdateenv_test): Remove.
44777         (libc_feupdateenv, libc_feholdsetround): Remove.
44778         (libc_feresetround): Remove.
44779
44780         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
44781         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
44782
44783         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
44784         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
44785         (libc_feupdateenv_testl): New.
44786         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
44787         (libc_feupdateenv_testf): New.
44788         (libc_feupdateenv): Use libc_feupdateenv_test.
44789         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
44790         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
44791
44792         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
44793         (libc_feholdsetroundf, libc_feholdsetroundl): New.
44794         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
44795         (libc_feresetround_noex): New.
44796         (libc_feresetround_noexf): New.
44797         (libc_feresetround_noexl): New.
44798         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
44799         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
44800         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
44801         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
44802         SET_RESTORE_ROUND.
44803         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
44804         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
44805         (__cos): Likewise.
44806         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
44807         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
44808         SET_RESTORE_ROUND_NOEX.
44809         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
44810         SET_RESTORE_ROUND_NOEXF.
44811         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
44812         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
44813         (libc_feholdsetroundf): New.
44814         (libc_feresetround, libc_feresetroundf): New.
44815
44816         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
44817         (libc_feholdexcept_setround_53bit): Convert from macro to function.
44818         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
44819
44820         * sysdeps/generic/math_private.h: Include <fenv.h>.
44821         (default_libc_feholdexcept): New.
44822         (default_libc_feholdexcept_setround): New.
44823         (default_libc_fesetenv, default_libc_feupdateenv): New.
44824         (libc_feholdexcept): Only define if undefined.
44825         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
44826         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
44827         (libc_feholdexcept_setroundl): Likewise.
44828         (libc_feholdexcept_setround_53bit): Likewise.
44829         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
44830         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
44831         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
44832         (libc_feupdateenv_53bit): Likewise.
44833         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
44834         (libc_feholdexcept): Convert from macro to inline function.
44835         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
44836         (libc_fesetenv, libc_feupdateenv): Likewise.
44837
44838         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
44839         not previously defined.
44840         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
44841         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
44842         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
44843         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
44844         * sysdeps/ieee754/flt-32/math_private.h: New file.
44845         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
44846         math_private.h below SET_FLOAT_WORD.
44847         (__isnan, __isinf_ns, __finite): Remove.
44848         (__isnanf, __isinf_nsf, __finitef): Remove.
44849
44850 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
44851
44852         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44853
44854 2012-03-17  David S. Miller  <davem@davemloft.net>
44855
44856         [BZ #6471]
44857         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
44858         for 2.16.
44859
44860 2012-03-16  David S. Miller  <davem@davemloft.net>
44861
44862         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
44863         warnings.
44864
44865         [BZ #6471]
44866         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
44867         properly.
44868         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
44869         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
44870         sysdep_routines when subdir is sysvipc.
44871         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
44872         __getshmlba helper.
44873
44874         * sysdeps/sparc/fpu/libm-test/ulps: Update.
44875
44876 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
44877
44878         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
44879         [__LP64__].
44880
44881 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
44882
44883         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
44884         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
44885         (__lround): Renamed to ...
44886         (__llround): This.  Replace long int with long long int.
44887         Define lround functions as aliases of llround functions.
44888         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
44889
44890 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
44891
44892         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
44893         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
44894         adresses to uintptr_t.  Replace "long int" and "unsigned long
44895         int" with "greg_t" on va_arg.
44896
44897 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
44898
44899         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
44900         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
44901
44902         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
44903         Move e_machine check before EI_CLASS check.  Handle x32
44904         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
44905         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
44906         SKIP_EM_IA_64 and include
44907         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
44908
44909         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
44910         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
44911         (add_system_dir): New macro.
44912
44913         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
44914         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
44915
44916 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
44917
44918         [BZ #2551]
44919         [BZ #2552]
44920         [BZ #2553]
44921         [BZ #2554]
44922         [BZ #2562]
44923         [BZ #2563]
44924         [BZ #2565]
44925         [BZ #2566]
44926         [BZ #2576]
44927         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
44928         (y0): Likewise.
44929         * math/w_j0f.c (j0f): Likewise.
44930         (y0f): Likewise.
44931         * math/w_j0l.c (__j0l): Likewise.
44932         (__y0l): Likewise.
44933         * math/w_j1.c (j1): Likewise.
44934         (y1): Likewise.
44935         * math/w_j1f.c (j1f): Likewise.
44936         (y1f): Likewise.
44937         * math/w_j1l.c (__j1l): Likewise.
44938         (__y1l): Likewise.
44939         * math/w_jn.c (jn): Likewise.
44940         (yn): Likewise.
44941         * math/w_jnf.c (jnf): Likewise.
44942         (ynf): Likewise.
44943         * math/w_jnl.c (__jnl): Likewise.
44944         (__ynl): Likewise.
44945         * math/libm-test.inc (j0_test): Add more tests.
44946         (j1_test): Likewise.
44947         (jn_test): Likewise.  Add trailing semicolon to existing test.
44948         (y0_test): Likewise.
44949         (y1_test): Likewise.
44950         * sysdeps/i386/fpu/libm-test-ulps: Update.
44951         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44952
44953         [BZ #13851]
44954         [BZ #13854]
44955         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
44956         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
44957         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
44958         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
44959         (__tanl): Set errno for infinite argument.
44960         * sysdeps/i386/fpu/mptan.c: Remove.
44961         * sysdeps/i386/fpu/s_tan.S: Likewise.
44962         * sysdeps/i386/fpu/s_tanl.S: Likewise.
44963         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
44964         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
44965         * math/libm-test.inc (tan_test): Add more tests and enable more
44966         tests for double and long double.
44967         * sysdeps/i386/fpu/libm-test-ulps: Update.
44968         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44969
44970 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
44971
44972         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
44973         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
44974
44975 2012-03-16  Roland McGrath  <roland@hack.frob.com>
44976
44977         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
44978         * configure.in: Use it for both main tree and add-ons.
44979         * configure: Regenerated.
44980
44981 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
44982
44983         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
44984
44985 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
44986
44987         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
44988         in comment.
44989
44990         [BZ #13851]
44991         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
44992         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
44993         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
44994         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
44995         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
44996         infinite argument.
44997         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
44998         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
44999         != 0 for prec == 2.
45000         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
45001         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
45002         * sysdeps/i386/fpu/s_cosl.S: Likewise.
45003         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
45004         * sysdeps/i386/fpu/s_sinl.S: Likewise.
45005         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
45006         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
45007         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
45008         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
45009         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
45010         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
45011         * math/libm-test.inc (cos_test): Add more tests and enable more
45012         tests for long double.
45013         (sin_test): Likewise.
45014         (sincos_test): Likewise.
45015         * sysdeps/i386/fpu/libm-test-ulps: Update.
45016         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45017
45018 2012-03-16  David S. Miller  <davem@davemloft.net>
45019
45020         * sysdeps/sparc/fpu/math_private.h: New file.
45021
45022 2012-03-15  David S. Miller  <davem@davemloft.net>
45023
45024         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
45025         file.
45026         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
45027         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
45028         file.
45029         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
45030         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
45031         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
45032         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
45033         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
45034         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
45035         sysdep routines.
45036         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
45037
45038         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
45039         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
45040
45041         * sysdeps/sparc/sparc-ifunc.h: New file.
45042         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
45043         sparc-ifunc.h
45044         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
45045         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
45046         Likewise.
45047         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
45048         Likewise.
45049         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
45050         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
45051         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
45052         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
45053         Likewise.
45054         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
45055         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
45056         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
45057         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
45058         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
45059         Likewise.
45060         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
45061         Likewise.
45062         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
45063         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
45064         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
45065         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
45066         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
45067         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
45068         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
45069         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
45070         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
45071         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
45072         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
45073         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
45074         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
45075         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
45076         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
45077         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
45078         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
45079         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
45080         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
45081         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
45082         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
45083         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
45084         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
45085         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
45086
45087 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
45088
45089         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
45090         scaling.
45091         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45092
45093 2012-03-15  Andreas Jaeger  <aj@suse.de>
45094
45095         [BZ #13852]
45096         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
45097         ieee754/flt-32 implementation for sin, cos and sincos.
45098         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
45099         * sysdeps/i386/fpu/s_cosf.S: Likewise.
45100         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
45101         * sysdeps/i386/fpu/s_sinf.S: Likewise.
45102         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
45103         ieee754/flt-32 implementation for tan.
45104
45105         * math/libm-test.inc (cos_test): Enable some large input tests for
45106         float as well
45107         (sin_test): Likewise.
45108         (sincos_test): Likewise.
45109         (tan_test): Add tests for large input.
45110
45111         * sysdeps/i386/fpu/libm-test-ulps: Update.
45112
45113 2012-03-15  Andreas Jaeger  <aj@suse.de>
45114
45115         [BZ #13658]
45116         * math/libm-test.inc (cos_test): Add more test cases.
45117         (sin_test): Likewise.
45118         (sincos_test): Likewise.
45119
45120 2012-03-15  Andreas Jaeger  <aj@suse.de>
45121
45122         [BZ #13837]
45123         * math/libm-test.inc (cos_test): Add a test case for large input
45124         value.
45125         (sin_test): Likewise.
45126         (sincos_test): Likewise.
45127
45128 2012-03-15  Andreas Jaeger  <aj@suse.de>
45129             Joseph Myers  <joseph@codesourcery.com>
45130
45131         [BZ #13658]
45132         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
45133         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
45134         * sysdeps/i386/fpu/branred.c: Likewise.
45135         * sysdeps/i386/fpu/dosincos.c: Likewise.
45136         * sysdeps/i386/fpu/mpa.c: Likewise.
45137         * sysdeps/i386/fpu/s_cos.S: Likewise.
45138         * sysdeps/i386/fpu/s_sin.S: Likewise.
45139         * sysdeps/i386/fpu/s_sincos.S: Likewise.
45140         * sysdeps/i386/fpu/sincos32.c: Likewise.
45141
45142         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
45143         Define.
45144         (libc_feupdateenv_53bit): Define.
45145         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
45146         Define.
45147         (libc_feupdateenv_53bit): Define.
45148
45149         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
45150         53 bit (without extend i386 double precision).
45151
45152         * math/libm-test.inc (sincos_test): Add tests for large input.
45153         (sin): Likewise.
45154         (cos): Likewise.
45155
45156         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
45157
45158 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
45159
45160         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45161
45162 2012-03-15  David S. Miller  <davem@davemloft.net>
45163
45164         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
45165         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
45166         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
45167         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
45168         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
45169         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
45170         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
45171         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
45172         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
45173         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
45174         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
45175         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
45176         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
45177         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
45178         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
45179         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
45180         file.
45181         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
45182         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
45183         file.
45184         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
45185         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
45186         file.
45187         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
45188         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
45189         file.
45190         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
45191         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
45192         fmin/fmax sysdep routines.
45193         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
45194
45195 2012-03-14  David S. Miller  <davem@davemloft.net>
45196
45197         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
45198         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
45199         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
45200         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
45201         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
45202         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
45203         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
45204         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
45205         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
45206         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
45207         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
45208         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
45209         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
45210         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
45211         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
45212         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
45213         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
45214         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
45215         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
45216         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
45217         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
45218         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
45219         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
45220         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
45221         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
45222         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
45223         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
45224         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
45225         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
45226         routines.
45227         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
45228         file.
45229         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
45230         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
45231         file.
45232         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
45233         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
45234         file.
45235         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
45236         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
45237         file.
45238         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
45239         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
45240         file.
45241         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
45242         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
45243         file.
45244         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
45245         file.
45246         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
45247         file.
45248         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
45249         file.
45250         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
45251         New file.
45252         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
45253         file.
45254         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
45255         file.
45256         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
45257         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
45258         file.
45259         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
45260         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
45261         file.
45262         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
45263         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
45264         file.
45265         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
45266         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
45267         VIS3 routines.
45268
45269         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
45270         New file.
45271
45272         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45273
45274         * sysdeps/sparc/configure.in: New file.
45275         * sysdeps/sparc/configure: Generate.
45276         * configure.in (libc_cv_sparc_as_vis3): Substitute.
45277         * configure: Regenerate.
45278         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
45279         * config.make.in (have-as-vis3): New.
45280         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
45281         available use -Av9d instead of -Av9a.
45282         * sysdeps/sparc/sparc64/Makefile: Likewise.
45283         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
45284         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
45285         New file.
45286         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
45287         file.
45288         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
45289         New file.
45290         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
45291         file.
45292         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
45293         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
45294         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
45295         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
45296         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
45297
45298         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
45299         fzeros/fnegs to load 0x80000000 into a float register instead of
45300         using the stack.
45301         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
45302
45303 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
45304
45305         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45306         bits/syscall.h.
45307         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
45308         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
45309         ($(inst_includedir)/bits/syscall.h): Remove rule.
45310         ($(objpfx)bits/syscall.d): Include instead of
45311         $(objpfx)syscall-list.d.
45312         (generated): Change syscall-list.h and syscall-list.d to
45313         bits/syscall.h and bits/syscall.d.
45314
45315 2012-03-14  Roland McGrath  <roland@hack.frob.com>
45316
45317         [BZ #13846]
45318         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
45319
45320 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
45321
45322         [BZ #13841]
45323         * math/s_csqrt.c: Include <float.h>.
45324         (__csqrt): Scale large or subnormal inputs.
45325         * math/s_csqrtf.c: Likewise.
45326         * math/s_csqrtl.c: Likewise.
45327         * math/libm-test.inc (csqrt_test): Add more tests.
45328         * sysdeps/i386/fpu/libm-test-ulps: Update.
45329         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45330
45331         [BZ #13840]
45332         * math/libm-test.inc (hypot_test): Add more tests.
45333
45334 2012-03-13  David S. Miller  <davem@davemloft.net>
45335
45336         [BZ #13840]
45337         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
45338         double-precision for the calculation instead of scaling.
45339
45340 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
45341
45342         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
45343         manipulate bits before adding and subtracting TWO52[sx].
45344         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
45345         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
45346         Likewise.
45347         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
45348
45349 2012-03-13  David S. Miller  <davem@davemloft.net>
45350
45351         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
45352         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
45353         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
45354         rtld-global-offsets.h
45355         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45356
45357         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
45358         large parameters.
45359
45360         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
45361
45362         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
45363         'err' in the ifdef scope in which it is actually used.
45364
45365         * nss/nss_db/db-init.c: Include string.h
45366
45367 2012-03-12  David S. Miller  <davem@davemloft.net>
45368
45369         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
45370         masking out of the most significant byte of random value used.
45371         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45372         Fix coding style in previous change.
45373
45374         * sysdeps/unix/sysv/linux/kernel-features.h
45375         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
45376         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
45377         expression.
45378         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
45379         later.
45380
45381 2012-03-11  David S. Miller  <davem@davemloft.net>
45382
45383         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
45384         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
45385         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
45386         for 'resultvar' otherwise things get truncated on 64-bit.
45387
45388         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45389         Fix masking out of the most significant byte of random value used.
45390
45391         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45392
45393 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
45394
45395         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45396
45397 2012-03-09  David S. Miller  <davem@davemloft.net>
45398
45399         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
45400         variables with appropriate CPP guards.
45401         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
45402         from the frame pointer, not the stack pointer.  Correct layout
45403         comments.  Fix test on resulting framesize and the management of
45404         the outregs buffer for pltexit.  Preserve floating point return
45405         values across _dl_call_pltexit call.
45406         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
45407         framesize and the management of the outregs buffer for pltexit.
45408         Preserve floating point return values across _dl_call_pltexit
45409         call.
45410         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
45411         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
45412         (la_sparc64_gnu_pltexit): New functions.
45413         (print_exit): Fix format string for return register value.
45414
45415 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
45416
45417         * sunrpc/Makefile (others): Add rpcgen.
45418         ($(objpfx)rpcgen): Remove special build rule and dependency on
45419         libc.
45420         * sunrpc/rpcgen.c: New file.
45421
45422 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
45423
45424         [BZ #13673]
45425         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
45426         * stdio-common/bug-vfprintf-nargs.c: Likewise.
45427         * sysdeps/i386/crti.S: Likewise.
45428         * sysdeps/i386/crtn.S: Likewise.
45429         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
45430         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
45431         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
45432         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
45433         * sysdeps/sh/crti.S: Likewise.
45434         * sysdeps/sh/crtn.S: Likewise.
45435         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
45436
45437         [BZ #13673]
45438         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
45439         with URL.
45440         * locale/programs/locfile-kw.gperf: Likewise.
45441         * locale/programs/charmap-kw.h: Regenerated.
45442         * locale/programs/locfile-kw.h: Likewise.
45443
45444         [BZ #13673]
45445         * intl/plural.y: Replace FSF snail mail address with URL.
45446         * intl/plural.c: Regenerated.
45447
45448 2012-03-09  Richard Henderson  <rth@twiddle.net>
45449
45450         * include/math_private.h: Remove file.
45451         * math/math_private.h: Move file ...
45452         * sysdeps/generic/math_private.h: ... here.
45453
45454         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
45455         * sysdeps/powerpc/fpu/math_private.h: Likewise.
45456         * sysdeps/x86_64/fpu/math_private.h: Likewise.
45457
45458         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
45459         and <math_private.h>.
45460         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
45461         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
45462         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
45463         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
45464         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
45465         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
45466         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
45467         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45468         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
45469         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
45470         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45471         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
45472         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
45473         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45474         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
45475         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
45476         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45477         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
45478         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
45479         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
45480         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45481         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
45482         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
45483         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45484         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
45485         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
45486         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
45487         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45488         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45489         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
45490         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
45491         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45492         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
45493         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
45494         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
45495         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
45496         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
45497         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
45498         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
45499         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45500         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
45501         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
45502         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
45503         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
45504         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
45505         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
45506         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
45507         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
45508         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
45509         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
45510         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
45511         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
45512         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
45513         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
45514         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
45515         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
45516         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
45517         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
45518         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
45519         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
45520         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
45521         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
45522         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45523         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
45524         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
45525         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
45526         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
45527         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
45528         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
45529         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
45530         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
45531         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
45532         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
45533         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
45534         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
45535         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
45536         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
45537         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
45538         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
45539         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
45540         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
45541         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
45542         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
45543         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
45544         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
45545         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
45546         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
45547         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
45548         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
45549         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
45550         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
45551         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
45552         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45553         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
45554         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
45555         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
45556         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
45557         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
45558         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45559         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
45560         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
45561         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
45562         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
45563         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
45564         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
45565         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
45566         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
45567         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
45568         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
45569         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
45570         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
45571         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
45572         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
45573         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
45574         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
45575         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
45576         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
45577         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
45578         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
45579         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
45580         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
45581         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
45582         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
45583         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
45584         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
45585         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
45586         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
45587         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
45588         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
45589         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
45590         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
45591         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
45592         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
45593         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
45594         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
45595         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
45596         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
45597         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
45598         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
45599         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
45600         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
45601         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
45602         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
45603         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
45604         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
45605         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
45606         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
45607         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
45608         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
45609         * sysdeps/ieee754/k_standard.c: Likewise.
45610         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
45611         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
45612         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
45613         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
45614         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
45615         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
45616         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
45617         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
45618         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
45619         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
45620         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45621         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
45622         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
45623         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
45624         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
45625         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
45626         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
45627         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
45628         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
45629         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
45630         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
45631         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
45632         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
45633         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
45634         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
45635         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
45636         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
45637         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
45638         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
45639         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
45640         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
45641         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
45642         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
45643         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
45644         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
45645         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
45646         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
45647         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
45648         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
45649         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
45650         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
45651         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
45652         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
45653         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
45654         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
45655         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
45656         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
45657         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
45658         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
45659         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
45660         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
45661         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
45662         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
45663         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
45664         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
45665         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
45666         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
45667         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
45668         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
45669         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
45670         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
45671         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
45672         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
45673         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
45674         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
45675         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
45676         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
45677         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
45678         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
45679         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
45680         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
45681         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45682         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
45683         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
45684         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
45685         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
45686         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
45687         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
45688         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
45689         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
45690         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
45691         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
45692         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
45693         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
45694         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
45695         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
45696         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
45697         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
45698         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
45699         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
45700         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
45701         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
45702         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
45703         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
45704         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
45705         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
45706         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
45707         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
45708         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
45709         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
45710         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
45711         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
45712         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
45713         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
45714         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
45715         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
45716         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
45717         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
45718         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
45719         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
45720         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
45721         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
45722         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
45723         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
45724         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
45725         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
45726         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
45727         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
45728         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
45729         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
45730         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45731         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
45732         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
45733         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
45734         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
45735         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
45736         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
45737         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
45738         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
45739         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
45740         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
45741         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
45742         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
45743         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
45744         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
45745         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
45746         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
45747         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
45748         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
45749         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
45750         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
45751         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
45752         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
45753         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
45754         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
45755         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
45756         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
45757         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
45758         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
45759         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
45760         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
45761         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
45762         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
45763         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
45764         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
45765         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
45766         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
45767         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
45768         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
45769         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
45770         * sysdeps/ieee754/s_lib_version.c: Likewise.
45771         * sysdeps/ieee754/s_matherr.c: Likewise.
45772         * sysdeps/ieee754/s_signgam.c: Likewise.
45773         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
45774         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
45775         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
45776         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
45777         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
45778         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
45779         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
45780         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
45781         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
45782         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
45783         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
45784         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
45785         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
45786         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
45787         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
45788         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
45789         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
45790         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
45791         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
45792         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
45793         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
45794
45795 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
45796
45797         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
45798         * sunrpc/rpc_main.c: Likewise.
45799         * sunrpc/rpc_svcout.c: Likewise.
45800
45801 2012-03-09  David S. Miller  <davem@davemloft.net>
45802
45803         * include/math_private.h: New file.
45804
45805 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
45806
45807         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
45808         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
45809         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
45810         from <bits/socket_type.h>.
45811         (enum __socket_type): Don't define here.
45812         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
45813         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45814         bits/socket_type.h.
45815
45816         [BZ #13566]
45817         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
45818         checking __USE_GNU.
45819
45820         * Makerules ($(inst_includedir)/%.h): New rule.
45821         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
45822         (install-others): Remove variable setting.
45823         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
45824
45825 2012-03-08  Richard Henderson  <rth@twiddle.net>
45826
45827         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
45828         from macro to inline function; merge with the
45829         !__LIBC_INTERNAL_MATH_INLINES version.
45830         (__ieee754_sqrtf): Likewise.
45831
45832         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
45833         to inline function.
45834         (__rintf, __floor, __floorf): Likewise.
45835
45836         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
45837         macro to inline function.
45838         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
45839
45840         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
45841         not <math/math_private.h>.
45842
45843 2012-03-08  David S. Miller  <davem@davemloft.net>
45844
45845         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
45846         copyright year.
45847         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
45848
45849 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
45850
45851         * resolv/gai_misc.c (handle_requests): Fix struct timespec
45852         normalization.
45853         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
45854         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
45855
45856 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
45857
45858         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
45859         be defined individually, they must be defined as a block.  Define
45860         S for printing a string instead of hidint the different by using a
45861         macro for adding the 'l'.
45862         * stdio-common/tst-fphex-wide.c: Adjust.
45863
45864 2012-03-07  Marek Polacek  <polacek@redhat.com>
45865
45866         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
45867
45868 2012-03-08  Marek Polacek  <polacek@redhat.com>
45869
45870         [BZ #13806]
45871         * stdio-common/Makefile (tests): Add tst-fphex-wide.
45872         * stdio-common/tst-fphex.c: Define a few macros to make the
45873         test reusable.  Use them.
45874         * stdio-common/tst-fphex-wide.c: New file.
45875
45876 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
45877
45878         [BZ #6911]
45879         * manual/macros.texi (gnusystems): New macro.
45880         (nongnusystems): Likewise.
45881         (gnulinuxhurdsystems): Likewise.
45882         (gnuhurdsystems): Likewise..
45883         (gnulinuxsystems): Likewise.
45884         * manual/charset.texi: Use new macros or @theglibc{} to refer to
45885         variants of the GNU system, not "GNU system".
45886         * manual/conf.texi: Likewise.
45887         * manual/errno.texi: Likewise.  Update example of errno macro
45888         expansion.
45889         * manual/filesys.texi: Likewise.
45890         (getumask): Document as specific to GNU/Hurd.
45891         * manual/install.texi: Likewise.  Reword some references to
45892         GNU/Linux.
45893         * manual/intro.texi: Likewise.
45894         * manual/io.texi: Likewise.
45895         (File Name Portability): Detail which constraints are inapplicable
45896         to all GNU systems and which are only inapplicable to GNU/Hurd.
45897         * manual/job.texi: Likewise.
45898         * manual/llio.texi: Likewise.
45899         (O_NOCTTY): Document as present on GNU/Linux.
45900         * manual/maint.texi: Likewise.
45901         * manual/memory.texi: Likewise.
45902         * manual/pattern.texi: Likewise.
45903         * manual/pipe.texi: Likewise.
45904         * manual/process.texi: Likewise.
45905         * manual/resource.texi: Likewise.
45906         (RUSAGE_CHILDREN): Remove statement about specifying a particular
45907         child on GNU/Hurd.
45908         * manual/setjmp.texi: Likewise.
45909         * manual/signal.texi: Likewise.
45910         * manual/startup.texi: Likewise.
45911         * manual/stdio.texi: Likewise.
45912         * manual/terminal.texi: Likewise.
45913         (ONLCR): Document as POSIX.
45914         (OXTABS): Document availability on GNU/Linux as XTABS.
45915         (ONOEOT): Document availability separately from other bits.
45916         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
45917         * manual/time.texi: Likewise.
45918         * manual/users.texi: Likewise.
45919         * INSTALL: Regenerated.
45920         * sysdeps/gnu/errlist.c: Regenerated.
45921
45922         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
45923         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
45924         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
45925         puts.
45926         * configure: Regenerated.
45927
45928 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
45929
45930         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
45931         default includes instead of AC_HEADER_CHECK.
45932         * sysdeps/i386/configure: Regenerated.
45933
45934         [BZ #10716]
45935         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
45936         * math/s_cacoshf.c (__cacoshf): Likewise.
45937         * math/s_cacoshl.c (__cacoshl): Likewise.
45938         * math/s_casinh.c (__casinh): Set signs of result from argument.
45939         * math/s_casinhf.c (__casinhf): Likewise.
45940         * math/s_casinhl.c (__casinhl): Likewise.
45941         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
45942         (casinh_test): Add more tests.
45943         * sysdeps/i386/fpu/libm-test-ulps: Update.
45944         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45945
45946 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
45947
45948         * po/zh_TW.po: Update from translation team.
45949
45950         * login/Makefile (distribute): Remove variable.
45951         * catgets/Makefile: Likewise.
45952         * mach/Makefile: Likewise.
45953         * malloc/Makefile: Likewise.
45954         * misc/Makefile: Likewise.
45955         * iconv/Makefile: Likewise.
45956         * nscd/Makefile: Likewise.
45957         * hurd/Makefile: Likewise.
45958         * manual/Makefile: Likewise.
45959         * locale/Makefile: Likewise.
45960         * intl/Makefile: Likewise.
45961         * conform/Makefile: Likewise.
45962         * nss/Makefile: Likewise.
45963         * time/Makefile: Likewise.
45964         * soft-fp/Makefile: Likewise.
45965         * dirent/Makefile: Likewise.
45966         * gmon/Makefile: Likewise.
45967         * po/Makefile: Likewise.
45968         * rt/Makefile: Likewise.
45969         * socket/Makefile: Likewise.
45970         * math/Makefile: Likewise.
45971         * signal/Makefile: Likewise.
45972         * debug/Makefile: Likewise.
45973         * elf/Makefile: Likewise.
45974         * timezone/Makefile: Likewise.
45975         * stdlib/Makefile: Likewise.
45976         * iconvdata/Makefile: Likewise.
45977         * sunrpc/Makefile: Likewise.
45978         * io/Makefile: Likewise.
45979         * argp/Makefile: Likewise.
45980         * inet/Makefile: Likewise.
45981         * hesiod/Makefile: Likewise.
45982         * grp/Makefile: Likewise.
45983         * csu/Makefile: Likewise.
45984         * wctype/Makefile: Likewise.
45985         * crypt/Makefile: Likewise.
45986         * libio/Makefile: Likewise.
45987         * string/Makefile: Likewise.
45988         * nis/Makefile: Likewise.
45989         * resolv/Makefile: Likewise.
45990         * stdio-common/Makefile: Likewise.
45991         * wcsmbs/Makefile: Likewise.
45992         * dlfcn/Makefile: Likewise.
45993         * posix/Makefile: Likewise.
45994
45995         [BZ #6959]
45996         * timezone/Makefile: Don't install timezone files, just the programs
45997         and scripts.
45998
45999 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
46000
46001         * nss/databases.def: Add missing gshadow entry.
46002
46003         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
46004
46005 2012-03-06  Marek Polacek  <polacek@redhat.com>
46006
46007         [BZ #13726]
46008         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
46009         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
46010         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
46011         * stdio-common/tst-long-dbl-fphex.c: New file.
46012
46013 2012-03-06  David S. Miller  <davem@davemloft.net>
46014
46015         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
46016         (set_obp_int): New function.
46017         (get_obp_int): New function.
46018         (__get_clockfreq_via_dev_openprom): Likewise.
46019         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
46020         Avoid unused variable warnings on 'val' and use builtin_expect.
46021         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
46022         __builtin_expect.
46023         (INLINE_CLONE_SYSCALL): Likewise.
46024
46025 2012-03-05  David S. Miller  <davem@davemloft.net>
46026
46027         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46028
46029 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
46030
46031         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46032
46033         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
46034         only for |x| >= 40.
46035         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
46036
46037 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
46038
46039         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
46040         Replace gettimeofday with __vdso_gettimeofday.
46041
46042         * sysdeps/unix/sysv/linux/x86_64/init-first.c
46043         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
46044         __vdso_clock_gettime and __vdso_getcpu.
46045
46046         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
46047         time with __vdso_time.
46048
46049 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
46050
46051         * manual/lang.texi (size_t): Note types to which size_t may be
46052         equivalent with the GNU C Library, but do not describe when
46053         differences between them are significant.
46054
46055 2012-03-05  Andreas Jaeger  <aj@suse.de>
46056
46057         * sysdeps/i386/fpu/libm-test-ulps: Update.
46058
46059 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
46060
46061         [BZ #3976]
46062         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
46063         (__ieee754_pow): Save and restore rounding mode and use
46064         round-to-nearest for main computations.
46065         * math/libm-test.inc (pow_test_tonearest): New function.
46066         (pow_test_towardzero): Likewise.
46067         (pow_test_downward): Likewise.
46068         (pow_test_upward): Likewise.
46069         (main): Call the new functions.
46070         * sysdeps/i386/fpu/libm-test-ulps: Update.
46071         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46072
46073         [BZ #3976]
46074         * math/libm-test.inc (cosh_test_tonearest): New function.
46075         (cosh_test_towardzero): Likewise.
46076         (cosh_test_downward): Likewise.
46077         (cosh_test_upward): Likewise.
46078         (sinh_test_tonearest): Likewise.
46079         (sinh_test_towardzero): Likewise.
46080         (sinh_test_downward): Likewise.
46081         (sinh_test_upward): Likewise.
46082         (main): Call the new functions.
46083         * sysdeps/i386/fpu/libm-test-ulps: Update.
46084         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46085
46086 2012-03-05  Tom de Vries  <tom@codesourcery.com>
46087
46088         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
46089         default stack guard is set in last bytes.
46090         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
46091
46092 2012-03-05  Kees Cook  <keescook@chromium.org>
46093
46094         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
46095
46096         [BZ #13656]
46097         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
46098         possibly allocate from heap instead of stack.
46099         * stdio-common/bug-vfprintf-nargs.c: New file.
46100         * stdio-common/Makefile (tests): Add nargs overflow test.
46101
46102 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
46103
46104         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46105
46106 2012-03-03  Marek Polacek  <polacek@redhat.com>
46107
46108         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
46109         * math/math_private.h: Likewise.
46110         * stdlib/tst-strtod.c: Likewise.
46111         * sysdeps/i386/i486/bits/atomic.h: Likewise.
46112         * sysdeps/x86_64/bits/atomic.h: Likewise.
46113
46114 2012-03-02  David S. Miller  <davem@davemloft.net>
46115
46116         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
46117         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
46118         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
46119         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
46120         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
46121         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
46122         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
46123         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
46124
46125 2012-03-02  Roland McGrath  <roland@hack.frob.com>
46126
46127         [BZ #13792]
46128         * manual/examples/README: New file, says the example source files
46129         can be used under GPL>=2.
46130         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
46131         line containing just "*/".
46132         * manual/examples/add.c: Add copyright header (GPL>=2).
46133         * manual/examples/argp-ex1.c: Likewise.
46134         * manual/examples/argp-ex2.c: Likewise.
46135         * manual/examples/argp-ex3.c: Likewise.
46136         * manual/examples/argp-ex4.c: Likewise.
46137         * manual/examples/atexit.c: Likewise.
46138         * manual/examples/db.c: Likewise.
46139         * manual/examples/dir.c: Likewise.
46140         * manual/examples/dir2.c: Likewise.
46141         * manual/examples/execinfo.c: Likewise.
46142         * manual/examples/filecli.c: Likewise.
46143         * manual/examples/filesrv.c: Likewise.
46144         * manual/examples/fmtmsgexpl.c: Likewise.
46145         * manual/examples/genpass.c: Likewise.
46146         * manual/examples/inetcli.c: Likewise.
46147         * manual/examples/inetsrv.c: Likewise.
46148         * manual/examples/isockad.c: Likewise.
46149         * manual/examples/longopt.c: Likewise.
46150         * manual/examples/memopen.c: Likewise.
46151         * manual/examples/memstrm.c: Likewise.
46152         * manual/examples/mkfsock.c: Likewise.
46153         * manual/examples/mkisock.c: Likewise.
46154         * manual/examples/mygetpass.c: Likewise.
46155         * manual/examples/pipe.c: Likewise.
46156         * manual/examples/popen.c: Likewise.
46157         * manual/examples/rprintf.c: Likewise.
46158         * manual/examples/search.c: Likewise.
46159         * manual/examples/select.c: Likewise.
46160         * manual/examples/setjmp.c: Likewise.
46161         * manual/examples/sigh1.c: Likewise.
46162         * manual/examples/sigusr.c: Likewise.
46163         * manual/examples/stpcpy.c: Likewise.
46164         * manual/examples/strdupa.c: Likewise.
46165         * manual/examples/strftim.c: Likewise.
46166         * manual/examples/strncat.c: Likewise.
46167         * manual/examples/subopt.c: Likewise.
46168         * manual/examples/swapcontext.c: Likewise.
46169         * manual/examples/termios.c: Likewise.
46170         * manual/examples/testopt.c: Likewise.
46171         * manual/examples/testpass.c: Likewise.
46172         * manual/examples/timeval_subtract.c: Likewise.
46173
46174         [BZ #13792]
46175         * manual/time.texi (Elapsed Time): Move timeval_subtract example
46176         function to ...
46177         * manual/timeval_subtract.c.texi: ... here, new file.
46178
46179 2012-03-02  David S. Miller  <davem@davemloft.net>
46180
46181         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
46182
46183 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
46184
46185         [BZ #3976]
46186         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
46187         (__sin): Save and restore rounding mode and use round-to-nearest
46188         for all computations.
46189         (__cos): Save and restore rounding mode and use round-to-nearest
46190         for all computations.
46191         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
46192         <fenv.h>.
46193         (tan): Save and restore rounding mode and use round-to-nearest for
46194         all computations.
46195         * math/libm-test.inc (cos_test_tonearest): New function.
46196         (cos_test_towardzero): Likewise.
46197         (cos_test_downward): Likewise.
46198         (cos_test_upward): Likewise.
46199         (sin_test_tonearest): Likewise.
46200         (sin_test_towardzero): Likewise.
46201         (sin_test_downward): Likewise.
46202         (sin_test_upward): Likewise.
46203         (tan_test_tonearest): Likewise.
46204         (tan_test_towardzero): Likewise.
46205         (tan_test_downward): Likewise.
46206         (tan_test_upward): Likewise.
46207         (main): Call the new functions.
46208         * sysdeps/i386/fpu/libm-test-ulps: Update.
46209         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46210
46211         [BZ #10135]
46212         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
46213         small n, then large n, before computing and testing k+n.
46214         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
46215         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
46216         Likewise.
46217         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
46218         Likewise.
46219         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
46220         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
46221         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
46222         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
46223         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
46224         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
46225         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
46226         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
46227         * math/libm-test.inc (scalbn_test): Add more tests.
46228         (scalbln_test): Likewise.
46229
46230         * manual/filesys.texi (mode_t): Describe constraints on size and
46231         signedness, not exact equivalence to a particular type.
46232         (ino_t): Likewise.
46233         (ino64_t): Likewise.
46234         (dev_t): Likewise.
46235         (nlink_t): Likewise.
46236         (blkcnt_t): Likewise.
46237         (blkcnt64_t): Likewise.
46238         * manual/llio.texi (off_t): Likewise.
46239
46240         [BZ #3976]
46241         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
46242         (__ieee754_exp): Save and restore rounding mode and use
46243         round-to-nearest for all computations.
46244         * math/libm-test.inc (exp_test_tonearest): New function.
46245         (exp_test_towardzero): Likewise.
46246         (exp_test_downward): Likewise.
46247         (exp_test_upward): Likewise.
46248         (main): Call the new functions.
46249         * sysdeps/i386/fpu/libm-test-ulps: Update.
46250         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46251
46252 2012-03-01  Chris Demetriou  <cgd@google.com>
46253
46254         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
46255         have predictable order.
46256
46257 2012-03-01  David S. Miller  <davem@davemloft.net>
46258
46259         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
46260
46261         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
46262         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
46263         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
46264         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
46265
46266         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
46267         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
46268         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
46269         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
46270         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
46271         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
46272         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
46273         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
46274         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
46275
46276         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46277
46278         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
46279         * sysdeps/sparc/fpu/libm-test-ulps: to here.
46280         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
46281
46282         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
46283         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
46284         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
46285         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
46286         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
46287         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
46288         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
46289         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
46290         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
46291         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
46292         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
46293         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
46294         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
46295         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
46296         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
46297         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46298         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
46299         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
46300         * sysdeps/sparc/elf/configure: Regenerated.
46301
46302 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
46303
46304         * configure.in (AS, LD): Require binutils 2.20 or later.
46305         * configure: Regenerated.
46306         * manual/install.texi (Tools for Compilation): Give binutils 2.20
46307         as required minimum version.
46308         * INSTALL: Regenerated.
46309
46310         [BZ #2541]
46311         [BZ #4108]
46312         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
46313         before squaring exponent.
46314         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
46315         bottom long double and 27 bits of top long double before squaring
46316         exponent.
46317         * math/libm-test.inc (erfc_test): Add more tests.
46318         * sysdeps/i386/fpu/libm-test-ulps: Update.
46319         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46320         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46321
46322 2012-03-01  Kai Tietz  <ktietz@redhat.com>
46323
46324         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
46325         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
46326         containing bit-fields.
46327         * soft-fp/extended.h (_FP_UNION_E): Likewise.
46328         * soft-fp/single.h (_FP_UNION_S): Likewise.
46329         * soft-fp/double.h (_FP_UNION_D): Likewise.
46330
46331 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
46332
46333         [BZ #13786]
46334         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
46335         not include ../strcmp.S.
46336         [USE_AS_STRNCASECMP_L]: Likewise.
46337         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
46338         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
46339         * sysdeps/i386/i686/multiarch/strncase_l-c.c
46340         (__strncasecmp_l_ia32): Define as alias to
46341         __strncasecmp_l_nonascii.
46342
46343         [BZ #5794]
46344         * math/libm-test.inc (expm1_test): Add test for bug 5794.
46345         * sysdeps/i386/fpu/libm-test-ulps: Update.
46346         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46347
46348         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
46349         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46350
46351 2012-02-29  Jeff Law  <law@redhat.com>
46352
46353         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
46354         out of bounds read.
46355
46356 2012-02-29  Marek Polacek  <polacek@redhat.com>
46357
46358         [BZ #13706]
46359         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
46360         * elf/Makefile: Add rules to run tst-unused-dep.out.
46361
46362 2012-02-28  David S. Miller  <davem@davemloft.net>
46363
46364         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
46365         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
46366         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
46367         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
46368         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
46369         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
46370
46371 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
46372
46373         * math/libm-test.inc (llround_test): Move one test from
46374         lround_test.  Use TEST_f_L in moved test.
46375         (lround_test): Move misplaced test to llround_test.  Add testcase
46376         from bug 2561.
46377
46378 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
46379
46380         * sysdeps/x86_64/fpu/e_expf.S: New file.
46381         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
46382
46383 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
46384
46385         [BZ #13637]
46386         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
46387         of remain_len that may cause incomplete multi-byte character and
46388         false match.
46389         * posix/bug-regex33.c: New file.
46390         * posix/Makefile (tests): Add bug-regex33.
46391
46392 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
46393
46394         * manual/macros.texi: New file.
46395         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
46396         * manual/libc.texinfo: Include macros.texi.
46397         * manual/creatute.texi: Likewise.
46398         * manual/install.texi: Likewise.
46399         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
46400         @glibcadj{} in references to the GNU C Library.
46401         * manual/charset.texi: Likewise.
46402         * manual/conf.texi: Likewise.
46403         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
46404         when not using those macros.
46405         * manual/creature.texi: Likewise.
46406         * manual/crypt.texi: Likewise.
46407         * manual/errno.texi: Likewise.
46408         * manual/filesys.texi: Likewise.
46409         * manual/header.texi: Likewise.
46410         * manual/install.texi: Likewise.
46411         * manual/intro.texi: Likewise.
46412         * manual/io.texi: Likewise.
46413         * manual/job.texi: Likewise.
46414         * manual/lang.texi: Likewise.
46415         * manual/libc.texiinfo: Likewise.
46416         * manual/llio.texi: Likewise.
46417         * manual/locale.texi: Likewise.
46418         * manual/maint.texi: Likewise.
46419         * manual/math.texi: Likewise.
46420         * manual/memory.texi: Likewise.
46421         * manual/message.texi: Likewise.
46422         * manual/nss.texi: Likewise.
46423         * manual/pattern.texi: Likewise.
46424         * manual/process.texi: Likewise.
46425         * manual/resource.texi: Likewise.
46426         * manual/search.texi: Likewise.
46427         * manual/setjmp.texi: Likewise.
46428         * manual/signal.texi: Likewise.
46429         * manual/socket.texi: Likewise.
46430         * manual/startup.texi: Likewise.
46431         * manual/stdio.texi: Likewise.
46432         * manual/string.texi: Likewise.
46433         * manual/sysinfo.texi: Likewise.
46434         * manual/syslog.texi: Likewise.
46435         * manual/terminal.texi: Likewise.
46436         * manual/time.texi: Likewise.
46437         * manual/users.texi: Likewise.
46438         * INSTALL: Regenerated.
46439         * NOTES: Regenerated.
46440         * sysdeps/gnu/errlist.c: Regenerated.
46441
46442 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
46443
46444         * include/dirent.h: Include <dirstream.h> before
46445         <dirent/dirent.h>.
46446
46447 2012-02-28  David S. Miller  <davem@davemloft.net>
46448
46449         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
46450         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
46451         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
46452         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
46453
46454 2012-02-27  David S. Miller  <davem@davemloft.net>
46455
46456         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
46457         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
46458         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
46459         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
46460
46461         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
46462         frame pointer instead of stack pointer relative arg slot.
46463         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
46464         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
46465         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
46466
46467 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
46468
46469         [BZ #3992]
46470         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
46471
46472 2012-02-27  David S. Miller  <davem@davemloft.net>
46473
46474         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
46475         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
46476         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
46477         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
46478         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
46479         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
46480         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
46481         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
46482
46483 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
46484
46485         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
46486         later.  Allow versions 5-9.
46487         * configure: Regenerated.
46488         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
46489         required minimum version and 4.6 as recommended version.  Do not
46490         mention bugs in GCC 2.7 and 2.8.
46491         * INSTALL: Regenerated.
46492
46493 2012-02-27  David S. Miller  <davem@davemloft.net>
46494
46495         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
46496         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
46497         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
46498         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
46499         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
46500         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
46501         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
46502         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
46503
46504         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
46505         manipulate bits before adding and subtracting TWO112[sx].
46506         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
46507
46508 2012-02-27  Roland McGrath  <roland@hack.frob.com>
46509
46510         [BZ #13775]
46511         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
46512         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
46513         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
46514         being in POSIX, because they are in 1003.1-2008.
46515
46516         * rt/tst-aio.c: Include <fcntl.h>.
46517         * rt/tst-aio7.c: Likewise.
46518         * rt/tst-aio64.c: Likewise.
46519
46520         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
46521
46522 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
46523
46524         * manual/install.texi (--with-headers): Describe headers as
46525         interface headers, not private headers.
46526         (Specific advice for GNU/Linux systems): Describe use of headers
46527         from "make headers_install", not private headers from older
46528         kernels.
46529         * INSTALL: Regenerated.
46530         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
46531         Change to 2.6.19.
46532         * sysdeps/unix/sysv/linux/configure: Regenerated.
46533
46534         * manual/llio.texi (fclean): Remove documentation.
46535
46536         * manual/Makefile (libc-texi-generated): New variable.  Include
46537         version.texi.
46538         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
46539         $(libc-texi-generated), not duplicated list of files.
46540         (version.texi, stamp-version): New rules.
46541         (realclean): Remove $(libc-texi-generated), not individual files
46542         from that list.  Do not remove dir-add.texinfo.
46543         * manual/libc.texinfo: Comment out uses of edition numbers and
46544         references to printed manual.  Remove last-updated dates.
46545         (EDITION): Comment out.
46546         (ISBN): Likewise.
46547         (VERSION, UPDATED): Remove.
46548         (version.texi): Include.
46549
46550 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
46551
46552         * sysdeps/posix/spawni.c: Include <signal.h>.
46553         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
46554         * sysdeps/pthread/aio_fsync.c: Likewise.
46555
46556 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
46557
46558         * conform/Makefile (tests): Run only when not cross-compiling and
46559         when fast-check is not defined.
46560
46561         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
46562         * conform/data/limits.h-data: Fixes for POSIX2008.
46563         * conform/run-conformtest.sh: Run all tests.
46564         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
46565         headers.
46566         * include/bits/dlfcn.h: Likewise.
46567         * include/langinfo.h: Likewise.
46568         * include/monetary.h: Likewise.
46569         * include/sys/poll.h: Likewise.
46570
46571         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
46572         for __USE_GNU.
46573         * posix/spawn.h: Define __need_sigset_t.
46574         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
46575         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
46576         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
46577         to get sigevent_t only.
46578         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
46579         only for __USE_GNU.
46580         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46581         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
46582         process_vm_writev only for __USE_GNU.
46583         * termios/termios.h: Declare tcgetsid also for POSIX2008.
46584
46585         * conform/Makefile: For now ignore errors from run-conformtest.
46586         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
46587         POSIX to avoid namespace pollution.  Don't prepend headers.
46588         * conform/data/aio.h-data: Fixes for POSIX testing.
46589         * conform/data/fcntl.h-data: Likewise.
46590         * conform/data/glob.h-data: Likewise.
46591         * conform/data/grp.h-data: Likewise.
46592         * conform/data/pthread.h-data: Likewise.
46593         * conform/data/pwd.h-data: Likewise.
46594         * conform/data/signal.h-data: Likewise.
46595         * conform/data/spawn.h-data: Likewise.
46596         * conform/data/stdio.h-data: Likewise.
46597         * conform/data/stdlib.h-data: Likewise.
46598         * conform/data/stropts.h-data: Likewise.
46599         * conform/data/sys/mman.h-data: Likewise.
46600         * conform/data/sys/stat.h-data: Likewise.
46601         * conform/data/sys/types.h-data: Likewise.
46602         * conform/data/sys/wait.h-data: Likewise.
46603         * conform/data/time.h-data: Likewise.
46604         * conform/data/unistd.h-data: Likewise.
46605         * conform/data/utime.h-data: Likewise.
46606
46607         * io/sys/stat.h: fchmod was always in POSIX.
46608         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
46609         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
46610         * rt/aio.h: Define __need_timespec before including <time.h>.
46611         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
46612         struct.  Add forward declaration of pthread_attr_t and use it in
46613         sigevent.
46614         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
46615         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
46616         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
46617         always remove CLK_TCK definition.
46618
46619 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
46620
46621         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
46622
46623 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
46624
46625         * conform/run-conformtest.sh: New file.
46626         * conform/Makefile: Run run-conformtest for tests.
46627         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
46628         support.
46629
46630         * conform/data/uchar.h-data: New file.
46631         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
46632         * conform/data/arpa/inet.h-data: Likewise.
46633         * conform/data/assert.h-data: Likewise.
46634         * conform/data/complex.h-data: Likewise.
46635         * conform/data/cpio.h-data: Likewise.
46636         * conform/data/ctype.h-data: Likewise.
46637         * conform/data/dirent.h-data: Likewise.
46638         * conform/data/dlfcn.h-data: Likewise.
46639         * conform/data/errno.h-data: Likewise.
46640         * conform/data/fcntl.h-data: Likewise.
46641         * conform/data/float.h-data: Likewise.
46642         * conform/data/fmtmsg.h-data: Likewise.
46643         * conform/data/fnmatch.h-data: Likewise.
46644         * conform/data/ftw.h-data: Likewise.
46645         * conform/data/glob.h-data: Likewise.
46646         * conform/data/grp.h-data: Likewise.
46647         * conform/data/iconv.h-data: Likewise.
46648         * conform/data/inttypes.h-data: Likewise.
46649         * conform/data/langinfo.h-data: Likewise.
46650         * conform/data/libgen.h-data: Likewise.
46651         * conform/data/limits.h-data: Likewise.
46652         * conform/data/locale.h-data: Likewise.
46653         * conform/data/math.h-data: Likewise.
46654         * conform/data/monetary.h-data: Likewise.
46655         * conform/data/mqueue.h-data: Likewise.
46656         * conform/data/ndbm.h-data: Likewise.
46657         * conform/data/net/if.h-data: Likewise.
46658         * conform/data/netdb.h-data: Likewise.
46659         * conform/data/netinet/in.h-data: Likewise.
46660         * conform/data/nl_types.h-data: Likewise.
46661         * conform/data/poll.h-data: Likewise.
46662         * conform/data/pthread.h-data: Likewise.
46663         * conform/data/pwd.h-data: Likewise.
46664         * conform/data/regex.h-data: Likewise.
46665         * conform/data/sched.h-data: Likewise.
46666         * conform/data/search.h-data: Likewise.
46667         * conform/data/semaphore.h-data: Likewise.
46668         * conform/data/setjmp.h-data: Likewise.
46669         * conform/data/signal.h-data: Likewise.
46670         * conform/data/spawn.h-data: Likewise.
46671         * conform/data/stdarg.h-data: Likewise.
46672         * conform/data/stdio.h-data: Likewise.
46673         * conform/data/stdlib.h-data: Likewise.
46674         * conform/data/string.h-data: Likewise.
46675         * conform/data/strings.h-data: Likewise.
46676         * conform/data/stropts.h-data: Likewise.
46677         * conform/data/sys/ipc.h-data: Likewise.
46678         * conform/data/sys/mman.h-data: Likewise.
46679         * conform/data/sys/msg.h-data: Likewise.
46680         * conform/data/sys/resource.h-data: Likewise.
46681         * conform/data/sys/select.h-data: Likewise.
46682         * conform/data/sys/sem.h-data: Likewise.
46683         * conform/data/sys/shm.h-data: Likewise.
46684         * conform/data/sys/socket.h-data: Likewise.
46685         * conform/data/sys/stat.h-data: Likewise.
46686         * conform/data/sys/statvfs.h-data: Likewise.
46687         * conform/data/sys/time.h-data: Likewise.
46688         * conform/data/sys/timeb.h-data: Likewise.
46689         * conform/data/sys/times.h-data: Likewise.
46690         * conform/data/sys/types.h-data: Likewise.
46691         * conform/data/sys/uio.h-data: Likewise.
46692         * conform/data/sys/un.h-data: Likewise.
46693         * conform/data/sys/utsname.h-data: Likewise.
46694         * conform/data/sys/wait.h-data: Likewise.
46695         * conform/data/syslog.h-data: Likewise.
46696         * conform/data/tar.h-data: Likewise.
46697         * conform/data/termios.h-data: Likewise.
46698         * conform/data/utime.h-data: Likewise.
46699         * conform/data/utmpx.h-data: Likewise.
46700         * conform/data/varargs.h-data: Likewise.
46701         * conform/data/wchar.h-data: Likewise.
46702         * conform/data/wctype.h-data: Likewise.
46703         * conform/data/wordexp.h-data: Likewise.
46704
46705         * include/stropts.h: New file.
46706         * include/uchar.h: New file.
46707         * include/aio.h: Changes to allow conformtest.pl to use the headers.
46708         * include/assert.h: Likewise.
46709         * include/ctype.h: Likewise.
46710         * include/dirent.h: Likewise.
46711         * include/dlfcn.h: Likewise.
46712         * include/fcntl.h: Likewise.
46713         * include/fnmatch.h: Likewise.
46714         * include/glob.h: Likewise.
46715         * include/grp.h: Likewise.
46716         * include/libio.h: Likewise.
46717         * include/locale.h: Likewise.
46718         * include/math.h: Likewise.
46719         * include/net/if.h: Likewise.
46720         * include/netdb.h: Likewise.
46721         * include/netinet/in.h: Likewise.
46722         * include/pthread.h: Likewise.
46723         * include/pwd.h: Likewise.
46724         * include/regex.h: Likewise.
46725         * include/sched.h: Likewise.
46726         * include/search.h: Likewise.
46727         * include/setjmp.h: Likewise.
46728         * include/signal.h: Likewise.
46729         * include/stdio.h: Likewise.
46730         * include/stdlib.h: Likewise.
46731         * include/string.h: Likewise.
46732         * include/sys/cdefs.h: Likewise.
46733         * include/sys/mman.h: Likewise.
46734         * include/sys/msg.h: Likewise.
46735         * include/sys/resource.h: Likewise.
46736         * include/sys/select.h: Likewise.
46737         * include/sys/socket.h: Likewise.
46738         * include/sys/stat.h: Likewise.
46739         * include/sys/statvfs.h: Likewise.
46740         * include/sys/time.h: Likewise.
46741         * include/sys/times.h: Likewise.
46742         * include/sys/uio.h: Likewise.
46743         * include/sys/utsname.h: Likewise.
46744         * include/sys/wait.h: Likewise.
46745         * include/termios.h: Likewise.
46746         * include/time.h: Likewise.
46747         * include/ulimit.h: Likewise.
46748         * include/unistd.h: Likewise.
46749         * include/utime.h: Likewise.
46750         * include/wchar.h: Likewise.
46751         * include/wctype.h: Likewise.
46752         * include/wordexp.h: Likewise.
46753
46754         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
46755
46756         * time/time.h: TIME_UTC must be a macro.
46757         Make timespec_get available for ISO C11 only as well.
46758
46759 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
46760
46761         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
46762         Reported by Peng Haitao <penght@cn.fujitsu.com>.
46763
46764 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
46765
46766         * configure.in: Use -o not -a in test for unsupported multi-arch.
46767
46768 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
46769
46770         * manual/texinfo.tex: Update to version 2012-01-19.16.
46771
46772 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
46773
46774         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
46775
46776 2012-02-24  Roland McGrath  <roland@hack.frob.com>
46777
46778         [BZ #13738]
46779         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
46780         * manual/fdl-1.3.texi: New file.
46781         * manual/fdl-1.1.texi: File removed.
46782
46783         [BZ #13738]
46784         * manual/libc.texinfo (FDL_VERSION): New @set.
46785         Use it for mention of FDL in cover text.
46786         (Documentation License): Use it in @include file name.
46787
46788 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
46789             Roland McGrath  <roland@hack.frob.com>
46790
46791         [BZ #5461]
46792         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
46793         (not LONG_LONG_MAX and LONG_LONG_MIN.
46794         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
46795         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
46796         name.
46797         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
46798
46799 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
46800
46801         [BZ #2547]
46802         [BZ #11365]
46803         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
46804         manipulate bits before adding and subtracting TWO23[sx].
46805         * math/libm-test.inc (nearbyint_test): Add more tests.
46806
46807 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
46808
46809         [BZ #2548]
46810         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
46811         bits before adding and subtracting TWO23[sx].
46812         * math/libm-test.inc (rint_test): Add more tests.
46813         (rint_test_tonearest): Likewise.
46814         (rint_test_towardzero): Likewise.
46815         (rint_test_downward): Likewise.
46816         (rint_test_upward: Likewise.
46817
46818 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
46819
46820         [BZ #10110]
46821         * include/stdc-predef.h: New file.  Extracted from features.h.
46822         * include/features.h: Include stdc-predef.h.
46823         * Makefile (headers): Add stdc-predef.h.
46824         * CONFORMANCE (Compiler limitations): Update.
46825
46826 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
46827
46828         * manual/libc.texinfo (VERSION, UPDATED): Revert.
46829
46830 2012-02-21  David S. Miller  <davem@davemloft.net>
46831
46832         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
46833         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
46834
46835 2012-02-20  David S. Miller  <davem@davemloft.net>
46836
46837         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
46838         using a normal save/restore sequence, rather than allocating a
46839         dummy stack frame just to store a frame pointer and restore.
46840         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
46841
46842 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
46843
46844         * manual/install.texi: Fix stray word in line-wrapped comment.
46845
46846 2012-02-20  David S. Miller  <davem@davemloft.net>
46847
46848         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
46849         both binutils and gcc support GOTDATA.
46850
46851         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
46852         "rd %pc" in the PIC register setup sequences.
46853
46854         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
46855         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
46856         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
46857         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
46858         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
46859         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
46860         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46861         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
46862         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
46863         (SYSCALL_ERROR_HANDLER): Likewise.
46864         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
46865         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
46866         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
46867         (SYSCALL_ERROR_HANDLER): Likewise.
46868
46869         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
46870         (HAVE_GCC_GOTDATA): New.
46871         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
46872         relocation support in both binutils and gcc.
46873         * sysdeps/sparc/elf/configure: Regenerate.
46874
46875         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
46876         * sysdeps/sparc/sparc32/elf/configure: Delete.
46877         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
46878         * sysdeps/sparc/sparc64/elf/configure: Delete.
46879         * sysdeps/sparc/elf/configure.in: New file.
46880         * sysdeps/sparc/elf/configure: Generate.
46881
46882         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
46883         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
46884         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
46885         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
46886         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
46887
46888 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
46889
46890         * manual/install.texi: Do not mention specific glibc version
46891         numbers.
46892         * manual/libc.texinfo (VERSION, UPDATED): Update.
46893         (@copying): Use @copyright{} and range of years.
46894
46895 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
46896
46897         [BZ #13695]
46898         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
46899         [crti.S not in sysdirs] (generated): Do not append.
46900         [crti.S not in sysdirs] (omit-deps): Likewise.
46901         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
46902         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
46903         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
46904         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
46905         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
46906         Likewise.
46907         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
46908         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
46909         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
46910         * csu/defs.awk: Remove file.
46911         * sysdeps/generic/initfini.c: Likewise.
46912         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
46913         variable.
46914         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
46915         Likewise.
46916
46917 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
46918
46919         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
46920         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
46921         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
46922         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
46923         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
46924         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
46925         <bits/epoll.h>.
46926         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
46927         (__EPOLL_PACKED): Define to empty if not defined by
46928         <bits/epoll.h>.
46929         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
46930         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46931         bits/epoll.h.
46932
46933 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
46934
46935         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
46936         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
46937         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
46938         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
46939         <bits/timerfd.h>.
46940         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
46941         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46942         bits/timerfd.h.
46943
46944 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
46945
46946         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
46947         in C locale.
46948         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46949         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
46950         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
46951         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46952
46953 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
46954
46955         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46956         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
46957
46958 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
46959
46960         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
46961         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
46962         defined.
46963         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
46964         Likewise.
46965         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
46966         entry for 2.16.
46967
46968 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
46969
46970         * math/w_acos.c: Use non-signaling floating-point comparisons.
46971         * math/w_acosf.c: Likewise.
46972         * math/w_acosh.c: Likewise.
46973         * math/w_acoshf.c: Likewise.
46974         * math/w_acoshl.c: Likewise.
46975         * math/w_acosl.c: Likewise.
46976         * math/w_asin.c: Likewise.
46977         * math/w_asinf.c: Likewise.
46978         * math/w_asinl.c: Likewise.
46979         * math/w_atanh.c: Likewise.
46980         * math/w_atanhf.c: Likewise.
46981         * math/w_atanhl.c: Likewise.
46982         * math/w_exp2.c: Likewise.
46983         * math/w_exp2f.c: Likewise.
46984         * math/w_exp2l.c: Likewise.
46985         * math/w_j0.c: Likewise.
46986         * math/w_j0f.c: Likewise.
46987         * math/w_j0l.c: Likewise.
46988         * math/w_j1.c: Likewise.
46989         * math/w_j1f.c: Likewise.
46990         * math/w_j1l.c: Likewise.
46991         * math/w_jn.c: Likewise.
46992         * math/w_jnf.c: Likewise.
46993         * math/w_log.c: Likewise.
46994         * math/w_log10.c: Likewise.
46995         * math/w_log10f.c: Likewise.
46996         * math/w_log10l.c: Likewise.
46997         * math/w_log2.c: Likewise.
46998         * math/w_log2f.c: Likewise.
46999         * math/w_log2l.c: Likewise.
47000         * math/w_logf.c: Likewise.
47001         * math/w_logl.c: Likewise.
47002         * math/w_sqrt.c: Likewise.
47003         * math/w_sqrtf.c: Likewise.
47004         * math/w_sqrtl.c: Likewise.
47005         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
47006         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
47007         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47008         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
47009         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
47010
47011 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
47012
47013         [BZ #9739]
47014         * manual/string.texi (strnlen): Use correct parameter name in
47015         equivalent expression.
47016
47017 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
47018
47019         [BZ #11174]
47020         * manual/users.texi (seteuid): Consistently use neweuid for
47021         argument name.
47022
47023 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
47024
47025         [BZ #13704]
47026         * manual/nss.texi (Services in the NSS configuration): Correct
47027         list of services in example configuration file.
47028
47029 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
47030
47031         [BZ #11322]
47032         * manual/arith.texi: Remove statements about negative zero
47033         behaving identically to zero.
47034
47035 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
47036
47037         [BZ #5993]
47038         * manual/install.texi: Do not document upgrading from libc5.
47039
47040 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
47041
47042         [BZ #4596]
47043         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
47044
47045 2012-02-18  David S. Miller  <davem@davemloft.net>
47046
47047         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
47048         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
47049         %o7 across the call.
47050         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
47051         instead.
47052         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
47053         SETUP_PIC_REG_LEAF.
47054         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
47055         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
47056         * sysdeps/sparc/crtn.S: Likewise.
47057
47058 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
47059
47060         * aout/Makefile: Remove.
47061
47062 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
47063
47064         [BZ #13058]
47065         * manual/examples/argp-ex1.c (main): Format definition in GNU
47066         style.
47067         * manual/examples/argp-ex2.c (main): Likewise.
47068         * manual/examples/argp-ex3.c (main): Likewise.
47069         * manual/examples/argp-ex4.c (main): Likewise.
47070         * manual/examples/longopt.c (main): Use new-style prototype
47071         definition.
47072         * manual/examples/strncat.c (main): Specify return type and use
47073         (void) for arguments.
47074         * manual/examples/subopt.c (main): Use char **argv argument.
47075
47076 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
47077
47078         [BZ #5077]
47079         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
47080         rounding modes.
47081
47082 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
47083
47084         [BZ #6907]
47085         * manual/string.texi (strchr): Change when strchrnul is
47086         recommended.
47087
47088 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
47089
47090         [BZ #174]
47091         * manual/locale.texi (setlocale): Document LOCPATH.
47092
47093 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
47094
47095         [BZ #10210]
47096         * manual/process.texi (execle): Move @dots{} before last argument.
47097
47098 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
47099
47100         [BZ #12047]
47101         * manual/charset.texi (Generic Charset Conversion): Fix typo
47102         (LC_TYPE -> LC_CTYPE).
47103
47104 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
47105
47106         [BZ #5805]
47107         * manual/arith.texi (scalbn): Use @var{} on parameter names.
47108         (scalbnf): Likewise.
47109         (scalbnl): Likewise.
47110         (scalbln): Likewise.
47111         (scalblnf): Likewise.
47112         (scalblnl): Likewise.
47113         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
47114         (vwarnx): Likewise.
47115         (verr): Likewise.
47116         (verrx): Likewise.
47117         * manual/filesys.texi (telldir): Use braces around return type.
47118         * manual/llio.texi (mmap): Add space after comma.
47119         (mmap64): Likewise.
47120         * manual/math.texi (jn): Use @var{} on parameter names.
47121         (jnf): Likewise.
47122         (jnl): Likewise.
47123         (yn): Likewise.
47124         (ynf): Likewise.
47125         (ynl): Likewise.
47126         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
47127         line.
47128         * manual/resource.texi (ulimit): Use @dots{} instead of literal
47129         "...".
47130         (sched_get_priority_min): Remove semicolon on @deftypefun line.
47131         (sched_get_priority_max): Likewise.
47132         * manual/signal.texi (sigvec): Add space after comma.
47133         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
47134         names.
47135         (if_indextoname): Likewise.
47136         (if_freenameindex): Likewise.
47137         (sendto): Use ',' instead of '.' in prototype.
47138         * manual/startup.texi (syscall): Use @dots{} instead of literal
47139         "...".
47140         * manual/stdio.texi (__fpending): Separate initial words of
47141         paragraph from @deftypefun line.
47142         * manual/syslog.texi (syslog): Use @dots{} instead of literal
47143         "...".
47144         (vsyslog): Use @var{} on parameter names.
47145         * manual/terminal.texi (stty): Use @var{} on parameter names.
47146         * manual/users.texi (getutmp): Use @var{} on parameter names.
47147         (getutmpx): Likewise.
47148
47149 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
47150
47151         [BZ #6884]
47152         * manual/stdio.texi (fopen): Fix typos in description of
47153         ",ccs=STRING".
47154
47155 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
47156
47157         [BZ #4026]
47158         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
47159         get clock_id definition.
47160
47161 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
47162
47163         [BZ #4822]
47164         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
47165         (madvise): Cast every argument to void on its own.
47166
47167 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
47168
47169         [BZ #9902]
47170         * manual/startup.texi (Exit Status): Fix typo.
47171
47172 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
47173
47174         [BZ #10140]
47175         * manual/examples/argp-ex1.c: Include <stdlib.h>.
47176         * manual/examples/argp-ex2.c: Likewise.
47177         * manual/examples/argp-ex3.c: Likewise.
47178
47179 2012-02-16  Richard Henderson  <rth@redhat.com>
47180
47181         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
47182         * sysdeps/s390/s390-32/initfini.c: Remove.
47183         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
47184         * sysdeps/s390/s390-64/initfini.c: Remove.
47185
47186 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47187
47188         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
47189         compiler output for sysdeps/generic/initfini.c.
47190         * sysdeps/sh/elf/initfini.c: Remove file.
47191
47192 2012-02-16  David S. Miller  <davem@davemloft.net>
47193
47194         [BZ #11494]
47195         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
47196
47197         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
47198         * sysdeps/sparc/crti.S: New file.
47199         * sysdeps/sparc/crtn.S: New file.
47200         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
47201         * sysdeps/sparc/sparc64/Makefile: Likewise.
47202
47203 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
47204
47205         [BZ #3335]
47206         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
47207
47208 2012-02-15  Roland McGrath  <roland@hack.frob.com>
47209
47210         [BZ #4822]
47211         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
47212
47213         * mach/devstream.c (cookie_io_functions_t): Macro removed.
47214         (write, read, close): Likewise.
47215         Patch by Aurelien Jarno <aurelien@aurel32.net>.
47216
47217 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
47218
47219         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
47220         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
47221         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
47222         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
47223         <bits/signalfd.h>.
47224         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
47225         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47226         bits/signalfd.h.
47227
47228 2012-02-14  Marek Polacek  <polacek@redhat.com>
47229
47230         * sysdeps/x86_64/crti.S: New file.
47231         * sysdeps/x86_64/crtn.S: New file.
47232         * sysdeps/x86_64/elf/initfini.c: Remove file.
47233
47234 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
47235
47236         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
47237         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
47238         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
47239         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
47240         <bits/inotify.h>.
47241         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
47242         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47243         bits/inotify.h.
47244
47245 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
47246
47247         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
47248         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
47249         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
47250         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
47251         <bits/eventfd.h>.
47252         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
47253         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47254         bits/eventfd.h.
47255
47256 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
47257
47258         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
47259         __feraiseexcept instead of feraiseexcept.
47260
47261         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
47262         nanosleep invocations.
47263         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
47264         strings, and add error checking for a nanosleep invocations.
47265
47266 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
47267
47268         Replace FSF snail mail address with URLs, as per GNU coding standards.
47269         Most of the snail mail addresses were wrong anyway, and omitting
47270         them makes the source code easier to maintain.  Almost all of the
47271         changes are to license notices and to locale LC_IDENTIFICATION
47272         addresses, except for this one:
47273         * manual/libc.texinfo: In "Published by", give the FSF's URL,
47274         not its snail mail address.
47275
47276 2012-02-09  Richard Henderson  <rth@twiddle.net>
47277
47278         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
47279         of kernel-features.h.
47280
47281         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
47282
47283 2012-02-08  Marek Polacek  <polacek@redhat.com>
47284
47285         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
47286         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
47287         * sysdeps/gnu/_G_config.h: Likewise.
47288         * sysdeps/generic/_G_config.h: Likewise.
47289
47290 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
47291
47292         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
47293         tests.
47294         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47295
47296         * sysdeps/powerpc/powerpc32/crti.S: New file.
47297         * sysdeps/powerpc/powerpc32/crtn.S: New file.
47298         * sysdeps/powerpc/powerpc64/crti.S: New file.
47299         * sysdeps/powerpc/powerpc64/crtn.S: New file.
47300
47301         * Makeconfig (have-initfini): Don't set.
47302         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
47303         * configure.in (nopic_initfini): Don't substitute.
47304         * config.h.in (HAVE_INITFINI): Don't #undef.
47305         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
47306         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
47307
47308 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
47309
47310         Support crti.S and crtn.S provided directly by architectures.
47311         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
47312         [crti.S in sysdirs] (omit-deps): Likewise.
47313         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
47314         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
47315         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
47316         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
47317         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
47318         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
47319         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
47320         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
47321         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
47322         compiler output for sysdeps/generic/initfini.c.
47323         * sysdeps/i386/elf/Makefile: Remove file.
47324         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
47325
47326 2012-02-07  Marek Polacek  <polacek@redhat.com>
47327
47328         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
47329         * sysdeps/gnu/_G_config.h: Likewise.
47330         * sysdeps/mach/hurd/_G_config.h: Likewise.
47331
47332 2012-02-07  Marek Polacek  <polacek@redhat.com>
47333
47334         * math/Makefile (tests): Add tst-CMPLX2.
47335         * math/tst-CMPLX2.c: New file.
47336
47337 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
47338
47339         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47340
47341         * math/libm-test.inc (jn_test): Add missing L suffix.
47342
47343 2012-02-06  Marek Polacek  <polacek@redhat.com>
47344
47345         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
47346         * sysdeps/i386/fpu/e_powf.S: Likewise.
47347         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
47348         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
47349         * sysdeps/i386/fpu/e_acosh.S: Likewise.
47350         * sysdeps/i386/fpu/e_pow.S: Likewise.
47351         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
47352         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
47353         * sysdeps/i386/fpu/s_expm1.S: Likewise.
47354         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
47355         * sysdeps/i386/fpu/e_log2.S: Likewise.
47356         * sysdeps/i386/fpu/e_log2l.S: Likewise.
47357         * sysdeps/i386/fpu/e_scalb.S: Likewise.
47358         * sysdeps/i386/fpu/e_powl.S: Likewise.
47359         * sysdeps/i386/fpu/s_log1p.S: Likewise.
47360         * sysdeps/i386/fpu/e_log10f.S: Likewise.
47361         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
47362         * sysdeps/i386/fpu/e_logl.S: Likewise.
47363         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
47364         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
47365         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
47366         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
47367         * sysdeps/i386/fpu/e_log2f.S: Likewise.
47368         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
47369         * sysdeps/i386/fpu/e_log.S: Likewise.
47370         * sysdeps/i386/fpu/s_cexp.S: Likewise.
47371         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
47372         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
47373         * sysdeps/i386/fpu/e_logf.S: Likewise.
47374         * sysdeps/i386/fpu/e_log10l.S: Likewise.
47375         * sysdeps/i386/fpu/e_atanh.S: Likewise.
47376         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
47377         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
47378         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
47379         * sysdeps/i386/fpu/e_log10.S: Likewise.
47380         * sysdeps/i386/fpu/s_frexp.S: Likewise.
47381         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
47382         * sysdeps/i386/fpu/s_asinh.S: Likewise.
47383         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
47384         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
47385         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
47386         * sysdeps/i386/asm-syntax.h: Likewise.
47387         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
47388         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
47389         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
47390         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
47391         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
47392         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
47393         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
47394         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
47395         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
47396         * sysdeps/powerpc/sysdep.h: Likewise.
47397         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
47398         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
47399
47400 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
47401
47402         [BZ #411]
47403         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
47404
47405 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
47406
47407         * sysdeps/i386/sysdep.h: Include <features.h>.
47408         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
47409         version.
47410
47411 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
47412
47413         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
47414         Define.
47415         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
47416         LOAD_PIC_REG_STR.
47417
47418 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
47419
47420         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
47421         (SETUP_PIC_REG): Use GET_PC_THUNK.
47422         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
47423         macro.
47424
47425 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
47426
47427         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
47428         for non-PIC compilation.
47429         (SETUP_PIC_REG): Add .p2align directive.
47430         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
47431         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
47432         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
47433         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
47434         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
47435         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
47436         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
47437         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
47438         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
47439         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
47440         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
47441         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
47442         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
47443         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
47444         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
47445         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
47446         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
47447         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
47448         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
47449         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
47450         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
47451         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
47452         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
47453         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
47454         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
47455         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
47456         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
47457         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
47458         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
47459         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
47460         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
47461         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
47462         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
47463         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
47464         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
47465         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
47466         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
47467         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
47468         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
47469         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
47470         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
47471
47472 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
47473
47474         * math/tst-CMPLX.c: Include <stdio.h>.
47475
47476 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
47477
47478         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
47479         float.
47480         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
47481         * sysdeps/sparc/bits/mathdef.h: Likewise.
47482
47483 2012-01-31  Marek Polacek  <polacek@redhat.com>
47484
47485         * libio/libio.h: Don't define _PARAMS.
47486         * locale/programs/config.h: Don't define PARAMS.
47487         * stdlib/strtol_l.c: Likewise.
47488         (__strtol_l): Remove PARAMS from the prototype.
47489
47490 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
47491
47492         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
47493         names.  Just use the correct names.  Remove unnecessary wrapper
47494         functions.
47495         * malloc/arena.c: Likewise.
47496         * malloc/hooks.c: Likewise.
47497
47498         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
47499         ARENA_TEST says not to.  Simplify test for creation of a new arena.
47500         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
47501
47502 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
47503
47504         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
47505         into tail calls.
47506         (update_get_addr): New function.
47507         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
47508         GET_ADDR_MODULE parameter.
47509
47510 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
47511
47512         * crypt/cert.c: Remove __STDC__ conditionals.
47513         * crypt/crypt-entry.c: Likewise.
47514         * crypt/crypt_util.c: Likewise.
47515         * libio/filedoalloc.c: Likewise.
47516         * libio/fileops.c: Likewise.
47517         * libio/genops.c: Likewise.
47518         * libio/iofclose.c: Likewise.
47519         * libio/iofdopen.c: Likewise.
47520         * libio/iofopen.c: Likewise.
47521         * libio/iofopen64.c: Likewise.
47522         * libio/iogetdelim.c: Likewise.
47523         * libio/iopopen.c: Likewise.
47524         * libio/obprintf.c: Likewise.
47525         * libio/oldfileops.c: Likewise.
47526         * libio/oldiofclose.c: Likewise.
47527         * libio/oldiofdopen.c: Likewise.
47528         * libio/oldiofopen.c: Likewise.
47529         * libio/oldiopopen.c: Likewise.
47530         * libio/wfiledoalloc.c: Likewise.
47531         * libio/wgenops.c: Likewise.
47532         * locale/programs/xmalloc.c: Likewise.
47533         * misc/syslog.c: Likewise.
47534         * stdio-common/xbug.c: Likewise.
47535         * string/memchr.c: Likewise.
47536         * string/memcmp.c: Likewise.
47537         * string/memrchr.c: Likewise.
47538         * string/rawmemchr.c: Likewise.
47539         * sysdeps/posix/getcwd.c: Likewise.
47540         * time/strftime_l.c: Likewise.
47541
47542 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
47543
47544         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
47545         * config.make.in (config-cflags-sse2avx): Define.
47546         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
47547         Fix typo.
47548
47549 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
47550
47551         * scripts/config.guess: Update from upstream config git repository.
47552         * scripts/config.sub: Likewise.
47553
47554 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
47555
47556         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
47557         (EM_NUM): Update.
47558         (R_TILEPRO_*, R_TILEGX_*): New macros.
47559
47560         * scripts/firstversions.awk: Fix bug in version range handling.
47561
47562         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
47563
47564         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
47565
47566         * include/sys/epoll.h: New file.
47567         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
47568         libc_hidden_def.
47569
47570 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
47571
47572         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
47573         Avoid unnecessary __WORDSIZE == 64 test.
47574         (fmaxf): Use VEX format if possible.
47575         (fmax): Likewise.
47576         (fminf): Likewise.
47577         (fmin): Likewise.
47578
47579         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
47580         * math/math_private.h: Remove libc_fegetround* and
47581         libc_fesetround*.
47582         * sysdeps/i386/configure.in: Check for -msse2avx.
47583         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
47584         also if SSE2AVX is defined.
47585         Remove libc_fegetround* and libc_fesetround*.
47586         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
47587         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
47588         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
47589         of HAS_YMM_USABLE.
47590         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
47591         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
47592         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
47593         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
47594         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
47595
47596         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
47597
47598 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47599
47600         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
47601         size is not set.
47602         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
47603
47604 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
47605
47606         [BZ #13618]
47607         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
47608         relocation.
47609         * Makeconfig (libm): Define.
47610         * elf/Makefile: Add rules to build and run tst-relsort1.
47611         * elf/tst-relsort1.c: New file.
47612         * elf/tst-relsort1mod1.c: New file.
47613         * elf/tst-relsort1mod2.c: New file.
47614
47615 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
47616
47617         * math/s_ldexp.c: Remove __STDC__ conditionals.
47618         * math/s_ldexpf.c: Likewise.
47619         * math/s_ldexpl.c: Likewise.
47620         * math/s_nextafter.c: Likewise.
47621         * math/s_nexttowardf.c: Likewise.
47622         * math/s_significand.c: Likewise.
47623         * math/s_significandf.c: Likewise.
47624         * math/s_significandl.c: Likewise.
47625         * math/w_jnl.c: Likewise.
47626         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
47627         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
47628         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
47629         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
47630         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
47631         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
47632         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
47633         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
47634         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
47635         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
47636         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
47637         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47638         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
47639         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
47640         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
47641         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
47642         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
47643         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
47644         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
47645         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
47646         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
47647         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
47648         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
47649         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
47650         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
47651         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
47652         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
47653         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
47654         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
47655         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
47656         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
47657         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
47658         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
47659         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
47660         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
47661         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
47662         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
47663         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
47664         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
47665         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
47666         * sysdeps/ieee754/k_standard.c: Likewise.
47667         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
47668         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
47669         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
47670         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
47671         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
47672         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
47673         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
47674         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
47675         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
47676         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
47677         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
47678         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
47679         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
47680         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
47681         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
47682         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
47683         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
47684         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
47685         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
47686         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
47687         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
47688         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
47689         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
47690         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
47691         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
47692         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
47693         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
47694         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
47695         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
47696         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
47697         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
47698         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
47699         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
47700         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
47701         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
47702         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
47703         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
47704         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
47705         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
47706         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
47707         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
47708         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
47709         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
47710         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
47711         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
47712         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
47713         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
47714         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
47715         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
47716         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
47717         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
47718         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
47719         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
47720         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
47721         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
47722         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
47723         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
47724         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
47725         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
47726         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
47727         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
47728         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
47729         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
47730         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
47731         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
47732         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
47733         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
47734         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
47735         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
47736         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
47737         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
47738         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
47739         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
47740         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
47741         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
47742         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
47743         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
47744         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
47745         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
47746         * sysdeps/ieee754/s_matherr.c: Likewise.
47747         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
47748         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
47749         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
47750         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
47751
47752 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
47753
47754         * crypt/md5.h: Remove __STDC__ conditionals.
47755         * libio/libioP.h: Likewise.
47756         * locale/programs/config.h: Likewise.
47757         * sysdeps/generic/sysdep.h: Likewise.
47758         * sysdeps/i386/asm-syntax.h: Likewise.
47759         * sysdeps/s390/asm-syntax.h: Likewise.
47760         * sysdeps/unix/sysdep.h: Likewise.
47761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
47762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
47763
47764 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
47765
47766         * libio/libio.h: Remove __STDC__ conditionals.
47767         * malloc/obstack.h: Likewise.
47768         * math/complex.h: Likewise.
47769         * math/math.h: Likewise.
47770         * sysdeps/generic/_G_config.h: Likewise.
47771         * sysdeps/gnu/_G_config.h: Likewise.
47772         * sysdeps/mach/hurd/_G_config.h: Likewise.
47773         * sysdeps/powerpc/bits/mathdef.h: Likewise.
47774         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
47775         * sysdeps/sparc/bits/mathdef.h: Likewise.
47776
47777 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
47778
47779         [BZ #13583]
47780         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
47781         Clean up HAS_* macros.
47782         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
47783         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
47784         possible.
47785         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
47786         HAS_AVX.
47787         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
47788         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
47789         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
47790         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
47791         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
47792
47793 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
47794
47795         * elf/tst-unique3.cc (gets): Remove declaration.
47796         * elf/tst-unique3lib.cc (gets): Likewise.
47797         * elf/tst-unique3lib2.cc (gets): Likewise.
47798         * elf/tst-unique4.cc (gets): Likewise.
47799
47800 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
47801
47802         * include/stdio.h: Add C++ protection.  Add gets declarations and
47803         definitions.
47804         * debug/tst-chk1.c: Don't declare gets here.
47805         * stdio-common/tst-gets.c: Likewise.
47806
47807 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
47808
47809         * posix/glob: Remove directory.
47810
47811 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
47812
47813         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
47814
47815 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
47816
47817         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
47818         of the non-standard EPFNOSUPPORT.
47819
47820 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47821
47822         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
47823         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
47824         ANYWHERE set to 1 only on KERN_NO_SPACE error.
47825
47826 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
47827
47828         * wcsmbs/uchar.h: Test __STDC_VERSION__.
47829
47830 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
47831
47832         * nscd/aicache.c (addhstaiX): Do not cache negative results of
47833         transient errors.
47834         * nscd/grpcache.c (cache_addgr): Likewise.
47835         * nscd/hstcache.c (cache_addhst): Likewise.
47836         * nscd/initgrcache.c (addinitgroupsX): Likewise.
47837         * nscd/pwdcache.c (cache_addpw): Likewise.
47838         * nscd/servicescache.c (cache_addserv): Likewise.
47839
47840 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
47841
47842         * malloc/malloc.c: Various cleanups.
47843         * malloc/hooks.c: Likewise.
47844
47845         * stdlib/Makefile (tests): Add bug-fmtmsg1.
47846         * stdlib/bug-fmtmsg1.c: New file.
47847
47848         * stdlib/fmtmsg.c (init): Add missing unlock.
47849         Patch by Peng Haitao <penght@cn.fujitsu.com>.
47850
47851 2012-01-12  Marek Polacek  <polacek@redhat.com>
47852
47853         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
47854         and _GNU_SOURCE.
47855
47856 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
47857
47858         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
47859         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
47860         macro to ensure uniqueness of label name.
47861         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
47862         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
47863
47864 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
47865
47866         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
47867
47868         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
47869         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
47870         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
47871         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
47872
47873 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
47874
47875         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
47876
47877         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
47878         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
47879         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
47880
47881         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
47882
47883         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
47884         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
47885         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
47886         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
47887
47888         * math/bits/math-finite.h: Add ldexp support.
47889
47890 2012-01-10  Marek Polacek  <polacek@redhat.com>
47891
47892         * locale/programs/localedef.h (show_archive_content): Add noreturn
47893         attribute.
47894
47895 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
47896
47897         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
47898
47899 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
47900
47901         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
47902
47903         * io/Makefile (headers): Add bits/poll2.h.
47904
47905 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
47906
47907         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
47908         typo #include statement.
47909
47910 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
47911
47912         * include/sys/cdefs.h: Define __attribute_alloc_size.
47913         * catgets/gencat.c: Add alloc_size attribute and apply consistently
47914         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
47915         * elf/pldd.c: Likewise.
47916         * iconv/iconv_charmap.c: Likewise.
47917         * iconv/iconvconfig.c: Likewise.
47918         * iconv/strtab.c: Likewise.
47919         * locale/programs/locale.c: Likewise.
47920         * locale/programs/localedef.h: Likewise.
47921         * locale/programs/simple-hash.c: Likewise.
47922         * nscd/nscd.h: Likewise.
47923         * nss/makedb.c: Likewise.
47924         * sysdeps/generic/ldconfig.h: Likewise.
47925         * locale/programs/localedef.c: Remove xmalloc prototype.
47926         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
47927
47928 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
47929
47930         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
47931         appropriate.
47932
47933 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
47934
47935         * math/Makefile (tests): Add tst-CMPLX.
47936         * math/tst-CMPLX.c: New file.
47937
47938         * math/complex.h (CMPLXL): Fix typo.
47939
47940         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
47941         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
47942         GLIBC_2.16.
47943         * debug/tst-chk1.c: Add poll and ppoll tests.
47944         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
47945         * include/sys/poll.h: Add hidden proto for ppoll.
47946         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
47947         * sysdeps/mach/hurd/ppoll.c: Likewise.
47948         * io/ppoll.c: Likewise.
47949         * debug/poll_chk.c: New file.
47950         * debug/ppoll_chk.c: New file.
47951         * include/bits/poll2.h: New file.
47952         * io/bits/poll2.h: New file.
47953
47954         [BZ #1350]
47955         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
47956
47957         * configure.in: static is always set to yes.  Remove.
47958         * config.make.in: Don't set build-static.
47959         * Makeconfig: Remove use of build-static.
47960         * dlfcn/Makefile: Likewise.
47961         * elf/Makefile: Likewise.
47962         * math/Makefile: Likewise.
47963         * misc/Makefile: Likewise.
47964         * nptl/Makefile: Likewise.
47965         * sysdeps/mach/hurd/Makefile: Likewise.
47966
47967         * configure.in: PWD_P is not used anymore.
47968         * config.make.in: Remove PWD_P entry.
47969
47970         * configure.in: Remove last remnants of RANLIB.
47971         No need to check for signed size_t anymore.
47972         Don't set libc_commonpagesize and libc_relro_required here for Alpha
47973         and IA-64.
47974         Remove __builtin_expect test because we require at least gcc 3.4.
47975         * aclocal.m4: Likewise.
47976
47977         * wcsmbs/mbrtoc16.c: Implement using towc function.
47978         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
47979         * wcsmbs/wcsmbsload.c: Likewise.
47980         * iconv/gconv_simple.c: Likewise.
47981         * iconv/gconv_int.h: Likewise.
47982         * iconv/gconv_builtin.h: Likewise.
47983         * iconv/iconv_prog.c: Remove CHAR16 handling.
47984
47985         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
47986
47987         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
47988
47989         * configure.in: Remove --with-elf and --enable-bounded options.
47990         Dont set base_machine for ia64.  More non-ELF conditions removed.
47991         Remove testing and setting of leading underscore information.
47992         * config.make.in (build-bounded): Set to no.
47993         * config.h.in: Remove NO_UNDERSCORES entry.
47994         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
47995         them.
47996         * csu/start.c: Remove !NO_UNDERSCORE code.
47997         * locale/localeinfo.h: Likewise.
47998         * sysdeps/generic/machine-gmon.h: Likewise.
47999         * sysdeps/generic/sysdep.h: Likewise.
48000         * sysdeps/i386/sysdep.h: Likewise.
48001         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
48002         * sysdeps/mach/sysdep.h: Likewise.
48003         * sysdeps/s390/s390-32/sysdep.h: Likewise.
48004         * sysdeps/s390/s390-64/sysdep.h: Likewise.
48005         * sysdeps/sh/sysdep.h: Likewise.
48006         * sysdeps/sparc/sparc32/alloca.S: Likewise.
48007         * sysdeps/unix/i386/sysdep.S: Likewise.
48008         * sysdeps/unix/sparc/start.c: Likewise.
48009         * sysdeps/unix/sparc/sysdep.S: Likewise.
48010         * sysdeps/unix/sparc/sysdep.h: Likewise.
48011         * sysdeps/unix/start.c: Likewise.
48012         * sysdeps/unix/x86_64/sysdep.S: Likewise.
48013         * sysdeps/x86_64/sysdep.h: Likewise.
48014
48015 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
48016
48017         [BZ #13553]
48018         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
48019         for non-gcc.
48020         * argp/argp-fmtstream.h: Use const instead __const.
48021         * argp/argp.h: Likewise.
48022         * assert/assert.h: Likewise.
48023         * bits/fenv.h: Likewise.
48024         * bits/sched.h: Likewise.
48025         * bits/sigset.h: Likewise.
48026         * bits/sigthread.h: Likewise.
48027         * catgets/nl_types.h: Likewise.
48028         * conform/data/pthread.h-data: Likewise.
48029         * crypt/crypt-private.h: Likewise.
48030         * crypt/crypt.h: Likewise.
48031         * crypt/crypt_util.c: Likewise.
48032         * ctype/ctype.h: Likewise.
48033         * debug/execinfo.h: Likewise.
48034         * debug/mbsnrtowcs_chk.c: Likewise.
48035         * debug/mbsrtowcs_chk.c: Likewise.
48036         * debug/wcsnrtombs_chk.c: Likewise.
48037         * debug/wcsrtombs_chk.c: Likewise.
48038         * debug/wcstombs_chk.c: Likewise.
48039         * dirent/dirent.h: Likewise.
48040         * dlfcn/dlfcn.h: Likewise.
48041         * elf/neededtest4.c: Likewise.
48042         * grp/grp.h: Likewise.
48043         * gshadow/gshadow.h: Likewise.
48044         * iconv/gconv.h: Likewise.
48045         * iconv/gconv_int.h: Likewise.
48046         * iconv/gconv_simple.c: Likewise.
48047         * iconv/iconv.h: Likewise.
48048         * iconv/loop.c: Likewise.
48049         * iconv/skeleton.c: Likewise.
48050         * include/aio.h: Likewise.
48051         * include/aliases.h: Likewise.
48052         * include/argz.h: Likewise.
48053         * include/arpa/inet.h: Likewise.
48054         * include/assert.h: Likewise.
48055         * include/dirent.h: Likewise.
48056         * include/dlfcn.h: Likewise.
48057         * include/execinfo.h: Likewise.
48058         * include/fcntl.h: Likewise.
48059         * include/fenv.h: Likewise.
48060         * include/glob.h: Likewise.
48061         * include/grp.h: Likewise.
48062         * include/libintl.h: Likewise.
48063         * include/mntent.h: Likewise.
48064         * include/netdb.h: Likewise.
48065         * include/pwd.h: Likewise.
48066         * include/rpc/netdb.h: Likewise.
48067         * include/sched.h: Likewise.
48068         * include/search.h: Likewise.
48069         * include/shadow.h: Likewise.
48070         * include/signal.h: Likewise.
48071         * include/stdio.h: Likewise.
48072         * include/stdlib.h: Likewise.
48073         * include/string.h: Likewise.
48074         * include/sys/socket.h: Likewise.
48075         * include/sys/stat.h: Likewise.
48076         * include/sys/statfs.h: Likewise.
48077         * include/sys/statvfs.h: Likewise.
48078         * include/sys/syslog.h: Likewise.
48079         * include/sys/time.h: Likewise.
48080         * include/sys/uio.h: Likewise.
48081         * include/time.h: Likewise.
48082         * include/unistd.h: Likewise.
48083         * include/utmp.h: Likewise.
48084         * include/wchar.h: Likewise.
48085         * include/wctype.h: Likewise.
48086         * inet/aliases.h: Likewise.
48087         * inet/arpa/inet.h: Likewise.
48088         * inet/netinet/ether.h: Likewise.
48089         * inet/netinet/in.h: Likewise.
48090         * intl/libintl.h: Likewise.
48091         * io/bits/fcntl2.h: Likewise.
48092         * io/fcntl.h: Likewise.
48093         * io/ftw.h: Likewise.
48094         * io/sys/poll.h: Likewise.
48095         * io/sys/stat.h: Likewise.
48096         * io/sys/statfs.h: Likewise.
48097         * io/sys/statvfs.h: Likewise.
48098         * io/utime.h: Likewise.
48099         * libio/bits/stdio.h: Likewise.
48100         * libio/bits/stdio2.h: Likewise.
48101         * libio/libio.h: Likewise.
48102         * libio/libioP.h: Likewise.
48103         * libio/stdio.h: Likewise.
48104         * locale/lc-ctype.c: Likewise.
48105         * locale/locale.h: Likewise.
48106         * login/utmp.h: Likewise.
48107         * malloc/arena.c: Likewise.
48108         * malloc/malloc.c: Likewise.
48109         * malloc/malloc.h: Likewise.
48110         * malloc/mcheck.c: Likewise.
48111         * malloc/mtrace.c: Likewise.
48112         * math/bits/mathcalls.h: Likewise.
48113         * math/fenv.h: Likewise.
48114         * math/math_private.h: Likewise.
48115         * misc/bits/error.h: Likewise.
48116         * misc/bits/syslog.h: Likewise.
48117         * misc/err.h: Likewise.
48118         * misc/error.h: Likewise.
48119         * misc/fstab.h: Likewise.
48120         * misc/mntent.h: Likewise.
48121         * misc/regexp.h: Likewise.
48122         * misc/search.h: Likewise.
48123         * misc/sgtty.h: Likewise.
48124         * misc/sys/mman.h: Likewise.
48125         * misc/sys/syslog.h: Likewise.
48126         * misc/sys/uio.h: Likewise.
48127         * misc/sys/xattr.h: Likewise.
48128         * misc/ttyent.h: Likewise.
48129         * nis/rpcsvc/ypclnt.h: Likewise.
48130         * nss/nss.h: Likewise.
48131         * posix/bits/unistd.h: Likewise.
48132         * posix/fnmatch.h: Likewise.
48133         * posix/glob.h: Likewise.
48134         * posix/sched.h: Likewise.
48135         * posix/spawn.h: Likewise.
48136         * posix/sys/wait.h: Likewise.
48137         * posix/unistd.h: Likewise.
48138         * posix/wordexp.h: Likewise.
48139         * pwd/pwd.h: Likewise.
48140         * resolv/netdb.h: Likewise.
48141         * resource/sys/resource.h: Likewise.
48142         * rt/aio.h: Likewise.
48143         * rt/bits/mqueue2.h: Likewise.
48144         * rt/mqueue.h: Likewise.
48145         * shadow/shadow.h: Likewise.
48146         * signal/signal.h: Likewise.
48147         * socket/send.c: Likewise.
48148         * socket/sendto.c: Likewise.
48149         * socket/sys/socket.h: Likewise.
48150         * stdio-common/printf.h: Likewise.
48151         * stdlib/bits/stdlib.h: Likewise.
48152         * stdlib/fmtmsg.h: Likewise.
48153         * stdlib/monetary.h: Likewise.
48154         * stdlib/stdlib.h: Likewise.
48155         * stdlib/ucontext.h: Likewise.
48156         * streams/stropts.h: Likewise.
48157         * string/argz.h: Likewise.
48158         * string/bits/string2.h: Likewise.
48159         * string/string.h: Likewise.
48160         * string/strings.h: Likewise.
48161         * sunrpc/rpc/auth.h: Likewise.
48162         * sunrpc/rpc/auth_des.h: Likewise.
48163         * sunrpc/rpc/clnt.h: Likewise.
48164         * sunrpc/rpc/netdb.h: Likewise.
48165         * sunrpc/rpc/pmap_clnt.h: Likewise.
48166         * sunrpc/rpc/xdr.h: Likewise.
48167         * sysdeps/generic/inttypes.h: Likewise.
48168         * sysdeps/generic/net/if.h: Likewise.
48169         * sysdeps/generic/sys/swap.h: Likewise.
48170         * sysdeps/gnu/net/if.h: Likewise.
48171         * sysdeps/gnu/utmpx.h: Likewise.
48172         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
48173         * sysdeps/i386/i486/bits/string.h: Likewise.
48174         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
48175         * sysdeps/s390/bits/string.h: Likewise.
48176         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
48177         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
48178         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
48179         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
48180         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
48181         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
48182         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
48183         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
48184         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
48185         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
48186         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
48187         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
48188         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
48189         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
48190         * sysdeps/unix/sysv/linux/readv.c: Likewise.
48191         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
48192         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
48193         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48194         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
48195         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
48196         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
48197         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
48198         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
48199         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
48200         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
48201         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
48202         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
48203         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
48204         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
48205         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
48206         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
48207         * sysvipc/sys/ipc.h: Likewise.
48208         * sysvipc/sys/msg.h: Likewise.
48209         * sysvipc/sys/sem.h: Likewise.
48210         * sysvipc/sys/shm.h: Likewise.
48211         * termios/termios.h: Likewise.
48212         * time/sys/time.h: Likewise.
48213         * time/time.h: Likewise.
48214         * wcsmbs/bits/wchar2.h: Likewise.
48215         * wcsmbs/uchar.h: Likewise.
48216         * wcsmbs/wchar.h: Likewise.
48217         * wctype/wctype.h: Likewise.
48218
48219         [BZ #13551]
48220         * Makeconfig: Remove all but ELF support including AIX support.
48221         * Makerules: Likewise.
48222         * config.h.in: Likewise.
48223         * config.make.in: Likewise.
48224         * configure: Likewise.
48225         * configure.in: Likewise.
48226         * csu/Makefile: Likewise.
48227         * csu/version.c: Likewise.
48228         * debug/Makefile: Likewise.
48229         * dlfcn/Makefile: Likewise.
48230         * elf/Makefile: Likewise.
48231         * extra-lib.mk: Likewise.
48232         * iconv/Makefile: Likewise.
48233         * include/libc-symbols.h: Likewise.
48234         * include/shlib-compat.h: Likewise.
48235         * resolv/Makefile: Likewise.
48236         * resolv/res_libc.c: Likewise.
48237         * rt/Makefile: Likewise.
48238         * sysdeps/i386/asm-syntax.h: Likewise.
48239         * sysdeps/i386/sysdep.h: Likewise.
48240         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
48241         * sysdeps/mach/sysdep.h: Likewise.
48242         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
48243         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
48244         * sysdeps/s390/asm-syntax.h: Likewise.
48245         * sysdeps/s390/s390-32/sysdep.h: Likewise.
48246         * sysdeps/s390/s390-64/sysdep.h: Likewise.
48247         * sysdeps/sh/sysdep.h: Likewise.
48248         * sysdeps/unix/sparc/sysdep.h: Likewise.
48249         * sysdeps/wordsize-32/divdi3.c: Likewise.
48250         * sysdeps/x86_64/sysdep.h: Likewise.
48251
48252         * argp/Versions: Remove _argp_unlock_xxx.
48253
48254         [BZ #13559]
48255         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
48256         * abilist/libBrokenLocale.abilist: Likewise.
48257         * abilist/libanl.abilist: Likewise.
48258         * abilist/libc.abilist: Likewise.
48259         * abilist/libcrypt.abilist: Likewise.
48260         * abilist/libdl.abilist: Likewise.
48261         * abilist/libm.abilist: Likewise.
48262         * abilist/libnsl.abilist: Likewise.
48263         * abilist/libpthread.abilist: Likewise.
48264         * abilist/libresolv.abilist: Likewise.
48265         * abilist/librt.abilist: Likewise.
48266         * abilist/libthread_db.abilist: Likewise.
48267         * abilist/libutil.abilist: Likewise.
48268         * abilist/libnss_db.abilist: New file.
48269
48270         * scripts/abilist.awk: Add support for indirect functions.
48271
48272         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
48273
48274         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
48275
48276         * shlib-versions: Remove entries for ports architectures.
48277
48278         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
48279         files in ports.
48280         * elf/stackguard-macros.h: Remove support for IA-64.
48281         * elf/tst-auditmod1.c: Likewise.
48282         * sysdeps/generic/ldsodefs.h: Likewise.
48283
48284         * sysdeps/unix/sysv/linux/configure.in: Ports should define
48285         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
48286         configure files.
48287
48288         [BZ #13552]
48289         * configure.in: Remove --enable-omitfp support.
48290         * FAQ.in: Adjust.
48291         * config.make.in: Likewise.
48292         * Makeconfig: Likewise.
48293         * manual/install.texi: Likewise.
48294
48295         In case anyone cares, the IA-64 architecture could move to ports.
48296         * sysdeps/ia64/*: Removed.
48297         * sysdeps/unix/sysv/linux/ia64/*: Removed.
48298         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
48299
48300         [BZ #13555]
48301         * configure.in: Remove entries for unsupported architectures.
48302
48303         [BZ #13533]
48304         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
48305         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
48306         routines.
48307         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
48308         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
48309         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
48310         fall back to using wcrtomb.
48311         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
48312         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
48313         renaming.
48314         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
48315         * wcsmbs/tst-c16c32-1.c: New file.
48316
48317         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
48318         local variable.
48319
48320         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
48321
48322         * elf/tst-unique3.cc: Add explicit declaration of gets.
48323         * elf/tst-unique3lib.cc: Likewise.
48324         * elf/tst-unique3lib2.cc: Likewise.
48325         * elf/tst-unique4.cc: Likewise.
48326
48327         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
48328
48329 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
48330
48331         [BZ #13566]
48332         * assert/assert.h (static_assert): Don't define for C++.
48333         * libio/stdio.h (gets): Do declare for C++ <= C++11.
48334         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
48335
48336 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
48337
48338         * iconv/loop.c (single loop): Fix assertion in storing of
48339         remaining bytes.
48340
48341         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
48342
48343 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
48344
48345         * posix/getconf.c: Update copyright year.
48346         * nss/getent.c: Likewise.
48347         * nss/makedb.c: Likewise.
48348         * iconv/iconvconfig.c: Likewise.
48349         * iconv/iconv_prog.c: Likewise.
48350         * elf/ldconfig.c: Likewise.
48351         * elf/pldd.c: Likewise.
48352         * elf/sotruss.ksh: Likewise.
48353         * catgets/gencat.c: Likewise.
48354         * csu/version.c: Likewise.
48355         * elf/ldd.bash.in: Likewise.
48356         * elf/sprof.c (print_version): Likewise.
48357         * locale/programs/locale.c: Likewise.
48358         * locale/programs/localedef.c: Likewise.
48359         * login/programs/pt_chown.c: Likewise.
48360         * nscd/nscd.c (print_version): Likewise.
48361         * debug/xtrace.sh: Likewise.
48362         * malloc/memusage.sh: Likewise.
48363         * malloc/mtrace.pl: Likewise.
48364         * debug/catchsegv.sh: Likewise.
48365
48366 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
48367
48368         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
48369         pure attribute.
48370
48371 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
48372
48373         [BZ #13533]
48374         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
48375         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
48376         transformations.
48377         * iconv/gconv_int.h: Likewise.
48378         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
48379         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
48380         from libc for GLIBC_2.16.
48381         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
48382         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
48383         * wcsmbs/uchar.h: Really define mbstate_t.
48384         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
48385         * wcsmbs/c16rtomb.c: New file.
48386         * wcsmbs/mbrtoc16.c: New file.
48387         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
48388         for C/POSIX locale.
48389         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
48390         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
48391
48392         * wcsmbs/wchar.h: Add missing __restrict.
48393
48394 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
48395
48396         [BZ #13532]
48397         * time/Makefile (routines): Add timespec_get.
48398         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
48399         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
48400         timespec for ISO C11.
48401         * time/timespec_get.c: New file.
48402         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
48403         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
48404
48405         [BZ #13531]
48406         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
48407         * stdlib/stdlib.h: Declare aligned_alloc.
48408         * Versions.def: Add GLIBC_2.16 for libc.
48409         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
48410
48411         [BZ 13527]
48412         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
48413         ISO C11.
48414
48415         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
48416         code.
48417
48418         [BZ #13528]
48419         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
48420
48421         [BZ #13529]
48422         * assert/assert.h (static_assert): Define.
48423
48424         * version.h: Update for 2.16 development version.
48425
48426         [BZ #13526]
48427         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
48428         _ISOC11_SOURCE.
48429
48430         * version.h (RELEASE): Bump for 2.15 release.
48431         * include/features.h (__GLIBC_MINOR__): Bump to 15.
48432
48433         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
48434         Patch by Marek Polacek <mpolacek@redhat.com>.
48435
48436         * bits/byteswap.h: Protect long long constants with __extension__.
48437         * sysdeps/i386/bits/byteswap.h: Likewise.
48438         * sysdeps/ia64/bits/byteswap.h: Likewise.
48439         * sysdeps/s390/bits/byteswap.h: Likewise.
48440         * sysdeps/x86_64/bits/byteswap.h: Likewise.
48441
48442 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48443
48444         [BZ #13540]
48445         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
48446         destination buffer.
48447         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
48448
48449 2011-12-23  Marek Polacek  <polacek@redhat.com>
48450
48451         * elf/dl-addr.c (determine_info): Add inline keyword.
48452         * elf/tst-auditmod4b.c (check_avx): Likewise.
48453         * elf/tst-auditmod6b.c (check_avx): Likewise.
48454         * elf/tst-auditmod6c.c (check_avx): Likewise.
48455         * elf/tst-auditmod7b.c (check_avx): Likewise.
48456
48457 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
48458
48459         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
48460         !__SSE_MATH__.
48461
48462 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48463
48464         [BZ #13540]
48465         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
48466         processing for last bytes.
48467
48468 2011-08-06  Bruno Haible  <bruno@clisp.org>
48469
48470         [BZ #13061]
48471         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
48472         U+0385, not to U+1FEE.
48473
48474         [BZ #13062]
48475         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
48476         entry for U+00A5 U+0301.
48477
48478 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
48479
48480         [BZ #13166]
48481         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
48482         buffer for the output is too small.
48483
48484         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
48485         optimization.
48486
48487         [BZ #13185]
48488         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
48489         SSE flags if possible.
48490
48491 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48492
48493         [BZ #13540]
48494         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
48495         processing for last bytes.
48496
48497 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
48498
48499         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
48500         (syscall-list-default-options, syscall-list-default-condition)
48501         (syscall-list-includes): Define.
48502         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
48503         list of ABIs and options and #if conditions for each ABI.  Do not
48504         handle common syscalls between ABIs specially.
48505         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
48506         Remove.
48507         (syscall-list-variants, syscall-list-32bit-options)
48508         (syscall-list-32bit-condition, syscall-list-64bit-options)
48509         (syscall-list-64bit-condition): Define.
48510         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
48511         (syscall-list-variants, syscall-list-32bit-options)
48512         (syscall-list-32bit-condition, syscall-list-64bit-options)
48513         (syscall-list-64bit-condition): Define.
48514         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
48515         Remove.
48516         (syscall-list-variants, syscall-list-32bit-options)
48517         (syscall-list-32bit-condition, syscall-list-64bit-options)
48518         (syscall-list-64bit-condition): Define.
48519         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
48520         Remove.
48521         (syscall-list-variants, syscall-list-32bit-options)
48522         (syscall-list-32bit-condition, syscall-list-64bit-options)
48523         (syscall-list-64bit-condition): Define.
48524
48525 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
48526
48527         * locale/iso-639.def: Add brx entry.
48528
48529         [BZ #13328]
48530         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
48531         Proposed by Mariusz_Cukr <marcukr@op.pl>.
48532
48533         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
48534         __feraiseexcept_renamed.
48535
48536 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
48537
48538         [BZ #13538]
48539         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
48540         EPOLLET with unsigned values.
48541         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
48542         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
48543
48544         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
48545         to large cancellation.
48546         * math/s_cacoshf.c: Likewise.
48547         * math/s_cacoshl.c: Likewise.
48548
48549 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
48550
48551         [BZ #13305]
48552         [BZ #12786]
48553         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
48554         * math/s_cacoshf.c: Likewise.
48555         * math/s_cacoshl.c: Likewise.
48556
48557 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
48558
48559         [BZ #13439]
48560         * iconv/gconv.h: Define __GCONV_SWAP.
48561         * iconvdata/unicode.c: The swap bit must be stored in __flags.
48562         * iconvdata/utf-16.c: Likewise.
48563         * iconvdata/utf-32.c: Likewise.
48564
48565 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
48566
48567         [BZ #13524]
48568         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
48569         numerator after shifting it by one limb.
48570
48571 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
48572
48573         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
48574         under [__USE_EXTERN_INLINES].
48575
48576 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
48577
48578         [BZ #13446]
48579         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
48580
48581 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48582
48583         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
48584         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
48585         optimized code.
48586         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
48587         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
48588         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
48589         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
48590         for strncasecmp/strncasecmp_l compilation.
48591         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
48592         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
48593
48594 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
48595
48596         [BZ #13484]
48597         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
48598         of __asm__.
48599
48600 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
48601
48602         [BZ #13506]
48603         * time/tzfile.c (__tzfile_read): Check values from file header.
48604
48605 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
48606
48607         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
48608         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
48609         * powerpc/powerpc32/dl-start.S: Likewise.
48610         * powerpc/powerpc32/elf/start.S: Likewise.
48611         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
48612         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
48613         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
48614         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
48615         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
48616         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
48617         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
48618         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
48619         * powerpc/powerpc32/fpu/s_round.S: Likewise.
48620         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
48621         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
48622         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
48623         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
48624         * powerpc/powerpc32/memset.S: Likewise.
48625         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
48626         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
48627         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
48628         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
48629         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
48630         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
48631         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
48632         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
48633         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
48634         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
48635         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
48636         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
48637         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
48638
48639 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48640
48641         * math/libm-test.inc: Added more nearbyint tests.
48642         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
48643         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
48644         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
48645         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
48646
48647 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
48648
48649         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
48650         FD_CLOEXEC.
48651
48652 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48653
48654         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
48655         Add wcscpy-ssse3 wcscpy-c.
48656         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
48657         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
48658         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
48659         * sysdeps/x86_64/wcschr.S: New file.
48660         * sysdeps/x86_64/wcsrchr.S: New file.
48661         * string/test-strcmp.c: Remove checking of wcscmp function for
48662         wrong alignments.
48663         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
48664         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
48665         wcsrchr-sse2 wcsrchr-c.
48666         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
48667         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
48668         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
48669         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
48670         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
48671         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
48672         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
48673         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
48674         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
48675         * wcsmbc/wcschr.c (WCSCHR): New macro.
48676
48677 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48678
48679         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
48680         * wcsmbs/test-wcsrchr.c: New file.
48681         * string/test-strrchr.c: Add wcsrchr support.
48682         (WIDE): New macro.
48683         * wcsmbs/test-wcscpy.c: New file.
48684         * string/test-strcpy.c: Add wcscpy support.
48685         (WIDE): New macro.
48686
48687 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
48688
48689         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
48690         the inner loop.
48691
48692 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
48693
48694         [BZ #13472]
48695         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
48696
48697 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
48698
48699         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
48700         Minor optimizations.
48701
48702         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
48703         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
48704         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
48705
48706 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
48707
48708         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
48709         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
48710         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
48711         for gcc to avoid warnings.
48712         * inet/Makefile (tests): Add tst-checks.
48713         * inet/tst-checks.c: New file.
48714
48715         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
48716         warning.
48717
48718         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
48719         __wmemcmp_sse2.
48720
48721         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
48722         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
48723
48724         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
48725
48726 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
48727
48728         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
48729         problem.
48730
48731         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
48732
48733 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
48734
48735         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
48736         conditional on GCC version.
48737         (__arch_compare_and_exchange_val_8_acq)
48738         (__arch_compare_and_exchange_val_16_acq)
48739         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
48740         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
48741         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
48742
48743 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
48744
48745         * sysdeps/sh/backtrace.c: New file.
48746
48747 2011-12-02  Andreas Schwab  <schwab@redhat.com>
48748
48749         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
48750         parenthesis.
48751
48752 2011-12-01  Andreas Schwab  <schwab@redhat.com>
48753
48754         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
48755         falling back to utime.
48756
48757 2011-11-30  Andreas Schwab  <schwab@redhat.com>
48758
48759         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
48760         expectations for float.
48761
48762 2011-11-29  Andreas Schwab  <schwab@redhat.com>
48763
48764         * locale/weight.h (findidx): Add parameter len.
48765         * locale/weightwc.h (findidx): Likewise.
48766         * posix/fnmatch_loop.c (FCT): Adjust caller.
48767         * posix/regcomp.c (build_equiv_class): Likewise.
48768         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
48769         * posix/regexec.c (check_node_accept_bytes): Likewise.
48770         * string/strcoll_l.c (STRCOLL): Likewise.
48771         * string/strxfrm_l.c (STRXFRM): Likewise.
48772
48773 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
48774
48775         * Makefile.in: Remove CVSOPT handling.
48776         * configure.in: Remove use of AC_REVISION.
48777         * iconvdata/Makefile (distribute): No need to filter out CVS.
48778         * scripts/list-sources.sh: Remove CVS, subversion and monotone
48779         handling.
48780
48781 2011-11-16  Andreas Schwab  <schwab@redhat.com>
48782
48783         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
48784         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
48785         [USE_AS_STRNCASECMP_L]: Likewise.
48786         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
48787         NO_TLS_DIRECT_SEG_REFS.
48788         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
48789         Fix argument offsets for non-PIC.
48790         [USE_AS_STRNCASECMP_L]: Likewise.
48791         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
48792         NO_TLS_DIRECT_SEG_REFS.
48793
48794 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
48795
48796         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
48797         O_CLOEXEC.
48798         * locale/loadlocale.c (_nl_load_locale): Likewise.
48799
48800 2011-11-15  Andreas Schwab  <schwab@redhat.com>
48801
48802         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
48803         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
48804         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
48805         (SYSCALL_GETTIME): Set errno on error.
48806
48807         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
48808         count references to noai6ai_cached.
48809
48810 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
48811
48812         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
48813
48814         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
48815         FD_CLOEXEC for /proc/self/maps.
48816
48817         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
48818         FD_CLOEXEC for /proc/meminfo.
48819
48820         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
48821         gai.conf.
48822
48823         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
48824         FD_CLOEXEC for given file.
48825
48826         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
48827
48828         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
48829         FD_CLOEXEC for /etc/hosts.
48830         (_gethtent): Likewise.
48831
48832         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
48833
48834         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
48835         cancellation and set FD_CLOEXEC for /etc/netgroup.
48836
48837         * nss/nss_files/files-key.c (search): Don't allow cancellation when
48838         reading /etc/publickey.
48839
48840         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
48841         allow cancellation when reading /etc/group.
48842
48843         * nss/nss_files/files-alias.c (internal_setent): Don't allow
48844         cancellation.
48845         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
48846
48847         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
48848         when using data file.
48849
48850         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
48851
48852         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
48853         (write_nis_obj): Use "c" and "e" in fopen.
48854
48855         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
48856
48857         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
48858
48859         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
48860
48861         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
48862
48863         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
48864         locale.alias.
48865
48866         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
48867
48868         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
48869
48870         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
48871
48872         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
48873         file parsing and set FD_CLOEXEC.
48874
48875 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
48876
48877         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
48878
48879 2011-11-14  Andreas Schwab  <schwab@redhat.com>
48880
48881         * malloc/arena.c (arena_get2): Don't call reused_arena when
48882         _int_new_arena failed.
48883
48884 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
48885
48886         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
48887         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
48888         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
48889         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
48890         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
48891         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
48892         to compile strcasecmp and strncasecmp.
48893         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
48894         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
48895
48896         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
48897
48898 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
48899
48900         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
48901         locale-defines.sym to gen-as-const-headers.
48902         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
48903         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
48904         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
48905         to compile strcasecmp and strncasecmp.
48906         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
48907         strcasecmp_l and strncasecmp_l.
48908         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
48909         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
48910         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
48911         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
48912         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
48913         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
48914         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
48915         * sysdeps/i386/i686/multiarch/strncase.S: New file.
48916         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
48917         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
48918         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
48919
48920 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
48921
48922         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
48923         result of SYSDEP_GETTIME_CPU to retval.
48924         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
48925         parameter list to macro.  Remove trailing semicolon.  Adjust users.
48926
48927         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
48928         variable.
48929
48930         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
48931         mantissa words.
48932         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
48933
48934         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
48935         from unused variable.
48936
48937         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
48938         DWARF definitions.
48939         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
48940         for assembling.
48941
48942         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
48943         over namespaces.
48944
48945         * sunrpc/rpc_prot.c (rejected): Fix case value.
48946
48947         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
48948         unsigned long long int to avoid warnings in shift.
48949
48950         * posix/regex_internal.c (re_string_reconstruct): Actually use result
48951         of use of trans.
48952         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
48953         variable tmp.
48954
48955         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
48956         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
48957         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
48958
48959         * nis/nis_table.c (nis_list): Use variable of correct type for
48960         result of __follow_path call.
48961
48962 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48963
48964         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
48965         of math functions ceil, trunc, floor, round, and sqrt, when
48966         avaliable on the platform.
48967         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
48968         name clash.
48969         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
48970         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
48971         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
48972
48973 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
48974
48975         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
48976         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
48977
48978 2011-11-11  Roland McGrath  <roland@hack.frob.com>
48979
48980         * include/unistd.h: Fix __readlink return type.
48981         Reported by Chris Metcalf <cmetcalf@tilera.com>.
48982
48983 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
48984
48985         * stdlib/ucontext.h: Undo last change for makecontext.
48986
48987 2011-11-11  Andreas Schwab  <schwab@redhat.com>
48988
48989         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
48990
48991         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
48992         * setjmp/setjmp.h: Mark functions as non-leaf.
48993         * setjmp/bits/setjmp2.h: Likewise.
48994         * stdlib/ucontext.h: Likewise.
48995
48996 2011-11-10  Andreas Schwab  <schwab@redhat.com>
48997
48998         * malloc/arena.c (_int_new_arena): Don't increment narenas.
48999         (reused_arena): Don't check arena limit.
49000         (arena_get2): Atomically check arena limit.
49001
49002 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
49003
49004         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
49005         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
49006
49007         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
49008         instructions.
49009
49010 2011-11-07  Andreas Schwab  <schwab@redhat.com>
49011
49012         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
49013         handler when locking.
49014
49015         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
49016         Fix size of allocated buffer.
49017
49018 2011-11-04  Andreas Schwab  <schwab@redhat.com>
49019
49020         [BZ #10103]
49021         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
49022         declarations for long double functions.
49023         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
49024
49025         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
49026
49027 2011-11-03  Andreas Schwab  <schwab@redhat.com>
49028
49029         * nscd/nscd.c (main): Don't start AVC thread until credentials are
49030         installed.
49031
49032         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
49033         is disabled.
49034
49035 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49036
49037         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
49038
49039 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
49040
49041         * include/alloca.h (stackinfo_alloca_round): Define.
49042         (extend_alloca): Use it.
49043         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
49044         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
49045         here.
49046
49047         * scripts/check-local-headers.sh: Ignore libaudit.h.
49048
49049         * nscd/Makefile (extra-objs): Make recursively expanded.
49050
49051 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
49052
49053         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
49054         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
49055
49056         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
49057         * posix/tst-rfc3484-2.c: Likewise.
49058         * posix/tst-rfc3484-3.c: Likewise.
49059
49060         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
49061         process_vm_writev.
49062         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
49063         process_vm_writev.
49064         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
49065         process_vm_writev from libc using GLIBC_2.15 version.
49066
49067         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
49068
49069 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
49070
49071         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
49072         stack usage.
49073
49074 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
49075
49076         [BZ #13367]
49077         * nss/getent.c (initgroups_keys): Show error message in case no group
49078         names are given.
49079
49080         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
49081         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
49082         __bump_nl_timestamp.
49083         * nscd/connections (nscd_init): When host database is served open
49084         netlink socket and request notification about configuration changes.
49085         (main_loop_poll): Track netlink file descriptor and bump timestamp
49086         in case data becomes available.
49087         (main_loop_epoll): Likewise.
49088         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
49089         (database_pers_head): Add extra_data fileds.
49090         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
49091         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
49092         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
49093         Adjust caller.
49094         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
49095         in6ai data, call __free_in6ai.
49096         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
49097         Add -DHAVE_NETLINK.
49098         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
49099         interface information.  Reuse previous data if netlink timestamp
49100         is not changed.
49101         (__bump_nl_timestamp): New function.
49102         (__free_in6ai): New function.
49103
49104 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
49105
49106         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
49107         close_not_cancel_no_status here.
49108         (__check_pf): Reorganize code a bit to not call close twice if OOM.
49109
49110 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
49111
49112         [BZ #13276]
49113         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
49114         return value.
49115
49116         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
49117         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
49118         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
49119
49120 2011-07-03  Andreas Jaeger  <aj@suse.de>
49121
49122         [BZ #10709]
49123         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
49124         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
49125         * math/libm-test.inc (sin_test): Add test case.
49126
49127 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
49128
49129         [BZ #13337]
49130         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
49131         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
49132
49133         * elf/chroot_canon.c (chroot_canon): Cleanups.
49134
49135         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
49136
49137         [BZ #13335]
49138         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
49139         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
49140
49141         * string/test-strchr.c: Make usable for strchrnul testing.
49142         * string/test-strchrnul.c: New file.
49143         * string/Makefile (strop-tests): Add strchrnul.
49144
49145         * po/it.po: Update from translation team.
49146         * po/es.po: Likewise.
49147
49148 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
49149
49150         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
49151         the three constants needed as parameters.  Drop the others.
49152         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
49153         __m128i_strloadu_tolower.
49154         Create and initialize variable zero and use it in all the places
49155         where _mm_setzero_si128 was used.
49156
49157         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
49158         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
49159         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
49160         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
49161         anymore.
49162         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
49163         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
49164         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
49165         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
49166         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
49167         __mpranred, __mptan.
49168         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
49169         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
49170         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
49171         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
49172         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
49173         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
49174         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
49175         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
49176         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
49177
49178 2011-10-28  Andreas Schwab  <schwab@redhat.com>
49179
49180         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
49181         redefine if SHARED.
49182         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
49183
49184         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
49185         wide char related routines to wcsmbs subdir.
49186
49187 2011-10-27  Andreas Schwab  <schwab@redhat.com>
49188
49189         [BZ #13344]
49190         * misc/sys/cdefs.h (__THROWNL): Define.
49191         * posix/unistd.h: Use __THREADNL instead of __THREAD
49192         for memory synchronization functions.
49193
49194 2011-10-26  Roland McGrath  <roland@hack.frob.com>
49195
49196         [BZ #13349]
49197         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
49198         doesn't exist.
49199         * manual/stdio.texi (Obstack Streams): Node removed.
49200
49201 2011-10-26  Andreas Schwab  <schwab@redhat.com>
49202
49203         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
49204         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
49205         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
49206
49207         * math/math_private.h (math_force_eval): Allow non-addressable
49208         arguments.
49209         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
49210
49211 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
49212
49213         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
49214         file is not needed.
49215
49216         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
49217         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
49218         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
49219         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
49220         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
49221         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
49222         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
49223         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
49224         Add AVX variants.
49225         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
49226         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
49227         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
49228         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
49229         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
49230         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
49231         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
49232         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
49233         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
49234         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
49235         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
49236         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
49237         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
49238         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
49239         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
49240         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
49241         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
49242         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
49243         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
49244
49245         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
49246         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
49247
49248         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
49249         place.  Use VEX encoding when compiling for AVX.
49250
49251 2011-10-25  Andreas Schwab  <schwab@redhat.com>
49252
49253         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
49254         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
49255
49256         * string/test-strchr.c (do_test): Don't generate NUL bytes.
49257
49258 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
49259
49260         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
49261         useless if() expression.
49262         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
49263         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
49264         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
49265         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49266         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
49267         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
49268         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
49269         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
49270         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
49271         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
49272         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
49273         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
49274         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
49275         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
49276         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
49277         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
49278         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
49279         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
49280         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
49281
49282         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
49283
49284 2011-10-25  Andreas Schwab  <schwab@redhat.com>
49285
49286         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
49287         condition.
49288         * elf/dl-fini.c (_dl_sort_fini): Likewise.
49289
49290 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
49291
49292         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
49293         .text section.  Avoid duplicate constants.
49294         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
49295         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49296         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
49297         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49298         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49299         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49300         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49301         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49302         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
49303         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
49304         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
49305         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
49306         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
49307         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
49308         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
49309         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
49310         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
49311         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
49312         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
49313         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49314         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
49315         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
49316         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
49317         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
49318         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
49319         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
49320         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
49321         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
49322         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
49323         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
49324         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
49325         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
49326         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
49327         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
49328         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
49329         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
49330         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
49331         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
49332         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
49333         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
49334         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
49335         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
49336         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
49337         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
49338         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
49339
49340 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
49341
49342         * sysdeps/x86_64/dla.h: Move to ...
49343         * sysdeps/x86_64/fpu/dla.h: ...here.
49344         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
49345         situations.  Use __builtin_fma only for gcc 4.6 and up.
49346
49347         * config.make.in: Add have-mfma4 entry.
49348         * configure.in: Substitute libc_cv_cc_fma4.
49349         * math/Makefile (dbl-only-routines): Add sincostab.
49350         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
49351         Use __sincostab not sincos.
49352         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
49353         name is a macro.
49354         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49355         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49356         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49357         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
49358         using __copysign.
49359         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
49360         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
49361         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
49362         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
49363         and __inv.
49364         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
49365         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
49366         __copysign.
49367         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
49368         define aliases when function name is a macro.
49369         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
49370         sysdeps/ieee754/dbl-64/sincos.tbl.
49371         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
49372         fma4-enabled routines.
49373         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
49374         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
49375         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
49376         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
49377         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
49378         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
49379         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
49380         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
49381         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
49382         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
49383         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
49384         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
49385         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
49386         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
49387         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
49388         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
49389         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
49390         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
49391         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
49392         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
49393         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
49394         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
49395         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
49396         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
49397         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
49398         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
49399         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
49400         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
49401         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
49402         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
49403
49404         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
49405         rename.
49406         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49407         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49408         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49409         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49410         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49411         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49412         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49413         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49414
49415 2011-10-24  Andreas Schwab  <schwab@redhat.com>
49416
49417         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
49418
49419 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
49420
49421         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
49422
49423         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
49424         prediction.
49425         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
49426
49427         * string/strnlen.c: Don't define STRNLEN, reverse logic.
49428         Remove unused variable magic_bits.
49429         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
49430
49431         * string/strnlen.c: Define and use STRNLEN macro.
49432         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
49433         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
49434         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
49435         * wcsmbs/wcslen.c: Define and use WCSLEN.
49436         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
49437         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
49438         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
49439         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
49440         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
49441         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
49442         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
49443
49444 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49445
49446         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49447         strnlen-sse2-no-bsf.
49448         Rename strlen-no-bsf to strlen-sse2-no-bsf.
49449         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
49450         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
49451         Add strnlen support.
49452         (USE_AS_STRNLEN): New macro.
49453         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
49454         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
49455         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
49456         * sysdeps/x86_64/wcslen.S: New file.
49457
49458 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
49459
49460         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
49461         XMM-moves are used for copying on small sizes.
49462
49463 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49464
49465         * wcsmbs/Makefile (strop-tests): Add wcschr.
49466         * wcsmbs/test-wcschr.c: New file.
49467         * string/test-strchr.c: Update.
49468         Add wcschr support.
49469         (WIDE): New macro.
49470
49471 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49472
49473         * wcsmbs/Makefile (strop-tests): Add wcslen.
49474         * wcsmbs/test-wcslen.c: New file.
49475         * string/test-strlen.c: Update.
49476         Add wcslen support.
49477         (WIDE): New macro.
49478
49479 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
49480
49481         * po/it.po: Update from translation team.
49482
49483 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49484
49485         * sysdeps/x86_64/wcscmp.S: Update.
49486         Fix wrong comparison semantics.
49487         wcscmp shall use signed comparison not unsigned.
49488         Don't use substraction to avoid overflow bug.
49489         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
49490         * wcsmbc/wcscmp.c: Likewise.
49491         * string/test-strcmp.c: Likewise.
49492         Add new tests to check cases with negative values.
49493
49494 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
49495
49496         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
49497         * sysdeps/x86_64/dla.h: ...here.  New file.
49498         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
49499         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49500         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49501         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49502         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49503         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
49504         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49505         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49506         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49507
49508 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
49509
49510         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
49511         __ynl_finite aliases.
49512
49513 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
49514
49515         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49516
49517         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
49518         define DLA_FMA.
49519         [DLA_FMA] (EMULV): Use DLA_FMA.
49520         [DLA_FMA] (MUL12): Use EMULV.
49521         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
49522         that are not needed.
49523         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49524         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49525         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49526         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49527         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49528         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49529         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49530
49531 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
49532
49533         * math/s_nan.c: Undef __nan.
49534         * math/s_nanf.c: Undef __nanf.
49535         * math/s_nanl.c: Undef __nanl.
49536         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
49537         "math_private.h".
49538
49539 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
49540
49541         * math/s_catan.c: Add branch predictions.
49542         * math/s_catanf.c: Likewise.
49543         * math/s_catanh.c: Likewise.
49544         * math/s_catanhf.c: Likewise.
49545         * math/s_catanhl.c: Likewise.
49546         * math/s_catanl.c: Likewise.
49547         * math/s_cexp.c: Likewise.
49548         * math/s_cexpf.c: Likewise.
49549         * math/s_cexpl.c: Likewise.
49550         * math/s_clog.c: Likewise.
49551         * math/s_clog10.c: Likewise.
49552         * math/s_clog10f.c: Likewise.
49553         * math/s_clog10l.c: Likewise.
49554         * math/s_clogf.c: Likewise.
49555         * math/s_clogl.c: Likewise.
49556         * math/s_csqrt.c: Likewise.
49557         * math/s_csqrtf.c: Likewise.
49558         * math/s_csqrtl.c: Likewise.
49559         * math/s_ctanf.c: Likewise.
49560         * math/s_ctanh.c: Likewise.
49561         * math/s_ctanhf.c: Likewise.
49562         * math/s_ctanhl.c: Likewise.
49563         * math/s_ctanl.c: Likewise.
49564
49565         * math/math_private.h: Define __nan, __nanf, __nanl.
49566         * math/s_cacosh.c: Include <math_private.h>.
49567         * math/s_cacoshl.c: Likewise.
49568         * math/s_casinh.c: Likewise.
49569         * math/s_casinhf.c: Likewise.
49570         * math/s_casinhl.c: Likewise.
49571         * math/s_ccos.c: Rely entire on ccosh.
49572         * math/s_ccosf.c: Rely entire on ccoshf.
49573         * math/s_ccosl.c: Rely entirely on ccoshl.
49574         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
49575         Remove tests for FE_INVALID.
49576         * math/s_ccoshf.c: Likewise.
49577         * math/s_ccoshl.c: Likewise.
49578         * math/s_csin.c: Likewise.
49579         * math/s_csinf.c: Likewise.
49580         * math/s_csinh.c Likewise.
49581         * math/s_csinhf.c: Likewise.
49582         * math/s_csinhl.c: Likewise.
49583         * math/s_csinl.c: Likewise.
49584         * math/s_ctan.c: Likewise.
49585         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
49586         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
49587         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
49588
49589 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
49590
49591         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
49592         compilation problems.
49593
49594         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
49595         __builtin_expect.
49596
49597 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
49598
49599         * sysdeps/i386/configure.in: Test for -mfma4 option.
49600         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
49601         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
49602         COMMON_CPUID_INDEX_80000001.
49603         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
49604         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
49605         use it if FMA3 is not supported.
49606         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
49607
49608         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
49609         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
49610
49611 2011-10-20  Andreas Schwab  <schwab@redhat.com>
49612
49613         [BZ #12892]
49614         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
49615         it would create a cycle with a link time dependency.
49616
49617 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
49618
49619         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
49620         instruction.
49621         * string/Makefile (strop-tests): Add rawmemchr.
49622         * string/test-rawmemchr.c: New file.
49623
49624         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
49625         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
49626         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
49627         when compiling str{,n}casecmp and when AVX is available.  Hook up
49628         new optimized code in initializers.
49629
49630 2011-10-19  Andreas Schwab  <schwab@redhat.com>
49631
49632         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
49633         __feraiseexcept instead of feraiseexcept.
49634
49635 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
49636
49637         * math/math_private.h: Define defaults for libc_fetestexcept and
49638         libc_feupdateenv.
49639         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
49640         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
49641         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
49642         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
49643         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
49644         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
49645         libc_fetestexcept and libc_feupdateenv.
49646
49647         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
49648         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
49649         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
49650         * sysdeps/x86_64/fpu/math_private.h: Define special version of
49651         libc_feholdexcept_setround.
49652
49653         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
49654         Add s_nearbyint-c and s_nearbyintf-c.
49655         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
49656         nearbyintf inlines.
49657         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
49658         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
49659         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
49660         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
49661
49662         * math/math_private.h: Define defaults for libc_fegetround,
49663         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
49664         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
49665         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
49666         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
49667         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
49668         standard functions.
49669         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
49670         Remove comments and hacks for old compiler versions.
49671         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
49672         libc_fegetround, libc_fesetround, libc_feholdexcept, and
49673         libc_feholdexceptl.
49674
49675 2011-10-18  Andreas Schwab  <schwab@redhat.com>
49676
49677         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
49678         (__feraiseexcept_renamed): Add __NTH.
49679         (feraiseexcept): Add __NTH.  Rename local variables to fix
49680         namespace violations.
49681
49682 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
49683
49684         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
49685
49686         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
49687
49688         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
49689         recently added interfaces.
49690         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
49691
49692         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
49693         about macro parameter expansion.
49694
49695         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
49696         __NO_MATH_INLINES is defined.  Cleanups.
49697
49698         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
49699         and __floorf is target has SSE4.1.
49700         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
49701         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
49702         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
49703         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
49704
49705         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
49706         name.
49707         (floorf): Likewise.
49708
49709         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
49710
49711 2011-10-17  Andreas Schwab  <schwab@redhat.com>
49712
49713         * misc/sys/cdefs.h: Fix last change.
49714
49715         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
49716         database lookup.
49717
49718 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
49719
49720         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
49721
49722         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
49723         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49724         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
49725         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
49726         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
49727         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
49728         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
49729         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
49730         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
49731         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
49732         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
49733         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
49734         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
49735         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
49736         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
49737         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
49738         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
49739         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
49740         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
49741         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
49742         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
49743         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
49744
49745         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
49746         ceil, ceilf, floor, floorf.
49747
49748         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
49749         Perform IRELATIVE relocations last.
49750
49751         * elf/do-rel.h: Add another parameter nrelative, replacing the
49752         local variable with the same name.  Change name of the function
49753         to end in Rel or Rela (uppercase).
49754         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
49755         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
49756         elf_dynamic_do_##reloc function.
49757
49758 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
49759
49760         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
49761         is sufficient, at least on modern CPUs.
49762
49763         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
49764
49765         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
49766         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
49767
49768         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
49769         __expl_finite.
49770         * math/bits/math-finite.h: Add entries for exp.
49771         * math/e_expl.c: Add __*_finite alias.
49772         * sysdeps/i386/fpu/e_exp.S: Likewise.
49773         * sysdeps/i386/fpu/e_expf.S: Likewise.
49774         * sysdeps/i386/fpu/e_expl.c: Likewise.
49775         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49776         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
49777         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
49778         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
49779         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
49780         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
49781         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
49782
49783         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
49784         is sufficient, at least on modern CPUs.
49785
49786         * ctype/ctype-info.c (__ctype_init): Define.
49787         * include/ctype.h (__ctype_init): Declare.
49788         (__ctype_b_loc): The variable is always initialized.
49789         (__ctype_toupper_loc): Likewise.
49790         (__ctype_tolower_loc): Likewise.
49791         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
49792         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
49793
49794 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
49795
49796         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
49797
49798         * configure.in: Also look in $cxxmachine/include for C++ system
49799         headers.
49800
49801 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49802
49803         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
49804         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
49805         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
49806         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
49807         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
49808         (USE_AS_WMEMCMP): New macro.
49809         Fixing indents.
49810         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
49811         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
49812         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
49813         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
49814         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49815         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
49816         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
49817         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
49818         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
49819         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
49820         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
49821         (USE_AS_WMEMCMP): New macro.
49822         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
49823         * sysdeps/string/test-memcmp.c: Update.
49824         Fix simple_wmemcmp.
49825         Add new tests.
49826         * wcsmbs/wmemcmp.c: Update.
49827         (WMEMCMP): New macro.
49828         Fix overflow bug.
49829
49830 2011-10-12  Andreas Jaeger  <aj@suse.de>
49831
49832         [BZ #13268]
49833         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
49834
49835 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
49836
49837         * libio/iofwide.c (do_length): Avoid warning.
49838
49839         * ctype/ctype.h (__isctype_f): Add missing __THROW.
49840
49841 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
49842
49843         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
49844
49845         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
49846         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
49847         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
49848         * sysdeps/i386/i686/fpu/e_log.S: New file.
49849         * sysdeps/i386/i686/fpu/e_logf.S: New file.
49850         * sysdeps/i386/i686/fpu/e_logl.S: New file.
49851
49852         * ctype/ctype.h: Add support for inlined isXXX functions when
49853         compiling C++ code.
49854
49855 2011-10-14  Andreas Schwab  <schwab@redhat.com>
49856
49857         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49858
49859         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
49860
49861 2011-10-13  Roland McGrath  <roland@hack.frob.com>
49862
49863         [BZ #13291]
49864         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
49865
49866 2011-10-13  Andreas Schwab  <schwab@redhat.com>
49867
49868         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
49869         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
49870         feraiseexcept.
49871
49872         * sysdeps/x86_64/memrchr.S: Check for zero size.
49873
49874         * string/stratcliff.c: Add memrchr tests.
49875
49876 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49877
49878         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49879         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
49880         rawmemchr-sse2 rawmemchr-sse2-bsf.
49881         * sysdeps/i386/i686/multiarch/memchr.S: New file.
49882         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
49883         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
49884         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
49885         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
49886         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
49887         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
49888         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
49889         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
49890         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
49891         * string/memrchr.c (MEMRCHR): New macro.
49892
49893 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
49894
49895         Add integration with gcc's -ffinite-math-only and optimize wrapper
49896         functions in libm.
49897         * Versions.def: Define GLIBC_2.15 version for libm.
49898         * math/Makefile (headers): Add bits/math-finite.h.
49899         * math/bits/math-finite.h: New file.
49900         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
49901         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
49902         * math/e_acoshl.c: Add __*_finite alias.
49903         * math/e_acosl.c: Likewise.
49904         * math/e_asinl.c: Likewise.
49905         * math/e_atan2l.c: Likewise.
49906         * math/e_atanhl.c: Likewise.
49907         * math/e_coshl.c: Likewise.
49908         * math/e_exp10.c: Likewise.
49909         * math/e_exp10f.c: Likewise.
49910         * math/e_exp10l.c: Likewise.
49911         * math/e_exp2l.c: Likewise.
49912         * math/e_fmodl.c: Likewise.
49913         * math/e_gammal_r.c: Likewise.
49914         * math/e_hypotl.c: Likewise.
49915         * math/e_j0l.c: Likewise.
49916         * math/e_j1l.c: Likewise.
49917         * math/e_jnl.c: Likewise.
49918         * math/e_lgammal_r.c: Likewise.
49919         * math/e_log10l.c: Likewise.
49920         * math/e_log2l.c: Likewise.
49921         * math/e_logl.c: Likewise.
49922         * math/e_powl.c: Likewise.
49923         * math/e_sinhl.c: Likewise.
49924         * math/e_sqrtl.c: Likewise.
49925         * math/e_scalb.c: Completely rewritten and optimized.
49926         * math/e_scalbf.c: Likewise.
49927         * math/e_scalbl.c: Likewise.
49928         * math/w_acos.c: Likewise.
49929         * math/w_acosf.c: Likewise.
49930         * math/w_acosl.c: Likewise.
49931         * math/w_acosh.c: Likewise.
49932         * math/w_acoshf.c: Likewise.
49933         * math/w_acoshl.c: Likewise.
49934         * math/w_asin.c: Likewise.
49935         * math/w_asinf.c: Likewise.
49936         * math/w_asinl.c: Likewise.
49937         * math/w_atan2.c: Likewise.
49938         * math/w_atan2f.c: Likewise.
49939         * math/w_atan2l.c: Likewise.
49940         * math/w_atanh.c: Likewise.
49941         * math/w_atanhf.c: Likewise.
49942         * math/w_atanhl.c: Likewise.
49943         * math/w_exp10.c: Likewise.
49944         * math/w_exp10f.c: Likewise.
49945         * math/w_exp10l.c: Likewise.
49946         * math/w_fmod.c: Likewise.
49947         * math/w_fmodf.c: Likewise.
49948         * math/w_fmodl.c: Likewise.
49949         * math/w_j0.c: Likewise.
49950         * math/w_j0f.c: Likewise.
49951         * math/w_j0l.c: Likewise.
49952         * math/w_j1.c: Likewise.
49953         * math/w_j1f.c: Likewise.
49954         * math/w_j1l.c: Likewise.
49955         * math/w_jn.c: Likewise.
49956         * math/w_jnf.c: Likewise.
49957         * math/w_log.c: Likewise.
49958         * math/w_logf.c: Likewise.
49959         * math/w_logl.c: Likewise.
49960         * math/w_log10.c: Likewise.
49961         * math/w_log10f.c: Likewise.
49962         * math/w_log10l.c: Likewise.
49963         * math/w_log2.c: Likewise.
49964         * math/w_log2f.c: Likewise.
49965         * math/w_log2l.c: Likewise.
49966         * math/w_pow.c: Likewise.
49967         * math/w_powf.c: Likewise.
49968         * math/w_powl.c: Likewise.
49969         * math/w_remainder.c: Likewise.
49970         * math/w_remainderf.c: Likewise.
49971         * math/w_remainderl.c: Likewise.
49972         * math/w_scalb.c: Likewise.
49973         * math/w_scalbf.c: Likewise.
49974         * math/w_scalbl.c: Likewise.
49975         * math/w_sqrt.c: Likewise.
49976         * math/w_sqrtf.c: Likewise.
49977         * math/w_sqrtl.c: Likewise.
49978         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
49979         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
49980         used.
49981         * math/math_private.h: Declare __kernel_standard_f.
49982         * math/w_cosh.c: Remove cruft and optimize a bit.
49983         * math/w_coshf.c: Likewise.
49984         * math/w_coshl.c: Likewise.
49985         * math/w_exp2.c: Likewise.
49986         * math/w_exp2f.c: Likewise.
49987         * math/w_exp2l.c: Likewise.
49988         * math/w_hypot.c: Likewise.
49989         * math/w_hypotf.c: Likewise.
49990         * math/w_hypotl.c: Likewise.
49991         * math/w_lgamma.c: Likewise.
49992         * math/w_lgamma_r.c: Likewise.
49993         * math/w_lgammaf.c: Likewise.
49994         * math/w_lgammaf_r.c: Likewise.
49995         * math/w_lgammal.c: Likewise.
49996         * math/w_lgammal_r.c: Likewise.
49997         * math/w_sinh.c: Likewise.
49998         * math/w_sinhf.c: Likewise.
49999         * math/w_sinhl.c: Likewise.
50000         * math/w_tgamma.c: Likewise.
50001         * math/w_tgammaf.c: Likewise.
50002         * math/w_tgammal.c: Likewise.
50003         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
50004         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
50005         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
50006         Minor optimizations.  Pretty printing.  Remove cruft.
50007         * sysdeps/i386/fpu/e_acosf.S: Likewise.
50008         * sysdeps/i386/fpu/e_acosh.S: Likewise.
50009         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
50010         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
50011         * sysdeps/i386/fpu/e_acosl.c: Likewise.
50012         * sysdeps/i386/fpu/e_asin.S: Likewise.
50013         * sysdeps/i386/fpu/e_asinf.S: Likewise.
50014         * sysdeps/i386/fpu/e_atan2.S: Likewise.
50015         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
50016         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
50017         * sysdeps/i386/fpu/e_atanh.S: Likewise.
50018         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
50019         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
50020         * sysdeps/i386/fpu/e_exp10.S: Likewise.
50021         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
50022         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
50023         * sysdeps/i386/fpu/e_exp2.S: Likewise.
50024         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
50025         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
50026         * sysdeps/i386/fpu/e_fmod.S: Likewise.
50027         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
50028         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
50029         * sysdeps/i386/fpu/e_hypot.S: Likewise.
50030         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
50031         * sysdeps/i386/fpu/e_log.S: Likewise.
50032         * sysdeps/i386/fpu/e_log10.S: Likewise.
50033         * sysdeps/i386/fpu/e_log10f.S: Likewise.
50034         * sysdeps/i386/fpu/e_log10l.S: Likewise.
50035         * sysdeps/i386/fpu/e_log2.S: Likewise.
50036         * sysdeps/i386/fpu/e_log2f.S: Likewise.
50037         * sysdeps/i386/fpu/e_log2l.S: Likewise.
50038         * sysdeps/i386/fpu/e_logf.S: Likewise.
50039         * sysdeps/i386/fpu/e_logl.S: Likewise.
50040         * sysdeps/i386/fpu/e_pow.S: Likewise.
50041         * sysdeps/i386/fpu/e_powf.S: Likewise.
50042         * sysdeps/i386/fpu/e_powl.S: Likewise.
50043         * sysdeps/i386/fpu/e_remainder.S: Likewise.
50044         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
50045         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
50046         * sysdeps/i386/fpu/e_scalb.S: Likewise.
50047         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
50048         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
50049         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
50050         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
50051         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
50052         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
50053         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
50054         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50055         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
50056         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
50057         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
50058         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
50059         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
50060         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
50061         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
50062         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
50063         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
50064         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50065         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
50066         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
50067         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50068         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
50069         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
50070         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
50071         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50072         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
50073         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
50074         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
50075         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
50076         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
50077         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
50078         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
50079         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
50080         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
50081         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
50082         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
50083         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
50084         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
50085         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
50086         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
50087         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
50088         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
50089         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
50090         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
50091         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
50092         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
50093         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
50094         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
50095         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
50096         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
50097         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
50098         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
50099         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
50100         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
50101         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
50102         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
50103         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
50104         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
50105         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
50106         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
50107         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
50108         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
50109         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
50110         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
50111         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
50112         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
50113         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
50114         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
50115         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
50116         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
50117         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
50118         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
50119         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
50120         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
50121         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
50122         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
50123         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
50124         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
50125         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
50126         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
50127         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
50128         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
50129         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
50130         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
50131         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
50132         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
50133         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
50134         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
50135         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
50136         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
50137         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
50138         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
50139         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
50140         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
50141         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
50142         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
50143         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
50144         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
50145         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
50146         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
50147         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
50148         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
50149         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
50150         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
50151         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
50152         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
50153         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
50154         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
50155         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
50156         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
50157         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
50158         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
50159         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
50160         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
50161         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
50162         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
50163         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
50164         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
50165         (__isnanf): Likewise.
50166         (__isinf_ns): Likewise.
50167         (__isinf_nsf): Likewise.
50168         (__finite): Likewise.
50169         (__finitef): Likewise.
50170         (__ieee754_sqrt): Define as macro.
50171         (__ieee754_sqrtf): Define as macro.
50172         (__ieee754_sqrtl): Define as macro.
50173         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
50174         inlined copy.
50175         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
50176         __FINITE_MATH_ONLY__ consistent.
50177         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
50178
50179 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
50180
50181         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
50182         of rawmemchr.
50183
50184         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
50185
50186 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
50187
50188         * po/ja.po: Update from translation team.
50189
50190 2011-10-08  Roland McGrath  <roland@hack.frob.com>
50191
50192         * locale/programs/locarchive.c (prepare_address_space): New function.
50193         (create_archive, enlarge_archive, open_archive): Use it.
50194
50195         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
50196         inside [SHARED], where it is used.
50197
50198         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
50199
50200         * nss/getent.c (netgroup_keys): Remove unused variable.
50201         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
50202
50203 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
50204
50205         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
50206         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
50207         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
50208         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
50209         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
50210         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
50211         * math/Makefile (libm-calls): Add s_isinf_ns.
50212         * math/divtc3.c: Use __isinf_nsl instead of isinf.
50213         * math/multc3.c: Likewise.
50214         * math/s_casin.c: Likewise.
50215         * math/s_casinf.c: Likewise.
50216         * math/s_casinl.c: Likewise.
50217         * math/s_ccos.c: Likewise.
50218         * math/s_ccosf.c: Likewise.
50219         * math/s_ccosl.c: Likewise.
50220         * math/s_ctan.c: Likewise.
50221         * math/s_ctanf.c: Likewise.
50222         * math/s_ctanh.c: Likewise.
50223         * math/s_ctanhf.c: Likewise.
50224         * math/s_ctanhl.c: Likewise.
50225         * math/s_ctanl.c: Likewise.
50226         * math/w_fmod.c: Likewise.
50227         * math/w_fmodf.c: Likewise.
50228         * math/w_fmodl.c: Likewise.
50229         * math/w_remainder.c: Likewise.
50230         * math/w_remainderf.c: Likewise.
50231         * math/w_remainderl.c: Likewise.
50232         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
50233         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
50234         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
50235         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
50236         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
50237         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
50238         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
50239         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
50240
50241         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
50242         of the number.
50243         * stdio-common/printf_fphex.c: Likewise.
50244         * stdio-common/printf_size.c: Likewise.
50245
50246         * math/e_exp10.c: Include math_private.h using <...> not "...".
50247         * math/e_exp10f.c: Likewise.
50248         * math/e_exp10l.c: Likewise.
50249         * math/e_exp2l.c: Likewise.
50250         * math/e_j0l.c: Likewise.
50251         * math/e_j1l.c: Likewise.
50252         * math/e_jnl.c: Likewise.
50253         * math/e_lgammal_r.c: Likewise.
50254         * math/e_rem_pio2l.c: Likewise.
50255         * math/e_scalb.c: Likewise.
50256         * math/e_scalbf.c: Likewise.
50257         * math/e_scalbl.c: Likewise.
50258         * math/k_cosl.c: Likewise.
50259         * math/k_sinl.c: Likewise.
50260         * math/k_tanl.c: Likewise.
50261         * math/s_cacoshf.c: Likewise.
50262         * math/s_catan.c: Likewise.
50263         * math/s_catanf.c: Likewise.
50264         * math/s_catanh.c: Likewise.
50265         * math/s_catanhf.c: Likewise.
50266         * math/s_catanhl.c: Likewise.
50267         * math/s_catanl.c: Likewise.
50268         * math/s_ccosh.c: Likewise.
50269         * math/s_ccoshf.c: Likewise.
50270         * math/s_ccoshl.c: Likewise.
50271         * math/s_cexp.c: Likewise.
50272         * math/s_cexpf.c: Likewise.
50273         * math/s_cexpl.c: Likewise.
50274         * math/s_clog.c: Likewise.
50275         * math/s_clog10.c: Likewise.
50276         * math/s_clog10f.c: Likewise.
50277         * math/s_clog10l.c: Likewise.
50278         * math/s_clogf.c: Likewise.
50279         * math/s_clogl.c: Likewise.
50280         * math/s_csin.c: Likewise.
50281         * math/s_csinf.c: Likewise.
50282         * math/s_csinh.c: Likewise.
50283         * math/s_csinhf.c: Likewise.
50284         * math/s_csinhl.c: Likewise.
50285         * math/s_csinl.c: Likewise.
50286         * math/s_csqrt.c: Likewise.
50287         * math/s_csqrtf.c: Likewise.
50288         * math/s_csqrtl.c: Likewise.
50289         * math/s_ctan.c: Likewise.
50290         * math/s_ctanf.c: Likewise.
50291         * math/s_ctanh.c: Likewise.
50292         * math/s_ctanhf.c: Likewise.
50293         * math/s_ctanhl.c: Likewise.
50294         * math/s_ctanl.c: Likewise.
50295         * math/s_ldexp.c: Likewise.
50296         * math/s_ldexpf.c: Likewise.
50297         * math/s_ldexpl.c: Likewise.
50298         * math/s_significand.c: Likewise.
50299         * math/s_significandf.c: Likewise.
50300         * math/s_significandl.c: Likewise.
50301         * math/w_acos.c: Likewise.
50302         * math/w_acosf.c: Likewise.
50303         * math/w_acosh.c: Likewise.
50304         * math/w_acoshf.c: Likewise.
50305         * math/w_acoshl.c: Likewise.
50306         * math/w_acosl.c: Likewise.
50307         * math/w_asin.c: Likewise.
50308         * math/w_asinf.c: Likewise.
50309         * math/w_asinl.c: Likewise.
50310         * math/w_atan2.c: Likewise.
50311         * math/w_atan2f.c: Likewise.
50312         * math/w_atan2l.c: Likewise.
50313         * math/w_atanh.c: Likewise.
50314         * math/w_atanhf.c: Likewise.
50315         * math/w_atanhl.c: Likewise.
50316         * math/w_cosh.c: Likewise.
50317         * math/w_coshf.c: Likewise.
50318         * math/w_coshl.c: Likewise.
50319         * math/w_dremf.c: Likewise.
50320         * math/w_exp10.c: Likewise.
50321         * math/w_exp10f.c: Likewise.
50322         * math/w_exp10l.c: Likewise.
50323         * math/w_exp2.c: Likewise.
50324         * math/w_exp2f.c: Likewise.
50325         * math/w_fmod.c: Likewise.
50326         * math/w_fmodf.c: Likewise.
50327         * math/w_fmodl.c: Likewise.
50328         * math/w_hypot.c: Likewise.
50329         * math/w_hypotf.c: Likewise.
50330         * math/w_hypotl.c: Likewise.
50331         * math/w_j0.c: Likewise.
50332         * math/w_j0f.c: Likewise.
50333         * math/w_j0l.c: Likewise.
50334         * math/w_j1.c: Likewise.
50335         * math/w_j1f.c: Likewise.
50336         * math/w_j1l.c: Likewise.
50337         * math/w_jn.c: Likewise.
50338         * math/w_jnf.c: Likewise.
50339         * math/w_jnl.c: Likewise.
50340         * math/w_lgamma.c: Likewise.
50341         * math/w_lgamma_r.c: Likewise.
50342         * math/w_lgammaf.c: Likewise.
50343         * math/w_lgammaf_r.c: Likewise.
50344         * math/w_lgammal.c: Likewise.
50345         * math/w_lgammal_r.c: Likewise.
50346         * math/w_log.c: Likewise.
50347         * math/w_log10.c: Likewise.
50348         * math/w_log10f.c: Likewise.
50349         * math/w_log10l.c: Likewise.
50350         * math/w_log2.c: Likewise.
50351         * math/w_log2f.c: Likewise.
50352         * math/w_log2l.c: Likewise.
50353         * math/w_logf.c: Likewise.
50354         * math/w_logl.c: Likewise.
50355         * math/w_pow.c: Likewise.
50356         * math/w_powf.c: Likewise.
50357         * math/w_powl.c: Likewise.
50358         * math/w_remainder.c: Likewise.
50359         * math/w_remainderf.c: Likewise.
50360         * math/w_remainderl.c: Likewise.
50361         * math/w_scalb.c: Likewise.
50362         * math/w_scalbf.c: Likewise.
50363         * math/w_scalbl.c: Likewise.
50364         * math/w_sinh.c: Likewise.
50365         * math/w_sinhf.c: Likewise.
50366         * math/w_sinhl.c: Likewise.
50367         * math/w_sqrt.c: Likewise.
50368         * math/w_sqrtf.c: Likewise.
50369         * math/w_sqrtl.c: Likewise.
50370         * math/w_tgamma.c: Likewise.
50371         * math/w_tgammaf.c: Likewise.
50372         * math/w_tgammal.c: Likewise.
50373
50374         * po/ja.po: Update from translation team.
50375
50376 2011-09-29  Andreas Jaeger  <aj@suse.de>
50377
50378         [BZ #13179]
50379         * sunrpc/netname.c (netname2host): Fix logic.
50380
50381         [BZ #6779]
50382         [BZ #6783]
50383         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
50384         correctly.
50385         * math/w_remainder.c (__remainder): Likewise.
50386         * math/w_remainderf.c (__remainderf): Likewise.
50387         * math/libm-test.inc (remainder_test): Add test cases.
50388
50389 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50390
50391         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
50392         sdiv_qrnnd.
50393
50394 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
50395
50396         * string/test-memcmp.c: Avoid unncessary #defines.
50397         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
50398
50399 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50400
50401         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
50402         Use new sse2 version for core i3 - i7 as it's faster
50403         than sse42 version.
50404         (bit_Prefer_PMINUB_for_stringop): New.
50405         * sysdeps/x86_64/rawmemchr.S: Update.
50406         Replace with faster SSE2 version.
50407         * sysdeps/x86_64/memrchr.S: New file.
50408         * sysdeps/x86_64/memchr.S: Update.
50409         Replace with faster SSE2 version.
50410
50411 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
50412
50413         * elf/dl-load.c (lose): Add cast to avoid warning.
50414
50415 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
50416
50417         * po/ca.po: Update from translation team.
50418
50419         * inet/getnetgrent_r.c: Hook up nscd.
50420         * nscd/Makefile (routines): Add nscd_netgroup.
50421         (nscd-modules): Add netgroupcache.
50422         (CFLAGS-netgroupcache.c): Define.
50423         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
50424         (cache_search): Add const to second parameter.
50425         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
50426         INNETGR.
50427         (dbs): Add netgrdb entry.
50428         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
50429         (verify_persistent_db): Handle netgrdb.
50430         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
50431         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
50432         GETFDNETGR.
50433         (netgroup_response_header): Define.
50434         (innetgroup_response_header): Define.
50435         (datahead): Add netgroup_response_header and innetgroup_response_header
50436         elements.
50437         * nscd/nscd.conf: Add entries for netgroup cache.
50438         * nscd/nscd.h (dbtype): Add netgrdb.
50439         (_PATH_NSCD_NETGROUP_DB): Define.
50440         (netgroup_iov_disabled): Declare.
50441         (xmalloc, xcalloc, xrealloc): Move declarations here.
50442         (cache_search): Adjust prototype.
50443         Add netgroup-related prototypes.
50444         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
50445         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
50446         (__nscd_innetgr): Declare.
50447         * nscd/selinux.c (perms): Use access_vector_t as element type and
50448         add netgroup-related initializers.
50449         * nscd/netgroupcache.c: New file.
50450         * nscd/nscd_netgroup.c: New file.
50451         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
50452         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
50453         For four parameters use innetgr.
50454         * nss/nss_files/files-init.c: Add definition and callback for netgr.
50455         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
50456         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
50457         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
50458
50459         * nscd/connections.c (register_traced_file): Don't register file
50460         for disabled databases.
50461
50462 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
50463
50464         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
50465
50466         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
50467         from tree and freeing node.
50468
50469 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
50470
50471         * nss/nsswitch.c (__nss_database_lookup): Handle
50472         nss_parse_service_list out of memory case.
50473
50474 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
50475
50476         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
50477         out of memory case.
50478
50479 2011-10-04  Andreas Schwab  <schwab@redhat.com>
50480
50481         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
50482         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
50483         pass it down.
50484         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
50485         elf_machine_rela, elf_machine_lazy_rel.
50486         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
50487         (ELF_DYNAMIC_DO_REL): Likewise.
50488         (ELF_DYNAMIC_DO_RELA): Likewise.
50489         (ELF_DYNAMIC_RELOCATE): Likewise.
50490         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
50491         to ELF_DYNAMIC_DO_REL.
50492         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
50493         (dl_main): In trace mode always set __RTLD_NOIFUNC.
50494         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
50495         elf_machine_rela.
50496         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
50497         skip_ifunc, don't call ifunc function if non-zero.
50498         (elf_machine_rela): Likewise.
50499         (elf_machine_lazy_rel): Likewise.
50500         (elf_machine_lazy_rela): Likewise.
50501         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
50502         (elf_machine_lazy_rel): Likewise.
50503         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
50504         Likewise.
50505         (elf_machine_lazy_rel): Likewise.
50506         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
50507         Likewise.
50508         (elf_machine_lazy_rel): Likewise.
50509         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
50510         (elf_machine_lazy_rel): Likewise.
50511         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
50512         (elf_machine_lazy_rel): Likewise.
50513         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
50514         (elf_machine_lazy_rel): Likewise.
50515         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
50516         (elf_machine_lazy_rel): Likewise.
50517         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
50518         (elf_machine_lazy_rel): Likewise.
50519         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
50520         (elf_machine_lazy_rel): Likewise.
50521
50522 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
50523
50524         * nss/nss_files/files-init.c (_nss_files_init): Use static
50525         initialization for all the *_traced_file variables.
50526
50527 2011-09-28  Andreas Schwab  <schwab@redhat.com>
50528
50529         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50530
50531 2011-09-27  Roland McGrath  <roland@hack.frob.com>
50532
50533         [BZ #13226]
50534         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
50535
50536 2011-09-27  Andreas Schwab  <schwab@redhat.com>
50537
50538         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
50539         Reread the line before reparsing it.
50540
50541 2011-09-26  Andreas Schwab  <schwab@redhat.com>
50542
50543         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
50544
50545 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
50546             Maxim Kuvyrkov  <maxim@codesourcery.com>
50547             Joseph Myers  <joseph@codesourcery.com>
50548
50549         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
50550         if needed for __stack_chk_guard.
50551
50552 2011-09-19  Roland McGrath  <roland@hack.frob.com>
50553
50554         * sysdeps/posix/spawni.c (script_execute): Always define it.
50555         It will be optimized away if unused.
50556         (maybe_script_execute): New function.
50557         (__spawni): Call it.
50558
50559         * Makerules: Don't include tls.make.
50560         (config-tls): Always set to thread.
50561         * tls.make.c: File removed.
50562
50563 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
50564
50565         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
50566         * config.make.in (CPPFLAGS-config): New substituted variable.
50567
50568 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
50569
50570         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
50571
50572         [BZ #13192]
50573         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
50574         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
50575
50576 2011-09-15  Roland McGrath  <roland@hack.frob.com>
50577
50578         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
50579         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
50580         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
50581         (CALL_FAIL): Likewise.
50582         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
50583         (CALL_FAIL): Macro removed.
50584         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
50585
50586 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
50587
50588         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
50589         for __FINITE_MATH_ONLY__ == 1.
50590
50591 2011-09-15  Andreas Schwab  <schwab@redhat.com>
50592
50593         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
50594         __ieee754_sqrt instead of sqrt.
50595         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
50596         __ieee754_sqrtf instead of sqrtf.
50597         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
50598         __floorf instead of floorf.
50599         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
50600         __floorf, __truncf instead of floorf, truncf.
50601
50602 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
50603
50604         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
50605
50606         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
50607         __extern_always_inline.
50608         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
50609         32-bit.
50610
50611 2011-09-14  Andreas Schwab  <schwab@redhat.com>
50612
50613         * elf/rtld.c (dl_main): Also relocate in dependency order when
50614         doing symbol dependency testing.
50615
50616 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
50617
50618         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
50619         Always define `refsym'.
50620
50621 2011-09-13  Andreas Schwab  <schwab@redhat.com>
50622
50623         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
50624         (__FD_ELT): Renamed from __FDELT.
50625         * misc/bits/select2.h (__FD_ELT): Likewise.
50626         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
50627         __FD_MASK instead of __FDELT, __FDMASK.
50628         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
50629         Likewise.
50630         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
50631         Likewise.
50632
50633         * elf/Makefile (gen-ldd): Fix pattern.
50634
50635         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
50636         (init_tls): Likewise.
50637
50638 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
50639
50640         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
50641
50642 2011-09-12  Andreas Schwab  <schwab@redhat.com>
50643
50644         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
50645         `struct cmsghdr *' instead of `void *'.
50646         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
50647         Likewise.
50648
50649 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
50650
50651         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
50652         if non-absolute.
50653         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
50654         ldd_rewrite_script.
50655
50656 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
50657
50658         * configure.in: Remove --with-tls option.
50659         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
50660         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
50661         out in case it is missing.
50662         * sysdeps/ia64/elf/configure.in: Likewise.
50663         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
50664         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
50665         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
50666         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
50667         * sysdeps/sh/elf/configure.in: Likewise.
50668         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
50669         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
50670         * sysdeps/x86_64/elf/configure.in: Likewise.
50671         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
50672         * sysdeps/mach/hurd/tls.h: Likewise.
50673
50674         [BZ #13067]
50675         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
50676
50677         [BZ #13090]
50678         * configure.in: Fix use of AC_INIT.
50679
50680         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
50681
50682 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
50683
50684         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
50685         __set_errno.
50686         * malloc/hooks.c: Likewise.
50687
50688         [BZ #11929]
50689         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
50690         variables statically.
50691         (narenas): Initialize.
50692         (list_lock): Initialize.
50693         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
50694         initializtion of main_arena and list_lock.  Small cleanups.
50695         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
50696         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
50697         Add initializers to main_arena and mp_.
50698         (malloc_state): Remove pagesize member.  Change all users to use
50699         GLRO(dl_pagesize).
50700
50701         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
50702         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
50703         is always initialized.
50704
50705         * malloc/malloc.c: Removed unused configurations and dead code.
50706         * malloc/arena.c: Likewise.
50707         * malloc/hooks.c: Likewise.
50708         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
50709
50710         * include/tls.h: Removed.  USE___THREAD must always be defined.
50711         * bits/libc-tsd.h: Don't handle !USE___THREAD.
50712         * elf/dl-libc.c: Likewise.
50713         * elf/dl-tsd.c: Likewise.
50714         * include/errno.h: Likewise.
50715         * include/netdb.h: Likewise.
50716         * include/resolv.h: Likewise.
50717         * inet/herrno-loc.c: Likewise.
50718         * inet/herrno.c: Likewise.
50719         * malloc/arena.c: Likewise.
50720         * malloc/hooks.c: Likewise.
50721         * malloc/malloc.c: Likewise.
50722         * resolv/res-state.c: Likewise.
50723         * resolv/res_libc.c: Likewise.
50724         * sysdeps/i386/dl-machine.h: Likewise.
50725         * sysdeps/ia64/dl-machine.h: Likewise.
50726         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
50727         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
50728         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
50729         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
50730         * sysdeps/sh/dl-machine.h: Likewise.
50731         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
50732         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
50733         * sysdeps/unix/i386/sysdep.S: Likewise.
50734         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
50735         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
50736         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
50737         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
50738         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
50739         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
50740         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
50741         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
50742         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
50743         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
50744         * sysdeps/unix/x86_64/sysdep.S: Likewise.
50745         * sysdeps/x86_64/dl-machine.h: Likewise.
50746         * tls.make.c: Likewise.
50747
50748         * configure.in: Remove --with-__thread option.  Make tests for
50749         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
50750         tls_model attribute fail if no support is available.  Remove
50751         USE_IN_LIBIO.
50752         * Makeconfig: Adjust for dropped configure option.  All features are
50753         now mandatory.
50754         * Makerules: Likewise.
50755         * Versions.def: Likewise.
50756         * argp/argp-fmtstream.c: Likewise.
50757         * argp/argp-fmtstream.h: Likewise.
50758         * argp/argp-help.c: Likewise.
50759         * assert/assert.c: Likewise.
50760         * config.h.in: Likewise.
50761         * config.make.in: Likewise.
50762         * configure: Likewise.
50763         * configure.in: Likewise.
50764         * csu/Versions: Likewise.
50765         * csu/init.c: Likewise.
50766         * elf/tst-audit2.c: Likewise.
50767         * elf/tst-tls10.c: Likewise.
50768         * elf/tst-tls10.h: Likewise.
50769         * elf/tst-tls11.c: Likewise.
50770         * elf/tst-tls12.c: Likewise.
50771         * elf/tst-tls14.c: Likewise.
50772         * elf/tst-tlsmod11.c: Likewise.
50773         * elf/tst-tlsmod12.c: Likewise.
50774         * elf/tst-tlsmod13.c: Likewise.
50775         * elf/tst-tlsmod13a.c: Likewise.
50776         * elf/tst-tlsmod14a.c: Likewise.
50777         * elf/tst-tlsmod15b.c: Likewise.
50778         * elf/tst-tlsmod16a.c: Likewise.
50779         * elf/tst-tlsmod16b.c: Likewise.
50780         * elf/tst-tlsmod7.c: Likewise.
50781         * elf/tst-tlsmod8.c: Likewise.
50782         * elf/tst-tlsmod9.c: Likewise.
50783         * gmon/gmon.c: Likewise.
50784         * grp/fgetgrent_r.c: Likewise.
50785         * grp/putgrent.c: Likewise.
50786         * hurd/fopenport.c: Likewise.
50787         * include/libc-symbols.h: Likewise.
50788         * include/tls.h: Likewise.
50789         * intl/gettextP.h: Likewise.
50790         * intl/loadinfo.h: Likewise.
50791         * locale/global-locale.c: Likewise.
50792         * locale/localeinfo.h: Likewise.
50793         * mach/devstream.c: Likewise.
50794         * malloc/arena.c: Likewise.
50795         * malloc/set-freeres.c: Likewise.
50796         * misc/err.c: Likewise.
50797         * misc/getttyent.c: Likewise.
50798         * misc/mntent_r.c: Likewise.
50799         * posix/getopt.c: Likewise.
50800         * posix/wordexp.c: Likewise.
50801         * pwd/fgetpwent_r.c: Likewise.
50802         * resolv/Versions: Likewise.
50803         * resolv/res_hconf.c: Likewise.
50804         * shadow/fgetspent_r.c: Likewise.
50805         * shadow/putspent.c: Likewise.
50806         * stdio-common/printf_fphex.c: Likewise.
50807         * stdio-common/tmpfile.c: Likewise.
50808         * stdlib/abort.c: Likewise.
50809         * stdlib/fmtmsg.c: Likewise.
50810         * sunrpc/auth_unix.c: Likewise.
50811         * sunrpc/clnt_perr.c: Likewise.
50812         * sunrpc/clnt_tcp.c: Likewise.
50813         * sunrpc/clnt_udp.c: Likewise.
50814         * sunrpc/clnt_unix.c: Likewise.
50815         * sunrpc/openchild.c: Likewise.
50816         * sunrpc/svc_simple.c: Likewise.
50817         * sunrpc/svc_tcp.c: Likewise.
50818         * sunrpc/svc_udp.c: Likewise.
50819         * sunrpc/svc_unix.c: Likewise.
50820         * sunrpc/xdr.c: Likewise.
50821         * sunrpc/xdr_array.c: Likewise.
50822         * sunrpc/xdr_rec.c: Likewise.
50823         * sunrpc/xdr_ref.c: Likewise.
50824         * sunrpc/xdr_stdio.c: Likewise.
50825
50826 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
50827
50828         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50829
50830 2011-07-03  Andreas Jaeger  <aj@suse.de>
50831
50832         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
50833         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
50834         regenerate with gen-libm-tests.pl.
50835
50836 2010-05-12  Petr Baudis  <pasky@suse.cz>
50837
50838         [BZ #11589]
50839         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
50840         around j0() zero points by switching to j1().
50841         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
50842         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
50843         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
50844         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
50845
50846 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
50847
50848         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
50849         instead of 0.
50850         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
50851         instead of 0.
50852         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
50853         Patch in part by Pavel Roskin <proski@gnu.org>.
50854
50855         [BZ #13138]
50856         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
50857         realloc.
50858         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
50859         Free memory block if necessary.
50860
50861         [BZ #12847]
50862         * libio/genops.c (INTDEF): For string streams the _lock pointer can
50863         be NULL.  Don't lock in this case.
50864
50865 2011-09-09  Roland McGrath  <roland@hack.frob.com>
50866
50867         * elf/elf.h (ELFOSABI_GNU): New macro.
50868         (ELFOSABI_LINUX): Define to that.
50869
50870 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
50871
50872         * string/strncat.c (strncat): Undef the symbol in case it has been
50873         defined in bits/string.h.
50874
50875 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
50876
50877         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
50878
50879         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
50880         link map.
50881
50882 2011-08-17  Andreas Jaeger  <aj@suse.de>
50883
50884         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
50885
50886 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
50887             Ian Lance Taylor  <iant@google.com>
50888
50889         * math/libm-test.inc (lround_test): New testcase.
50890         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
50891
50892 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
50893
50894         * Makefile: Remove support for automatic cvs check-ins.
50895         * Makerules: Likewise.
50896         * config.make.in: Likewise.
50897         * configure.in: Likewise.
50898         * intl/Makefile: Likewise.
50899         * locale/Makefile: Likewise.
50900         * po/Makefile: Likewise.
50901         * posix/Makefile: Likewise.
50902         * sysdeps/gnu/Makefile: Likewise.
50903         * sysdeps/mach/hurd/Makefile: Likewise.
50904         * sysdeps/sparc/sparc32/Makefile: Likewise.
50905
50906         [BZ #13118]
50907         * posix/Makefile (bug-regex32-ENV): Define.
50908         Patch by John Stanley <jpsinthemix@verizon.net>.
50909
50910         * misc/Makefile (headers): Add bits/select2.h.
50911         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
50912         * misc/bits/select2.h: New file.
50913         * include/bits/select2.h: New file.
50914         * debug/Makefile (routines): Add fdelt_chk.
50915         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
50916         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
50917         FD_ISSET.
50918         * debug/fdelt_chk.c: New file.
50919
50920         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
50921         * wcsmbs/test-wmemcmp.c: Likewise.
50922         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
50923         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
50924
50925 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50926
50927         * string/Makefile (strop-tests): Add memcmp.
50928         * string/test-wmemcmp.c: New file.
50929         * string/test-memcmp.c: Add wmemcmp support.
50930
50931 2011-09-08  Roland McGrath  <roland@hack.frob.com>
50932
50933         [BZ #13153]
50934         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
50935         2011-07-19 change.
50936
50937         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
50938         garbage value in a __mach_port_mod_refs call in the cases of the
50939         task-self and thread-self ports.
50940
50941 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50942
50943         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
50944
50945 2011-09-08  Andreas Schwab  <schwab@redhat.com>
50946
50947         * elf/dl-load.c (lose): Check for non-null L.
50948
50949 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
50950
50951         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
50952
50953         * elf/dl-libc.c (dlerror_run): Pass back error code from
50954         dl_catch_error.
50955
50956         [BZ #13123]
50957         * elf/dl-load.c (lose): Free l_origin if it is valid.
50958
50959         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
50960         names.
50961         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
50962         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
50963         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
50964         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
50965         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
50966         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
50967
50968 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50969
50970         * sysdeps/powerpc/fpu/e_hypot.c: New file.
50971         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
50972         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
50973         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
50974         * sysdeps/powerpc/fpu/k_cosf.c: New file.
50975         * sysdeps/powerpc/fpu/k_sinf.c: New file.
50976         * sysdeps/powerpc/fpu/s_cosf.c: New file.
50977         * sysdeps/powerpc/fpu/s_sinf.c: New file.
50978         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
50979         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
50980
50981 2011-08-15  Alan Modra  <amodra@gmail.com>
50982
50983         [BZ #13092]
50984         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
50985         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
50986         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
50987         ppc_mcount to static-only-routines.
50988         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
50989         __mcount_internal.
50990         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
50991         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
50992
50993 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
50994
50995         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
50996         for finite and infinity parameters.
50997
50998 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
50999
51000         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
51001         and add nop instructions for throughput optimization.
51002         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
51003
51004 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
51005
51006         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
51007         aligned copy for power7 with vector-scalar instructions.
51008         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
51009
51010 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
51011
51012         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
51013         AVX check.
51014
51015 2011-09-07  Andreas Schwab  <schwab@redhat.com>
51016
51017         [BZ #13144]
51018         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
51019         last change.
51020
51021 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
51022
51023         * sysdeps/unix/sysv/linux/x86_64/init-first.c
51024         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
51025         syscall wrapper around clock_gettime in __vdso_clock_gettime.
51026         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
51027         clock_gettime.
51028
51029 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
51030
51031         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
51032         Forgot to demangle the pointer.
51033
51034         * sysdeps/i386/sysdep.h: Define atom_text_section.
51035         * sysdeps/x86_64/sysdep.h: Likewise.
51036         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
51037         section with atom_text_section.
51038         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
51039         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
51040         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
51041         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
51042         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
51043
51044         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
51045         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
51046         already be defined.  Change to take two parameters and don't assign
51047         result to variable.  Adjust all users.
51048         Define INTERNAL_GETTIME if not already defined.
51049         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
51050         call.
51051         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
51052         HAVE_CLOCK_GETTIME_VSYSCALL.
51053         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
51054
51055         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
51056         gettimeofday vsyscall, just use time.
51057
51058 2011-09-06  Andreas Schwab  <schwab@redhat.com>
51059
51060         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
51061         <errno.h>.
51062
51063 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
51064
51065         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
51066         syscall on x86-64.
51067         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
51068         syscall.
51069         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
51070         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
51071         syscall if possible.
51072
51073 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
51074
51075         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
51076         e_ident.  Don't pass to find_mapsXX.
51077         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
51078
51079 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
51080
51081         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51082         strchr-sse2-no-bsf strrchr-sse2-no-bsf
51083         * sysdeps/x86_64/multiarch/strchr.S: Update.
51084         Check bit_slow_BSF bit.
51085         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
51086         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
51087         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
51088
51089 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
51090
51091         [BZ #13134]
51092         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
51093         before glibc 2.15.
51094         (tryshell): Define.
51095         (__spawni): Change last parameter to be flag.  Test
51096         SPAWN_XFLAGS_USE_PATH flag to use path or not.
51097         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
51098         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
51099         * posix/spawni.c: Likewise.
51100         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
51101         * posix/spawnp.c: Likewise.  Change normal version to use
51102         SPAWN_XFLAGS_USE_PATH.
51103         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
51104         SPAWN_XFLAGS_TRY_SHELL.
51105
51106         [BZ #13150]
51107         * posix/glob.h: Remove gcc 1.x support.
51108
51109         [BZ #13068]
51110         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
51111
51112 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
51113
51114         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51115         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
51116         strrchr-sse2-bsf
51117         * sysdeps/i386/i686/multiarch/strchr.S: New file.
51118         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
51119         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
51120         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
51121         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
51122         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
51123
51124 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51125
51126         * sysdeps/x86_64/wcscmp.S: New file.
51127
51128         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
51129         wcscmp-c wcscmp-sse2
51130         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
51131         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
51132         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
51133         * wcsmbs/wcscmp.c: Allow renaming.
51134
51135 2011-09-05  David S. Miller  <davem@davemloft.net>
51136
51137         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
51138         stack slot, rather than the struct return pointer slot.
51139         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
51140         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
51141         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
51142         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
51143
51144 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
51145
51146         * po/ja.po: Update from translation team.
51147
51148         [BZ #13144]
51149         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
51150         kernel in 64-bit binaries.
51151
51152 2011-09-01  David S. Miller  <davem@davemloft.net>
51153
51154         * elf/elf.h (HWCAP_SPARC_*): Move to..
51155         * sysdeps/sparc/sysdep.h: this new file and add new values.
51156         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
51157         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
51158         _DL_HWCAP_COUNT to 24.
51159         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
51160         entries.
51161         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
51162         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
51163         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
51164         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
51165         instead of magic constants.
51166         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
51167
51168 2011-08-31  David S. Miller  <davem@davemloft.net>
51169
51170         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
51171         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
51172         Reimplement to do errno handling inline.
51173         (SYSCALL_ERROR_HANDLER): New macro.
51174         (__SYSCALL_STRING): Do not do errno handling in asm.
51175         (__CLONE_SYSCALL_STRING): Delete.
51176         (__INTERNAL_SYSCALL_STRING): Delete.
51177         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
51178         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
51179         (PSEUDO): Reimplement to do errno handling inline.
51180         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
51181         (SYSCALL_ERROR_HANDLER): New macro.
51182         (__SYSCALL_STRING): Do not do errno handling in asm.
51183         (__CLONE_SYSCALL_STRING): Delete.
51184         (__INTERNAL_SYSCALL_STRING): Delete.
51185         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
51186         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
51187         i386.
51188         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
51189         (inline_syscall*): Add 'err' argument.
51190         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
51191         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
51192         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
51193         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
51194
51195         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
51196         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
51197
51198 2011-08-30  Andreas Schwab  <schwab@redhat.com>
51199
51200         * elf/rtld.c (dl_main): Relocate objects in dependency order.
51201
51202 2011-08-29  Jiri Olsa <jolsa@redhat.com>
51203
51204         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
51205         directive.
51206
51207 2011-08-24  David S. Miller  <davem@davemloft.net>
51208
51209         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
51210
51211 2011-08-24  Andreas Schwab  <schwab@redhat.com>
51212
51213         * elf/Makefile: Add rules to build and run unload8 test.
51214         * elf/unload8.c: New file.
51215         * elf/unload8mod1.c: New file.
51216         * elf/unload8mod1x.c: New file.
51217         * elf/unload8mod2.c: New file.
51218         * elf/unload8mod3.c: New file.
51219
51220         * elf/dl-close.c (_dl_close_worker): Reset private search list if
51221         it wasn't used.
51222
51223 2011-08-23  David S. Miller  <davem@davemloft.net>
51224
51225         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
51226         subtract stack bias.
51227         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
51228         %sp not %fp in calculations.
51229         (_JMPBUF_UNWINDS_ADJ): Likewise.
51230
51231         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
51232         (aio_suspend): Call it to force an exception region around the
51233         AIO_MISC_WAIT() invocation.
51234
51235 2011-08-23  Andreas Schwab  <schwab@redhat.com>
51236
51237         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
51238         backslash.
51239
51240 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
51241
51242         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
51243         protection macro.
51244         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
51245         and <dl-machine.h>.
51246         (Elf64_FuncDesc): Remove.
51247
51248 2011-08-22  David S. Miller  <davem@davemloft.net>
51249
51250         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
51251         sigaltstack check, add missing cfi directives.
51252         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
51253         missing cfi directives, and sigaltstack handling.
51254
51255 2011-08-16  Andreas Schwab  <schwab@redhat.com>
51256
51257         [BZ #11724]
51258         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
51259         object is seen twice.
51260         * elf/dl-fini.c (_dl_sort_fini): Likewise.
51261
51262         * elf/Makefile (distribute): Add tst-initorder2.c.
51263         (tests): Add tst-initorder2.
51264         (modules-names): Add tst-initorder2a tst-initorder2b
51265         tst-initorder2c tst-initorder2d.  Add rules to build them.
51266         ($(objpfx)tst-initorder2.out): New rule.
51267         * elf/tst-initorder2.c: New file.
51268         * elf/tst-initorder2.exp: New file.
51269
51270 2011-08-22  Andreas Schwab  <schwab@redhat.com>
51271
51272         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
51273
51274         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
51275         dependencies back to end of function.
51276
51277         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
51278         $(elfobjdir)/ld.so.
51279
51280 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
51281
51282         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
51283         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
51284         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
51285         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
51286         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
51287         of __vdso_gettimeofday.
51288         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
51289         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
51290         attribute_hidden.
51291         (_libc_vdso_platform_setup): Remove initialization of
51292         __vdso_gettimeofday and __vdso_time.
51293
51294 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
51295
51296         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
51297         and fgetc_unlocked.
51298         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
51299         getc_unlocked.
51300
51301         * elf/dl-open.c (add_to_global): Report additions to the global scope
51302         for LD_DEBUG=scopes.
51303         (dl_open_worker): Also print scope of newly loaded dependencies.
51304         (_dl_show_scope): Indicate if there is no scope.
51305
51306         [BZ #13114]
51307         * stdio-common/Makefile (tests): Add bug24.
51308         * stdio-common/bug24.c: New file.
51309
51310 2011-08-19  Andreas Jaeger  <aj@suse.de>
51311
51312         [BZ #13114]
51313         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
51314         non-existant file when using close-on-exec mode.
51315
51316 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
51317
51318         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
51319         the very first instruction.
51320
51321         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
51322         the CFI state in the end.
51323         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
51324         inclusion of dl-trampoline.h.
51325         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
51326
51327 2011-08-19  Andreas Schwab  <schwab@redhat.com>
51328
51329         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
51330         expectations for long double.
51331
51332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
51333         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
51334
51335 2011-08-14  David S. Miller  <davem@davemloft.net>
51336
51337         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
51338         artificual limit depends upon the system page size.
51339
51340 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
51341
51342         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
51343         * resolv/Makefile: Define CFLAGS-libresolv.
51344
51345 2011-08-17  Andreas Schwab  <schwab@redhat.com>
51346
51347         * nss/makedb.c (compute_tables): Make variables used in nested
51348         function static.
51349
51350 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
51351
51352         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
51353         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
51354         if buffer was too small.
51355
51356         * elf/pldd.c (main): Attach to all threads in the process.
51357         Rewrite /proc handling to use *at functions.
51358
51359 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
51360
51361         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
51362         specifies first scope to show.
51363         (dl_open_worker): Update callers.  Move printing scope of new
51364         object to before the relocation.
51365         * elf/rtld.c (dl_main): Update _dl_show_scope call.
51366         * sysdeps/generic/ldsodefs.h: Update declaration.
51367
51368         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
51369         string for the scope number.
51370
51371 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
51372
51373         * nscd/servicescache.c (cache_addserv): Make sure written is always
51374         initialized.
51375
51376 2011-08-14  Roland McGrath  <roland@hack.frob.com>
51377
51378         * sysdeps/i386/i486/bits/atomic.h
51379         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
51380         statement expression, so as to suppress "set but not used" warning.
51381         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
51382
51383         * string/strncat.c (STRNCAT): Use prototype definition.
51384
51385         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
51386         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
51387         -Iprograms here.
51388         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
51389         (localedef-modules): Add localedef.
51390         (locale-modules): Add locale.
51391
51392         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
51393         * elf/rtld.c (dl_main): Invert order of assignment in last change,
51394         to avoid a warning.
51395
51396 2011-08-14  David S. Miller  <davem@davemloft.net>
51397
51398         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
51399         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
51400
51401 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
51402
51403         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
51404         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
51405         * elf/rtld.c (dl_main): Set l_name of vDSO.
51406         Call _dl_show_scope when DL_DEBUG_SCOPES.
51407         (process_dl_debug): Recognize scopes flag and also set it for all.
51408         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
51409         Declare _dl_show_scope.
51410
51411         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
51412         (do_dlopen): Pass caller_dlopen to dl_open.
51413         (__libc_dlopen_mode): Initialize caller_dlopen.
51414
51415         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
51416         of libc.  Make tolower call locale-independent.  Optimize a bit by
51417         using isdigit instead of isalnum.
51418         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
51419
51420 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
51421
51422         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
51423         was a dependency or dynamically loaded.
51424
51425 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
51426
51427         * intl/l10nflist.c: Allow architecture-specific pop function.
51428         * sysdeps/x86_64/l10nflist.c: New file.
51429
51430         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
51431         classification.
51432
51433 2011-08-10  Andreas Schwab  <schwab@redhat.com>
51434
51435         * include/dirent.h: Add libc_hidden_proto for scandirat and
51436         scandirat64.  Don't declare __scandirat64.
51437         * dirent/scandirat.c: Add libc_hidden_def.
51438         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
51439         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
51440
51441 2011-08-10  David S. Miller  <davem@davemloft.net>
51442
51443         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
51444         enum.
51445         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
51446         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
51447         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
51448
51449 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
51450
51451         * Versions.def [libc]: Add GLIBC_2.15.
51452         * dirent/Makefile (routines): Add scandirat and scandirat64.
51453         * dirent/Versions [libc]: Export scandirat and scandirat64 for
51454         GLIBC_2.15.
51455         * dirent/dirent.h: Declare scandirat and scandirat64.
51456         * dirent/scandirat.c: New file.
51457         * dirent/scandirat64.c: New file.
51458         * sysdeps/wordsize-64/scandirat.c: New file.
51459         * sysdeps/wordsize-64/scandirat64.c: New file.
51460         * dirent/opendir.c: Define opendirat.
51461         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
51462         using scandirat.
51463         * dirent/scandir64.c: Adjust for scandir.c change.
51464         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
51465         __scandirat64, and __scandir_cancel_handler.
51466         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
51467         additional parameter and use openat instead of open (outside of ld.so).
51468         Add new __opendir as wrapper around __opendirat.
51469         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
51470         here without requiring old scandirat implementation.
51471
51472 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
51473
51474         * dirent/scandir.c (cancel_handler): Renamed to
51475         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
51476         defined.  Adjust users.
51477         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
51478         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
51479
51480 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
51481
51482         * string/test-string.h (IMPL): Use __STRING to expand name and then
51483         stringify it.
51484
51485         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
51486         of cleanups.
51487
51488 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51489
51490         * string/Makefile: Update.
51491         (strop-tests): Append strncat.
51492         * string/test-wcscmp.c: New file.
51493         New comprehensive test for wcscmp.
51494         * string/test-strcmp.c: Update.
51495         (WIDE): New define.
51496
51497 2011-07-22  Andreas Schwab  <schwab@redhat.com>
51498
51499         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
51500         line.
51501
51502 2011-07-26  Andreas Schwab  <schwab@redhat.com>
51503
51504         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
51505         encoding to ACE if AI_IDN.
51506
51507 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
51508
51509         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
51510         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
51511
51512 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
51513
51514         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
51515         Fix overflow bug in strncat.
51516         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
51517
51518         * string/test-strncat.c: Update.
51519         Add new tests for checking overflow bugs.
51520
51521 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
51522
51523         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51524         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
51525         * sysdeps/i386/i686/multiarch/strcat.S: New file.
51526         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
51527         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
51528         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
51529         * sysdeps/i386/i686/multiarch/strncat.S: New file.
51530         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
51531         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
51532
51533         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
51534         (USE_AS_STRCAT): Define.
51535         Add strcat and strncat support.
51536         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
51537
51538 2011-07-25  Andreas Schwab  <schwab@redhat.com>
51539
51540         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
51541         __n bigger than INT_MAX+1.
51542         (__strncmp_g): Likewise.
51543
51544 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
51545
51546         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
51547         * libio/stido.h: Likewise.
51548
51549         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
51550         (AF_NFC): Define.
51551         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
51552         (AF_NFC): Define.
51553
51554         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
51555         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
51556         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
51557         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
51558         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
51559
51560         [BZ #13021]
51561         * scripts/test-installation.pl: Don't expect libnss_test1 to be
51562         installed.
51563
51564         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
51565         typo.
51566         (_dl_x86_64_save_sse): Likewise.
51567
51568 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
51569
51570         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
51571         OSXSAVE.
51572         (_dl_x86_64_save_sse): Likewise.
51573
51574         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
51575
51576         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
51577
51578 2011-07-21  Andreas Schwab  <schwab@redhat.com>
51579
51580         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
51581         change.
51582         (_dl_x86_64_save_sse): Use correct AVX check.
51583
51584 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51585
51586         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
51587         bug in strncpy/strncat.
51588         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
51589
51590 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
51591
51592         * string/tester.c (test_strcat): Add tests for different alignments
51593         of source and destination.
51594         (test_strncat): Likewise.
51595
51596 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
51597
51598         [BZ #12852]
51599         * posix/glob.c (glob): Check passed in values before using them in
51600         expressions to avoid some overflows.
51601         (glob_in_dir): Likewise.
51602
51603         [BZ #13007]
51604         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
51605         check for AVX enablement so that we don't crash with old kernels and
51606         new hardware.
51607         * elf/tst-audit4.c: Add same checks here.
51608         * elf/tst-audit6.c: Likewise.
51609
51610         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
51611
51612 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
51613
51614         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
51615
51616 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
51617
51618         * po/cs.po: Update from translation team.
51619         * po/bg.po: Likewise.
51620
51621 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
51622
51623         * misc/sys/cdefs.h: Add support for const attribute.
51624         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
51625         to gnu_dev_{major,minor,makedev} functions.
51626
51627 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
51628
51629         * intl/dcigettext.c (get_output_charset): Add missing bracket.
51630
51631 2011-07-20  Andreas Schwab  <schwab@redhat.com>
51632
51633         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
51634         strlen results.
51635
51636 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51637
51638         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
51639         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
51640         register in order to avoid conflicts with the soft frame pointer
51641         being held in r11 when necessary.
51642         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
51643         (INTERNAL_VSYSCALL_NCS): Likewise.
51644
51645 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
51646
51647         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
51648         * elf/dl-fini.c (_dl_fini): Adjust caller.
51649         * elf/dl-close.c (_dl_close_worker): Likewise.
51650         * sysdeps/generic/ldsodefs.h: Adjust declaration.
51651
51652 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
51653
51654         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
51655         "aux_cache->nlibs < 0".
51656
51657         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
51658         in the reload-count case.
51659
51660 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
51661
51662         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51663         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
51664         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
51665         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
51666         * sysdeps/x86_64/multiarch/strcat.S: New file.
51667         * sysdeps/x86_64/multiarch/strncat.S: New file.
51668         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
51669         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
51670         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
51671         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
51672         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
51673         (USE_AS_STRCAT): Define.
51674         Add strcat and strncat support.
51675         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
51676         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
51677         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
51678         * string/strncat.c: Update.
51679         (USE_AS_STRNCAT): Define.
51680         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51681         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
51682         and i7.
51683         * sysdeps/x86_64/multiarch/init-arch.h
51684         (bit_Prefer_PMINUB_for_stringop): New.
51685         (index_Prefer_PMINUB_for_stringop): Likewise.
51686         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
51687         bit_Prefer_PMINUB_for_stringop.
51688
51689 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
51690
51691         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
51692         buffer64.
51693         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
51694         of casting of buffer.
51695         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
51696         buffer32 and buffer64.
51697         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
51698         writes instead of casting of buffer.
51699         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
51700         buffer32.
51701         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
51702         casting of buffer.
51703
51704 2011-07-19  Andreas Schwab  <schwab@redhat.com>
51705
51706         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
51707
51708 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
51709
51710         * nscd/nscd.c (termination_handler): Don't do anything for a database
51711         if it has not yet been initialized.
51712
51713 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
51714
51715         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
51716
51717 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
51718
51719         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
51720
51721 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
51722
51723         * po/nl.po: Update from translation team.
51724         * po/sv.po: Likewise.
51725
51726 2011-07-16  Roland McGrath  <roland@hack.frob.com>
51727
51728         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
51729         now disallowed by GCC.
51730
51731         * configure.in (use-default-link): Default to yes if a test -shared
51732         link meets our qualifications.
51733         * configure: Regenerated.
51734
51735         * config.make.in (output-format): New variable.
51736         * configure.in: Check for ld --print-output-format support.
51737         * configure: Regenerated.
51738         * Makerules ($(common-objpfx)format.lds)
51739         [$(output-format) != unknown]: Just use $(output-format),
51740         instead of the linker-script munging.
51741
51742 2011-07-14  Roland McGrath  <roland@hack.frob.com>
51743
51744         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
51745         of $(common-objpfx)shlib.lds.
51746         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
51747
51748         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
51749         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
51750
51751         * configure.in (-z relro check): Adjust test code to add a large
51752         writable data section after it.
51753         * configure: Regenerated.
51754
51755 2011-07-11  Roland McGrath  <roland@hack.frob.com>
51756
51757         * configure.in (-z relro check): Fix test code to make the variable
51758         truly const.
51759         * configure: Regenerated.
51760
51761 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
51762
51763         * nscd/nscd.h (struct traced_file): Define.
51764         (struct database_dyn): Remove inotify_descr, reset_res, and filename
51765         elements.  Add traced_files.
51766         (inotify_fd): Declare.
51767         (register_traced_file): Declare.
51768         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
51769         (inotify_fd): Export.
51770         (resolv_conf_descr): Remove.
51771         (nscd_init): Move inotify descriptor creation to main.
51772         Don't register files for notification here.
51773         (register_traced_file): New function.
51774         (invalidate_cache): Don't use reset_res to determine whether to call
51775         res_init, go through the list of registered files.
51776         (main_loop_poll): The inotify descriptors are now stored in the
51777         structures for the traced files.
51778         (main_loop_epoll): Likewise
51779         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
51780         to __nss_disable_nscd.
51781         * nscd/cache.c (prune_cache): There is no single inotify descriptor
51782         for a database anymore.  Check the records for all the registered
51783         files instead.
51784         * nss/Makefile (libnss_files-routines): Add files-init.
51785         (libnss_db-routines): Add db-init.
51786         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
51787         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
51788         * nss/nss_db/db-init.c: New file.
51789         * nss/nss_files/files-init.c: New file.
51790         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
51791         __nss_lookup_function.
51792         (__nss_lookup_function): Call nss_load_library.
51793         (nss_load_all_libraries): New function.
51794         (__nss_disable_nscd): Take parameter with callback function for files
51795         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
51796         used for the cached services.
51797         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
51798         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
51799         options for features to all the files in nscd.
51800
51801         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
51802
51803 2011-07-10  Roland McGrath  <roland@hack.frob.com>
51804
51805         * csu/elf-init.c (__libc_csu_init): Comment typo.
51806
51807 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
51808
51809         * po/pl.po: Update from translation team.
51810         * po/ja.po: Likewise.
51811         * po/ru.po: Likewise.
51812         * po/ko.po: Likewise.
51813         * po/fr.po: Likewise.
51814
51815 2011-07-09  Roland McGrath  <roland@hack.frob.com>
51816
51817         * configure.in (.ctors/.dtors header and trailer check):
51818         Use an empirical test on a built program.
51819         * configure: Regenerated.
51820
51821         * configure.in (-z relro check): Use an empirical test on a built DSO.
51822         Detect, but do not require, on ia64.
51823         * configure: Regenerated.
51824
51825         * configure.in (READELF): Find it with AC_CHECK_TOOL.
51826         Update tests that use readelf to use $READELF instead.
51827         * configure: Regenerated.
51828
51829 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
51830
51831         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
51832         if the result is not used.
51833
51834 2011-07-05  Andreas Jaeger  <aj@suse.de>
51835
51836         [BZ#9696]
51837         * stdlib/tst-strtod.c: Add testcase.
51838
51839 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
51840
51841         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
51842         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
51843         The latter has a higher limit.  Take additional parameter to pass to
51844         the new function.
51845         (__pathconf): Pass file to __statfs_link_max.
51846         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
51847         __statfs_link_max.
51848         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
51849         __statfs_link_max.
51850
51851         [BZ #12868]
51852         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
51853         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51854         Handle Lustre.
51855         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
51856         (__statfs_filesize_max): Likewise.
51857         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
51858
51859 2011-07-05  Andreas Jaeger  <aj@suse.de>
51860
51861         * resolv/res_comp.c (dn_skipname): Remove unused variable.
51862
51863 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
51864
51865         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
51866         `status' variable.
51867         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
51868         Likewise.
51869
51870 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
51871
51872         * Makefile (strop-tests): Add strncat.
51873         * string/test-strncat.c: New file.
51874
51875 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
51876
51877         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
51878
51879 2011-06-21  Andreas Jaeger  <aj@suse.de>
51880
51881         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
51882         Copy rule from iconvdata/Makefile.
51883
51884 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
51885
51886         [BZ #12922]
51887         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
51888         but no long options are defined, just return 'W'.
51889
51890 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
51891
51892         [BZ #9696]
51893         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
51894
51895 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
51896
51897         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
51898         netgroups to read.
51899         (innetgr): Likewise.
51900
51901 2011-07-05  Roland McGrath  <roland@hack.frob.com>
51902
51903         * config.make.in (install_root): Default to $(DESTDIR).
51904
51905 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
51906
51907         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
51908
51909 2011-07-02  Roland McGrath  <roland@hack.frob.com>
51910
51911         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
51912
51913         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
51914         containing directory rather than embedding absolute directory names.
51915
51916         * scripts/check-local-headers.sh: Rewritten using awk.
51917         Match by word, not by line.  Print error messages for matches.
51918         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
51919
51920         * Makerules [shlib-lds-flags empty]:
51921         ($(common-objpfx)libc_pic.opts): New target.
51922         ($(common-objpfx)libc_pic.os.clean): New target.
51923         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
51924
51925         * config.make.in (OBJCOPY): New variable.
51926         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
51927         * configure: Regenerated.
51928
51929         * config.make.in (use-default-link): New variable.
51930         * configure.in (use_default_link): Grok --with-default-link to set it.
51931         * configure: Regenerated.
51932         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
51933         (shlib-lds, shlib-lds-flags): Define to empty.
51934
51935         * Makerules (shlib-lds): New variable.
51936         (shlib-lds-flags): New variable.
51937         (build-shlib, build-moduile, build-module-asneeded): Use it.
51938         ($(common-objpfx)libc.so): Use $(shlib-lds).
51939         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
51940         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
51941
51942         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
51943         DT_FLAGS/DT_FLAGS_1 with zero flags.
51944
51945         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
51946         linker script munging.
51947
51948 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
51949
51950         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
51951         as 128-bit value.
51952         * crypt/sha512.c (sha512_process_block): Perform total addition using
51953         128-bit if possible.
51954         (__sha512_finish_ctx): Likewise.
51955         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
51956         as 64-bit value.
51957         * crypt/sha256.c (SWAP64): Define.
51958         (sha256_process_block): Perform total addition using 64-bit if
51959         possible.
51960         (__sha256_finish_ctx): Likewise.
51961
51962 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
51963
51964         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
51965         * nscd/initgrcache.c (addinitgroupsX): Likewise.
51966         * nscd/hstcache.c (cache_addhst): Likewise.
51967         * nscd/grpcache.c (cache_addgr): Likewise.
51968         * nscd/aicache.c (addhstaiX): Likewise
51969         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
51970
51971 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
51972
51973         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
51974         * nscd/initgrcache.c (addinitgroupsX): Likewise.
51975         * nscd/hstcache.c (cache_addhst): Likewise.
51976         * nscd/grpcache.c (cache_addgr): Likewise.
51977         * nscd/aicache.c (addhstaiX): Likewise
51978
51979 2011-07-01  Andreas Schwab  <schwab@redhat.com>
51980
51981         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
51982         domain only when needed.
51983
51984 2011-06-30  Andreas Schwab  <schwab@redhat.com>
51985
51986         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
51987         is always restored.
51988
51989 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
51990
51991         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
51992         are re-adding the entry.
51993         * nscd/servicescache.c (cache_addserv): Likewise.
51994
51995 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
51996
51997         * sysdeps/generic/dl-irel.h: fix protection against multiple
51998         inclusions.
51999         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
52000
52001 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
52002
52003         [BZ #12935]
52004         * malloc/memusage.sh: Fix quoting in message.
52005         * debug/xtrace.sh: Likewise.
52006
52007         * configure.in: Remove support for --experimental-malloc option, make
52008         it the default.
52009         * config.make.in: Likewise.
52010         * malloc/Makefile: Likewise.
52011
52012 2011-06-27  Andreas Schwab  <schwab@redhat.com>
52013
52014         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
52015         two-byte characters.
52016
52017 2011-06-27  Roland McGrath  <roland@hack.frob.com>
52018
52019         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
52020         AC_CACHE_CHECK invocation.
52021         * configure: Regenerated.
52022
52023         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
52024
52025 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
52026
52027         [BZ #12350]
52028         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
52029         bit from old_res_options.
52030
52031         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
52032
52033         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
52034         value type for setfct.
52035
52036 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
52037
52038         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
52039         __gettimeofday instead of gettimeofday.
52040
52041 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
52042
52043         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
52044
52045 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
52046
52047         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
52048
52049         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
52050         info.
52051
52052 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
52053
52054         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52055         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
52056         strcpy-sse2-unaligned strncpy-sse2-unaligned
52057         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
52058         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
52059         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
52060         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
52061         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
52062         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
52063         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
52064         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
52065         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
52066         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
52067         (STRCPY): Support SSE2 and SSSE3 versions.
52068
52069 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
52070
52071         [BZ #12874]
52072         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
52073         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
52074         kernels which artificially limit size of requests.
52075
52076 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
52077
52078         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52079         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
52080         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
52081         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
52082         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
52083         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
52084         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
52085         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
52086         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
52087         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
52088         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
52089         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
52090         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
52091         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
52092         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
52093         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52094         Enable unaligned load optimization for Intel Core i3, i5 and i7
52095         processors.
52096         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
52097         Define.
52098         (index_Fast_Unaligned_Load): Define.
52099         (HAS_FAST_UNALIGNED_LOAD): Define.
52100
52101 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
52102
52103         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
52104
52105 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
52106
52107         [BZ #12907]
52108         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
52109         until it is clear that the information is realy needed.
52110         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
52111
52112 2011-06-22  Andreas Schwab  <schwab@redhat.com>
52113
52114         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
52115
52116 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
52117
52118         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
52119         /sys/devices/system/cpu/online if it is usable.
52120
52121         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
52122         reading the information from the /proc filesystem to once a second.
52123
52124 2011-06-21  Andreas Jaeger  <aj@suse.de>
52125
52126         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
52127         NULL after inclusion of kernel headers.
52128
52129 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
52130
52131         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
52132         calls to internal_setent.
52133
52134         [BZ #12885]
52135         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
52136         addresses using gethostbyname4_r ignore IPv4 addresses.
52137
52138         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
52139         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
52140
52141         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
52142
52143 2011-06-20  David S. Miller  <davem@davemloft.net>
52144
52145         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
52146         inclusions.
52147         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
52148
52149         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
52150         (elf_irel): Use it.
52151         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
52152         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
52153         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
52154         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
52155         * sysdeps/x86_64/dl-irel.h: Likewise.
52156
52157         * elf/dl-runtime.c: Use elf_ifunc_invoke.
52158         * elf/dl-sym.c: Likewise.
52159
52160 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
52161
52162         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
52163         need to dereference resplen2.
52164
52165 2011-06-14  Andreas Schwab  <schwab@redhat.com>
52166
52167         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
52168
52169 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
52170
52171         * Makeconfig: Define vardbdir and inst_vardbdir.
52172         * nss/Makefile: Add rules to install db-Makefile.
52173
52174         * nss/nss_db/db-XXX.c: Cleanup.
52175
52176         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
52177         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
52178         GLIBC_PRIVATE.
52179         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
52180         * nss/makedb.c: Implement -g option to specify that value strings
52181         are generated and should not be added to table iterated over for
52182         get*ent calls.
52183         * nss/nss_db/db-initgroups.c: New file.
52184
52185         * nss/getent.c: Add support for initgroups lookups through getgrouplist
52186         interface.
52187
52188         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
52189         (internal_getgrouplist): Adjust to name change.
52190         Update use_initgroups_entry if this is not the first call.
52191         * nss/databases.def: Add initgroups entry.
52192
52193         * nss/makedb.c (compute_tables): Check result of multiple hash table
52194         sizes to minimize maximum chain length.
52195
52196 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
52197
52198         * Versions.def: Add entry for libnss_db.
52199         * shlib-versions: Likewise.
52200         * nss/Makefile: Add rules to build libnss_db.
52201         * nss/Versions: Add libnss_db information.  Organize libnss_files
52202         entries better.
52203         * nss/db-Makefile: Add gshadow support.  Change rules for the new
52204         makedb progra.  Some minor improvements to generate smaller files.
52205         * nss/nss_db/nss_db.h: Move NSS database header data structures to
52206         here from...
52207         * nss/makedb.c: ...here.
52208         Improve database format to be smaller and require less memory at
52209         runtime.
52210         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
52211         db anymore.
52212         * nss/nss_db/db-netgrp.c: Likewise.
52213         * nss/nss_db/db-open.c: Likewise.
52214         * nss/nss_files/flies-XXX.x: Adjust comments.
52215         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
52216         * nss/nss_files/files-grp.c: Likewise.
52217         * nss/nss_files/files-hosts.c: Likewise.
52218         * nss/nss_files/files-network.c: Likewise.
52219         * nss/nss_files/files-proto.c: Likewise.
52220         * nss/nss_files/files-pwd.c: Likewise.
52221         * nss/nss_files/files-rpc.c: Likewise.
52222         * nss/nss_files/files-service.c: Likewise.
52223         * nss/nss_files/files-sgrp.c: Likewise.
52224         * nss/nss_files/files-spwd.c: Likewise.
52225         * nss/nss_db/db-alias.c: Removed.
52226         * nss/nss_db/dummy-db.h: Removed.
52227
52228 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
52229
52230         * nss/makedb.c: Rewritten to not use database library.
52231         * nss/Makefile: Update to build new makedb program.
52232
52233 2011-06-14  Andreas Jaeger  <aj@suse.de>
52234
52235         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
52236         memset declaration.
52237
52238 2011-06-10  Andreas Schwab  <schwab@redhat.com>
52239
52240         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
52241         tmpbuf.
52242
52243 2011-06-10  Roland McGrath  <roland@hack.frob.com>
52244
52245         * Makerules (shlib.lds): Fail if the linker script comes out empty.
52246         * elf/Makefile ($(objpfx)ld.so): Likewise.
52247
52248         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
52249         Don't list ld.so twice in dependencies.
52250
52251         * posix/bug-regex31.c: Include <stdlib.h>.
52252
52253         * nscd/hstcache.c (cache_addhst): Remove unused variable.
52254
52255         * nis/nss_compat/compat-spwd.c
52256         (getspent_next_nss_netgr): Remove unused variable.
52257         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
52258
52259         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
52260         nonmembers" output to use the right array.
52261
52262         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
52263
52264         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
52265
52266         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
52267         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
52268         * catgets/gencat.c (read_input_file): Likewise.
52269         * locale/programs/locarchive.c (enlarge_archive): Likewise.
52270
52271         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
52272         variable definition inside #if's controlling its use.
52273
52274         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
52275
52276         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
52277
52278         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
52279
52280         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
52281         unreachable code.
52282
52283         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
52284
52285         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
52286         * configure: Regenerated.
52287
52288         * Makerules: Revert last change.
52289         * elf/Makefile: Likewise.
52290
52291 2011-06-09  Roland McGrath  <roland@hack.frob.com>
52292
52293         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
52294         * elf/Makefile ($(objpfx)librtld.os): Likewise.
52295         (reloc-link): Likewise.
52296
52297 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
52298
52299         * elf/Makefile: Add rules to build pldd.
52300         * elf/pldd.c: New file.
52301         * elf/pldd-xx.c: New file.
52302
52303 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
52304
52305         * version.h: Update for 2.15 development version.
52306
52307 2011-06-07  David S. Miller  <davem@davemloft.net>
52308
52309         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
52310         ifuncs.
52311         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
52312         elf_machine_lazy_rel): Likewise.
52313         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
52314         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
52315         elf_machine_lazy_rel): Likewise.
52316         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
52317         dl_hwcap via passed in argument.
52318         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
52319         Likewise.
52320
52321 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52322
52323         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
52324
52325 2011-06-06  Roland McGrath  <roland@hack.frob.com>
52326
52327         [BZ #12849]
52328         * manual/fdl-1.1.texi: New file, verbatim from:
52329         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
52330         * manual/lgpl-2.1.texi: New file, verbatim from:
52331         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
52332         * manual/Makefile (licenses): New variable, list those new file names.
52333         (texis): Use it.
52334         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
52335
52336         * manual/fdl.texi: File removed.
52337         * manual/lesser.texi: File removed.
52338         * manual/libc.texinfo (Copying, Documentation License):
52339         Use new @include file names, put @appendix directive before @include.
52340
52341 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
52342
52343         [BZ #12841]
52344         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
52345         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
52346         (mq_open): Add __NTH.
52347
52348 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
52349
52350         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52351         Assume Intel Core i3/i5/i7 processor if AVX is available.
52352
52353 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
52354
52355         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
52356         typo.
52357
52358 2011-05-31  Andreas Schwab  <schwab@redhat.com>
52359
52360         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
52361         memory.  Use alloca_account.  Fix memory leak when retrying.
52362
52363 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
52364
52365         * version.h (RELEASE): Bump for 2.14 release.
52366         * include/features.h (__GLIBC_MINOR__): Bump to 14.
52367
52368         * config.make.in (RANLIB): Remove entry.
52369
52370 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
52371
52372         * po/Makefile (po-sed-cmd): Add ksh to extensions.
52373         (libc.pot): Work around missing support for .ksh extension in xgettext.
52374
52375         [BZ #12684]
52376         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
52377         if both request failed.
52378         (send_dg): In case of server errors clear resplen or *resplen2.
52379
52380         [BZ #12454]
52381         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
52382         when there are multiple maps.
52383         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
52384         (_dl_fini): Remove test here.
52385
52386         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
52387
52388 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
52389
52390         [BZ #12350]
52391         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
52392         bit from old_res_options.
52393         (gaih_inet): Likewise.
52394
52395         [BZ #11099]
52396         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
52397         as signed.
52398
52399         * resolv/res_init.c (res_setoptions): Make the code more compact.
52400
52401         [BZ #11558]
52402         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
52403         set RES_USEVC.
52404
52405         [BZ #11634]
52406         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
52407
52408         * malloc/malloc.h: Mark malloc hook variables as deprecated.
52409
52410         [BZ #11781]
52411         * malloc/malloc.h: Declare malloc hook variables as volatile.
52412
52413         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
52414         in last patch.
52415
52416         [BZ #11799]
52417         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
52418         raise in the comment.
52419         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
52420         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
52421         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
52422
52423 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
52424
52425         [BZ #12811]
52426         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
52427         grow the buffers more if it already has to be sufficient.
52428         (build_wcs_upper_buffer): Likewise.
52429         * posix/regexec.c (check_matching): Likewise.
52430         (clean_state_log_if_needed): Likewise.
52431         (extend_buffers): Don't enlarge buffers beyond size of the input
52432         buffer.
52433         Patches mostly by Emil Wojak <emil@wojak.eu>.
52434         * posix/bug-regex32.c: New file.
52435         * posix/Makefile (tests): Add bug-regex32.
52436
52437         * locale/findlocale.c (_nl_find_locale): Return right away if
52438         _nl_explode_name failed.
52439         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
52440
52441         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
52442
52443         * debug/xtrace.sh: Unify messages.
52444         * malloc/memusage.sh: Likewise.
52445
52446         [BZ #12813]
52447         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
52448         time symbol from vDSO.  Substitute with vsyscall if not available.
52449         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
52450         __vdso_time.
52451
52452         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
52453         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
52454         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
52455         Add sendmmsg and internal_sendmmsg.
52456         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
52457         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
52458         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
52459
52460         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
52461         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
52462         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
52463
52464 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
52465
52466         [BZ #12813]
52467         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
52468         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
52469         available.
52470         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
52471         __vdso_getcpu.
52472
52473         [BZ #12814]
52474         * iconvdata/Makefile (tests): Add bug-iconv9.
52475         * iconvdata/bug-iconv9.c: New file.
52476
52477 2011-05-27  Andreas Schwab  <schwab@redhat.com>
52478
52479         [BZ #12814]
52480         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
52481
52482 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
52483
52484         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
52485         (struct user_regs_struct): Change intcs field back to cs.
52486
52487 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
52488
52489         * po/ja.po: Update from translation team.
52490
52491 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
52492
52493         [BZ #12795]
52494         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
52495         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
52496
52497 2011-05-20  Andreas Schwab  <schwab@redhat.com>
52498
52499         * stdlib/longlong.h: Update from GCC.
52500
52501 2011-05-23  Andreas Schwab  <schwab@redhat.com>
52502
52503         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
52504         parameter name.
52505         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
52506         Add parameter name.
52507         (__sysconf): Pass it down.
52508
52509 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
52510
52511         [BZ #12671]
52512         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
52513         some situations.
52514         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
52515         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
52516         add in in __libc_use_alloca calls.  Adjust callers.
52517         (glob): Use malloc in some situations.
52518
52519         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
52520         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
52521         pltexit.
52522
52523 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
52524
52525         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
52526         and CLOCK_BOOTTIME_ALARM.
52527
52528         [BZ #12782]
52529         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
52530         is returned.
52531
52532         * string/_strerror.c (__strerror_r): Print negative errors as signed
52533         numbers.
52534
52535         [BZ #12777]
52536         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
52537         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
52538         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
52539
52540         * configure.in: Fix typo in redirection and correct removal of test
52541         files in two cases.
52542
52543         [BZ #12788]
52544         * locale/setlocale.c (new_composite_name): Fix test to check for
52545         identical name of all categories.
52546
52547         [BZ #12792]
52548         * libio/filedoalloc.c (local_isatty): New function.
52549         (_IO_file_doallocate): Use local_isatty.
52550         * stdio-common/perror.c (perror): In case a new stream is used
52551         forward the stream error.
52552         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
52553         error flag.
52554
52555 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
52556
52557         [BZ #11869]
52558         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
52559         alloca.
52560         * include/alloca.h (extend_alloca_account): Define.
52561
52562         [BZ #11857]
52563         * posix/regex.h: Fix comments with documentation of user-accessible
52564         fields after compilation and describe correct free'ing of pattern
52565         after re_compile_pattern.
52566         Patch by Reuben Thomas <rrt@sc3d.org>.
52567
52568 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
52569
52570         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
52571         and -mno-altivec to prevent the compiler from using Altivec and/or
52572         VSX instructions when the corresponding registers are not available.
52573
52574 2011-05-19  Andreas Schwab  <schwab@redhat.com>
52575
52576         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
52577
52578 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
52579
52580         * libio/freopen.c (freopen): Use __dup2, not dup2.
52581         * libio/freopen64.c (freopen64): Likewise.
52582
52583 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
52584
52585         [BZ #12775]
52586         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
52587         * math/Makefile (tests): Add test-powl.
52588         (CFLAGS-test-powl.c): Define.
52589         * math/test-powl.c: New file.
52590
52591 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
52592
52593         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
52594
52595 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
52596
52597         [BZ #11837]
52598         * iconvdata/gb18030.c: Update to GB18020-2005.
52599
52600 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
52601
52602         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
52603         RE_SYNTAX_POSIX_AWK): Update to match recent development.
52604         Patch by Aharon Robbins <arnold@skeeve.com>.
52605
52606         [BZ #11892]
52607         * stdlib/putenv.c (putenv): Don't always create copy of the variable
52608         on the stack.
52609
52610         [BZ #11895]
52611         * misc/pselect.c (__pselect): Handle timeout value errors hidden
52612         through underflows.
52613
52614         [BZ #12766]
52615         * misc/error.c (error_at_line): Ensure file_name and old_file_name
52616         point to strings before performing equality test for error_one_per_line
52617         mode.
52618
52619         [BZ #11697]
52620         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
52621
52622         [BZ #11820]
52623         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
52624         (struct user_fpregs_struct): Avoid __uint*_t types.
52625
52626         [BZ #6420]
52627         * malloc/mtrace.c (tr_where): Add additional parameter to point to
52628         symbol info.  Use it instead of calling _dl_addr locally.
52629         (lock_and_info): New function.
52630         (tr_freehook): Call lock_and_info and pass symbol info as additional
52631         parameter to tr_where.
52632         (tr_mallochook): Likewise.
52633         (tr_reallochook): Likewise.
52634         (tr_memalignhook): Likewise.
52635
52636         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
52637         used and couldn't be at all thread-safe.
52638
52639 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
52640
52641         * libio/freopen.c (freopen): Don't close old file descriptor
52642         before the new one is opened.  Instead dup the new file descriptor
52643         to the old one after the new stream is created.
52644         * libio/freopen64.c (freopen64): Likewise.
52645         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
52646         * libio/fileops.c (_IO_new_file_close_it): Handle new
52647         _IO_FLAGS2_NOCLOSE flag.
52648         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
52649         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
52650         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
52651         _IO_FLAGS2_NOCLOSE flag.
52652         * include/unistd.h: Add hidden_proto for dup3.
52653         Define __have_dup3.
52654         * io/dup3.c: Define hidden symbol.
52655         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
52656
52657         [BZ #7101]
52658         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
52659         when an incomplete long option is used.
52660         * posix/tst-getopt_long1.c: New file.
52661         * posix/Makefile (tests): Add tst-getopt_long1.
52662
52663         [BZ #10138]
52664         * scripts/config.guess: Update from autoconf-2.68.
52665         * scripts/config.sub: Likewise.
52666
52667         [BZ #10157]
52668         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
52669         tests into ...
52670         (has_cpuclock): ...this.  New function.
52671         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
52672         macro here based on has_cpuclock code.
52673
52674         [BZ #10149]
52675         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52676         First byte (not low byte) is now always NUL.
52677         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
52678
52679         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52680         Use non-cancelable interfaces.
52681
52682         [BZ #9809]
52683         * locale/iso-639.def: Add entry for Sorani.
52684
52685         [BZ #11901]
52686         * include/stdlib.h: Move include protection to the right place.
52687         Define abort_msg_s.  Declare __abort_msg with it.
52688         * stdlib/abort.c (__abort_msg): Adjust type.
52689         * assert/assert.c (__assert_fail_base): New function.  Majority
52690         of code from __assert_fail.  Allocate memory for __abort_msg with
52691         mmap.
52692         (__assert_fail): Now call __assert_fail_base.
52693         * assert/assert-perr.c: Remove bulk of implementation.  Use
52694         __assert_fail_base.
52695         * include/assert.hL Declare __assert_fail_base.
52696         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
52697         mmap.
52698         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
52699
52700 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
52701
52702         [BZ #11952]
52703         [BZ #12453]
52704         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
52705         until all modules are registered in the DTV.
52706         * elf/Makefile: Add rules to build and run tst-tls19.
52707         * elf/tst-tls19.c: New file.
52708         * elf/tst-tls19mod1.c: New file.
52709         * elf/tst-tls19mod2.c: New file.
52710         * elf/tst-tls19mod3.c: New file.
52711         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
52712
52713         [BZ #12083]
52714         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
52715         correctly.
52716
52717         [BZ #12601]
52718         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
52719         two-byte sequence errors.
52720         * iconvdata/Makefile (tests): Add bug-iconv8.
52721         * iconvdata/bug-iconv8.c: New file.
52722
52723         [BZ #12626]
52724         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
52725         buf2 definition.
52726
52727         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
52728
52729         [BZ #12432]
52730         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
52731         (dummy_getcfa): New function.
52732         (init): Get _Unwind_GetCFA address, use dummy if not found.
52733         (backtrace_helper): In recursion check, also check whether CFA changes.
52734         (__backtrace): Completely initialize arg.
52735
52736         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
52737         storing incomplete byte sequence in state object.  Avoid testing for
52738         guaranteed too small input if we know there is enough data available.
52739
52740 2011-05-11  Andreas Schwab  <schwab@redhat.com>
52741
52742         * Makeconfig (+link-pie): Indent.
52743         * Rules (binaries-pie): Define if $(have-fpie) and
52744         $(build-shared).
52745         (binaries-shared): Also filter out $(binaries-pie).
52746         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
52747         * nscd/Makefile (others-pie): Add nscd.
52748         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
52749         ($(objpfx)nscd): Remove command override.
52750         * login/Makefile (others-pie): Add pt_chown.
52751         ($(objpfx)pt_chown): Remove command override.
52752         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
52753         remove command overrides.
52754
52755 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
52756
52757         * libio/tst_putwc.c: Fix error messages.
52758
52759         [BZ #12724]
52760         * libio/fileops.c (_IO_new_file_close_it): Always flush when
52761         currently writing and seek to current position when not.
52762         * libio/Makefile (tests): Add bug-fclose1.
52763         * libio/bug-fclose1.c: New file.
52764
52765 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
52766
52767         [BZ #12511]
52768         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
52769         don't set DF_1_NODELETE here.
52770         (do_lookup_x): When entering new entry test for copy relocation
52771         and if necessary set DF_1_NODELETE flag.
52772         * elf/tst-unique4.cc: New file.
52773         * elf/tst-unique4.h: New file.
52774         * elf/tst-unique4lib.cc: New file.
52775         * elf/Makefile: Add rules to build and run tst-unique4.
52776         Patch by Piotr Bury <pbury@goahead.com>.
52777
52778 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
52779
52780         [BZ #12052]
52781         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
52782
52783         [BZ #12625]
52784         * misc/mntent_r.c (addmntent): Flush the stream after the output
52785
52786         [BZ #12393]
52787         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
52788         (is_trusted_path_normalize): Skip initial colon.  Append slash
52789         to empty buffer.  Duplicate is_trusted_path code but allow
52790         constructed patch to be prefix.
52791         (is_dst): Allow $ORIGIN followed by /.
52792         (_dl_dst_substitute): Correct clearing of check_for_trusted.
52793         Correct testing of result of is_trusted_path_normalize
52794         (decompose_rpath): Fix warning.
52795
52796 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
52797
52798         [BZ #11257]
52799         * grp/initgroups.c (internal_getgrouplist): When we found the service
52800         list through the initgroups entry in nsswitch.conf do not always
52801         continue on a successful lookup.  Don't always use the
52802         __nss_group_database value if it is set.
52803         * nss/nsswitch.conf (initgroups): Change action for successful db
52804         lookup to continue for compatibility.
52805
52806 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
52807
52808         [BZ #11532]
52809         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
52810         and CP774 modules.
52811         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
52812         and CP774 modules.
52813         * iconvdata/tst-tables.sh: Likewise.
52814         * iconvdata/cp770.c: New file.
52815         * iconvdata/cp771.c: New file.
52816         * iconvdata/cp772.c: New file.
52817         * iconvdata/cp773.c: New file.
52818         * iconvdata/cp774.c: New file.
52819         * iconvdata/testdata/CP770: New file.
52820         * iconvdata/testdata/CP770..UTF8: New file.
52821         * iconvdata/testdata/CP771: New file.
52822         * iconvdata/testdata/CP771..UTF8: New file.
52823         * iconvdata/testdata/CP772: New file.
52824         * iconvdata/testdata/CP772..UTF8: New file.
52825         * iconvdata/testdata/CP773: New file.
52826         * iconvdata/testdata/CP773..UTF8: New file.
52827         * iconvdata/testdata/CP774: New file.
52828         * iconvdata/testdata/CP774..UTF8: New file.
52829
52830         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
52831         END CHARMAP line.
52832         * iconvdata/gen-8bit-gap.sh: Likewise.
52833         * iconvdata/gen-8bit.sh: Likewise.
52834
52835         * locale/iso-639.def: Add ary entry.
52836
52837         [BZ #11258]
52838         * locale/C-translit.h.in: Add U20A1 transliteration.
52839
52840         [BZ #12178]
52841         * locale/iso-639.def: Add wae entry.
52842         Patch by Kevin Bortis <bortis@translate-wae.ch>.
52843
52844         [BZ #12545]
52845         * locale/programs/localedef.c (construct_output_path): Use ssize_t
52846         for n.
52847
52848         [BZ #12711]
52849         * locale/C-translit.h.in: Add entry for U20B9.
52850         Patch by pravin.d.s@gmail.com.
52851
52852 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
52853
52854         [BZ #12713]
52855         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
52856         ENAMETOOLONG use generic getcwd.
52857         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
52858         in rtld.  Use *stat64.
52859         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
52860         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
52861         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
52862         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
52863         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
52864         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
52865         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
52866         __fstatat64 macros.
52867         * include/dirent.h: Add libc_hidden_proto for rewinddir.
52868         * dirent/rewinddir.c: Add libc_hidden_def.
52869         * sysdeps/mach/hurd/rewinddir.c: Likewise.
52870         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
52871
52872         * include/dirent.h (__alloc_dir): Add flags parameter.
52873         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
52874         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
52875         __alloc_dir.
52876         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
52877         from fdopendir if O_CLOEXEC is already set.
52878
52879 2011-03-15  Alan Modra  <amodra@gmail.com>
52880
52881         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
52882         l_tls_firstbyte_offset non-zero.  Save padding offset in
52883         l_tls_firstbyte_offset for later use.
52884         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
52885         freeing static tls block.
52886
52887 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
52888
52889         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
52890         where #ifdef was intended.  The intent is to prevent ARG_MAX from
52891         being defined by the kernel headers.
52892
52893 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
52894
52895         [BZ #12734]
52896         * resolv/resolv.h: Define RES_NOTLDQUERY.
52897         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
52898         no-tld-query and set RES_NOTLDQUERY.
52899         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
52900         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
52901         modern BIND to search name as TLD unless forbidden.
52902
52903 2011-05-07  Petr Baudis  <pasky@suse.cz>
52904             Ulrich Drepper  <drepper@gmail.com>
52905
52906         [BZ #12393]
52907         * elf/dl-load.c (fillin_rpath): Move trusted path check...
52908         (is_trusted_path): ...to here.
52909         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
52910         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
52911         using is_trusted_path_normalize() in setuid scripts.
52912
52913 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
52914
52915         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
52916         __BEGIN/__END_DECLS.
52917
52918 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
52919
52920         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
52921         NSS_STATUS_NOTFOUND if no record was found.
52922
52923 2011-05-05  Andreas Schwab  <schwab@redhat.com>
52924
52925         * sunrpc/Makefile (headers): Add rpc/netdb.h.
52926         (headers-not-in-tirpc): Remove rpc/netdb.h
52927         * resolv/netdb.h: Revert last change.
52928
52929 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
52930
52931         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
52932         circular dependency between libgcc.a and libc.a.
52933
52934 2011-05-05  Andreas Schwab  <schwab@redhat.com>
52935
52936         * resolv/netdb.h: Don't include <rpc/netdb.h>.
52937         * nis/Makefile: Don't install rpcsvc/*.
52938         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
52939         instead of <rpc/types.h>.
52940         (MAXHOSTNAMELEN): Define.
52941
52942 2011-05-03  Andreas Schwab  <schwab@redhat.com>
52943
52944         * elf/ldconfig.c (add_dir): Don't crash on empty path.
52945
52946 2011-04-28  Maciej Babinski  <mbabinski@google.com>
52947
52948         [BZ #12714]
52949         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
52950         gethostbyname4_r when IPv6 results are possible.
52951
52952 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
52953
52954         [BZ #12723]
52955         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
52956         _PC_PIPE_BUF handling.
52957
52958 2011-04-30  Bruno Haible  <bruno@clisp.org>
52959
52960         [BZ #12717]
52961         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
52962         * resolv/netdb.h (getnameinfo): Change type of flags parameter
52963         to 'int'.
52964         * inet/getnameinfo.c (getnameinfo): Likewise.
52965
52966 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
52967
52968         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
52969         to groups setting in database lookup.
52970         * nss/nsswitch.conf: Add initgroups entry.
52971
52972 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
52973
52974         [BZ #12685]
52975         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
52976         mode string.
52977         Patch by Eric Blake <eblake@redhat.com>.
52978
52979 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
52980
52981         * sunrpc/Makefile (need-export-routines): Add svc_run.
52982         (routines): Remove svc_run.
52983         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
52984         * sunrpc/clnt_perr.c (clnt_perrno): Export.
52985         * sunrpc/svc_run.c (svc_run): Likewise.
52986         * sunrpc/svc_udp.c (svcudp_create): Likewise.
52987
52988 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
52989
52990         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
52991         problem in reallocation in last patch.
52992
52993 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
52994
52995         * sunrpc/Makefile: Move inclusion of Rules.
52996
52997 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
52998
52999         * nss/nss_files/files-initgroups.c: New file.
53000         * nss/Makefile (libnss_files-routines): Add files-initgroups.
53001         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
53002         _nss_files_initgroups_dyn.
53003
53004 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
53005
53006         * elf/elf.h (R_ARM_IRELATIVE): Define.
53007
53008 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
53009
53010         * po/ru.po: Update from translation team.
53011
53012 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
53013
53014         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
53015         dependencies.
53016
53017 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
53018
53019         [BZ #12653]
53020         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
53021         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
53022         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
53023         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
53024         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
53025
53026 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
53027
53028         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
53029         differing bytes.
53030         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
53031         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
53032         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
53033
53034 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
53035
53036         [BZ #12420]
53037         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
53038         storing it.
53039         * stdlib/bug-getcontext.c: New file.
53040         * stdlib/Makefile: Add rules to build and run bug-getcontext.
53041
53042 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53043
53044         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
53045         instructions into .machine "z9-109".
53046         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
53047         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
53048
53049 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53050
53051         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
53052         between environment variables and auxiliary vector.
53053
53054 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
53055
53056         * Makefile: Add rules to build linkobj/libc.so.
53057         * include/libc-symbols.h: Define libc_hidden_nolink.
53058         * include/rpc/auth.h: Mark functions which are to be hidden.
53059         * include/rpc/auth_des.h: Likewise.
53060         * include/rpc/auth_unix.h: Likewise.
53061         * include/rpc/clnt.h: Likewise.
53062         * include/rpc/des_crypt.h: Likewise.
53063         * include/rpc/key_prot.h: Likewise.
53064         * include/rpc/pmap_clnt.h: Likewise.
53065         * include/rpc/pmap_prot.h: Likewise.
53066         * include/rpc/pmap_rmt.h: Likewise.
53067         * include/rpc/rpc_msg.h: Likewise.
53068         * include/rpc/svc.h: Likewise.
53069         * include/rpc/svc_auth.h: Likewise.
53070         * include/rpc/xdr.h: Likewise.
53071         * nis/Makefile: Link all DSOs against linkobj/libc.so.
53072         * nss/Makefile: Likewise.
53073         * sunrpc/Makefile: Don't install headers.  Build library with normal
53074         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
53075         * sunrpc/auth_des.c: Hide exported symbols by default, export some
53076         for the compat linking library.  Remove use of INTDEF/INTUSE.
53077         * sunrpc/auth_none.c: Likewise.
53078         * sunrpc/auth_unix.c: Likewise.
53079         * sunrpc/authdes_prot.c: Likewise.
53080         * sunrpc/authuxprot.c: Likewise.
53081         * sunrpc/clnt_gen.c: Likewise.
53082         * sunrpc/clnt_perr.c: Likewise.
53083         * sunrpc/clnt_raw.c: Likewise.
53084         * sunrpc/clnt_simp.c: Likewise.
53085         * sunrpc/clnt_tcp.c: Likewise.
53086         * sunrpc/clnt_udp.c: Likewise.
53087         * sunrpc/clnt_unix.c: Likewise.
53088         * sunrpc/des_crypt.c: Likewise.
53089         * sunrpc/des_soft.c: Likewise.
53090         * sunrpc/get_myaddr.c: Likewise.
53091         * sunrpc/key_call.c: Likewise.
53092         * sunrpc/key_prot.c: Likewise.
53093         * sunrpc/netname.c: Likewise.
53094         * sunrpc/pm_getmaps.c: Likewise.
53095         * sunrpc/pm_getport.c: Likewise.
53096         * sunrpc/pmap_clnt.c: Likewise.
53097         * sunrpc/pmap_prot.c: Likewise.
53098         * sunrpc/pmap_prot2.c: Likewise.
53099         * sunrpc/pmap_rmt.c: Likewise.
53100         * sunrpc/publickey.c: Likewise.
53101         * sunrpc/rpc_cmsg.c: Likewise.
53102         * sunrpc/rpc_common.c: Likewise.
53103         * sunrpc/rpc_dtable.c: Likewise.
53104         * sunrpc/rpc_prot.c: Likewise.
53105         * sunrpc/rpc_thread.c: Likewise.
53106         * sunrpc/rtime.c: Likewise.
53107         * sunrpc/svc.c: Likewise.
53108         * sunrpc/svc_auth.c: Likewise.
53109         * sunrpc/svc_authux.c: Likewise.
53110         * sunrpc/svc_raw.c: Likewise.
53111         * sunrpc/svc_run.c: Likewise.
53112         * sunrpc/svc_simple.c: Likewise.
53113         * sunrpc/svc_tcp.c: Likewise.
53114         * sunrpc/svc_udp.c: Likewise.
53115         * sunrpc/svc_unix.c: Likewise.
53116         * sunrpc/svcauth_des.c: Likewise.
53117         * sunrpc/xcrypt.c: Likewise.
53118         * sunrpc/xdr.c: Likewise.
53119         * sunrpc/xdr_array.c: Likewise.
53120         * sunrpc/xdr_float.c: Likewise.
53121         * sunrpc/xdr_intXX_t.c: Likewise.
53122         * sunrpc/xdr_mem.c: Likewise.
53123         * sunrpc/xdr_rec.c: Likewise.
53124         * sunrpc/xdr_ref.c: Likewise.
53125         * sunrpc/xdr_sizeof.c: Likewise.
53126         * sunrpc/xdr_stdio.c: Likewise.
53127
53128 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
53129
53130         [BZ #12650]
53131         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
53132         * sysdeps/ia64/dl-tls.h: Likewise.
53133         * sysdeps/powerpc/dl-tls.h: Likewise.
53134         * sysdeps/s390/dl-tls.h: Likewise.
53135         * sysdeps/sh/dl-tls.h: Likewise.
53136         * sysdeps/sparc/dl-tls.h: Likewise.
53137         * sysdeps/x86_64/dl-tls.h: Likewise.
53138         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
53139
53140 2011-03-14  Andreas Schwab  <schwab@redhat.com>
53141
53142         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
53143         rpath element also skip the following colon.
53144         (expand_dynamic_string_token): Add is_path parameter and pass
53145         down to DL_DST_REQUIRED and _dl_dst_substitute.
53146         (decompose_rpath): Call expand_dynamic_string_token with
53147         non-zero is_path.  Ignore empty rpaths.
53148         (_dl_map_object_from_fd): Call expand_dynamic_string_token
53149         with zero is_path.
53150
53151 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
53152
53153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
53154         Make cancelable.
53155
53156 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
53157
53158         [BZ #12655]
53159         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
53160         Patch by Filipe David Manana <fdmanana@apache.org>.
53161
53162 2011-04-07  Andreas Schwab  <schwab@redhat.com>
53163
53164         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
53165         Maintain aligned stack.
53166         (CHECK_RSP): Remove unused macro.
53167
53168 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
53169
53170         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
53171         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
53172
53173 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
53174
53175         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
53176
53177         * include/features.h: Mention __USE_XOPEN2K8 in comment.
53178
53179 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
53180
53181         [BZ #12518]
53182         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
53183         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
53184         * sysdeps/x86_64/memmove.c: New file.
53185         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
53186         (memcpy): Renamed to ...
53187         (__new_memcpy): This.
53188         (memcpy): Provide GLIBC_2_14 memcpy.
53189         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
53190         (memcpy): Provide GLIBC_2_2_5 memcpy.
53191
53192 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
53193
53194         [BZ #12631]
53195         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
53196
53197 2011-03-30  Andreas Schwab  <schwab@redhat.com>
53198
53199         * misc/syncfs.c: New file.
53200         * misc/Makefile (routines): Add syncfs.
53201         * posix/unistd.h: Declare syncfs.
53202         * sysdeps/unix/syscalls.list: Add syncfs.
53203
53204 2011-04-01  Andreas Schwab  <schwab@redhat.com>
53205
53206         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
53207         open_by_handle_at.
53208         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
53209         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
53210         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53211         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53212         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53213         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
53214         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53215
53216 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
53217
53218         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
53219         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
53220         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
53221         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53222         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53223         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53224         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53225
53226         * io/Makefile: Compile fallocate.c, fallocate64.c, and
53227         sync_file_range.c with -fexceptions.
53228         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
53229         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
53230         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
53231         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
53232         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
53233         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
53234         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
53235         sync_file_range as cancellation point
53236         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
53237         now a wrapper around __call_sync_file_range with cancellation handling.
53238         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
53239         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
53240         function name to __call_sync_file_range.
53241         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
53242         Add call_sync_file_range.
53243
53244 2011-04-01  Andreas Schwab  <schwab@redhat.com>
53245
53246         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53247         bits/timex.h.
53248
53249 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
53250
53251         * iconv/iconv.h: Fix typo in comment.
53252         * io/fcntl.h: Likewise.
53253         * libio/stdio.h: Likewise.
53254         * posix/spawn.h: Likewise.
53255         * posix/unistd.h: Likewise.
53256         * stdlib/stdlib.h: Likewise.
53257         * time/time.h: Likewise.
53258         * wcsmbs/wchar.h: Likewise.
53259
53260         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
53261         open_by_handle): Add.
53262         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
53263         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
53264         Augment a few comments.
53265         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
53266         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53267         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53268         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53269         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53270         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
53271         open_by_handle.
53272
53273         * io/fcntl.h (AT_EMPTY_PATH): Define.
53274
53275 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
53276
53277         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
53278         * sysdeps/unix/sysv/linux/bits/time.h: New file.
53279         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
53280         to...
53281         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
53282         * Versions.def: Add GLIBC_2.14.
53283         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
53284         Export.
53285
53286 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
53287
53288         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
53289         round counter.
53290         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
53291
53292 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
53293
53294         [BZ #12597]
53295         * string/test-strncmp.c (do_page_test): New function.
53296         (check2): Likewise.
53297         (test_main): Call check2.
53298         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
53299
53300 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
53301
53302         [BZ #12587]
53303         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
53304         Handle cache information in CPU leaf 4.
53305         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
53306
53307 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
53308
53309         [BZ #12583]
53310         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
53311         character representation.
53312         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
53313
53314 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
53315
53316         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
53317         END(__isnan) to END(__isnanf) to match function entry point/label
53318         EALIGN(__isnanf,...).
53319
53320 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
53321
53322         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
53323
53324 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
53325
53326         [BZ #12510]
53327         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
53328         copy from the symbol referenced in the relocation to initialize the
53329         used variable.
53330         Patch by Piotr Bury <pbury@goahead.com>.
53331         * elf/Makefile: Add rules to build and tst-unique3.
53332         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
53333         * elf/tst-unique3.cc: New file.
53334         * elf/tst-unique3.h: New file.
53335         * elf/tst-unique3lib.cc: New file.
53336         * elf/tst-unique3lib2.cc: New file.
53337
53338         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
53339
53340 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
53341
53342         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
53343         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
53344         to _start.
53345
53346 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
53347
53348         * elf/dl-load.c (_dl_map_object): If we are looking for the first
53349         to-be-loaded object along a path to loader is ld.so.
53350
53351 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
53352             Ulrich Drepper  <drepper@gmail.com>
53353
53354         * sysdeps/x86_64/memset.S: After aligning destination, code
53355         branches to different locations depending on the value of
53356         misalignment, when multiarch is enabled. Fix this.
53357
53358 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
53359
53360         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
53361         Set _x86_64_preferred_memory_instruction for AMD processsors.
53362         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53363         Set bit_Prefer_SSE_for_memop for AMD processors.
53364
53365 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
53366
53367         * libio/fmemopen.c (fmemopen): Optimize a bit.
53368
53369 2011-03-03  Andreas Schwab  <schwab@redhat.com>
53370
53371         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
53372
53373 2011-03-03  Roland McGrath  <roland@redhat.com>
53374
53375         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
53376
53377 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
53378
53379         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
53380         __bzero_ultra1 instead of __memset_ultra1.
53381
53382 2011-02-23  Andreas Schwab  <schwab@redhat.com>
53383             Ulrich Drepper  <drepper@gmail.com>
53384
53385         [BZ #12509]
53386         * include/link.h (struct link_map): Add l_orig_initfini.
53387         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
53388         returning unsuccessfully.
53389         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
53390         close of a file loaded at startup, restore the original l_initfini
53391         list.
53392         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
53393         list, store the pointer.
53394         * elf/Makefile ($(objpfx)noload-mem): New rule.
53395         (noload-ENV): Define.
53396         (tests): Add $(objpfx)noload-mem.
53397         * elf/noload.c: Include <memcheck.h>.
53398         (main): Call mtrace.  Close all opened handles.
53399
53400 2011-02-17  Andreas Schwab  <schwab@redhat.com>
53401
53402         [BZ #12454]
53403         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
53404         dependencies are missing.
53405
53406 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53407
53408         Fix __if_freereq crash: Unlike the generic version which uses free,
53409         Hurd needs munmap.
53410         * sysdeps/mach/hurd/ifreq.h: New file.
53411
53412 2011-01-27  Petr Baudis  <pasky@suse.cz>
53413             Ulrich Drepper  <drepper@gmail.com>
53414
53415         [BZ 12445]#
53416         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
53417         to extend_alloca().
53418         * stdio-common/bug23.c: New file.
53419         * stdio-common/Makefile (tests): Add bug23.
53420
53421 2010-09-28  Andreas Schwab  <schwab@redhat.com>
53422             Ulrich Drepper  <drepper@gmail.com>
53423
53424         [BZ #12489]
53425         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
53426         before performing relro protection.  At old place add assertion
53427         to make sure nothing changed.
53428
53429 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
53430             Glauber de Oliveira Costa  <glommer@gmail.com>
53431
53432         * elf/elf.h: Add new ARM TLS relocs.
53433
53434 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
53435
53436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
53437         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
53438         cast from r3.
53439         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
53440         'tests' variable.
53441         * sysdeps/wordsize-64/tst-writev.c: New file.
53442
53443 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
53444
53445         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
53446         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
53447         insns in _dl_start to prevent a TOC reference before relocs are
53448         resolved.
53449
53450 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
53451
53452         [BZ #12469]
53453         * Makeconfig: Remove RANLIB definition.
53454         * Makerules: Don't use RANLIB.
53455         * aclocal.m4: Remove ranlib test.
53456         * configure.in: No need to check for ranlib.
53457         * elf/rtld-Rules: Don't use RANLIB.
53458
53459 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53460
53461         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
53462         protection macro.
53463         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
53464         inclusion protection macro.
53465
53466         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
53467         SIGRTMIN and SIGRTMAX and print information in that case only when
53468         SIGRTMIN is defined.
53469
53470 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
53471
53472         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
53473         arginfo fn returning -1.
53474
53475         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
53476         and thousands string is zero terminated.
53477
53478 2011-02-03  Andreas Schwab  <schwab@redhat.com>
53479
53480         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
53481         sysdeps/unix/sysv/linux/bits/socket.h.
53482
53483 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53484
53485         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
53486         (__CPU_COUNT): Remove old macros.
53487         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
53488         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
53489         (__CPU_ALLOC, __CPU_FREE): Add macros.
53490         (__sched_cpualloc, __sched_cpufree): Add declarations.
53491
53492 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
53493
53494         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
53495         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
53496         * nscd/aicache.c (addhstaiX): Return timeout of added value.
53497         (readdhstai): Return value of addhstaiX call.
53498         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
53499         (addgrbyX): Return value returned by cache_addgr.
53500         (readdgrbyname): Return value returned by addgrbyX.
53501         (readdgrbygid): Likewise.
53502         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
53503         (addpwbyX): Return value returned by cache_addpw.
53504         (readdpwbyname): Return value returned by addhstbyX.
53505         (readdpwbyuid): Likewise.
53506         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
53507         (addservbyX): Return value returned by cache_addserv.
53508         (readdservbyname): Return value returned by addservbyX:
53509         (readdservbyport): Likewise.
53510         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
53511         (addhstbyX): Return value returned by cache_addhst.
53512         (readdhstbyname): Return value returned by addhstbyX.
53513         (readdhstbyaddr): Likewise.
53514         (readdhstbynamev6): Likewise.
53515         (readdhstbyaddrv6): Likewise.
53516         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
53517         (readdinitgroups): Return value returned by addinitgroupsX.
53518         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
53519         (prune_cache): Keep track of timeout value of re-added entries.
53520         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
53521         * nscd/nscd.h: Adjust prototypes of readd* functions.
53522
53523 2011-02-04  Roland McGrath  <roland@redhat.com>
53524
53525         * nis/nis_server.c (nis_servstate): Use the right name for 0.
53526         (nis_stats): Likewise.
53527         * nis/nis_modify.c (nis_modify): Likewise.
53528         * nis/nis_remove.c (nis_remove): Likewise.
53529         * nis/nis_add.c (nis_add): Likewise.
53530
53531         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
53532
53533         * posix/fnmatch_loop.c: Add some consts.
53534
53535         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
53536
53537 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
53538
53539         [BZ #12460]
53540         * config.make.in (config-cflags-novzeroupper): Define.
53541         * configure.in: Substitute libc_cv_cc_novzeroupper.
53542         * elf/Makefile (AVX-CFLAGS): Define.
53543         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
53544         (CFLAGS-tst-auditmod4a.c): Likewise.
53545         (CFLAGS-tst-auditmod4b.c): Likewise.
53546         (CFLAGS-tst-auditmod6b.c): Likewise.
53547         (CFLAGS-tst-auditmod6c.c): Likewise.
53548         (CFLAGS-tst-auditmod7b.c): Likewise.
53549         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
53550
53551 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
53552
53553         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
53554         function to the callback.
53555         Patch partly by Jiri Olsa <jolsa@redhat.com>.
53556
53557 2011-02-02  Andreas Schwab  <schwab@redhat.com>
53558
53559         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
53560         of errno.
53561
53562 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
53563
53564         [BZ #11724]
53565         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
53566         of constructors.
53567         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
53568         of destructors.
53569         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
53570
53571         [BZ #11724]
53572         * elf/Makefile: Add rules to build and run new test.
53573         * elf/tst-initorder.c: New file.
53574         * elf/tst-initorder.exp: New file.
53575         * elf/tst-initordera1.c: New file.
53576         * elf/tst-initordera2.c: New file.
53577         * elf/tst-initordera3.c: New file.
53578         * elf/tst-initordera4.c: New file.
53579         * elf/tst-initorderb1.c: New file.
53580         * elf/tst-initorderb2.c: New file.
53581         * elf/tst-order-a1.c: New file.
53582         * elf/tst-order-a2.c: New file.
53583         * elf/tst-order-a3.c: New file.
53584         * elf/tst-order-a4.c: New file.
53585         * elf/tst-order-b1.c: New file.
53586         * elf/tst-order-b2.c: New file.
53587         * elf/tst-order-main.c: New file.
53588         New test case by George Gensure <werkt0@gmail.com>.
53589
53590 2010-10-01  Andreas Schwab  <schwab@redhat.com>
53591
53592         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
53593         decoding ACE if AI_CANONIDN.
53594
53595 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
53596
53597         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
53598
53599 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
53600
53601         * version.h (RELEASE): Bump for 2.13 release.
53602         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
53603
53604         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
53605
53606         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
53607         MADV_NOHUGEPAGE.
53608         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
53609         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
53610         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
53611         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
53612         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
53613         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
53614
53615         * posix/getconf.c: Update copyright year.
53616         * catgets/gencat.c: Likewise.
53617         * csu/version.c: Likewise.
53618         * debug/catchsegv.sh: Likewise.
53619         * debug/xtrace.sh: Likewise.
53620         * elf/ldconfig.c: Likewise.
53621         * elf/ldd.bash.in: Likewise.
53622         * elf/sprof.c (print_version): Likewise.
53623         * iconv/iconv_prog.c: Likewise.
53624         * iconv/iconvconfig.c: Likewise.
53625         * locale/programs/locale.c: Likewise.
53626         * locale/programs/localedef.c: Likewise.
53627         * malloc/memusage.sh: Likewise.
53628         * malloc/mtrace.pl: Likewise.
53629         * nscd/nscd.c (print_version): Likewise.
53630         * nss/getent.c: Likewise.
53631
53632         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
53633         PF_CAIF, and PF_ALG.
53634         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53635
53636 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
53637
53638         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
53639         (modules-names): Use them.
53640         (ifunc-test-modules, ifunc-pie-tests): Define.
53641         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
53642         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
53643         (test-extras): Likewise.
53644         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
53645         $(compile-command.c).
53646         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
53647         (all-built-dso): Define.
53648         (check-textrel.out, check-execstack.out): Depend on it.
53649
53650         * configure.in: Don't override --enable-multi-arch.
53651
53652 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
53653
53654         [BZ #6812]
53655         * nscd/hstcache.c (tryagain): Define.
53656         (cache_addhst): Return tryagain not notfound for temporary errors.
53657         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
53658         failed.
53659
53660 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
53661
53662         [BZ #10563]
53663         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
53664         to make the syscall.
53665         * sysdeps/unix/sysv/linux/setgroups.c: New file.
53666
53667         [BZ #12378]
53668         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
53669         and fall back to matching as normal character if the string ends before
53670         the matching ']' is found.  This is what POSIX requires.
53671         * posix/testfnm.c: Adjust test result.
53672         * posix/globtest.sh: Adjust test result.  Add new test.
53673         * posix/tst-fnmatch.input: Likewise.
53674         * posix/tst-fnmatch2.c: Add new test.
53675
53676 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
53677
53678         * elf/Makefile (check-execstack): Revert last change.  Depend on
53679         check-execstack.h.
53680         (check-execstack.h): New target.
53681         (generated): Add check-execstack.h.
53682         * elf/check-execstack.c: Include "check-execstack.h".
53683         (main): Revert last change.
53684         (handle_file): Return zero if GNU_STACK is absent and
53685         DEFAULT_STACK_PERMS doesn't include PF_X.
53686
53687 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
53688
53689         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
53690         in child fails because the descriptor is already closed.
53691         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
53692         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
53693         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
53694
53695         [BZ #12397]
53696         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
53697         syscall.
53698
53699         [BZ #10484]
53700         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
53701         temporary buffer used to handle multi lookups locally.
53702         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
53703
53704 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
53705
53706         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
53707         loader is ld.so.
53708
53709 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
53710
53711         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
53712         alignment for SSE2.
53713
53714 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
53715
53716         [BZ #12394]
53717         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
53718         characters.  When rounding increased number of integer digits recompute
53719         number of groups.
53720         * stdio-common/tst-grouping.c: New file.
53721         * stdio-common/Makefile: Add rules to build and run tst-grouping.
53722
53723 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
53724
53725         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
53726         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
53727
53728         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
53729         void.
53730         * bits/select.h: Likewise.
53731
53732 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
53733
53734         * po/ja.po: Update from translation team.
53735
53736 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
53737
53738         [BZ #11155]
53739         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
53740         implementation just like for lxstat, fxstatat, et al.
53741
53742 2010-12-27  Jim Meyering  <meyering@redhat.com>
53743
53744         [BZ #12348]
53745         * posix/regexec.c (build_trtable): Return failure indication upon
53746         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
53747
53748 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
53749
53750         [BZ #12201]
53751         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
53752         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
53753         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
53754         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
53755
53756         [BZ #12207]
53757         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
53758
53759         [BZ #12204]
53760         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
53761         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
53762
53763 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
53764
53765         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
53766         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
53767         script has SORT_BY_INIT_PRIORITY.
53768         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
53769         NO_CTORS_DTORS_SECTIONS is defined.
53770         * elf/soinit.c: Likewise.
53771         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
53772         NO_CTORS_DTORS_SECTIONS is defined.
53773         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
53774         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
53775         * sysdeps/sh/init-first.c: Likewise.
53776         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
53777
53778 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
53779
53780         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
53781         always use the slow path.
53782
53783 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
53784
53785         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
53786         similar rule which adds the sysdep directories to the header search in
53787         order to pick up the correct platform stackinfo.h.
53788         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
53789         perform test if it is, otherwise return successfully without testing.
53790         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
53791         DEFAULT_STACK_PERMS define in stackinfo.h.
53792         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
53793         defined in stackinfo.h.
53794         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
53795         DEFAULT_STACK_PERMS defined in stackinfo.h.
53796         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
53797         * sysdeps/ia64/stackinfo.h: Likewise.
53798         * sysdeps/s390/stackinfo.h: Likewise.
53799         * sysdeps/sh/stackinfo.h: Likewise.
53800         * sysdeps/sparc/stackinfo.h: Likewise.
53801         * sysdeps/x86_64/stackinfo.h: Likewise.
53802         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
53803         PF_X for powerpc64.  Retain PF_X for powerpc32.
53804
53805 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
53806
53807         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
53808         accurately.
53809         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
53810         GETDENTS_64BIT_ALIGNED.
53811
53812 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
53813
53814         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
53815
53816 2010-12-10  Andreas Schwab  <schwab@redhat.com>
53817
53818         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
53819         _GNU_SOURCE.
53820
53821         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
53822         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
53823         Remove __restrict.
53824         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
53825         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
53826
53827 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
53828
53829         [BZ #11655]
53830         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
53831         are initialized.
53832
53833 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
53834
53835         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
53836
53837 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
53838
53839         * po/it.po: Update from translation team.
53840
53841 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
53842
53843         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
53844         unused codes.
53845
53846 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
53847
53848         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
53849
53850 2010-11-24  Andreas Schwab  <schwab@redhat.com>
53851
53852         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
53853         specially.
53854         (gaih_getanswer_slice): Likewise.
53855
53856 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
53857
53858         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
53859
53860 2010-05-31  Petr Baudis  <pasky@suse.cz>
53861
53862         [BZ #11149]
53863         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
53864         silently even in the chroot mode.
53865
53866 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
53867
53868         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
53869         last patch a bit.  Pretty printing
53870
53871 2010-05-31  Petr Baudis <pasky@suse.cz>
53872
53873         [BZ #10085]
53874         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
53875         initialization of skip_initgroups_dyn.
53876
53877 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
53878
53879         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
53880         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
53881
53882 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
53883
53884         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
53885
53886 2010-11-11  Andreas Schwab  <schwab@redhat.com>
53887
53888         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
53889         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
53890         (tst-fnmatch-ENV): Set MALLOC_TRACE.
53891         ($(objpfx)tst-fnmatch-mem): New rule.
53892         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
53893         * posix/tst-fnmatch.c (main): Call mtrace.
53894
53895 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
53896
53897         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53898         Support Intel processor model 6 and model 0x2c.
53899
53900 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
53901
53902         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
53903           signed comparison.
53904
53905 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
53906
53907         [BZ #12205]
53908         * string/test-strncasecmp.c (check_result): New function.
53909         (do_one_test): Use it.
53910         (check1): New function.
53911         (test_main): Use it.
53912         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
53913         Support strcasecmp and strncasecmp.
53914
53915 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
53916
53917         [BZ #12194]
53918         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
53919         * sysdeps/x86_64/bits/byteswap.h: Likewise.
53920
53921 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
53922
53923         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
53924         IFUNC support.
53925         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53926         memset-x86-64.
53927         * sysdeps/x86_64/multiarch/bzero.S: New file.
53928         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
53929         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
53930         * sysdeps/x86_64/multiarch/memset.S: New file.
53931         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
53932         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53933         Set bit_Prefer_SSE_for_memop for Intel processors.
53934         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
53935         Define.
53936         (index_Prefer_SSE_for_memop): Define.
53937         (HAS_PREFER_SSE_FOR_MEMOP): Define.
53938
53939 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
53940
53941         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
53942         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
53943
53944 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
53945
53946         [BZ #12191]
53947         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
53948         (__x86_64_raw_data_cache_size_half): Likewise.
53949         (__x86_64_raw_shared_cache_size): Likewise.
53950         (__x86_64_raw_shared_cache_size_half): Likewise.
53951
53952         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
53953         (__x86_64_raw_data_cache_size_half): Likewise.
53954         (__x86_64_raw_shared_cache_size): Likewise.
53955         (__x86_64_raw_shared_cache_size_half): Likewise.
53956         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
53957         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
53958         and __x86_64_raw_shared_cache_size_half.  Round
53959         __x86_64_data_cache_size_half, __x86_64_data_cache_size
53960         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
53961         to multiple of 256 bytes.
53962
53963 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
53964
53965         [BZ #12167]
53966         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
53967         of inacessible symlinks.  Verify result of symlink before returning it.
53968         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
53969         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
53970
53971 2010-10-28  Erich Ritz  <erichritz@gmail.com>
53972
53973         * math/math.h (isinf): Fix typo in comment.
53974
53975 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
53976
53977         * po/da.po: Update from translation team.
53978
53979 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
53980
53981         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
53982         is added to the list.
53983
53984 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53985             Ulrich Drepper  <drepper@gmail.com>
53986
53987         * elf/dl-object.c (_dl_new_object): Don't append the new object to
53988         the global list here.  Move code to...
53989         (_dl_add_to_namespace_list): ...here.  New function.
53990         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
53991         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
53992         * elf/dl-load.c (lose): Don't remove the element from the list.
53993         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
53994         (_dl_map_object): Likewise.
53995
53996 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
53997
53998         [BZ #12159]
53999         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
54000         into all bytes of SSE register.
54001         Patch by Richard Li <richardpku@gmail.com>.
54002
54003 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
54004
54005         [BZ #12140]
54006         * malloc/malloc.c (_int_free): Fill correct number of bytes when
54007         perturbing.
54008
54009 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
54010
54011         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
54012         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
54013         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
54014         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
54015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
54016         submachine.
54017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
54018
54019 2010-10-22  Andreas Schwab  <schwab@redhat.com>
54020
54021         * include/dlfcn.h (__RTLD_SECURE): Define.
54022         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
54023         mode & __RTLD_SECURE instead.
54024         (open_path): Rename preloaded parameter to secure.
54025         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
54026         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
54027         * elf/dl-deps.c (openaux): Likewise.
54028         * elf/rtld.c (struct map_args): Remove is_preloaded.
54029         (map_doit): Don't use it.
54030         (dl_main): Likewise.
54031         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
54032         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
54033
54034 2010-09-09  Andreas Schwab  <schwab@redhat.com>
54035
54036         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
54037         (sysd-rules-targets): Remove duplicates.
54038         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
54039         rtld-%.$o dependency.
54040
54041 2010-10-18  Andreas Schwab  <schwab@redhat.com>
54042
54043         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
54044         _dl_map_object do it.
54045
54046 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
54047
54048         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
54049         fast fma builtins, define the macros in the C99 standard.
54050         (FP_FAST_FMAF): Likewise.
54051         (FP_FAST_FMAL): Likewise.
54052         * sysdeps/x86_64/bits/mathdef.h: Likewise.
54053
54054         * bits/mathdef.h: Update copyright year.
54055         * sysdeps/powerpc/bits/mathdef.h: Likewise.
54056
54057 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
54058
54059         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
54060         builtins, define the macros in the C99 standard.
54061         (FP_FAST_FMAF): Likewise.
54062         (FP_FAST_FMAL): Likewise.
54063         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
54064         multiply/add.
54065         (FP_FAST_FMAF): Likewise.
54066
54067 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
54068
54069         [BZ #3268]
54070         * math/libm-test.inc (fma_test): Some new testcases.
54071         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
54072         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
54073         y and infinite z.  Do multiplication by C already in long double.
54074         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
54075         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
54076         y and infinite z.  Do bitwise or of inexact bit into u.d.
54077         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
54078         * sysdeps/i386/fpu/s_fmaf.S: Removed.
54079         * sysdeps/i386/fpu/s_fma.S: Removed.
54080         * sysdeps/i386/fpu/s_fmal.S: Removed.
54081
54082 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
54083
54084         [BZ #3268]
54085         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
54086         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
54087         computation is not scheduled after fetestexcept.  Fix value
54088         of minimum denormal long double.
54089
54090 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
54091
54092         [BZ #3268]
54093         * math/libm-test.inc (fma_test): Add some more tests.
54094         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
54095         correctly.
54096
54097 2010-10-15  Andreas Schwab  <schwab@redhat.com>
54098
54099         * scripts/data/localplt-s390-linux-gnu.data: New file.
54100         * scripts/data/localplt-s390x-linux-gnu.data: New file.
54101
54102 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
54103
54104         [BZ #3268]
54105         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
54106         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
54107         instead of dbl-64.
54108         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
54109         inlines.
54110         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
54111         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
54112         if one of x and y is very large and the other is subnormal.
54113         * sysdeps/s390/fpu/s_fmaf.c: New file.
54114         * sysdeps/s390/fpu/s_fma.c: New file.
54115         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
54116         * sysdeps/powerpc/fpu/s_fma.S: New file.
54117         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
54118         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
54119         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
54120
54121 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
54122
54123         [BZ #3268]
54124         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
54125         fma tests.
54126         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
54127         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
54128         * sysdeps/i386/i686/multiarch/s_fma.c: Include
54129         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
54130         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
54131         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
54132         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
54133
54134 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
54135
54136         [BZ #12078]
54137         * posix/regcomp.c (parse_branch): One more memory leak plugged.
54138         * posix/bug-regex31.input: Add test case.
54139
54140 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
54141
54142         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
54143         * posix/bug-regex31.input: New file.
54144
54145         [BZ #12078]
54146         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
54147         (parse_sub_exp): Fix last change, use postorder.
54148
54149         * posix/bug-regex31.c: New file.
54150         * posix/Makefile: Add rules to build and run bug-regex31.
54151
54152         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
54153
54154         [BZ #12078]
54155         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
54156
54157         [BZ #12108]
54158         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
54159         to have entries in sys_siglist.
54160
54161         [BZ #12093]
54162         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
54163         be NULL.
54164
54165 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
54166
54167         [BZ #3268]
54168         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
54169         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
54170         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
54171         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
54172         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
54173         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
54174         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
54175         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
54176         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
54177         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
54178         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
54179         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
54180         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
54181         * math/ftestexcept.c (fetestexcept): Likewise.
54182         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
54183         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
54184         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
54185         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
54186         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
54187         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
54188         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
54189
54190 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
54191
54192         [BZ #12107]
54193         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
54194         newline.
54195
54196 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
54197
54198         * string/bug-strstr1.c: New file.
54199         * string/Makefile: Add rules to build and run bug-strstr1.
54200
54201 2010-10-05  Eric Blake  <eblake@redhat.com>
54202
54203         [BZ #12092]
54204         * string/str-two-way.h (two_way_long_needle): Always clear memory
54205         when skipping input due to the shift table.
54206
54207 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
54208
54209         [BZ #12005]
54210         * malloc/mcheck.c: Handle large requests.
54211
54212         [BZ #12077]
54213         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
54214         for strncmp and strncasecmp.
54215         * string/stratcliff.c: Add tests for strcmp and strncmp.
54216         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
54217
54218 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
54219
54220         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
54221         __set_fpscr.
54222
54223 2010-09-30  Andreas Jaeger  <aj@suse.de>
54224
54225         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
54226         (CGROUP_SUPER_MAGIC): Define.
54227         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
54228         Handle btrfs and cgroup file systems.
54229         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
54230         Likewise.
54231
54232 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
54233
54234         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
54235         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
54236
54237 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54238
54239         [BZ #12067]
54240         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
54241         trying to locate the ELF header.
54242
54243 2010-09-27  Andreas Schwab  <schwab@redhat.com>
54244
54245         [BZ #11611]
54246         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
54247         Mask out sign-bit copies when constructing f_fsid.
54248
54249 2010-09-24  Petr Baudis <pasky@suse.cz>
54250
54251         * debug/stack_chk_fail_local.c: Add missing licence exception.
54252         * debug/warning-nop.c: Likewise.
54253
54254 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
54255
54256         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
54257         implementing getdents64 using getdents syscall, set d_type if
54258         __ASSUME_GETDENTS32_D_TYPE.
54259
54260 2010-09-16  Andreas Schwab  <schwab@redhat.com>
54261
54262         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
54263         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
54264
54265 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
54266
54267         [BZ #12037]
54268         * posix/unistd.h: Undo change of feature selection for ftruncate from
54269         2010-01-11.
54270
54271 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
54272
54273         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
54274         detection.
54275
54276 2010-09-20  Andreas Schwab  <schwab@redhat.com>
54277
54278         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
54279         fanotify_mark.
54280         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
54281
54282 2010-09-14  Andreas Schwab  <schwab@redhat.com>
54283
54284         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
54285         variables after CHECK_SP call.
54286         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
54287
54288 2010-09-13  Andreas Schwab  <schwab@redhat.com>
54289             Ulrich Drepper  <drepper@redhat.com>
54290
54291         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
54292         re-relocationg ld.so.
54293         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
54294         _dl_init_paths call.
54295         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
54296         here anymore.
54297
54298 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
54299
54300         * resolv/res_init.c (__res_vinit): Count the default server we added.
54301
54302 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
54303             Ulrich Drepper  <drepper@redhat.com>
54304
54305         [BZ #11968]
54306         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
54307         (____longjmp_chk): Use %ebx for saving value across system call.
54308         Add unwind info.
54309
54310 2010-09-06  Andreas Schwab  <schwab@redhat.com>
54311
54312         * manual/Makefile: Don't mix pattern rules with normal rules.
54313
54314 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
54315
54316         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
54317         operation.
54318         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
54319         * libio/iofopncook.c (_IO_cookie_init): Likewise.
54320         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
54321         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
54322         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
54323         Likewise.
54324
54325 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
54326
54327         [BZ #11979]
54328         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
54329         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
54330
54331 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
54332
54333         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
54334         * sysdeps/x86_64/addmul_1.S: Likewise.
54335         * sysdeps/x86_64/lshift.S: Likewise.
54336         * sysdeps/x86_64/mul_1.S: Likewise.
54337         * sysdeps/x86_64/rshift.S: Likewise.
54338         * sysdeps/x86_64/sub_n.S: Likewise.
54339         * sysdeps/x86_64/submul_1.S: Likewise.
54340
54341 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54342
54343         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
54344         Define __sched_param instead of SCHED_* and sched_param when
54345         <bits/sched.h> is included with __need_schedparam defined.
54346         * bits/sched.h [__need_schedparam]
54347         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
54348         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
54349         (__defined_schedparam): Define to 1.
54350         (__sched_param): New structure, identical to sched_param.
54351         (__need_schedparam): Undefine.
54352
54353 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
54354
54355         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
54356         (epoll_create1): Declare.
54357
54358         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
54359
54360 2010-08-31  Andreas Schwab  <schwab@redhat.com>
54361
54362         [BZ #7066]
54363         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
54364         shifting retval into place.
54365
54366 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
54367
54368         * nis/rpcsvc/nis.h: Update copyright notice.
54369         * nis/rpcsvc/nis.x: Likewise.
54370         * nis/rpcsvc/nis_callback.h: Likewise.
54371         * nis/rpcsvc/nis_callback.x: Likewise.
54372         * nis/rpcsvc/nis_object.x: Likewise.
54373         * nis/rpcsvc/nis_tags.h: Likewise.
54374         * nis/rpcsvc/yp.h: Likewise.
54375         * nis/rpcsvc/yp.x: Likewise.
54376         * nis/rpcsvc/ypupd.h: Likewise.
54377         * nis/yp_xdr.c: Likewise.
54378         * nis/ypupdate_xdr.c: Likewise.
54379
54380         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
54381         mainly the body of pmap_getport.  Add parameters to specify timeouts.
54382         (pmap_getport): Use __libc_rpc_getport.
54383         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
54384         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
54385         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
54386
54387 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
54388
54389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
54390         fanotify_mark.
54391
54392 2010-08-27  Roland McGrath  <roland@redhat.com>
54393
54394         * sysdeps/i386/i686/multiarch/Makefile
54395         (CFLAGS-varshift.c): New variable.
54396
54397 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
54398
54399         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
54400         * sysdeps/i386/i686/multiarch/varshift.c: New file.
54401
54402         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
54403
54404         * sysdeps/x86_64/strlen.S: Minimal code improvement.
54405
54406 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
54407
54408         * sysdeps/x86_64/strlen.S: Unroll the loop.
54409         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54410         strlen-sse2 strlen-sse2-bsf.
54411         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
54412         __strlen_no_bsf if bit_Slow_BSF is set.
54413         (__strlen_sse42): Removed.
54414         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
54415         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
54416
54417 2010-08-25  Roland McGrath  <roland@redhat.com>
54418
54419         * sysdeps/x86_64/multiarch/varshift.S: File removed.
54420         * sysdeps/x86_64/multiarch/varshift.c: New file.
54421         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
54422         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
54423         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
54424         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
54425
54426 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
54427
54428         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54429         strlen-sse2 strlen-sse2-bsf.
54430         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
54431         __strlen_sse2_bsf if bit_Slow_BSF is unset.
54432         (__strlen_sse2): Removed.
54433         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
54434         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
54435         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
54436         bit_Slow_BSF for Atom.
54437         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
54438         (index_Slow_BSF): Define.
54439         (HAS_SLOW_BSF): Define.
54440
54441 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
54442
54443         [BZ #10851]
54444         * resolv/res_init.c (__res_vinit): When no server address at all
54445         is given default to loopback.
54446
54447 2010-08-24  Roland McGrath  <roland@redhat.com>
54448
54449         * configure.in: Remove config-name.h generation.
54450         * configure: Regenerated.
54451         * config-name.in: File removed.
54452         * scripts/config-uname.sh: New file.
54453         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
54454         ($(objdir)config-name.h): New target.
54455
54456         * sunrpc/rpc_parse.h: Avoid nested comment.
54457
54458 2010-08-24  Richard Henderson  <rth@redhat.com>
54459             Ulrich Drepper  <drepper@redhat.com>
54460             H.J. Lu  <hongjiu.lu@intel.com>
54461
54462         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
54463         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
54464         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
54465         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
54466         _mm_alignr_epi8 with _mm_loadu_si128.
54467         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
54468         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
54469         (__m128i_shift_right): Removed.
54470         * sysdeps/i386/i686/multiarch/varshift.h: New file.
54471         * sysdeps/i386/i686/multiarch/varshift.S: New file.
54472         * sysdeps/x86_64/multiarch/varshift.h: New file.
54473         * sysdeps/x86_64/multiarch/varshift.S: New file.
54474
54475 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
54476
54477         * configure.in: Move assembler checks to before sysdep dir checking.
54478
54479 2010-08-20  Petr Baudis  <pasky@suse.cz>
54480
54481         * LICENSES: Sync the sunrpc license.
54482
54483 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
54484
54485         * sunrpc/auth_des.c: Update copyright notice once again.
54486         * sunrpc/auth_none.c: Likewise.
54487         * sunrpc/auth_unix.c: Likewise.
54488         * sunrpc/authdes_prot.c: Likewise.
54489         * sunrpc/authuxprot.c: Likewise.
54490         * sunrpc/bindrsvprt.c: Likewise.
54491         * sunrpc/clnt_gen.c: Likewise.
54492         * sunrpc/clnt_perr.c: Likewise.
54493         * sunrpc/clnt_raw.c: Likewise.
54494         * sunrpc/clnt_simp.c: Likewise.
54495         * sunrpc/clnt_tcp.c: Likewise.
54496         * sunrpc/clnt_udp.c: Likewise.
54497         * sunrpc/clnt_unix.c: Likewise.
54498         * sunrpc/des_crypt.c: Likewise.
54499         * sunrpc/des_soft.c: Likewise.
54500         * sunrpc/get_myaddr.c: Likewise.
54501         * sunrpc/getrpcport.c: Likewise.
54502         * sunrpc/key_call.c: Likewise.
54503         * sunrpc/key_prot.c: Likewise.
54504         * sunrpc/openchild.c: Likewise.
54505         * sunrpc/pm_getmaps.c: Likewise.
54506         * sunrpc/pm_getport.c: Likewise.
54507         * sunrpc/pmap_clnt.c: Likewise.
54508         * sunrpc/pmap_prot.c: Likewise.
54509         * sunrpc/pmap_prot2.c: Likewise.
54510         * sunrpc/pmap_rmt.c: Likewise.
54511         * sunrpc/rpc/auth.h: Likewise.
54512         * sunrpc/rpc/auth_unix.h: Likewise.
54513         * sunrpc/rpc/clnt.h: Likewise.
54514         * sunrpc/rpc/des_crypt.h: Likewise.
54515         * sunrpc/rpc/key_prot.h: Likewise.
54516         * sunrpc/rpc/netdb.h: Likewise.
54517         * sunrpc/rpc/pmap_clnt.h: Likewise.
54518         * sunrpc/rpc/pmap_prot.h: Likewise.
54519         * sunrpc/rpc/pmap_rmt.h: Likewise.
54520         * sunrpc/rpc/rpc.h: Likewise.
54521         * sunrpc/rpc/rpc_des.h: Likewise.
54522         * sunrpc/rpc/rpc_msg.h: Likewise.
54523         * sunrpc/rpc/svc.h: Likewise.
54524         * sunrpc/rpc/svc_auth.h: Likewise.
54525         * sunrpc/rpc/types.h: Likewise.
54526         * sunrpc/rpc/xdr.h: Likewise.
54527         * sunrpc/rpc_clntout.c: Likewise.
54528         * sunrpc/rpc_cmsg.c: Likewise.
54529         * sunrpc/rpc_common.c: Likewise.
54530         * sunrpc/rpc_cout.c: Likewise.
54531         * sunrpc/rpc_dtable.c: Likewise.
54532         * sunrpc/rpc_hout.c: Likewise.
54533         * sunrpc/rpc_main.c: Likewise.
54534         * sunrpc/rpc_parse.c: Likewise.
54535         * sunrpc/rpc_parse.h: Likewise.
54536         * sunrpc/rpc_prot.c: Likewise.
54537         * sunrpc/rpc_sample.c: Likewise.
54538         * sunrpc/rpc_scan.c: Likewise.
54539         * sunrpc/rpc_scan.h: Likewise.
54540         * sunrpc/rpc_svcout.c: Likewise.
54541         * sunrpc/rpc_tblout.c: Likewise.
54542         * sunrpc/rpc_util.c: Likewise.
54543         * sunrpc/rpc_util.h: Likewise.
54544         * sunrpc/rpcinfo.c: Likewise.
54545         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
54546         * sunrpc/rpcsvc/key_prot.x: Likewise.
54547         * sunrpc/rpcsvc/klm_prot.x: Likewise.
54548         * sunrpc/rpcsvc/mount.x: Likewise.
54549         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
54550         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
54551         * sunrpc/rpcsvc/rex.x: Likewise.
54552         * sunrpc/rpcsvc/rstat.x: Likewise.
54553         * sunrpc/rpcsvc/rusers.x: Likewise.
54554         * sunrpc/rpcsvc/sm_inter.x: Likewise.
54555         * sunrpc/rpcsvc/spray.x: Likewise.
54556         * sunrpc/rpcsvc/yppasswd.x: Likewise.
54557         * sunrpc/rtime.c: Likewise.
54558         * sunrpc/svc.c: Likewise.
54559         * sunrpc/svc_auth.c: Likewise.
54560         * sunrpc/svc_authux.c: Likewise.
54561         * sunrpc/svc_raw.c: Likewise.
54562         * sunrpc/svc_run.c: Likewise.
54563         * sunrpc/svc_simple.c: Likewise.
54564         * sunrpc/svc_tcp.c: Likewise.
54565         * sunrpc/svc_udp.c: Likewise.
54566         * sunrpc/svc_unix.c: Likewise.
54567         * sunrpc/svcauth_des.c: Likewise.
54568         * sunrpc/xcrypt.c: Likewise.
54569         * sunrpc/xdr.c: Likewise.
54570         * sunrpc/xdr_array.c: Likewise.
54571         * sunrpc/xdr_float.c: Likewise.
54572         * sunrpc/xdr_mem.c: Likewise.
54573         * sunrpc/xdr_rec.c: Likewise.
54574         * sunrpc/xdr_ref.c: Likewise.
54575         * sunrpc/xdr_sizeof.c: Likewise.
54576         * sunrpc/xdr_stdio.c: Likewise.
54577
54578         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
54579         handling.
54580
54581 2010-08-19  Andreas Schwab  <schwab@redhat.com>
54582
54583         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
54584
54585 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
54586
54587         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
54588         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
54589         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
54590         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
54591         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
54592         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
54593         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
54594         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
54595         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
54596         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
54597         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
54598         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
54599         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
54600         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
54601
54602 2010-07-26  Anton Blanchard  <anton@samba.org>
54603
54604         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
54605         * malloc/arena.c (heap_trim): Likewise.
54606
54607 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
54608
54609         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
54610         here.  Not...
54611         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
54612         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
54613
54614 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
54615
54616         * sysdeps/i386/elf/Makefile: New file.
54617
54618 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
54619
54620         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
54621         from fanotify_init.
54622         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
54623         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
54624
54625 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
54626
54627         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
54628         of strncasecmp_l.
54629         * sysdeps/multiarch/strcmp.S: Likewise.
54630
54631 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
54632
54633         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
54634         strncase_l-nonascii.
54635         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
54636         Add strncase_l-ssse3.
54637         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
54638         * sysdeps/x86_64/strcmp.S: Likewise.
54639         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
54640         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
54641         * sysdeps/x86_64/strncase.S: New file.
54642         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
54643         * sysdeps/x86_64/strncase_l.S: New file.
54644         * string/Makefile (strop-tests): Add strncasecmp.
54645         * string/test-strncasecmp.c: New file.
54646
54647         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
54648         warning.
54649
54650         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
54651         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
54652
54653 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
54654
54655         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
54656
54657 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
54658
54659         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
54660         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
54661         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
54662
54663 2010-05-01  Alan Modra  <amodra@gmail.com>
54664
54665         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
54666         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
54667         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
54668         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
54669         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
54670         tidying.  Don't tail-call __sigjmp_save for static lib.
54671         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
54672         save location.
54673         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
54674         (CALL_MCOUNT): Add eh info, and nop after bl.
54675         (TAIL_CALL_SYSCALL_ERROR): New macro.
54676         (PSEUDO_RET): Use it.
54677         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
54678         Correct save location of integer regs and cr.
54679         (_dl_profile_resolve): Correct cr save location.  Delete nops
54680         after bl when SHARED.  Reduce cfi size a little by better
54681         placement of cfi directives.
54682         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
54683         make a stack frame.  Instead use parm save area as a temp.
54684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
54685         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
54686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
54687         Don't make a stack frame for parent, use parm save area.
54688         Increase child stack frame to 112 bytes.  Don't save unused reg,
54689         and adjust reg usage.  Set up cfi on error recovery and
54690         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
54691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
54692         (__makecontext): Add dummy nop after jump to exit.
54693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
54694         Use correct parm save area and cr save, reduce stack frame.
54695         Correct cfi for possible PSEUDO_RET frame setup.
54696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
54697         Branch to local label emitted by PSEUDO_RET rather than
54698         __syscall_error.
54699
54700 2010-08-12  Andreas Schwab  <schwab@redhat.com>
54701
54702         [BZ #11904]
54703         * locale/programs/locale.c (print_assignment): New function.
54704         (show_locale_vars): Use it.
54705
54706 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
54707
54708         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
54709         field.
54710         (struct statfs64): Likewise.
54711         (_STATFS_F_FLAGS): Define.
54712         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
54713         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
54714         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
54715         (ST_VALID): Define locally.
54716         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
54717         __statvfs_getflags, use the provided value.
54718         * sysdeps/unix/sysv/linux/kernel-features.h: Define
54719         __ASSUME_STATFS_F_FLAGS.
54720
54721         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
54722
54723         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
54724         Add sys/fanotify.h.
54725         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
54726         fanotify_mask for GLIBC_2.13.
54727         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
54728         fanotify_init and fanotify_mark.
54729         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
54730         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
54731
54732         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
54733         Add prlimit.
54734         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
54735         prlimit64 for GLIBC_2.13.
54736         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
54737         prlimit64.
54738         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
54739         syscall.
54740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
54741         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
54742         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
54743         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
54744         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
54745         add prlimit alias.
54746         * sysdeps/unix/sysv/linux/prlimit.c: New file.
54747
54748         [BZ #11903]
54749         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
54750         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
54751
54752         * nss/Makefile: Add rules to build and run tst-nss-test1.
54753         * shlib-versions: Add entry for libnss_test1.
54754         * nss/nss_test1.c: New file.
54755         * nss/tst-nss-test1.c: New file.
54756
54757         * nss/nsswitch.c (__nss_database_custom): Define new variable.
54758         (__nss_configure_lookup): Set appropriate entry in
54759         __nss_configure_lookup to true.
54760         * nss/nsswitch.h: Define enum with indeces of databases in
54761         databases and __nss_database_custom arrays.  Declare
54762         __nss_database_custom.
54763         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
54764         to avoid using nscd when custom rules are installed.
54765         * nss/getXXbyYY_r.c: Likewise.
54766         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
54767
54768         * nss/nss_files/files-parse.c: Whitespace fixes.
54769
54770 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
54771
54772         [BZ #11883]
54773         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
54774         * posix/fnmatch_loop.c: Likewise.
54775
54776 2010-07-17  Andi Kleen  <ak@linux.intel.com>
54777
54778         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
54779         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
54780         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
54781         * Versions.def [GLIBC_2.13]: Add.
54782
54783 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
54784
54785         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
54786         Also fail if tpwd after pwuid call is NULL.
54787
54788 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54789
54790         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
54791         when converting to ms.
54792
54793 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54794
54795         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
54796         EOPNOTSUPP errors with ENOTTY.
54797         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
54798         EOPNOTSUPP errors with ENOTTY.
54799
54800 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
54801
54802         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
54803         Add strcasecmp_l-ssse3.
54804         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
54805         strcasecmp.
54806         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
54807         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
54808         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
54809
54810 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
54811
54812         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
54813
54814         * string/Makefile (strop-tests): Add strcasecmp.
54815         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
54816         strcasecmp_l-nonascii.
54817         (gen-as-const-headers): Add locale-defines.sym.
54818         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
54819         * sysdeps/x86_64/strcasecmp.S: New file.
54820         * sysdeps/x86_64/strcasecmp_l.S: New file.
54821         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
54822         * sysdeps/x86_64/locale-defines.sym: New file.
54823         * string/test-strcasecmp.c: New file.
54824
54825         * string/test-strcasestr.c: Test both ends of the range of characters.
54826         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
54827
54828 2010-07-29  Roland McGrath  <roland@redhat.com>
54829
54830         [BZ #11856]
54831         * manual/locale.texi (Yes-or-No Questions): Fix example code.
54832
54833 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
54834
54835         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
54836         for ld.so.
54837
54838 2010-07-27  Andreas Schwab  <schwab@redhat.com>
54839
54840         * manual/memory.texi (Malloc Tunable Parameters): Document
54841         M_PERTURB.
54842
54843 2010-07-26  Roland McGrath  <roland@redhat.com>
54844
54845         [BZ #11840]
54846         * configure.in (-fgnu89-inline check): Set and substitute
54847         gnu89_inline, not libc_cv_gnu89_inline.
54848         * configure: Regenerated.
54849         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
54850
54851 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
54852
54853         * string/test-strnlen.c: New file.
54854         * string/Makefile (strop-tests): Add strnlen.
54855         * string/tester.c (test_strnlen): Add a few more test cases.
54856         * string/tst-strlen.c: Better error reporting.
54857
54858         * sysdeps/x86_64/strnlen.S: New file.
54859
54860 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
54861
54862         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
54863         lower-latency instructions.
54864
54865 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
54866
54867         * string/test-strcasestr.c: New file.
54868         * string/test-strstr.c: New file.
54869         * string/Makefile (strop-tests): Add strstr and strcasestr.
54870         * string/str-two-way.h: Don't undefine MAX.
54871         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
54872
54873 2010-07-21  Andreas Schwab  <schwab@redhat.com>
54874
54875         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54876         strcasestr-nonascii.
54877         (CFLAGS-strcasestr-nonascii.c): Define.
54878         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
54879         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
54880         Remove unused attribute.
54881
54882 2010-07-20  Roland McGrath  <roland@redhat.com>
54883
54884         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
54885         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
54886         ld.so.cache was broken.  With it, there is no way to disable dsocaps
54887         like LD_HWCAP_MASK can disable hwcaps.
54888
54889 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
54890
54891         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
54892
54893 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
54894
54895         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
54896         call in strcasestr.
54897         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
54898         __strcasestr_sse42_nonascii.
54899         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
54900         strcasestr-nonascii.c.
54901         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
54902
54903 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
54904
54905         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
54906         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
54907         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
54908         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
54909
54910 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
54911
54912         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
54913         fcntl.
54914
54915 2010-07-06  Andreas Schwab  <schwab@redhat.com>
54916
54917         [BZ #11577]
54918         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
54919         dl_signal_cerror.
54920
54921 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
54922
54923         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
54924         _PC_PIPE_BUF using F_GETPIPE_SZ.
54925
54926 2010-07-05  Roland McGrath  <roland@redhat.com>
54927
54928         * manual/arith.texi (Rounding Functions): Fix rint description
54929         implicit in round description.
54930
54931 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
54932
54933         * elf/Makefile: Fix linking for a few tests to make recent linker
54934         happy.
54935
54936 2010-06-30  Andreas Schwab  <schwab@redhat.com>
54937
54938         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
54939         $(common-objpfx)libc_nonshared.a.
54940
54941 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
54942
54943         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
54944         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
54945         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
54946         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
54947         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
54948         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
54949         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
54950         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
54951         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
54952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
54953         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
54954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
54955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
54956         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
54957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
54958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
54959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
54960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
54961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
54962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
54963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
54964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
54965         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
54966         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
54967         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
54968         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
54969         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
54970         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
54971         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
54972         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
54973         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
54974         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
54975         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
54976         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
54977         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
54978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
54979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
54980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
54981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
54982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
54983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
54984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
54985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
54986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
54987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
54988         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
54989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
54990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
54991
54992 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
54993
54994         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
54995         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
54996         * string/memmove.c (memmove): Renamed to ...
54997         (MEMMOVE): ...this.  Default to memmove.
54998         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
54999         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
55000         (END_CHK): Define.
55001         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55002         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
55003         mempcpy-ssse3-back memmove-ssse3-back.
55004         * sysdeps/x86_64/multiarch/bcopy.S: New file .
55005         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
55006         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
55007         * sysdeps/x86_64/multiarch/memcpy.S: New file.
55008         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
55009         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
55010         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
55011         * sysdeps/x86_64/multiarch/memmove.c: New file.
55012         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
55013         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
55014         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
55015         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
55016         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
55017         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
55018         Define.
55019         (index_Fast_Copy_Backward): Define.
55020         (HAS_ARCH_FEATURE): Define.
55021         (HAS_FAST_REP_STRING): Define.
55022         (HAS_FAST_COPY_BACKWARD): Define.
55023
55024 2010-06-21  Andreas Schwab  <schwab@redhat.com>
55025
55026         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
55027         Restore proper fallback handling.
55028
55029 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
55030
55031         [BZ #11701]
55032         * posix/group_member.c (__group_member): Correct checking loop.
55033
55034         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
55035         OOM in getpwuid_r correctly.  Return error number when the caller
55036         should return, otherwise -1.
55037         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
55038         call returning > 0 value.
55039         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
55040
55041 2010-06-07  Andreas Schwab  <schwab@redhat.com>
55042
55043         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
55044         libc_nonshared.a from targets in modules-names.
55045
55046 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
55047
55048         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
55049         requires it.
55050
55051 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
55052
55053         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
55054         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
55055         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
55056         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
55057
55058 2010-06-02  Andreas Schwab  <schwab@redhat.com>
55059
55060         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
55061
55062 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
55063
55064         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
55065         and F_GETPIPE_SZ.
55066         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
55067         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55068         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55069         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55070         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55071         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
55072
55073 2010-06-14  Roland McGrath  <roland@redhat.com>
55074
55075         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
55076
55077 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
55078
55079         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
55080         __REDIRECT followed by __THROW.
55081         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
55082         * posix/getopt.h (getopt): Likewise.
55083
55084 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
55085
55086         * hurd/lookup-at.c (__file_name_lookup_at): Accept
55087         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
55088         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
55089         in AT_FLAGS.
55090         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
55091         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
55092
55093 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
55094
55095         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
55096
55097 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
55098
55099         [BZ #11640]
55100         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55101         Properly check family and model.
55102
55103 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
55104
55105         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
55106
55107 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
55108
55109         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
55110
55111 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
55112
55113         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
55114         symbol reference.
55115
55116 2010-05-19  Andreas Schwab  <schwab@redhat.com>
55117
55118         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
55119         symbol reference.
55120
55121 2010-05-21  Andreas Schwab  <schwab@redhat.com>
55122
55123         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
55124         and internal_recvmmsg.
55125         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
55126         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
55127         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
55128         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
55129
55130         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
55131         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
55132         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
55133
55134 2010-05-20  Andreas Schwab  <schwab@redhat.com>
55135
55136         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
55137
55138 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
55139
55140         POWER7 optimizations.
55141         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
55142         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
55143
55144 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
55145
55146         * version.h: Update for 2.13 development version.
55147
55148 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
55149
55150         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
55151         exceptions.  Return 0.
55152
55153 2010-05-07  Roland McGrath  <roland@redhat.com>
55154
55155         * elf/ldconfig.c (main): Add a const.
55156
55157 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
55158
55159         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
55160         (args_options): Add no-idn option.
55161         (ahosts_keys_int): Add idn_flags to ai_flags.
55162         (parse_option): Handle 'i' option to clear idn_flags.
55163
55164         * malloc/malloc.c (_int_free): Possible race in the most recently
55165         added check.  Only act on the data if no current modification
55166         happened.
55167
55168 See ChangeLog.17 for earlier changes.